]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
961c549653d9f22f5d3641427ba54ec0d0ec7a04
[thirdparty/glibc.git] / ChangeLog
1 2017-06-01 Joseph Myers <joseph@codesourcery.com>
2
3 * conform/data/signal.h-data (sa_sigaction): Do not expect for
4 [XPG4].
5 (SA_SIGINFO): Likewise.
6 (SA_ONSTACK): Likewise.
7 (SA_RESETHAND): Likewise.
8 (SA_RESTART): Likewise.
9 (SA_NOCLDWAIT): Likewise.
10 (SA_NODEFER): Likewise.
11 (SS_ONSTACK): Likewise.
12 (SS_DISABLE): Likewise.
13 (MINSIGSTKSZ): Likewise.
14 (SIGSTKSZ): Likewise.
15 (ucontext_t): Likewise.
16 (stack_t): Likewise.
17 (struct sigstack): Likewise.
18 (SI_USER): Do not expect for [XPG4 || XPG42].
19 (SI_QUEUE): Likewise.
20 (SI_TIMER): Likewise.
21 (SI_ASYNCIO): Likewise.
22 (SI_MESGQ): Likewise.
23 (bsd_signal): Do not expect for [XPG4].
24 (killpg): Likewise.
25 (sigaltstack): Likewise.
26 (sighold): Likewise.
27 (sigignore): Likewise.
28 (siginterrupt): Likewise.
29 (sigpause): Likewise.
30 (sigrelse): Likewise.
31 (sigset): Likewise.
32 (sigwait): Do not expect for [XPG4 || XPG42].
33
34 2017-06-01 Zack Weinberg <zackw@panix.com>
35
36 [BZ #21514]
37 * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
38 pointing to the generated file in <builddir>/misc/bits/syscall.h.
39
40 2017-06-01 Joseph Myers <joseph@codesourcery.com>
41
42 [BZ #21457]
43 * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
44 NGREG to __NGREG if [__USE_MISC].
45 (gregset_t): Define using __NGREG.
46 (__ctx): New macro.
47 (mcontext_t): Use __ctx in defining fields.
48 * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
49 define NGREG to __NGREG if [__USE_MISC].
50 (gregset_t): Define using __NGREG.
51 (__ctx): New macro.
52 (__ctxt): Likewise.
53 (fpregset_t): Use __ctx and __ctxt in defining fields.
54 (mcontext_t): Likewise.
55 * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
56 define NGREG to __NGREG if [__USE_MISC].
57 (gregset_t): Define using __NGREG.
58 (__ctx): New macro.
59 (mcontext_t): Use __ctx in defining fields.
60 * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
61 define NGREG to __NGREG if [__USE_MISC].
62 (gregset_t): Define using __NGREG.
63 (__ctx): New macro.
64 (fpregset_t): Use __ctx in defining fields.
65 (mcontext_t): Likewise.
66 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
67 __NGREG and define NGREG to __NGREG if [__USE_MISC].
68 (gregset_t): Define using __NGREG.
69 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
70 [__USE_MISC].
71 (fpregset_t): Define using __NFPREG.
72 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
73 __NGREG and define NGREG to __NGREG if [__USE_MISC].
74 (gregset_t): Define using __NGREG.
75 (__ctx): New macro.
76 (fpregset_t): Use __ctx in defining fields.
77 (mcontext_t): Likewise.
78 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
79 __NGREG and define NGREG to __NGREG if [__USE_MISC].
80 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
81 [__USE_MISC].
82 (gregset_t): Define using __NGREG.
83 (__ctx): New macro.
84 (fpregset_t): Use __ctx in defining fields.
85 (mcontext_t): Likewise.
86 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
87 (mcontext_t): Use __ctx in defining fields.
88 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
89 macro.
90 [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
91 __NGREG if [__USE_MISC].
92 [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
93 [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
94 (mcontext_t): Likewise.
95 [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
96 __NGREG if [__USE_MISC].
97 [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
98 to __NFPREG if [__USE_MISC].
99 [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
100 to __NVRREG if [__USE_MISC].
101 [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
102 [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
103 [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
104 [__WORDSIZE != 32] (vrregset_t): Likewise.
105 [__WORDSIZE != 32] (mcontext_t): Likewise.
106 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
107 (__psw_t): Use __ctx in defining fields.
108 (NGREG): Rename to __NGREG and define NGREG to __NGREG if
109 [__USE_MISC].
110 (gregset_t): Define using __NGREG.
111 (fpreg_t): Use __ctx in defining fields.
112 (fpregset_t): Likewise.
113 (mcontext_t): Likewise.
114 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
115 __NGREG and define NGREG to __NGREG if [__USE_MISC].
116 (gregset_t): Define using __NGREG.
117 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
118 [__USE_MISC].
119 (fpregset_t): Define using __NFPREG.
120 (__ctx): New macro.
121 (mcontext_t): Use __ctx in defining fields.
122 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
123 [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
124 __NGREG if [__USE_MISC].
125 [__x86_64__] (gregset_t): Define using __NGREG.
126 [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
127 [__x86_64__] (struct _libc_fpstate): Likewise.
128 [__x86_64__] (mcontext_t): Likewise.
129 [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
130 __NGREG if [__USE_MISC].
131 [!__x86_64__] (gregset_t): Define using __NGREG.
132 [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
133 [!__x86_64__] (struct _libc_fpstate): Likewise.
134 [!__x86_64__] (mcontext_t): Likewise.
135
136 2017-06-01 Zack Weinberg <zackw@panix.com>
137
138 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
139 alpha/pt-vfork.S. Provide own compat shim for vfork and __vfork.
140 * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
141 * sysdeps/unix/sysv/linux/microblaze/localplt.data:
142 libpthread.so no longer references __errno_location.
143
144 2017-05-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
145
146 * NEWS: Add note about pwritev2 and preadv2 inclusion.
147 * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
148 pwritev64v2.
149 (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
150 * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
151 pwritev64v2.
152 * misc/preadv2.c: New file.
153 * misc/preadv64v2.c: Likewise.
154 * misc/pwritev2.c: Likewise.
155 * misc/pwritev64v2.c: Likewise.
156 * misc/tst-preadvwritev2.c: Likewise.
157 * misc/tst-preadvwritev64v2.c: Likewise.
158 * manual/llio.texi: Add preadv2 and pwritev2 documentation.
159 * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
160 prototype.
161 [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
162 [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
163 [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
164 * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
165 (PWRITEV): Likewise.
166 (do_test_with_offset): Use PREADV and PWRITEV macros and check for
167 ENOSYS.
168 * nptl/tst-cancel4.c (tf_pwritev2): New test.
169 (tf_preadv2): Likewise.
170 (tf_fsync): Add tf_pwritev2 and tf_preadv2.
171 * sysdeps/posix/preadv2.c: Likewise.
172 * sysdeps/posix/preadv64v2.c: Likewise.
173 * sysdeps/posix/pwritev2.c: Likewise.
174 * sysdeps/posix/pwritev64v2.c: Likewise.
175 * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
176 support in kernel.
177 * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
178 * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
179 * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
180 * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
181 * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
182 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
183 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
184 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
185 * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
186 support flags on Linux.
187 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
188 preadv2, preadv64v2, pwritev2, pwritev64v2.
189 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
190 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
191 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
192 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
193 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
194 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
195 Likewise.
196 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
197 Likewise.
198 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
199 Likewise.
200 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
201 Likewise.
202 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
203 Likewise.
204 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
205 Likewise.
206 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
207 Likewise.
208 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
210 (GLIBC_2.26): Likewise.
211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
212 (GLIBC_2.26): Likewise.
213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
214 Likewise.
215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
216 (GLIBC_2.26): Likewise.
217 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
218 Likewise.
219 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
220 Likewise.
221 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
222 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
223 Likewise.
224 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
225 Likewise.
226 * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
227 Likewise.
228 * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
229 Likewise.
230 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
231 Likewise.
232 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
233 Likewise.
234 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
235 Likewise.
236
237 2017-05-31 Andreas Schwab <schwab@suse.de>
238
239 * nptl/tst-fork3.c: Include <support/test-driver.c>.
240 (main): Rename to do_test and make static.
241
242 2017-05-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
243
244 * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
245 ARCH_INIT_CPU_FEATURES.
246 (LIBC_START_MAIN): Call it.
247 * sysdeps/unix/sysv/linux/aarch64/libc-start.c
248 (__libc_start_main): Remove.
249 (ARCH_INIT_CPU_FEATURES): New macro.
250 * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
251 (ARCH_INIT_CPU_FEATURES): New macro.
252
253 2017-05-30 Dennis Wölfing <denniswoelfing@gmx.de>
254 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
255
256 * include/stdlib.h (__libc_reallocarray): New declaration.
257 * malloc/Makefile (routines): Add reallocarray.
258 (tests): Add tst-reallocarray.c.
259 * malloc/Versions: Add reallocarray and __libc_reallocarray.
260 * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
261 function.
262 * malloc/malloc.h (reallocarray): New declaration.
263 * stdlib/stdlib.h (reallocarray): Likewise.
264 * malloc/reallocarray.c: New file.
265 * malloc/tst-reallocarray.c: New test file.
266 * manual/memory.texi: Document reallocarray.
267 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
268 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
269 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
270 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
271 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
272 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
273 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
274 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
275 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
276 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
277 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
278 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
279 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
280 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
282 Likewise.
283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
284 Likewise.
285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
287 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
288 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
289 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
290 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
291 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
292 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
294 * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
295 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
296 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
297
298 2017-05-30 H.J. Lu <hongjiu.lu@intel.com>
299
300 * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
301 the lower 32 bits.
302
303 2017-05-29 Andreas Schwab <schwab@linux-m68k.org>
304
305 * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
306 $(build-pie-default) = yes]: Define.
307
308 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
309
310 * string/test-memchr.c (test_main): Add tests for n == 0.
311
312 2017-05-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
313
314 * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
315 nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
316 (tests-internal): ... here.
317
318 2017-05-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
319 H.J. Lu <hongjiu.lu@intel.com>
320
321 * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
322 * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
323 (__tunable_set_val): Likewise.
324
325 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
326
327 * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
328 dl-tunables.list in subdirectories.
329
330 2017-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
331 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
332 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
333
334 * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
335 (SNANF128): New macro.
336 * math/e_sqrtf128.c: New file.
337 * math/s_fmaxmag_template.c: Include math_private.h in order to
338 make inline expansion of fabs128().
339 * math/s_fminmag_template.c: Likewise.
340
341 * sysdeps/ieee754/float128/e_acosf128.c: New file.
342 * sysdeps/ieee754/float128/e_acoshf128.c: New file.
343 * sysdeps/ieee754/float128/e_asinf128.c: New file.
344 * sysdeps/ieee754/float128/e_atan2f128.c: New file.
345 * sysdeps/ieee754/float128/e_atanhf128.c: New file.
346 * sysdeps/ieee754/float128/e_coshf128.c: New file.
347 * sysdeps/ieee754/float128/e_exp10f128.c: New file.
348 * sysdeps/ieee754/float128/e_expf128.c: New file.
349 * sysdeps/ieee754/float128/e_fmodf128.c: New file.
350 * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
351 * sysdeps/ieee754/float128/e_hypotf128.c: New file.
352 * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
353 * sysdeps/ieee754/float128/e_j0f128.c: New file.
354 * sysdeps/ieee754/float128/e_j1f128.c: New file.
355 * sysdeps/ieee754/float128/e_jnf128.c: New file.
356 * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
357 * sysdeps/ieee754/float128/e_log10f128.c: New file.
358 * sysdeps/ieee754/float128/e_log2f128.c: New file.
359 * sysdeps/ieee754/float128/e_logf128.c: New file.
360 * sysdeps/ieee754/float128/e_powf128.c: New file.
361 * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
362 * sysdeps/ieee754/float128/e_remainderf128.c: New file.
363 * sysdeps/ieee754/float128/e_scalbf128.c: New file.
364 * sysdeps/ieee754/float128/e_sinhf128.c: New file.
365 * sysdeps/ieee754/float128/float128_private.h: New file.
366 * sysdeps/ieee754/float128/gamma_productf128.c: New file.
367 * sysdeps/ieee754/float128/ieee754_float128.h: New file.
368 * sysdeps/ieee754/float128/k_cosf128.c: New file.
369 * sysdeps/ieee754/float128/k_sincosf128.c: New file.
370 * sysdeps/ieee754/float128/k_sinf128.c: New file.
371 * sysdeps/ieee754/float128/k_tanf128.c: New file.
372 * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
373 * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
374 * sysdeps/ieee754/float128/s_asinhf128.c: New file.
375 * sysdeps/ieee754/float128/s_atanf128.c: New file.
376 * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
377 * sysdeps/ieee754/float128/s_ceilf128.c: New file.
378 * sysdeps/ieee754/float128/s_copysignf128.c: New file.
379 * sysdeps/ieee754/float128/s_cosf128.c: New file.
380 * sysdeps/ieee754/float128/s_erff128.c: New file.
381 * sysdeps/ieee754/float128/s_expm1f128.c: New file.
382 * sysdeps/ieee754/float128/s_fabsf128.c: New file.
383 * sysdeps/ieee754/float128/s_finitef128.c: New file.
384 * sysdeps/ieee754/float128/s_floorf128.c: New file.
385 * sysdeps/ieee754/float128/s_fmaf128.c: New file.
386 * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
387 * sysdeps/ieee754/float128/s_frexpf128.c: New file.
388 * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
389 * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
390 * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
391 * sysdeps/ieee754/float128/s_isinff128.c: New file.
392 * sysdeps/ieee754/float128/s_isnanf128.c: New file.
393 * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
394 * sysdeps/ieee754/float128/s_llrintf128.c: New file.
395 * sysdeps/ieee754/float128/s_llroundf128.c: New file.
396 * sysdeps/ieee754/float128/s_log1pf128.c: New file.
397 * sysdeps/ieee754/float128/s_logbf128.c: New file.
398 * sysdeps/ieee754/float128/s_lrintf128.c: New file.
399 * sysdeps/ieee754/float128/s_lroundf128.c: New file.
400 * sysdeps/ieee754/float128/s_modff128.c: New file.
401 * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
402 * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
403 * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
404 * sysdeps/ieee754/float128/s_nextupf128.c: New file.
405 * sysdeps/ieee754/float128/s_remquof128.c: New file.
406 * sysdeps/ieee754/float128/s_rintf128.c: New file.
407 * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
408 * sysdeps/ieee754/float128/s_roundf128.c: New file.
409 * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
410 * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
411 * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
412 * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
413 * sysdeps/ieee754/float128/s_signbitf128.c: New file.
414 * sysdeps/ieee754/float128/s_significandf128.c: New file.
415 * sysdeps/ieee754/float128/s_sincosf128.c: New file.
416 * sysdeps/ieee754/float128/s_sinf128.c: New file.
417 * sysdeps/ieee754/float128/s_tanf128.c: New file.
418 * sysdeps/ieee754/float128/s_tanhf128.c: New file.
419 * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
420 * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
421 * sysdeps/ieee754/float128/s_truncf128.c: New file.
422 * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
423 * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
424 * sysdeps/ieee754/float128/t_sincosf128.c: New file.
425 * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
426
427 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
428 (__iscanonicalf128): Define as a macro.
429
430 2017-05-24 Steve Ellcey <sellcey@caviumnetworks.com>
431
432 * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
433 (memmove): Use MEMMOVE for name.
434 (memcpy): Use MEMCPY for name. Change internal labels
435 to external labels.
436 * sysdeps/aarch64/multiarch/Makefile: New file.
437 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
438 * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
439 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
440 * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
441 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
442 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
443
444 2017-05-24 Siddhesh Poyarekar <siddhesh@sourceware.org>
445
446 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
447 (_dl_arm_cap_flags): Fix array subscript.
448 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
449 Fix count.
450
451 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
452
453 * sysdeps/x86/cacheinfo.c: Skip if not in libc.
454
455 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
456
457 * sysdeps/x86/cacheinfo.c (is_intel): Removed.
458 (is_amd): Likewise.
459 (max_cpuid): Likewise.
460 (__cache_sysconf): Use __get_cpu_features to get cpu_features.
461 (init_cacheinfo): Likewise.
462
463 2017-05-23 Joseph Myers <joseph@codesourcery.com>
464
465 [BZ #21511]
466 * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
467 [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
468 (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
469 !__USE_XOPEN2K) || __USE_MISC].
470 * conform/data/signal.h-data (struct sigstack): Expect type only
471 if [!XOPEN2K8 && !POSIX2008].
472 (sigstack): Expect function only if [XPG42 || UNIX98].
473
474 [BZ #21457]
475 * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
476 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
477 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
478 <bits/types/__sigset_t.h>.
479 (ucontext_t): Use sigset_t instead of __sigset_t.
480 * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
481 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
482 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
483 <bits/types/__sigset_t.h>.
484 (ucontext_t): Use sigset_t instead of __sigset_t.
485 * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
486 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
487 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
488 <bits/types/__sigset_t.h>.
489 (ucontext_t): Use sigset_t instead of __sigset_t.
490 * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
491 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
492 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
493 <bits/types/__sigset_t.h>.
494 (ucontext_t): Use sigset_t instead of __sigset_t.
495 * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
496 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
497 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
498 <bits/types/__sigset_t.h>.
499 (ucontext_t): Use sigset_t instead of __sigset_t.
500 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
501 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
502 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
503 <bits/types/__sigset_t.h>.
504 (ucontext_t): Use sigset_t instead of __sigset_t.
505 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
506 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
507 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
508 <bits/types/__sigset_t.h>.
509 (ucontext_t): Use sigset_t instead of __sigset_t.
510 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
511 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
512 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
513 <bits/types/__sigset_t.h>.
514 (ucontext_t): Use sigset_t instead of __sigset_t.
515 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
516 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
517 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
518 <bits/types/__sigset_t.h>.
519 (ucontext_t): Use sigset_t instead of __sigset_t.
520 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
521 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
522 <bits/ss_flags.h>. Include <bits/types/sigset_t.h>.
523 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
524 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
525 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
526 <bits/types/__sigset_t.h>.
527 (ucontext_t): Use sigset_t instead of __sigset_t.
528 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
529 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
530 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
531 <bits/types/__sigset_t.h>.
532 (ucontext_t): Use sigset_t instead of __sigset_t.
533 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
534 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
535 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
536 <bits/types/__sigset_t.h>.
537 (ucontext_t): Use sigset_t instead of __sigset_t.
538 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
539 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
540 <bits/ss_flags.h>.
541 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
542 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
543 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
544 <bits/types/__sigset_t.h>.
545 (ucontext_t): Use sigset_t instead of __sigset_t.
546 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
547 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
548 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
549 <bits/types/__sigset_t.h>.
550 (ucontext_t): Use sigset_t instead of __sigset_t.
551 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
552 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
553 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
554 <bits/types/__sigset_t.h>.
555 (ucontext_t): Use sigset_t instead of __sigset_t.
556 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
557 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
558 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
559 <bits/types/__sigset_t.h>.
560 (ucontext_t): Use sigset_t instead of __sigset_t.
561 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
562 <bits/types.h>.
563 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
564 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
565 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
566 <bits/types/__sigset_t.h>.
567 (ucontext_t): Use sigset_t instead of __sigset_t.
568
569 2017-05-22 Zack Weinberg <zackw@panix.com>
570
571 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
572 (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
573 bits/siginfo-arch.h, only if not already defined.
574 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
575 (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
576 (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
577 Likewise.
578
579 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
580 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
581 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
582 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
583 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
584 Unconditionally define __SI_* macros.
585
586 2017-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
587
588 [BZ #21393]
589 * libio/freopen.c (freopen): Avoid dup already opened file descriptor
590 and add a check for dup3 failure.
591 * libio/freopen64.c (freopen64): Likewise.
592 * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
593 libsupport.
594 (do_test_bz21398): New test.
595 * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
596
597 2017-05-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
598
599 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
600 Remove invalid comment.
601
602 2017-05-21 Zack Weinberg <zackw@panix.com>
603
604 * signal/Makefile (headers): Add bits/types/sigval_t.h.
605
606 2017-05-20 Zack Weinberg <zackw@panix.com>
607
608 * bits/sigevent-consts.h
609 * bits/siginfo-consts.h
610 * bits/types/__sigset_t.h
611 * bits/types/sigevent_t.h
612 * bits/types/siginfo_t.h
613 * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
614 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
615 * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
616 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
617 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
618 New system-dependent bits headers.
619
620 * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
621 * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
622 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
623 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
624 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
625 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
626 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
627 * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
628 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
629 New Linux-only system-dependent bits headers.
630
631 * signal/bits/types/sig_atomic_t.h
632 * signal/bits/types/sigset_t.h
633 * signal/bits/types/sigval_t.h:
634 New non-system-dependent bits headers.
635
636 * sysdeps/generic/sigsetops.h
637 * sysdeps/unix/sysv/linux/sigsetops.h:
638 New internal headers.
639
640 * include/bits/types/sig_atomic_t.h
641 * include/bits/types/sigset_t.h
642 * include/bits/types/sigval_t.h:
643 New wrappers.
644
645 * signal/sigsetops.h
646 * bits/siginfo.h
647 * bits/sigset.h
648 * sysdeps/unix/sysv/linux/bits/siginfo.h
649 * sysdeps/unix/sysv/linux/bits/sigset.h
650 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
651 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
652 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
653 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
654 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
655 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
656 Deleted.
657
658 * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
659 Update lists of installed headers.
660
661 * posix/bits/types.h: Define __sig_atomic_t here.
662 * signal/signal.h: Use the new bits headers; no need to handle
663 __need_sig_atomic_t nor __need_sigset_t. Don't use __sigmask
664 to define sigmask.
665 * include/signal.h: No need to handle __need_sig_atomic_t
666 nor __need_sigset_t. Don't define __sigemptyset.
667
668 * io/sys/poll.h, setjmp/setjmp.h
669 * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
670 * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
671 * sysdeps/mach/hurd/i386/bits/sigcontext.h
672 * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
673 * sysdeps/pthread/bits/sigthread.h
674 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
675 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
676 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
677 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
678 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
679 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
680 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
681 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
682 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
683 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
684 Use bits/types/__sigset_t.h.
685
686 * misc/sys/select.h, posix/spawn.h
687 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
688 * sysdeps/unix/sysv/linux/sys/epoll.h
689 * sysdeps/unix/sysv/linux/sys/signalfd.h:
690 Use bits/types/sigset_t.h.
691
692 * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
693 * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
694 * socket/sys/socket.h: Don't include bits/sigset.h.
695
696 * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
697 * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
698 * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
699 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
700 * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
701 * sysdeps/unix/sysv/linux/nptl-signals.h:
702 Include sigsetops.h.
703
704 * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
705 * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
706 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
707 __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
708 now return no value.
709
710 * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
711 Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
712 "sigsetops.h".
713
714 * signal/sigsetops.c: Explicitly define __sigismember,
715 __sigaddset, and __sigdelset as compatibility symbols.
716
717 * signal/Versions: Correct commentary on __sigpause,
718 __sigaddset, __sigdelset, __sigismember.
719
720 * inet/rcmd.c: Include sigsetops.h. Convert old code using
721 __sigblock/__sigsetmask to use __sigprocmask and friends.
722
723 * resolv/resolv.h: Remove __need_res_state logic.
724 Move definition of res_state and related constants to ...
725 * resolv/bits/types/res_state.h: ...this new file.
726 * resolv/Makefile: Install bits/types/res_state.h.
727 * include/bits/types/res_state.h: New wrapper.
728 * include/list.h: Remove __need_list_t logic.
729 Move definition of list_t to ...
730 * include/list_t.h: ...this new file.
731
732 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
733 instead of list.h and resolv.h.
734
735 * resolv/resolv.h: Remove __need_res_state logic.
736 Move definition of res_state and related constants to ...
737 * resolv/bits/types/res_state.h: ...this new file.
738 * resolv/Makefile: Install bits/types/res_state.h.
739 * include/bits/types/res_state.h: New wrapper.
740 * include/list.h: Remove __need_list_t logic.
741 Move definition of list_t to ...
742 * include/list_t.h: ...this new file.
743
744 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
745 instead of list.h and resolv.h.
746
747 2017-05-20 H.J. Lu <hongjiu.lu@intel.com>
748
749 * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
750
751 2017-05-20 Zack Weinberg <zackw@panix.com>
752
753 * sysdeps/arm/sysdep.h
754 (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
755
756 * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
757 * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
758 * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
759 * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
760 * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
761 * sysdeps/arm/armv6t2/strlen.S
762 * sysdeps/arm/armv7/multiarch/memcpy_impl.S
763 * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
764 * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
765 * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
766 * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
767 Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
768
769 2017-05-20 Zack Weinberg <zackw@panix.com>
770
771 Remove the NaCl port.
772 * sysdeps/arm/nacl: Remove directory and contents.
773 * sysdeps/nacl: Remove directory and contents.
774 * abi-tags: Remove .*-.*-nacl.* entry.
775
776 2017-05-19 Rical Jasan <ricaljasan@pacific.net>
777
778 * manual/errno.texi: Convert @comment-based errno documentation to
779 @errno.
780 * manual/macros.texi (@errno): New macro. Consolidate errors,
781 their values, and messages, adding the error string to the Concept
782 Index. Provide a warning in the comment about external (to the
783 manual) dependencies.
784 * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
785 * sysdeps/mach/hurd/errnos.awk: Likewise.
786
787 2017-05-19 Joseph Myers <joseph@codesourcery.com>
788
789 * bits/ss_flags.h: New file.
790 * bits/types/stack_t.h: Likewise.
791 * include/bits/types/struct_sigstack.h: Likewise.
792 * signal/bits/types/struct_sigstack.h: Likewise.
793 * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
794 * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
795 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
796 * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
797 bits/types/stack_t.h and bits/ss_flags.h.
798 * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
799 Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
800 <bits/ss_flags.h>.
801 * bits/sigstack.h (struct sigstack): Remove.
802 (stack_t): Likewise.
803 (SS_ONSTACK): Likewise.
804 (SS_DISABLE): Likewise.
805 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
806 (struct sigstack): Likewise.
807 (stack_t): Likewise.
808 (SS_ONSTACK): Likewise.
809 (SS_DISABLE): Likewise.
810 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
811 Likewise.
812 (stack_t): Likewise.
813 (SS_ONSTACK): Likewise.
814 (SS_DISABLE): Likewise.
815 * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
816 Likewise.
817 (stack_t): Likewise.
818 (SS_ONSTACK): Likewise.
819 (SS_DISABLE): Likewise.
820 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
821 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
822 Likewise.
823 (stack_t): Likewise.
824 (SS_ONSTACK): Likewise.
825 (SS_DISABLE): Likewise.
826 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
827 (struct sigstack): Likewise.
828 (stack_t): Likewise.
829 (SS_ONSTACK): Likewise.
830 (SS_DISABLE): Likewise.
831 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
832 Likewise.
833 (stack_t): Likewise.
834 (SS_ONSTACK): Likewise.
835 (SS_DISABLE): Likewise.
836 * sysdeps/arm/sys/ucontext.h: Include
837 <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
838 <bits/ss_flags.h>.
839 * sysdeps/generic/sys/ucontext.h: Likewise.
840 * sysdeps/i386/sys/ucontext.h: Likewise.
841 * sysdeps/m68k/sys/ucontext.h: Likewise.
842 * sysdeps/mips/sys/ucontext.h: Likewise.
843 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
844 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
845 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
846 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
847 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
848 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
849 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
850 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
851 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
852 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
853 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
854 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
855 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
856 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
857 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
858
859 2017-05-19 H.J. Lu <hongjiu.lu@intel.com>
860
861 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
862 "edx + ecx - 16" to avoid possible addition overflow.
863 * sysdeps/x86_64/memchr.S (memchr): Likewise.
864
865 2017-05-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
866
867 * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
868 (CFLAGS-splice.c): Likewise.
869 (CFLAGS-open_by_handle_at.c): Likewise.
870 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
871 (CFLAGS-splice.c): Likewise.
872 (CFLAGS-open_by_handle_at.c): Likewise.
873
874 2017-05-19 Joseph Myers <joseph@codesourcery.com>
875
876 * scripts/versions.awk: Generate ldbl-compat-choose.h.
877 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
878 <ldbl-compat-choose.h>.
879 (maybe_long_double_symbol): New macro.
880 [!declare_mgen_alias] (declare_mgen_alias): Use
881 maybe_long_double_symbol.
882 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
883 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
884 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
885 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
886 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
887 * Makerules [$(build-shared) = yes && !avoid-generated]
888 (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
889 [$(build-shared) = yes && !avoid-generated]
890 ($(common-objpfx)ldbl-compat-choose.h): New target.
891
892 * scripts/versions.awk: Generate first-versions.h.
893 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
894 <first-versions.h>.
895 (LDOUBLE_cabsl_libm_version): Remove macro.
896 (LDOUBLE_cargl_libm_version): Likewise.
897 (LDOUBLE_cimagl_libm_version): Likewise.
898 (LDOUBLE_conjl_libm_version): Likewise.
899 (LDOUBLE_creall_libm_version): Likewise.
900 (LDOUBLE_cacosl_libm_version): Likewise.
901 (LDOUBLE_cacoshl_libm_version): Likewise.
902 (LDOUBLE_ccosl_libm_version): Likewise.
903 (LDOUBLE_ccoshl_libm_version): Likewise.
904 (LDOUBLE_casinl_libm_version): Likewise.
905 (LDOUBLE_csinl_libm_version): Likewise.
906 (LDOUBLE_casinhl_libm_version): Likewise.
907 (LDOUBLE_csinhl_libm_version): Likewise.
908 (LDOUBLE_catanl_libm_version): Likewise.
909 (LDOUBLE_catanhl_libm_version): Likewise.
910 (LDOUBLE_ctanl_libm_version): Likewise.
911 (LDOUBLE_ctanhl_libm_version): Likewise.
912 (LDOUBLE_cexpl_libm_version): Likewise.
913 (LDOUBLE_clogl_libm_version): Likewise.
914 (LDOUBLE_cprojl_libm_version): Likewise.
915 (LDOUBLE_csqrtl_libm_version): Likewise.
916 (LDOUBLE_cpowl_libm_version): Likewise.
917 (LDOUBLE_clog10l_libm_version): Likewise.
918 (LDOUBLE___clog10l_libm_version): Likewise.
919 (LDOUBLE_fdiml_libm_version): Likewise.
920 (LDOUBLE_fmaxl_libm_version): Likewise.
921 (LDOUBLE_fminl_libm_version): Likewise.
922 (LDOUBLE_ilogbl_libm_version): Likewise.
923 (LDOUBLE_nanl_libm_version): Likewise.
924 [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
925 FIRST_VERSION_libm_* macros.
926 [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
927 * Makerules [$(build-shared) = yes && !avoid-generated]
928 (before-compile): Add $(common-objpfx)first-versions.h.
929 [$(build-shared) = yes && !avoid-generated]
930 ($(common-objpfx)first-versions.h): New target.
931 ($(common-objpfx)sysd-versions): Depend on and change to rule for
932 building $(common-objpfx)versions.stmp.
933
934 2017-05-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
935
936 * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
937 * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
938 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
939 auto-generation list.
940
941 * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
942 * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
943 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
944 from auto-generation list.
945
946 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
947 open_by_handle_at.
948 (CFLAGS-open_by_handle_at.c): New flag.
949 * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
950 * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
951 file.
952 * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
953
954 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
955 (CFLAGS-splice.c): New flag.
956 * sysdeps/unix/sysv/linux/splice.c: New file.
957 * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
958 auto-generation syscall list.
959 * misc/Makefile (CFLAGS-splice.c): New rule.
960
961 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
962 * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
963 auto-generation syscall list.
964 * sysdeps/unix/sysv/linux/vmsplice.c: New file.
965 * misc/Makefile (CFLAGS-vmsplice.c): New rule.
966
967 * misc/Makefile (CFLAGS-fsync.c): New flag.
968 * nptl/Makefile (CFLAGS-fsync.c): Likewise.
969 * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
970 syscall list.
971 * sysdeps/unix/sysv/linux/fsync.c: New file.
972 * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
973 (__errno_location): Remove.
974
975 * misc/Makefile (CFLAGS-fdatasync.c): New rule.
976 * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
977 * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
978 list.
979 * sysdeps/unix/sysv/linux/fdatasync.c: New file.
980
981 * misc/Makefile (CFLAGS-msync.c): New rule.
982 * nptl/Makefile (CFLAGS-msync.c): Likewise.
983 * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
984 * sysdeps/unix/sysv/linux/msync.c: New file.
985
986 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
987 * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
988 * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
989 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
990 (CFLAGS-sigsuspend.c): Remove rule.
991
992 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
993 (CFLAGS-tee.c): New rule.
994 * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
995 auto-generated list.
996 * sysdeps/unix/sysv/linux/tee.c: New file.
997
998 * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
999 * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
1000 * sysdeps/unix/sysv/linux/nanosleep.c: New file.
1001 * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
1002 auto-generated list.
1003
1004 * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
1005 auto-generated list.
1006 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1007 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1008 * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
1009 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1010 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1011
1012 * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
1013 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
1014 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
1015 (__NR_pause): Undefine.
1016 * sysdeps/unix/sysv/linux/pause.c: New file.
1017 * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
1018 auto-generation list.
1019 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
1020 Remove rule.
1021 * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
1022
1023 2017-05-18 H.J. Lu <hongjiu.lu@intel.com>
1024
1025 * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
1026 comments.
1027
1028 2017-05-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
1029
1030 * elf/Makefile (tst-env-setuid-ENV): Reduce value of
1031 LD_HWCAP_MASK.
1032
1033 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
1034
1035 * manual/conf.texi: Convert @tables of annotated @items to
1036 @vtables.
1037 * manual/lang.texi: Likewise.
1038 * manual/pattern.texi: Likewise.
1039 * manual/resource.texi: Likewise.
1040 * manual/socket.texi: Likewise.
1041
1042 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
1043
1044 * manual/crypt.texi: Move a comment out of an @*x list.
1045 * manual/filesys.texi: Refactor some comments, one of which looks
1046 like a standard. Fix incorrectly separated standards.
1047 * manual/locale.texi: Invert an annotation.
1048 * manual/resource.texi: Fix incorrectly separated standards.
1049 * manual/time.texi: Refactor a @vtable that obscures an
1050 annotation.
1051 * manual/users.texi: Refactor multiple headers to occupy a single
1052 @comment.
1053
1054 2017-05-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1055
1056 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1057 (sysdep_routines): Add memcmp-power8.
1058 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1059 (memcmp): Add __memcmp_power8 to list of memcmp functions.
1060 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
1061 (memcmp): Add __memcmp_power8 to ifunc list.
1062 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
1063 * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
1064
1065 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1066 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1067
1068 * math/math.h (__MATH_TG): Extend the conditions to add
1069 _Float128 support.
1070 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
1071
1072 2017-05-17 Paul A. Clarke <pc@us.ibm.com>
1073
1074 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1075 [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
1076 s_cosf-ppc64.
1077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
1078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
1079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
1080 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
1081
1082 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1083
1084 * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
1085 (gen-libm-calls): Add e_exp2F to use the template.
1086 * math/e_exp2l.c: Rename to math/e_exp2_template.c.
1087 * math/e_exp2_template.c: New file, renamed from
1088 math/e_exp2l.c, and made into a template.
1089 * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
1090
1091 2017-05-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
1092
1093 * elf/dl-tunable-types.h (tunable_type_code_t): New type
1094 TUNABLE_TYPE_UINT_64.
1095 * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
1096 Simplify computation of overflow.
1097 (tunable_set_val_if_valid_range_signed,
1098 tunable_set_val_if_valid_range_unsigned): Remove and replace
1099 with this...
1100 (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
1101 (tunable_initialize): Adjust. Add uint64_t support.
1102 (__tunable_set_val): Add uint64_t support.
1103 * README.tunables: Document it.
1104
1105 * scripts/gen-tunables.awk: Recognize 'default' keyword in
1106 dl-tunables.list.
1107 * README.tunables: Document it.
1108
1109 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1110
1111 * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
1112 * sysdeps/posix/preadv64.c: Likewise.
1113 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1114 * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
1115 * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
1116 * sysdeps/posix/pwritev64.c: Likewise.
1117 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1118 * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
1119 * sysdeps/posix/preadv_common.c: New file.
1120 * sysdeps/posix/pwritev_common.c: Likewise.
1121
1122 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1123
1124 * sysdeps/generic/math-type-macros-float128.h
1125 (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
1126 wrapper templates.
1127
1128 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1129 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1130
1131 * include/complex.h (__kernel_casinhf128): New declaration.
1132 * include/float.h: New file.
1133 * include/math.h (__finitef128): Add a hidden def.
1134 (__isinff128): Likewise.
1135 (__isnanf128): Likewise.
1136 (__fpclassify): Likewise.
1137 (__issignalling): Likewise.
1138 (__expf128): Likewise.
1139 (__expm1f128): Likewise.
1140
1141 * sysdeps/generic/fix-fp-int-convert-overflow.h:
1142 (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
1143 (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
1144
1145 * sysdeps/generic/math-type-macros-float128.h: New file.
1146
1147 * sysdeps/generic/math_private.h: Include bits/floatn.h and
1148 math_private_calls.h for _Float128.
1149 (__isinff128): New inline implementation used when GCC < 7.0,
1150 since in this case __builtin_isinf_sign is broken.
1151 (fabsf128): New inline implementation that calls the builtin.
1152 (__EXPR_FLT128): New macro.
1153 (min_of_type): Optionally include _Float128 types too.
1154
1155 * sysdeps/generic/math_private_calls.h (__kernel_sincos):
1156 Declare for _Float128.
1157 (__kernel_rem_pio2): Likewise.
1158
1159 * sysdeps/ieee754/ldbl-opt/s_sin.c:
1160 (__DECL_SIMD_sincos_disablef128): New macro.
1161
1162 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1163
1164 * math/math.h: Include bits/math-finite.h for float128.
1165 (__MATH_DECLARING_FLOATN): Define to control declaration of
1166 float128 functions.
1167 * math/bits/math-finite.h (pow10): Do not declare for float128.
1168 (gamma): Likewise.
1169 (scalb): Likewise.
1170
1171 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1172 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1173
1174 * bits/floatn.h: New file.
1175 * bits/huge_val_flt128.h: Likewise.
1176
1177 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
1178 (__DECL_SIMD_sinf128): Likewise.
1179 (__DECL_SIMD_sincosf128): Likewise.
1180 (__DECL_SIMD_logf128): Likewise.
1181 (__DECL_SIMD_expf128): Likewise.
1182 (__DECL_SIMD_powf128): Likewise.
1183
1184 * math/Makefile (headers): Install bits/floatn.h and
1185 bits/huge_val_flt128.h.
1186
1187 * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
1188 defined.
1189
1190 * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
1191 (isnan, gamma, nexttoward, scalb): Only define if not
1192 __MATH_DECLARING_FLOATN.
1193 (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
1194 (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
1195 (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
1196 _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
1197
1198 * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
1199 Include bits/cmathcalls.h to get the declarations of _Float128
1200 versions of complex functions.
1201 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
1202 Define macro.
1203
1204 * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
1205 Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
1206 get the declarations of _Float128 versions of math functions.
1207 (__MATH_DECLARING_FLOATN): New macro to control declaration of
1208 _FloatN types.
1209 [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
1210 is type-generic, so use it without __MATH_TG.
1211 [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
1212 _Float128 type on GCC < 7.0. Explicitly call __isinff128 for
1213 _Float128 type and GCC < 7.0, otherwise use the builtin.
1214 [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
1215 (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
1216 (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
1217 New _GNU_SOURCE enabled macros.
1218
1219 2017-05-12 Joseph Myers <joseph@codesourcery.com>
1220
1221 * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
1222 (signbitf): Likewise.
1223 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
1224 Likewise.
1225 (signbitl): Likewise.
1226 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
1227 Likewise.
1228 * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
1229 (signbitl): Likewise.
1230 * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
1231
1232 2017-05-12 Florian Weimer <fweimer@redhat.com>
1233
1234 [BZ #21386]
1235 * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
1236 parent PID. The assertion in the child is incorrect with PID
1237 namespaces.
1238
1239 2017-05-12 Joseph Myers <joseph@codesourcery.com>
1240
1241 * sysdeps/unix/sysv/linux/kernel-features.h
1242 (__ASSUME_STATFS_F_FLAGS): Remove macro.
1243 * sysdeps/unix/sysv/linux/internal_statvfs.c
1244 [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
1245
1246 2017-05-11 Zack Weinberg <zackw@panix.com>
1247
1248 * Makerules: New subdir configuration variables 'tests-internal'
1249 and 'test-internal-extras'. Test files in these categories will
1250 still be compiled with MODULE_NAME=nonlib. Test files in the
1251 existing categories (tests, xtests, test-srcs, test-extras) are
1252 now compiled with MODULE_NAME=testsuite.
1253 New subdir configuration variable 'modules-names-tests'. Files
1254 which are in both 'modules-names' and 'modules-names-tests' will
1255 be compiled with MODULE_NAME=testsuite instead of
1256 MODULE_NAME=extramodules.
1257 (gen-as-const-headers): Move to tests-internal.
1258 (do-tests-clean, common-mostlyclean): Support tests-internal.
1259 * Makeconfig (built-modules): Add testsuite.
1260 * Makefile: Change libof-check-installed-headers-c and
1261 libof-check-installed-headers-cxx to 'testsuite'.
1262 * Rules: Likewise. Support tests-internal.
1263 * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
1264 Remove extra-modules.mk.
1265
1266 * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
1267 * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
1268 PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
1269 very top of the file and rationalize their order.
1270 If MODULE_NAME is not defined at all, define IS_IN to always be
1271 false, and don't define _ISOMAC.
1272 If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
1273 true, define _ISOMAC and suppress everything else in this file,
1274 starting with the inclusion of config.h.
1275 Do check for inappropriate definitions of __OPTIMIZE__ and
1276 __FAST_MATH__ here, but only if _ISOMAC is not defined.
1277 Correct some out-of-date commentary.
1278
1279 * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
1280 and _Mlong_double_ before including math.h.
1281 * include/string.h: If _ISOMAC is defined, don't expose
1282 _STRING_ARCH_unaligned. Move a comment to a more appropriate
1283 location.
1284
1285 * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
1286 * include/time.h, include/unistd.h, include/wchar.h: No need to
1287 check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
1288
1289 * misc/sys/cdefs.h (__NTHNL): New macro.
1290 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
1291 (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
1292
1293 * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
1294 defined, for HAVE_TUNABLES.
1295 * inet/tst-checks-posix.c: No need to define _ISOMAC.
1296 * intl/tst-gettext2.c: Provide own definition of N_.
1297 * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
1298 * math/test-signgam-main.c: No need to define _ISOMAC.
1299 * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
1300 * stdlib/tst-strtod1i.c: ...this new file.
1301 * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
1302 Split tests of __strtod_internal to...
1303 * stdlib/tst-strtod5i.c: ...this new file.
1304 * string/test-string.h: Include stdint.h. Duplicate definition of
1305 inhibit_loop_to_libcall here (from libc-symbols.h).
1306 * string/test-strstr.c: Provide dummy definition of
1307 libc_hidden_builtin_def when including strstr.c.
1308 * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
1309 mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
1310 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1311 Don't include init-arch.h.
1312 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1313 Don't include init-arch.h.
1314
1315 * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
1316 tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
1317 unload, unload2, circleload1, neededtest, neededtest2,
1318 neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
1319 tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
1320 tst-stackguard1, tst-_dl_addr_inside_object, and all of the
1321 ifunc tests to tests-internal.
1322 Don't add $(modules-names) to test-extras.
1323 * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
1324 Add tst-deadline to tests-static-internal.
1325 * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
1326 tests-internal.
1327 * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
1328 * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
1329 tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
1330 tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
1331 tst-sem12-static, and tst-stackguard1-static to tests-internal.
1332 Link tests-internal with libpthread also.
1333 Don't add $(modules-names) to test-extras.
1334 * nss/Makefile: Move tst-field to tests-internal.
1335 * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
1336 tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
1337 * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
1338 tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
1339 tests-internal.
1340 * sunrpc/Makefile: Move tst-svc_register to tests-internal.
1341 * sysdeps/powerpc/Makefile: Move test-get_hwcap and
1342 test-get_hwcap-static to tests-internal.
1343 * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
1344 tests-internal.
1345 * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
1346 modules-names-tests.
1347
1348 2017-05-11 Zack Weinberg <zackw@panix.com>
1349
1350 * libio/libio.h: Condition dummy definition of _IO_lock_t on
1351 _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
1352 non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
1353 _IO_funlockfile, and _IO_ftrylockfile. Only define
1354 _IO_cleanup_region_start and _IO_cleanup_region_end if not
1355 already defined.
1356 * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
1357 _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
1358 appropriately.
1359 * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
1360 Define _IO_lock_t_defined after defining _IO_lock_t.
1361
1362 2016-05-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1363
1364 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
1365 void* for argument type and use VDSO_SYMBOL macro.
1366 (is_sigtramp_address_rt): Likewise.
1367 (__backtrace): Setup expected frame pointer address for signal
1368 handling.
1369 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
1370 void* for argumetn type and use VSDO_SYMBOL macro.
1371 (__backtrace): Setup expected frame pointer address for signal
1372 handling.
1373
1374 * sysdeps/unix/sysv/linux/writev.c: New file.
1375
1376 * sysdeps/unix/sysv/linux/readv.c: New file.
1377
1378 * include/unistd.h (write): Add hidden proto.
1379 * io/Makefile (CFLAGS-write.c): New define.
1380 * nptl/Makefile (CFLAGS-write.c): Likewise.
1381 * sysdeps/unix/sysv/linux/write.c: New file.
1382
1383 [BZ #21428]
1384 * include/unistd.h (read): Add hidden proto.
1385 * io/Makefile (CFLAGS-read.c): New define.
1386 * nptl/Makefile (CFLAGS-read.c): Likewise.
1387 * sysdeps/unix/sysv/linux/read.c: New file.
1388
1389 * io/Makefile (CFLAGS-creat.c): New rule.
1390 (CFLAGS-creat64.c): Likewise.
1391 * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
1392 * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
1393 * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
1394 * sysdeps/unix/sysv/linux/creat.c: New file.
1395 * sysdeps/unix/sysv/linux/creat64.c: Likewise.
1396 * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
1397 auto-generated list.
1398 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1399
1400 * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
1401 * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
1402 * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
1403 * sysdeps/unix/sysv/linux/open.c: New file.
1404 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
1405 iff __WORDSIZE != 64 and use __NR_openat when available.
1406 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
1407 from auto-generated list.
1408
1409 * nptl/Makefile (CFLAGS-close.c): New flag.
1410 * sysdeps/unix/sysv/linux/close.c: New file.
1411
1412 2017-05-11 DJ Delorie <dj@redhat.com>
1413
1414 * MAINTAINERS: New. Points to wiki.
1415
1416 2017-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
1417
1418 * scripts/gen-tunables.awk: Add attribute_relro to
1419 tunable_list.
1420
1421 2017-05-11 Joseph Myers <joseph@codesourcery.com>
1422
1423 [BZ #21457]
1424 * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
1425 (R1): Likewise.
1426 (R2): Likewise.
1427 (R3): Likewise.
1428 (R4): Likewise.
1429 (R5): Likewise.
1430 (R6): Likewise.
1431 (R7): Likewise.
1432 (R8): Likewise.
1433 (R9): Likewise.
1434 (R10): Likewise.
1435 (R11): Likewise.
1436 (R12): Likewise.
1437 (R13): Likewise.
1438 (R14): Likewise.
1439 (R15): Likewise.
1440 * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
1441 (REG_FS): Likewise.
1442 (REG_ES): Likewise.
1443 (REG_DS): Likewise.
1444 (REG_EDI): Likewise.
1445 (REG_ESI): Likewise.
1446 (REG_EBP): Likewise.
1447 (REG_ESP): Likewise.
1448 (REG_EBX): Likewise.
1449 (REG_EDX): Likewise.
1450 (REG_ECX): Likewise.
1451 (REG_EAX): Likewise.
1452 (REG_TRAPNO): Likewise.
1453 (REG_ERR): Likewise.
1454 (REG_EIP): Likewise.
1455 (REG_CS): Likewise.
1456 (REG_EFL): Likewise.
1457 (REG_UESP): Likewise.
1458 (REG_SS): Likewise.
1459 * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
1460 (R_D1): Likewise.
1461 (R_D2): Likewise.
1462 (R_D3): Likewise.
1463 (R_D4): Likewise.
1464 (R_D5): Likewise.
1465 (R_D6): Likewise.
1466 (R_D7): Likewise.
1467 (R_A0): Likewise.
1468 (R_A1): Likewise.
1469 (R_A2): Likewise.
1470 (R_A3): Likewise.
1471 (R_A4): Likewise.
1472 (R_A5): Likewise.
1473 (R_A6): Likewise.
1474 (R_A7): Likewise.
1475 (R_SP): Likewise.
1476 (R_PC): Likewise.
1477 (R_PS): Likewise.
1478 (fpregset_t): Likewise.
1479 (MCONTEXT_VERSION): Likewise.
1480 * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
1481 (CTX_AT): Likewise.
1482 (CTX_V0): Likewise.
1483 (CTX_V1): Likewise.
1484 (CTX_A0): Likewise.
1485 (CTX_A1): Likewise.
1486 (CTX_A2): Likewise.
1487 (CTX_A3): Likewise.
1488 (CTX_T0): Likewise.
1489 (CTX_T1): Likewise.
1490 (CTX_T2): Likewise.
1491 (CTX_T3): Likewise.
1492 (CTX_T4): Likewise.
1493 (CTX_T5): Likewise.
1494 (CTX_T6): Likewise.
1495 (CTX_T7): Likewise.
1496 (CTX_S0): Likewise.
1497 (CTX_S1): Likewise.
1498 (CTX_S2): Likewise.
1499 (CTX_S3): Likewise.
1500 (CTX_S4): Likewise.
1501 (CTX_S5): Likewise.
1502 (CTX_S6): Likewise.
1503 (CTX_S7): Likewise.
1504 (CTX_T8): Likewise.
1505 (CTX_T9): Likewise.
1506 (CTX_K0): Likewise.
1507 (CTX_K1): Likewise.
1508 (CTX_GP): Likewise.
1509 (CTX_SP): Likewise.
1510 (CTX_S8): Likewise.
1511 (CTX_RA): Likewise.
1512 (CTX_MDLO): Likewise.
1513 (CTX_MDHI): Likewise.
1514 (CTX_CAUSE): Likewise.
1515 (CTX_EPC): Likewise.
1516 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
1517 inclusion of <sys/procfs.h> on [__USE_MISC].
1518 (greg_t): Condition on [__USE_MISC].
1519 (gregset_t): Likewise.
1520 (fpregset_t): Likewise.
1521 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
1522 (NGREG): Likewise.
1523 (gregset_t): Likewise.
1524 (REG_R0): Likewise.
1525 (REG_R1): Likewise.
1526 (REG_R2): Likewise.
1527 (REG_R3): Likewise.
1528 (REG_R4): Likewise.
1529 (REG_R5): Likewise.
1530 (REG_R6): Likewise.
1531 (REG_R7): Likewise.
1532 (REG_R8): Likewise.
1533 (REG_R9): Likewise.
1534 (REG_R10): Likewise.
1535 (REG_R11): Likewise.
1536 (REG_R12): Likewise.
1537 (REG_R13): Likewise.
1538 (REG_R14): Likewise.
1539 (REG_R15): Likewise.
1540 (struct _libc_fpstate): Likewise.
1541 (fpregset_t): Likewise.
1542 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
1543 (NFPREG): Likewise.
1544 (gregset_t): Likewise.
1545 (fpregset_t): Likewise.
1546 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
1547 (R_D1): Likewise.
1548 (R_D2): Likewise.
1549 (R_D3): Likewise.
1550 (R_D4): Likewise.
1551 (R_D5): Likewise.
1552 (R_D6): Likewise.
1553 (R_D7): Likewise.
1554 (R_A0): Likewise.
1555 (R_A1): Likewise.
1556 (R_A2): Likewise.
1557 (R_A3): Likewise.
1558 (R_A4): Likewise.
1559 (R_A5): Likewise.
1560 (R_A6): Likewise.
1561 (R_A7): Likewise.
1562 (R_SP): Likewise.
1563 (R_PC): Likewise.
1564 (R_PS): Likewise.
1565 (fpregset_t): Likewise.
1566 (MCONTEXT_VERSION): Likewise.
1567 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
1568 Likewise.
1569 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
1570 (REG_R1): Likewise.
1571 (REG_R2): Likewise.
1572 (REG_R3): Likewise.
1573 (REG_R4): Likewise.
1574 (REG_R5): Likewise.
1575 (REG_R6): Likewise.
1576 (REG_R7): Likewise.
1577 (REG_R8): Likewise.
1578 (REG_R9): Likewise.
1579 (REG_R10): Likewise.
1580 (REG_R11): Likewise.
1581 (REG_R12): Likewise.
1582 (REG_R13): Likewise.
1583 (REG_R14): Likewise.
1584 (REG_R15): Likewise.
1585 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
1586 of <arch/abi.h> on [__USE_MISC].
1587 (greg_t): Condition on [__USE_MISC].
1588 (NGREG): Likewise.
1589 (gregset_t): Likewise.
1590
1591 2017-05-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1592
1593 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
1594 (__pthread_rwlock_arch_t): Remove __data definition.
1595 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
1596 (__pthread_rwlock_arch_t): Likewise.
1597
1598 2017-05-11 Florian Weimer <fweimer@redhat.com>
1599
1600 * resolv/inet_pton.c: Reformat in GNU style. Remove
1601 internal_function on static functions.
1602
1603 2017-05-11 Florian Weimer <fweimer@redhat.com>
1604
1605 * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
1606 from format_ai_flags.
1607 (format_ai_flags): New function. Incorporate flag formatting code
1608 from format_ai_one.
1609 (format_ai_canonname): New function.
1610 (format_ai_one): Remove flags parameter.
1611 (format_ai_family): Likewise.
1612 (support_format_addrinfo): Call format_ai_flags,
1613 format_ai_canonname.
1614 * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
1615 check_ai.
1616 (check_ai): Call check_ai_hints.
1617 (do_test): Add AI_CANONNAME tests.
1618
1619 2017-05-11 Florian Weimer <fweimer@redhat.com>
1620
1621 * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
1622 (gaih_inet): Likewise.
1623
1624 2017-05-10 Andreas Schwab <schwab@suse.de>
1625
1626 * nptl/tst-fork1.c: Include <support/test-driver.c>.
1627 (main): Rename to do_test and make static.
1628
1629 2017-05-10 Joseph Myers <joseph@codesourcery.com>
1630
1631 * string/rawmemchr.c: Include <libc-diag.h>.
1632 (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
1633 with size (size_t)-1.
1634
1635 2017-05-09 Joseph Myers <joseph@codesourcery.com>
1636
1637 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
1638 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1639 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1640
1641 * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
1642 [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
1643 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
1644 [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
1645 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
1646 [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
1647 * sysdeps/unix/sysv/linux/kernel-features.h
1648 (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
1649 socket syscalls.
1650 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1651 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1652 * sysdeps/unix/sysv/linux/i386/kernel-features.h
1653 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
1654 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1655 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1656 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
1657 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1658 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1659 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1660 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1661 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1662 (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1663 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1664 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1665
1666 2017-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1667
1668 * posix/Makefile (headers): Add pthreadtypes-arch.h and
1669 thread-shared-types.h.
1670 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
1671 specific thread definition.
1672 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
1673 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
1674 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
1675 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
1676 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
1677 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
1678 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
1679 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
1680 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
1681 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
1682 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
1683 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
1684 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
1685 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
1686 * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
1687 thread definition between POSIX and C11.
1688 * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
1689 * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
1690 * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
1691 * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
1692 * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
1693 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
1694 * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
1695 * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
1696 * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
1697 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
1698 * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
1699 * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
1700 * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
1701 * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
1702 * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
1703 * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
1704 definitions shared across all architectures.
1705
1706 2017-05-09 Joseph Myers <joseph@codesourcery.com>
1707
1708 * sysdeps/unix/sysv/linux/kernel-features.h
1709 (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
1710 (__ASSUME_SENDMMSG): Likewise.
1711 (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
1712 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
1713 sendmmsg syscall if that can be assumed to be present, socketcall
1714 otherwise, with no fallback for runtime failure.
1715
1716 * sysdeps/unix/sysv/linux/kernel-features.h
1717 (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
1718 (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
1719 (__ASSUME_RECVMMSG): Likewise.
1720 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
1721 recvmmsg syscall if it can be assumed to be present, socketcall
1722 otherwise, with no fallback for runtime failure.
1723
1724 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1725 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1726
1727 * bits/libc-header-start.h:
1728 (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
1729 * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
1730 * manual/creature.texi: Likewise.
1731
1732 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1733 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1734
1735 * math/Makefile:
1736 (type-float128-suffix): New variable
1737 (type-float128-routines): Likewise
1738 (type-float128-yes): Likewise
1739 (types): Append float128 if supported
1740 (types-basic): New variable to control the use of templates for
1741 float, double, and long double, but not for float128 or newer types.
1742 (type-basic-foreach): Likewise.
1743
1744 * sysdeps/ieee754/float128/Makeconfig: New file.
1745 * sysdeps/ieee754/float128/Versions: New file.
1746
1747 2017-05-09 Joseph Myers <joseph@codesourcery.com>
1748
1749 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
1750 Remove macro.
1751 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
1752 prlimit64 is always available and does not give an ENOSYS error.
1753 * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
1754 unconditional.
1755 [!__NR_prlimit64]: Remove conditional code.
1756 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
1757 prlimit64 is always available and does not give an ENOSYS error.
1758 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
1759
1760 2017-05-09 Zack Weinberg <zackw@panix.com>
1761
1762 * sunrpc/tst-xdrmem2.c: Include stdint.h.
1763
1764 2017-05-09 Florian Weimer <fweimer@redhat.com>
1765
1766 [BZ #21474]
1767 * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
1768 (__res_maybe_init): Likewise.
1769
1770 2017-05-09 Zack Weinberg <zackw@panix.com>
1771
1772 * extra-modules.mk: Delete file.
1773 * cppflags-iterator.mk: Rename to ...
1774 * libof-iterator.mk: ...this. Adjust comments.
1775
1776 * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
1777 * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
1778 * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
1779 Use libof-iterator.mk instead of cppflags-iterator.mk or
1780 extra-modules.mk.
1781
1782 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
1783 extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
1784
1785 2017-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
1786
1787 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1788
1789 2017-05-08 Carlos O'Donell <carlos@redhat.com>
1790
1791 * stdio-common/vfprintf.c (EXTSIZ): Define.
1792 (vfprintf): Use EXTSIZ.
1793 (printf_positional): Likewise.
1794
1795 2017-05-08 Joseph Myers <joseph@codesourcery.com>
1796
1797 * sysdeps/unix/sysv/linux/kernel-features.h
1798 (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
1799 * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
1800 <kernel-features.h>.
1801 (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
1802
1803 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
1804 (__ASSUME_GETCPU_SYSCALL): Remove macro.
1805
1806 2017-05-08 Florian Weimer <fweimer@redhat.com>
1807
1808 Prevent multiple deletion of temporary files.
1809 * support/temp_file.c (struct temp_name_list): Add owner member.
1810 (add_temp_file): Record owner.
1811 (support_delete_temp_files): Delete file only if owner matches.
1812 * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
1813 (do_prepare): Use create_temp_file instead of add_temp_file.
1814 Initialize temp_fd1, temp_fd2.
1815 (do_test): Use global temp_fd1, temp_fd2 variables. Let the test
1816 framework remove the temporary files.
1817 * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
1818 (do_prepare): Use create_temp_file instead of add_temp_file.
1819 Initialize temp_fd1, temp_fd2, temp_fd3.
1820 (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables. Let
1821 the test framework remove the temporary files.
1822 * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
1823 deletion.
1824 * posix/tst-pathconf.c (do_test): Do not call rmdir on the
1825 temporary directory. It is removed by the test framework.
1826 * dirent/tst-scandir.c (do_test): Likewise.
1827
1828 2017-05-08 Florian Weimer <fweimer@redhat.com>
1829
1830 Delete temporary files in LIFO order.
1831 * support/temp_file.c (struct temp_name_list): Replace q member
1832 with next.
1833 (add_temp_file): Add new file to front of linked list.
1834 (support_delete_temp_files): Use next member.
1835 (support_print_temp_files): Likewise.
1836
1837 2017-05-08 Florian Weimer <fweimer@redhat.com>
1838
1839 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1840 sys/ultrasound.h.
1841 * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
1842
1843 2017-05-08 Joseph Myers <joseph@codesourcery.com>
1844
1845 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
1846 Remove.
1847 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
1848 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
1849 (arch_minimum_kernel): Remove.
1850 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
1851 * README: Update statement about Linux kernel requirements.
1852
1853 2017-05-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1854
1855 * manual/llio.texi: Add preadv and pwritev documentation.
1856
1857 2017-05-04 Joseph Myers <joseph@codesourcery.com>
1858
1859 [BZ #21455]
1860 * bits/stdint-intn.h: New file.
1861 * bits/stdint-uintn.h: Likewise.
1862 * stdlib/Makefile (headers): Add bits/stdint-intn.h and
1863 bits/stdint-uintn.h.
1864 * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
1865 <stdint.h>.
1866 * posix/sys/types.h: Include <bits/stdint-intn.h>.
1867 (__int8_t_defined): Do not define here.
1868 (int8_t): Likewise.
1869 (int16_t): Likewise.
1870 (int32_t): Likewise.
1871 (int64_t): Likewise.
1872 [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
1873 * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
1874 <stdint.h>.
1875 * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
1876 * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
1877 <bits/stdint-uintn.h>.
1878 (int8_t): Do not define here.
1879 (int16_t): Likewise.
1880 (int32_t): Likewise.
1881 (int64_t): Likewise.
1882 (uint8_t): Likewise.
1883 (uint16_t): Likewise.
1884 (uint32_t): Likewise.
1885 (uint64_t): Likewise.
1886 * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
1887 variable.
1888 (test-xfail-XPG42/netdb.h/conform): Likewise.
1889 (test-xfail-XPG42/netinet/in.h/conform): Likewise.
1890 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1891 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1892 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1893
1894 2017-05-04 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1895
1896 * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
1897 * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
1898 the above.
1899 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1900 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1901
1902 2017-05-04 Joseph Myers <joseph@codesourcery.com>
1903
1904 [BZ #21445]
1905 * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
1906
1907 [BZ #21457]
1908 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1909 [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
1910 __glibc_reserved1.
1911 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1912 (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
1913 (struct _fpxreg): Likewise.
1914 [!__x86_64__] (struct _fpstate): Rename field reserved to
1915 __glibc_reserved1. Rename field padding to __glibc_reserved2.
1916 [__x86_64__] (struct _fpstate): Rename field padding to
1917 __glibc_reserved1.
1918 (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
1919 Rename field reserved2 to __glibc_reserved2.
1920 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
1921 [__x86_64__] (struct _libc_fpxreg): Rename field padding to
1922 __glibc_reserved1.
1923 [__x86_64__] (struct _libc_fpstate): Rename field padding to
1924 __glibc_reserved1.
1925
1926 2017-05-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1927
1928 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
1929 variable name.
1930
1931 2017-05-03 H.J. Lu <hongjiu.lu@intel.com>
1932
1933 [BZ #21391]
1934 * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
1935 Only call init_cpu_features.
1936 [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
1937 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
1938 * sysdeps/i386/dl-procinfo.h: Removed.
1939 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
1940 <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>. Include
1941 <sysdeps/x86/dl-procinfo.h>.
1942 (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
1943 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
1944 Include <sysdeps/x86/dl-procinfo.h> instead of
1945 <sysdeps/generic/dl-procinfo.h>.
1946 * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
1947 (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
1948 * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
1949 (bit_cpu_MOVBE): Likewise.
1950 (bit_cpu_BMI1): Likewise.
1951 (bit_cpu_BMI2): Likewise.
1952 (index_cpu_BMI1): Likewise.
1953 (index_cpu_BMI2): Likewise.
1954 (index_cpu_LZCNT): Likewise.
1955 (index_cpu_MOVBE): Likewise.
1956 (index_cpu_POPCNT): Likewise.
1957 (reg_BMI1): Likewise.
1958 (reg_BMI2): Likewise.
1959 (reg_LZCNT): Likewise.
1960 (reg_MOVBE): Likewise.
1961 (reg_POPCNT): Likewise.
1962 * sysdeps/x86/dl-hwcap.h: New file.
1963 * sysdeps/x86/dl-procinfo.h: Likewise.
1964 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
1965 (_dl_x86_platforms): Likewise.
1966
1967 2017-05-03 DJ Delorie <dj@redhat.com>
1968
1969 [BZ #21411]
1970 * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
1971
1972 2017-05-03 Phil Blundell <pb@pbcl.net>
1973
1974 * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
1975 comments.
1976
1977 2017-05-03 Carlos O'Donell <carlos@redhat.com>
1978
1979 [BZ #20116]
1980 * nptl/pthread_create.c: Expand comments to describe
1981 semaphore-like and mutex-like uses of PD->lock.
1982
1983 2017-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1984
1985 * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
1986 * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
1987 * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
1988 auto-generation list.
1989 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1990 epoll_wait.
1991 * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
1992 Remove epoll_wait.
1993
1994 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
1995 osf_select.
1996 * sysdeps/unix/sysv/linux/alpha/select.c: New file.
1997 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
1998 osf_select from auto-generation list.
1999 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2000 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2001 * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
2002 * sysdeps/unix/sysv/linux/select.c: New file.
2003
2004 * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
2005 * sysdeps/unix/sysv/linux/poll.c: New file.
2006 * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
2007 auto-generation list.
2008
2009 2017-05-03 Joseph Myers <joseph@codesourcery.com>
2010
2011 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
2012 New macro.
2013
2014 2017-05-02 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
2015
2016 [BZ #21179]
2017 * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
2018 R_SPARC_REGISTER relocations.
2019
2020 2017-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2021
2022 * include/unistd.h (__pread): Add libc_hidden_proto.
2023 (__pread64): Likewise.
2024 (__pwrite): Likewise.
2025 * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
2026 (__pread64): Remove.
2027 * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
2028 * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
2029 * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
2030
2031 2017-05-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2032
2033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2034
2035 2017-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2036
2037 * nptl/tst-cancel4-common.c: Use libsupport.
2038 * nptl/tst-cancel4-common.h: Likewise.
2039 * nptl/tst-cancel4.c (tf_read): Likewise.
2040 (tf_readv): Likewise.
2041 (tf_write): Likewise.
2042 (tf_writev): Likewise.
2043 (tf_sleep): Likewise.
2044 (tf_usleep): Likewise.
2045 (tf_nanosleep): Likewise.
2046 (tf_select): Likewise.
2047 (tf_pselect): Likewise.
2048 (tf_poll): Likewise.
2049 (tf_ppoll): Likewise.
2050 (tf_wait): Likewise.
2051 (tf_waitpid): Likewise.
2052 (tf_waitid): Likewise.
2053 (tf_sigpause): Likewise.
2054 (tf_sigsuspend): Likewise.
2055 (tf_sigwait): Likewise.
2056 (tf_sigwaitinfo): Likewise.
2057 (tf_sigtimedwait): Likewise.
2058 (tf_pause): Likewise.
2059 (tf_accept): Likewise.
2060 (tf_send): Likewise.
2061 (tf_recv): Likewise.
2062 (tf_recvfrom): Likewise.
2063 (tf_recvmsg): Likewise.
2064 (tf_open): Likewise.
2065 (tf_close): Likewise.
2066 (tf_pread): Likewise.
2067 (tf_pwrite): Likewise.
2068 (tf_preadv): Likewise.
2069 (tf_pwritev): Likewise.
2070 (tf_fsync): Likewise.
2071 (tf_fdatasync): Likewise.
2072 (tf_msync): Likewise.
2073 (tf_sendto): Likewise.
2074 (tf_sendmsg): Likewise.
2075 (tf_creat): Likewise.
2076 (tf_connect): Likewise.
2077 (tf_tcdrain): Likewise.
2078 (tf_msgrcv): Likewise.
2079 (tf_msgsnd): Likewise.
2080 * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
2081 * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
2082
2083 * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
2084 expected arguments.
2085 (do_test): Adapt to use libsupport.
2086
2087 2017-05-01 Joseph Myers <joseph@codesourcery.com>
2088
2089 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
2090
2091 * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
2092 (PF_MAX): Set to 44.
2093 (AF_SMC): New macro.
2094
2095 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2096 kernel version to 4.11.
2097
2098 2017-04-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2099
2100 [BZ #21280]
2101 * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
2102 signal of subnormals and adjust the exponent of power of 2 down
2103 when low part has opposite sign.
2104
2105 2017-04-28 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2106
2107 * sysdeps/powerpc/powerpc64le/Implies: New file.
2108 * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
2109 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
2110 * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
2111 * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
2112 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
2113 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
2114 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
2115 * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
2116 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
2117 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
2118 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
2119 * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
2120 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
2121 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
2122 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
2123 * sysdeps/powerpc/preconfigure: New file.
2124 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
2125 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
2126
2127 2017-04-28 Joseph Myers <joseph@codesourcery.com>
2128
2129 * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
2130 inclusion.
2131 * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
2132 Remove.
2133
2134 2017-04-27 Joseph Myers <joseph@codesourcery.com>
2135
2136 * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
2137 (XPG3): Rename standard to XPG4.
2138 * conform/Makefile: Likewise.
2139 * conform/list-header-symbols.pl: Likewise.
2140 * conform/data/aio.h-data: Likewise.
2141 * conform/data/arpa/inet.h-data: Likewise.
2142 * conform/data/complex.h-data: Likewise.
2143 * conform/data/ctype.h-data: Likewise.
2144 * conform/data/dlfcn.h-data: Likewise.
2145 * conform/data/fcntl.h-data: Likewise.
2146 * conform/data/fenv.h-data: Likewise.
2147 * conform/data/float.h-data: Likewise.
2148 * conform/data/fmtmsg.h-data: Likewise.
2149 * conform/data/ftw.h-data: Likewise.
2150 * conform/data/grp.h-data: Likewise.
2151 * conform/data/inttypes.h-data: Likewise.
2152 * conform/data/iso646.h-data: Likewise.
2153 * conform/data/langinfo.h-data: Likewise.
2154 * conform/data/libgen.h-data: Likewise.
2155 * conform/data/limits.h-data: Likewise.
2156 * conform/data/locale.h-data: Likewise.
2157 * conform/data/math.h-data: Likewise.
2158 * conform/data/mqueue.h-data: Likewise.
2159 * conform/data/ndbm.h-data: Likewise.
2160 * conform/data/net/if.h-data: Likewise.
2161 * conform/data/netdb.h-data: Likewise.
2162 * conform/data/netinet/in.h-data: Likewise.
2163 * conform/data/poll.h-data: Likewise.
2164 * conform/data/pthread.h-data: Likewise.
2165 * conform/data/pwd.h-data: Likewise.
2166 * conform/data/sched.h-data: Likewise.
2167 * conform/data/search.h-data: Likewise.
2168 * conform/data/semaphore.h-data: Likewise.
2169 * conform/data/signal.h-data: Likewise.
2170 * conform/data/spawn.h-data: Likewise.
2171 * conform/data/stdbool.h-data: Likewise.
2172 * conform/data/stdint.h-data: Likewise.
2173 * conform/data/stdio.h-data: Likewise.
2174 * conform/data/stdlib.h-data: Likewise.
2175 * conform/data/string.h-data: Likewise.
2176 * conform/data/strings.h-data: Likewise.
2177 * conform/data/stropts.h-data: Likewise.
2178 * conform/data/sys/mman.h-data: Likewise.
2179 * conform/data/sys/resource.h-data: Likewise.
2180 * conform/data/sys/select.h-data: Likewise.
2181 * conform/data/sys/socket.h-data: Likewise.
2182 * conform/data/sys/stat.h-data: Likewise.
2183 * conform/data/sys/statvfs.h-data: Likewise.
2184 * conform/data/sys/time.h-data: Likewise.
2185 * conform/data/sys/timeb.h-data: Likewise.
2186 * conform/data/sys/types.h-data: Likewise.
2187 * conform/data/sys/uio.h-data: Likewise.
2188 * conform/data/sys/un.h-data: Likewise.
2189 * conform/data/sys/wait.h-data: Likewise.
2190 * conform/data/syslog.h-data: Likewise.
2191 * conform/data/termios.h-data: Likewise.
2192 * conform/data/tgmath.h-data: Likewise.
2193 * conform/data/time.h-data: Likewise.
2194 * conform/data/ucontext.h-data: Likewise.
2195 * conform/data/unistd.h-data: Likewise.
2196 * conform/data/utmpx.h-data: Likewise.
2197 * conform/data/varargs.h-data: Likewise.
2198 * conform/data/wchar.h-data: Likewise.
2199 * conform/data/wctype.h-data: Likewise.
2200
2201 2017-04-26 Joseph Myers <joseph@codesourcery.com>
2202
2203 * scripts/build-many-glibcs.py (Context.checkout): Default gcc
2204 version to 7 branch.
2205
2206 2017-04-25 Uros Bizjak <ubizjak@gmail.com>
2207
2208 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
2209 earlyclobber to output operand of sqrt insn.
2210 (__ieee754_sqrtf): Ditto.
2211
2212 2017-04-25 Joseph Myers <joseph@codesourcery.com>
2213
2214 [BZ #21426]
2215 * misc/bits/types/struct_iovec.h: New file.
2216 * misc/Makefile (headers): Add bits/types/struct_iovec.h.
2217 * include/bits/types/struct_iovec.h: New file.
2218 * bits/uio.h (struct iovec): Replace by inclusion of
2219 <bits/types/struct_iovec.h>.
2220 * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
2221 * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
2222 of <sys/uio.h>.
2223 * nptl/tst-cancel4.c: Include <sys/uio.h>
2224 * posix/test-errno.c: Likewise.
2225 * support/resolv_test.c: Likewise.
2226 * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
2227 Remove.
2228 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2229 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2230 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2231
2232 * conform/data/sys/socket.h-data (*_t): Allow.
2233
2234 2017-04-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2235
2236 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
2237 assignment.
2238
2239 2017-04-24 Daurnimator <quae@daurnimator.com>
2240 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2241
2242 [BZ #21340]
2243 * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
2244 * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
2245 * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
2246 valid flags.
2247 * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
2248 * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
2249 POSIX_SPAWN_SETSID.
2250 * sysdeps/posix/spawni.c (__spawni): Likewise.
2251 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2252 * NEWS: Add note about POSIX_SPAWN_SETSID support.
2253
2254 2017-04-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2255
2256 * sysdeps/generic/math_private.h: Move the declaration of many
2257 functions to sysdeps/generic/math_private_calls.h.
2258 * sysdeps/generic/math_private_calls.h: New file with the
2259 declarations of the functions removed from math_private.h
2260 macroized by floating-point type.
2261
2262 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
2263
2264 * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
2265 * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
2266 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
2267 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
2268 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
2269 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
2270
2271 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
2272
2273 * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
2274 * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
2275 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
2276 (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
2277 FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
2278 New Define.
2279
2280 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
2281
2282 * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
2283 * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
2284 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
2285 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
2286 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
2287 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
2288
2289 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
2290
2291 * sysdeps/s390/multiarch/ifunc-resolve.h
2292 (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
2293 * sysdeps/s390/multiarch/8bit-generic.c
2294 (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
2295 define ifunc resolvers.
2296
2297 2017-04-21 Florian Weimer <fweimer@redhat.com>
2298
2299 [BZ #20424]
2300 * manual/memory.texi (Replacing malloc): New section.
2301 (Allocating Storage For Program Data): Reference it.
2302 (The GNU Allocator): Likewise.
2303
2304 2017-04-20 Joseph Myers <joseph@codesourcery.com>
2305
2306 * stdlib/Versions (__strtod_internal): List explicitly, not as
2307 wildcard.
2308 (__strtof_internal): Likewise.
2309 (__strtold_internal): Likewise.
2310 (__strtol_internal): Likewise.
2311 (__strtoll_internal): Likewise.
2312 (__strtoul_internal): Likewise.
2313 (__strtoull_internal): Likewise.
2314 (__strtoq_internal): Likewise.
2315 (__strtouq_internal): Likewise.
2316 * wcsmbs/Versions (__wcstod_internal): Likewise.
2317 (__wcstof_internal): Likewise.
2318 (__wcstold_internal): Likewise.
2319 (__wcstol_internal): Likewise.
2320 (__wcstoll_internal): Likewise.
2321 (__wcstoul_internal): Likewise.
2322 (__wcstoull_internal): Likewise.
2323
2324 2017-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2325
2326 * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
2327 struct timespec definition.
2328
2329 2017-04-19 Florian Weimer <fweimer@redhat.com>
2330
2331 * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
2332
2333 2017-04-19 Florian Weimer <fweimer@redhat.com>
2334
2335 * inet/rcmd.c (rresvport_af): Fix typo in comment.
2336 * inet/rexec.c (rexec_af): Likewise.
2337
2338 2017-04-19 Zack Weinberg <zackw@panix.com>
2339
2340 * posix/tst-mmap-offset.c: Include stdint.h.
2341 * resolv/tst-ns_name_compress.c: Include string.h.
2342 * resolv/tst-resolv-edns.c: Include resolv.h.
2343
2344 2017-04-19 Florian Weimer <fweimer@redhat.com>
2345
2346 * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
2347 with __glibc_likely.
2348 * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
2349 Replace __builtin_expect with __glibc_unlikely.
2350 * resolv/res_init.c (__res_vinit): Likewise.
2351 * resolv/res_query.c (__libc_res_nquery): Likewise.
2352 * resolv/res_send.c (__libc_res_nsend): Likewise.
2353
2354 2017-04-19 Florian Weimer <fweimer@redhat.com>
2355
2356 [BZ #15722]
2357 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
2358 with SOCK_CLOEXEC.
2359 * resolv/res_send.c (send_vc, reopen): Likewise.
2360 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
2361 * sysdeps/unix/sysv/linux/check_native.c (__check_native):
2362 Likewise.
2363 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
2364 * inet/rexec.c (rexec_af): Add comment.
2365 * inet/rcmd.c (rresvport_af): Likewise.
2366
2367 2017-04-19 Florian Weimer <fweimer@redhat.com>
2368
2369 * nscd/connections.c (have_accept4): Removed definition.
2370 (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
2371 accept4 works.
2372 * manual/install.texi (Linux): Require at least kernel 3.2.18 for
2373 ia64 because that was the first version with accept4 support.
2374 * support/Makefile (libsupport-routines): Add xaccept4.
2375 * support/xsocket.h (xaccept4): Declare.
2376 * support/xaccept4.c: New file.
2377 * socket/tst-accept4.c: New file.
2378 * socket/Makefile (tests): Add tst-accept4.
2379 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
2380 definition.
2381 * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
2382 comment.
2383 * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
2384 implementation is available.
2385 (accept4): Use the system call if available, otherwise use the
2386 socket call.
2387 * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
2388 Set to 3.2.18.
2389 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2390 (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
2391 accept4 is unconditionally available in later 3.2 stable kernels.
2392 (__ASSUME_ACCEPT4_SYSCALL): Define.
2393 * sysdeps/unix/sysv/linux/kernel-features.h
2394 (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
2395 definitions.
2396 * sysdeps/unix/sysv/linux/i386/kernel-features.h
2397 (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
2398
2399 2017-04-18 Joseph Myers <joseph@codesourcery.com>
2400
2401 * conform/Makefile (tests-special): Do not make addition of
2402 $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
2403 (generated): Do not make addition of $(conformtest-header-base)
2404 conditional on [$(cross-compiling) = no].
2405
2406 [BZ #21267]
2407 * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
2408 if defined by <asm/socket.h> and not previously defined.
2409 (IOCSIZE_SHIFT): Likewise.
2410 (IOC_IN): Likewise.
2411 (IOC_INOUT): Likewise.
2412 (IOC_OUT): Likewise.
2413
2414 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
2415
2416 [BZ #21396]
2417 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2418 Prefer_No_AVX512 if AVX512ER isn't available.
2419 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
2420 (index_arch_Prefer_No_AVX512): Likewise.
2421 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
2422 AVX512 version if Prefer_No_AVX512 is set.
2423 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
2424 Likewise.
2425 * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
2426 * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
2427 Likewise.
2428 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2429 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
2430 Likewise.
2431 * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
2432 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
2433 Likewise.
2434
2435 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
2436
2437 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2438 Prefer_No_VZEROUPPER if AVX512ER is available.
2439 * sysdeps/x86/cpu-features.h
2440 (bit_cpu_AVX512PF): New.
2441 (bit_cpu_AVX512ER): Likewise.
2442 (bit_cpu_AVX512CD): Likewise.
2443 (bit_cpu_AVX512BW): Likewise.
2444 (bit_cpu_AVX512VL): Likewise.
2445 (index_cpu_AVX512PF): Likewise.
2446 (index_cpu_AVX512ER): Likewise.
2447 (index_cpu_AVX512CD): Likewise.
2448 (index_cpu_AVX512BW): Likewise.
2449 (index_cpu_AVX512VL): Likewise.
2450 (reg_AVX512PF): Likewise.
2451 (reg_AVX512ER): Likewise.
2452 (reg_AVX512CD): Likewise.
2453 (reg_AVX512BW): Likewise.
2454 (reg_AVX512VL): Likewise.
2455
2456 2017-04-18 Florian Weimer <fweimer@redhat.com>
2457
2458 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
2459 O_CLOEXEC is defined.
2460 * include/fcntl.h (__have_o_cloexec): Remove declaration.
2461 * io/Makefile (aux): Remove.
2462 * io/have_o_cloexec.c: Remove file.
2463 * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
2464 defined and works.
2465 * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
2466 defined.
2467 * login/utmp_file.c (O_flags): Remove definition.
2468 (setutent_file): Use O_CLOEXEC instead of O_flags. Assume that
2469 O_CLOEXEC works.
2470 (pututline_file): Likewise.
2471 * malloc/mtrace.c: Assume that O_CLOEXEC works.
2472 * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
2473 definition.
2474 (internal_setgrent): Assume that O_CLOEXEC works.
2475 * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
2476 Remove definition.
2477 (internal_setgrent): Assume that O_CLOEXEC works.
2478 * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
2479 definition.
2480 (internal_setpwent): Assume that O_CLOEXEC works.
2481 * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
2482 definition.
2483 (internal_setspent): Assume that O_CLOEXEC works.
2484 * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
2485 (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS. Assume that
2486 O_CLOEXEC is defined and works.
2487 * nss/Makefile (libnss_files-routines): Remove
2488 files-have_o_cloexec.
2489 * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
2490 defined.
2491 * nss/nss_files/files-XXX.c (internal_setent): Assume that
2492 O_CLOEXEC is defined and works.
2493 * nss/nss_files/files-alias.c (internal_setent): Likewise.
2494 * nss/nss_files/files-have_o_cloexec.c: Remove.
2495 * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
2496 defined.
2497 * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
2498 and works.
2499 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
2500 definition.
2501 * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
2502 * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
2503 * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
2504 (__opendirat, __opendir): Adjust opendir_oflags call.
2505 (check_have_o_cloexec): Remove.
2506 (__alloc_dir): Assume that O_CLOEXEC is defined and works.
2507 * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
2508 defined.
2509 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
2510 Remove definition.
2511
2512 2017-04-18 Florian Weimer <fweimer@redhat.com>
2513
2514 * include/unistd.h (__have_dup3): Remove declaration.
2515 * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
2516 dup3 is available.
2517 * libio/freopen64.c (freopen64): Likewise.
2518 * socket/Makefile (aux): Remove have_sock_cloexec.
2519 * socket/have_sock_cloexec.c: Remove file.
2520 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
2521 definition.
2522 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
2523 Likewise.
2524 * sysdeps/nacl/kernel-features.h: Update comment.
2525
2526 2017-04-18 Florian Weimer <fweimer@redhat.com>
2527
2528 * include/unistd.h (__have_pipe2): Remove declaration.
2529 * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
2530 * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
2531 available.
2532 * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
2533 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
2534 Remove definition.
2535
2536 2017-04-18 Florian Weimer <fweimer@redhat.com>
2537
2538 * malloc/malloc.c (cfree): Turn into compat symbol.
2539 (__cfree): Remove alias.
2540 * stdlib/stdlib.h (cfree): Remove declaration.
2541 * malloc/malloc.h (cfree): Likewise.
2542 * manual/memory.texi (Freeing after Malloc): Remove cfree.
2543 * malloc/Versions (GLIBC_2.26): Add.
2544
2545 2017-04-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2546
2547 * sysdeps/powerpc/powerpc64/multiarch/Makefile
2548 (sysdep_routines): Add strrchr-power8.
2549 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2550 (strrchr): Add __strrchr_power8 to list of strrchr functions.
2551 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
2552 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
2553 (strrchr): Add __strrchr_power8 to ifunc list.
2554 * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
2555
2556 2017-04-17 Rabin Vincent <rabinv@axis.com>
2557
2558 [BZ #21357]
2559 * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
2560 Call free() outside of mutex.
2561
2562 2017-04-13 Florian Weimer <fweimer@redhat.com>
2563
2564 * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
2565 is defined.
2566 * elf/rtld.c (process_envvars): Likewise.
2567 * sysdeps/posix/shm_open.c (shm_open): Likewise.
2568 * elf/dl-profile.c (EXTRA_FLAGS): Remove definition. Use
2569 O_NOFOLLOW directly.
2570 * gmon/gmon.c (O_NOFOLLOW): Remove definition.
2571
2572 2017-04-13 Florian Weimer <fweimer@redhat.com>
2573
2574 [BZ #21369]
2575 Remove EDNS fallback.
2576 * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
2577 handling.
2578 * resolv/res_send.c (send_dg): Likewise.
2579 * resolv/tst-resolv-edns.c (response): Handle "formerr." and
2580 "tcp." prefixes.
2581 (do_test): Send a "formerr."-prefixed query in an attempt to
2582 trigger EDNS fallback.
2583
2584 2017-04-13 Florian Weimer <fweimer@redhat.com>
2585
2586 [BZ #21361]
2587 Limit EDNS buffer size to 1200 bytes.
2588 * include/resolv.h (__res_nopt): Remove declaration.
2589 * resolv/Makefile (tests): tst-resolv-edns.
2590 (tst-resolv-edns): Link with -lresolv, -lpthread.
2591 * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
2592 interval [512, 1200].
2593 * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
2594 we can resize the buffer.
2595 * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
2596 (__res_nopt): Declare.
2597 * resolv/tst-resolv-edns.c: New file.
2598 * resolv/resolv_test.h (struct resolv_edns_info): Define.
2599 (struct resolv_response_context): Add edns member.
2600 * resolv/resolv_test.c (struct query_info): Add edns member.
2601 (parse_query): Extract EDNS information from the query.
2602 (server_thread_udp_process_one): Propagate EDNS data.
2603 (server_thread_tcp_client): Likewise.
2604
2605 2017-04-13 Florian Weimer <fweimer@redhat.com>
2606
2607 [BZ #21359]
2608 * resolv/ns_name.c (ns_name_pack): Do not require an additional
2609 byte in the destination buffer. Avoid out-of-bounds pointer
2610 arithmetic.
2611 * resolv/Makefile (tests): Add tst-ns_name_compress.
2612 (tst-ns_name_compress): Link with -lresolv.
2613 * resolv/tst-ns_name_compress.c: New file.
2614 * resolv/tst-resolv-basic.c (LONG_NAME): Define.
2615 (response): Recognize LONG_NAME.
2616 (do_test): Add LONG_NAME tests.
2617 * resolv/tst-ns_name.c (run_test_case): Fix expected data check
2618 for ns_name_unpack. Add tests for ns_name_pton and
2619 ns_name_compress.
2620
2621 2017-04-13 Florian Weimer <fweimer@redhat.com>
2622
2623 * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
2624 (res_nisourserver): Remove definition.
2625 (p_section, res_npquery, res_nisourserver): Remove declaration.
2626 (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
2627 * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
2628 ... here.
2629 * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
2630 <resolv.h>.
2631 * resolv/res_query.c: Likewise.
2632 * resolv/res_debug.c (p_section): Define as static.
2633
2634 2017-04-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2635
2636 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
2637 strncat-power8.
2638 * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
2639 __strncat_power8 to ifunc list.
2640 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2641 (strncat): Add __strncat_power8 to list of strncat functions.
2642 * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
2643
2644 2017-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2645
2646 [BZ #21270]
2647 * posix/tst-mmap-offset.c (do_prepare): New function.
2648 (do_test): Rename to do_test_bz18877 and use FAIL_RET.
2649 (do_test_bz21270): New function.
2650 * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
2651 * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
2652 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
2653 * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
2654 * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
2655 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2656 * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
2657 * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
2658 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
2659 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
2660 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
2661 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2662 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2663 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2664 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
2665 * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
2666 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
2667 * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
2668 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
2669 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
2670 * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
2671 * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
2672 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
2673 from auto-generation list.
2674 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
2675 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2676 * sysdeps/unix/sysv/linux/mmap.c: New file.
2677 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
2678 offsets and support for mmap2 syscall.
2679
2680 * posix/globtest.sh: Add cleanup routine on trap 0.
2681
2682 2017-04-11 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
2683
2684 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
2685 implementation-specific function name and remove unneeded
2686 macros definition.
2687 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
2688 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
2689 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
2690 name if not defined and pass as parameter to macros accordingly.
2691 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2692 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2693
2694 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
2695 implementation-specific function name and remove unneeded
2696 macros definition.
2697 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
2698 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
2699 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
2700 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
2701 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2702 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
2703 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
2704 name if not defined and pass as parameter to macros accordingly.
2705 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2706 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2707 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2708 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2709 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2710 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2711
2712 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
2713 implementation-specific function name and remove unneeded macros
2714 definition.
2715 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
2716 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
2717 * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
2718 function name if not defined and pass as parameter to macros
2719 accordingly.
2720 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2721 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2722
2723 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
2724 implementation-specific function name and remove unneeded macros
2725 definition.
2726 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2727 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2728 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
2729 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2730 * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
2731 not defined and pass as parameter to macros accordingly.
2732 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2733 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2734 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2735 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2736
2737 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
2738 strcasestr implementation name and remove unneeded macros definition.
2739 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2740 strstr implementation name and remove unneeded macros definition.
2741 * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
2742 name if not defined and pass as parameter to macros accordingly.
2743 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2744
2745 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
2746 implementation-specific function name and remove unneeded macros
2747 definition.
2748 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
2749 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
2750 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
2751 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
2752 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
2753 * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
2754 function name if not defined and pass as parameter to macros
2755 accordingly.
2756 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2757 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2758 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2759 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2760
2761 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
2762 the strlen implementation name and remove unneeded macros definition.
2763 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
2764 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2765 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
2766 the strnlen implementation name and remove unneeded macros definition.
2767 * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
2768 name if not defined and pass as parameter to macros accordingly.
2769 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2770 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2771 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2772
2773 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
2774 the implementation-specific function name and remove unneeded
2775 macros definition.
2776 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
2777 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
2778 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
2779 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2780 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
2781 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
2782 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
2783 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
2784 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2785 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
2786 name if not defined and pass as parameter to macros accordingly.
2787 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2788 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2789 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2790 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2791 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2792 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2793 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2794 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2795
2796 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
2797 implementation-specific function name and remove unneeded macros
2798 definition.
2799 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2800 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2801 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
2802 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
2803 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2804 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
2805 function name if not defined.
2806 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2807 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2808
2809 2017-04-11 Paul Clarke <pc@us.ibm.com>
2810
2811 * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
2812 AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
2813 AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New. Add auxvec
2814 identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
2815
2816 2017-04-11 Florian Weimer <fweimer@redhat.com>
2817 Zack Weinberg <zackw@panix.com>
2818
2819 * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
2820 readdir64 as thread-safe. Update warning about readdir_r.
2821
2822 2017-04-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2823
2824 * sysdeps/unix/sysv/linux/x86/Implies: New file.
2825 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
2826 * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
2827 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
2828 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
2829 * sysdeps/x86/bits/pthreadtypes.h: Move to ...
2830 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2831
2832 2017-04-10 H.J. Lu <hongjiu.lu@intel.com>
2833
2834 * sysdeps/i386/dl-procinfo.c: Include
2835 <sysdeps/x86/dl-procinfo.c>.
2836 * sysdeps/x86_64/dl-procinfo.c: Likewise.
2837 * sysdeps/x86/dl-procinfo.c: New file.
2838
2839 2017-04-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2840
2841 * sysdeps/generic/math_private.h: Remove declarations of
2842 many functions that are already declared in math.h.
2843 * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
2844 declaration for __frexpl.
2845 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
2846 the declarations for __scalbnl and fabsl.
2847
2848 2017-04-09 Dmitry V. Levin <ldv@altlinux.org>
2849
2850 [BZ #20831]
2851 * elf/dl-map-segments.h (_dl_map_segments): Check for failure
2852 of __mprotect to change protection on the excess portion
2853 to disallow all access.
2854
2855 2017-04-07 H.J. Lu <hongjiu.lu@intel.com>
2856
2857 * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
2858 HAS_CPU_FEATURE to check for SSE.
2859 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2860 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
2861 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
2862 * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
2863 * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
2864 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
2865 * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
2866 * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
2867 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2868 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
2869 * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2870 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
2871 * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
2872 * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
2873 (index_cpu_SSE): Likewise.
2874 (reg_SSE): Likewise.
2875
2876 2017-04-07 Paul Eggert <eggert@cs.ucla.edu>
2877
2878 * posix/getopt1.c: Include <config.h>, not "config.h".
2879
2880 2017-04-07 Zack Weinberg <zackw@panix.com>
2881
2882 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
2883 * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
2884 Mention in top-of-file boilerplate that these files are shared
2885 with gnulib.
2886 * posix/getopt.h, posix/bits/getopt_posix.h:
2887 Mention in top-of-file boilerplate that these files are NOT shared
2888 with gnulib, unlike the rest of the getopt implementation.
2889
2890 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
2891 New files, intended to be shared with gnulib.
2892 * posix/bits/getopt_posix.h:
2893 New file, not intended to be shared with gnulib.
2894 * posix/getopt.h: Now just includes features.h,
2895 bits/getopt_core.h, and bits/getopt_ext.h. Will
2896 no longer be shared with gnulib.
2897 * include/bits/getopt_core.h, include/bits/getopt_ext.h
2898 * include/bits/getopt_posix.h: New wrappers.
2899 * posix/Makefile: Install new headers.
2900 * posix/unistd.h, libio/stdio.h:
2901 Include bits/getopt_posix.h instead of getopt.h.
2902
2903 * include/libc-symbols.h: For gnulib compatibility, define
2904 _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
2905 _GL_ATTRIBUTE_CONST.
2906 * posix/getopt.c (_getopt_initialize): Mark argc and argv
2907 parameters with _GL_UNUSED.
2908
2909 * posix/getopt.c: When used standalone, define __libc_use_alloca
2910 as always false and alloca to abort if called.
2911 (process_long_option): Rewrite handling of ambiguous long options
2912 to use a single boolean vector, not a linked list; use
2913 __libc_use_alloca to decide whether to allocate this using alloca.
2914 * posix/tst-getopt_long1.c: Adjust text of expected error message.
2915
2916 * posix/getopt.c (process_long_option): New function split out
2917 from _getopt_internal_r.
2918 (_getopt_internal_r): Replace both copies of the long-option
2919 processing code with calls to process_long_option.
2920 * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
2921 (do_test): Differentiate argv[0] in the two subtests.
2922
2923 * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
2924 * posix/getopt.c (_getopt_internal_r): Move some initialization code...
2925 (_getopt_initialize): ...here. Don't set d->__posixly_correct.
2926
2927 * posix/getopt.h: Add backup definition of __nonnull for
2928 consistency with gnulib. Define __getopt_argv_const to const
2929 if not already defined.
2930 (getopt): Update doc comment from gnulib. Prototype
2931 unconditionally. Add __nonnull annotation.
2932 (__posix_getopt): Add __nonnull annotation.
2933 (getopt_long, getopt_long_only): Use __getopt_argv_const in
2934 prototypes for consistency with gnulib. Add __nonnull
2935 annotations.
2936 * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
2937 (getopt_internal): Change 'argv' argument to type 'char **'.
2938 Remove now-unnecessary casts.
2939 (getopt, __posix_getopt): Eliminate repetition with a macro.
2940 Cast 'argv' to 'char **' when calling _getopt_internal.
2941 * posix/getopt1.c (getopt_long, getopt_long_only):
2942 Use __getopt_argv_const for consistency with gnulib.
2943 Cast 'argv' to 'char **' when calling _getopt_internal.
2944 (_getopt_long_r, _getopt_long_only_r):
2945 Change 'argv' argument to type 'char **'.
2946 (main): Constify 'long_options'.
2947 * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
2948 (_getopt_long_r, _getopt_long_only_r):
2949 Change 'argv' argument to type 'char **'.
2950
2951 * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
2952 (locked_vfxprintf): New helper function. Handle arbitrary
2953 multibyte strings, not just ASCII.
2954 * include/stdio.h: Declare __fxprintf_nocancel.
2955 * posix/getopt.c: When _LIBC is defined, define fprintf to
2956 __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
2957 to _IO_funlockfile. When neither _LIBC nor
2958 _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
2959 funlockfile as no-ops.
2960 (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
2961 the standalone error-printing code can now be used for libc as
2962 well. Add an flockfile/funlockfile pair around one case where
2963 the error message is printed in several chunks. Don't use fputc.
2964 * posix/tst-getopt-cancel.c: New test.
2965 * posix/Makefile: Run it.
2966
2967 * posix/getopt.c (_getopt_internal_r): Don't increment
2968 d->optind a second time when reporting ambiguous -W options.
2969
2970 * posix/getopt_int.h: Include getopt.h.
2971 Use impl-namespace names for all arguments to _getopt_internal and
2972 _getopt_internal_r.
2973 Declare __ordering enum outside the struct.
2974 Harmonize comments with gnulib.
2975 * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
2976 ELIDE_CODE logic entirely. Move inclusion of stdlib.h to
2977 #ifdef TEST block and make unconditional. Do not define NULL.
2978 * posix/getopt.c: Partial merge from gnulib, covering the
2979 initial includes and global declarations, commentary, and
2980 a couple of semantically-neutral code changes.
2981
2982 * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
2983 Use '...' instead of `...' for quotation marks inside
2984 comments and strings.
2985
2986 * config.h.in (USE_NONOPTION_FLAGS): Remove.
2987 * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
2988 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
2989 * posix/getopt_int.h: Likewise.
2990 * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
2991 __libc_argc and __libc_argv externs, which were only used by
2992 #ifdef USE_NONOPTION_FLAGS blocks.
2993 * posix/getopt_init.c: Remove file.
2994 * posix/Makefile (routines): Remove getopt_init.
2995 * include/getopt.h: Don't declare __getopt_initialize_environment.
2996 * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
2997 a comment.
2998
2999 2017-04-07 Florian Weimer <fweimer@redhat.com>
3000
3001 * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
3002
3003 2017-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3004
3005 * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
3006 * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
3007 to __wrap_.udiv.
3008 * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
3009 * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
3010
3011 * sysdeps/i386/symbol-hacks.h: New file.
3012 * sysdeps/m68k/symbol-hacks.h: New file.
3013 * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
3014 * sysdeps/s390/s390-32/symbol-hacks.h: New file.
3015 * sysdeps/unix/sysv/linux/i386/Makefile
3016 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
3017 [$(subdir) = csu] (sysdep-only-routines): Likewise.
3018 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3019 * sysdeps/unix/sysv/linux/m68k/Makefile
3020 [$(subdir) = csu] (sysdep_routines): Likewise.
3021 [$(subdir) = csu] (sysdep-only-routines): Likewise.
3022 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3024 [$(subdir) = csu] (sysdep_routines): Likewise.
3025 [$(subdir) = csu] (sysdep-only-routines): Likewise.
3026 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3027 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3028 [$(subdir) = csu] (sysdep_routines): Likewise.
3029 [$(subdir) = csu] (sysdep-only-routines): Likewise.
3030 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3031 * sysdeps/wordsize-32/Makefile: Remove file.
3032 * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
3033 * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
3034
3035 2017-04-05 H.J. Lu <hongjiu.lu@intel.com>
3036
3037 * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
3038 (TEST_FUNCTION_ARGV): New.
3039
3040 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
3041
3042 * elf/next.c: Import support/test-driver.c instead of
3043 test-skeleton.c and delete TEST_FUNCTION macro definition.
3044 * elf/nodelete.c: Likewise.
3045 * elf/order2.c: Likewise.
3046 * elf/tst-_dl_addr_inside_object.c: Likewise.
3047 * elf/tst-addr1.c: Likewise.
3048 * elf/tst-align.c: Likewise.
3049 * elf/tst-align2.c: Likewise.
3050 * elf/tst-audit11.c: Likewise.
3051 * elf/tst-audit12.c: Likewise.
3052 * elf/tst-audit2.c: Likewise.
3053 * elf/tst-audit9.c: Likewise.
3054 * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
3055 * elf/tst-deep1.c: Likewise.
3056 * elf/tst-dl-iter-static.c: Likewise.
3057 * elf/tst-dlmodcount.c: Likewise.
3058 * elf/tst-dlmopen1.c: Likewise.
3059 * elf/tst-dlmopen2.c: Likewise.
3060 * elf/tst-dlmopen3.c: Likewise.
3061 * elf/tst-dlopen-aout.c: Likewise.
3062 * elf/tst-dlopenrpath.c: Likewise.
3063 * elf/tst-dlsym-error.c: Likewise.
3064 * elf/tst-execstack-needed.c: Likewise.
3065 * elf/tst-execstack-prog.c: Likewise.
3066 * elf/tst-execstack.c: Likewise.
3067 * elf/tst-global1.c: Likewise.
3068 * elf/tst-gnu2-tls1.c: Likewise.
3069 * elf/tst-latepthread.c: Likewise.
3070 * elf/tst-leaks1.c: Likewise.
3071 * elf/tst-linkall-static.c: Likewise.
3072 (do_test): New function.
3073 * elf/tst-nodelete-opened.c: Likewise.
3074 * elf/tst-nodelete.cc: Likewise.
3075 * elf/tst-nodelete2.c: Likewise.
3076 * elf/tst-noload.c: Likewise.
3077 * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
3078 * elf/tst-order-main.c: Likewise.
3079 * elf/tst-pathopt.c: Likewise.
3080 * elf/tst-pie2.c: Likewise.
3081 * elf/tst-piemod1.c: Likewise.
3082 * elf/tst-prelink.c: Likewise.
3083 * elf/tst-protected1a.c: Likewise.
3084 * elf/tst-protected1b.c: Likewise.
3085 * elf/tst-ptrguard1.c: Likewise, import getopt.h,
3086 and define _GNU_SOURCE macro.
3087 (cmdline_process_function): New function.
3088 * elf/tst-relsort1.c: Likewise.
3089 * elf/tst-stackguard1.c: Likewise, import getopt.h,
3090 and define _GNU_SOURCE macro.
3091 (cmdline_process_function): New function.
3092 * elf/tst-thrlock.c: Likewise.
3093 * elf/tst-tls-dlinfo.c: Likewise.
3094 * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
3095 * elf/tst-tls1.c: Likewise.
3096 * elf/tst-tls10.c: Likewise.
3097 * elf/tst-tls11.c: Likewise.
3098 * elf/tst-tls12.c: Likewise.
3099 * elf/tst-tls13.c: Likewise.
3100 * elf/tst-tls14.c: Likewise.
3101 * elf/tst-tls15.c: Likewise.
3102 * elf/tst-tls16.c: Likewise.
3103 * elf/tst-tls17.c: Likewise.
3104 * elf/tst-tls18.c: Likewise.
3105 * elf/tst-tls19.c: Likewise.
3106 * elf/tst-tls2.c: Likewise.
3107 * elf/tst-tls3.c: Likewise.
3108 * elf/tst-tls4.c: Likewise.
3109 * elf/tst-tls5.c: Likewise.
3110 * elf/tst-tls6.c: Likewise.
3111 * elf/tst-tls7.c: Likewise.
3112 * elf/tst-tls8.c: Likewise.
3113 * elf/tst-tls9.c: Likewise.
3114 * elf/tst-tlsalign-extern.c: Likewise.
3115 * elf/tst-tlsalign.c: Likewise.
3116 * elf/tst-unique1.c: Likewise.
3117 * elf/tst-unique2.c: Likewise.
3118 * elf/vismain.c: Likewise.
3119
3120 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
3121
3122 * string/test-strnlen.c (do_page_tests): New function
3123 to check length of strings ending at the page boundary.
3124 (test_main): Added call to the do_page_tests function.
3125
3126 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
3127 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3128
3129 * sysdeps/powerpc/powerpc64/multiarch/Makefile
3130 (sysdep_routines): Add strnlen-power8.
3131 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3132 (strnlen): Add __strnlen_power8 to list of strnlen functions.
3133 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
3134 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
3135 (__strnlen): Add __strnlen_power8 to ifunc list.
3136 * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
3137
3138 2017-04-04 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
3139
3140 * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
3141 the TEST_FUNCTION macro definition.
3142 * wcsmbs/tst-mbrtowc2.c: Likewise.
3143 * wcsmbs/tst-mbsrtowcs.c: Likewise.
3144 * wcsmbs/tst-wchar-h.c: Likewise.
3145 * wcsmbs/tst-wcpncpy.c: Likewise.
3146 * wcsmbs/tst-wcrtomb.c: Likewise.
3147 * wcsmbs/tst-wcsnlen.c: Likewise.
3148 * wcsmbs/tst-wcstof.c: Likewise.
3149
3150 2017-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3151
3152 * nptl/pthread_create.c (START_THREAD_DEFN): Remove
3153 CALL_THREAD_FCT macro usage.
3154 * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
3155 * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
3156 * sysdeps/x86_64/32/nptl/tls.h: Remove file.
3157
3158 * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
3159 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3160 (__ASSUME_REQUEUE_PI): Likewise.
3161 * sysdeps/unix/sysv/linux/kernel-features.h
3162 (__ASSUME_REQUEUE_PI): Likewise.
3163 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3164 (__ASSUME_REQUEUE_PI): Likewise.
3165 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3166 (__ASSUME_REQUEUE_PI): Likewise.
3167 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3168 (__ASSUME_REQUEUE_PI): Likewise.
3169
3170 2017-04-04 Florian Weimer <fweimer@redhat.com>
3171
3172 * resolv/tst-resolv-canonname.c: New file.
3173 * resolv/Makefile (tests): Add tst-resolv-canonname.
3174 (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
3175
3176 2017-04-04 Florian Weimer <fweimer@redhat.com>
3177
3178 * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
3179 Declare.
3180 * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
3181 (NS_MAXCDNAME): Remove definition.
3182 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
3183 * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
3184 (NS_MAXCDNAME): Remove definition.
3185 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
3186
3187 2017-04-04 Florian Weimer <fweimer@redhat.com>
3188
3189 * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
3190 call whose result is not used.
3191
3192 2017-04-04 Florian Weimer <fweimer@redhat.com>
3193
3194 * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
3195 * resolv/Makefile (tests): Add tst-ns_name.
3196 (tst-ns_name): Link with -lresolv.
3197 (tst-ns_name.out): Depend on the input data file.
3198
3199 2017-04-04 Stefan Liebler <stli@linux.vnet.ibm.com>
3200
3201 * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
3202 Clobber also r14.
3203
3204 2017-04-03 Mike Frysinger <vapier@gentoo.org>
3205
3206 [BZ #21253]
3207 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
3208 slack space by 32KiB.
3209
3210 2017-04-01 Wladimir van der Laan <laanwj@gmail.com>
3211
3212 [BZ #21338]
3213 * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
3214 instead of incorrect do_set_arena_test
3215
3216 2017-03-31 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3217
3218 * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
3219 * math/bits/math-finite.h: Likewise.
3220
3221 2017-03-31 Slava Barinov <v.barinov@samsung.com>
3222
3223 [BZ #21289]
3224 * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
3225
3226 2017-03-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3227
3228 * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
3229 non expected inotify_add_watch and quotactl return.
3230
3231 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3232
3233 * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
3234 to int32_t.
3235 * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
3236 as returning int32_t.
3237
3238 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3239
3240 * math/math.h: Include bits/math-finite.h once per
3241 floating-point type.
3242 * math/bits/math-finite.h: Macroize all declarations by
3243 floating-point type.
3244
3245 2017-03-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3246
3247 [BZ #21182]
3248 * string/test-memchr.c (do_test): Add BZ#21182 checks for address
3249 near end of a page.
3250 * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
3251 overflow calculation.
3252
3253 2017-03-28 Steve Ellcey <sellcey@caviumnetworks.com>
3254
3255 * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
3256 (IMPL) Call with 1 instead of 0 as argument.
3257
3258 2017-03-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3259
3260 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
3261 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
3262 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
3263 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
3264 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
3265 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
3266 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
3267 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
3268 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
3269 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
3270 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
3271 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
3272 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3273 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
3274 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
3275 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
3276 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
3277 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
3278 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
3279 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
3280 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
3281 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
3282 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
3283 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
3284 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
3285 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
3286 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
3287 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
3288 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
3289 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
3290 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
3291 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
3292 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
3293 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
3294 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
3295 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
3296 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
3297 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
3298 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
3299 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
3300 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
3301 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
3302 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
3303 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
3304 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
3305 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
3306 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
3307 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
3308 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
3309 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
3310 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
3311 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
3312 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
3313 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
3314 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
3315 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
3316 INLINE_SYSCALL_ERROR_RETURN_VALUE.
3317 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
3318 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
3319 defined.
3320 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
3321 __NR_setgroups32 if defined.
3322 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
3323 if defined.
3324 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
3325 __NR_setresgid32 is defined.
3326 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
3327 __NR_setresuid32 if defined.
3328 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
3329 __NR_setreuid32 if defined.
3330 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
3331 defined.
3332 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
3333 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
3334 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
3335 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
3336 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
3337 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
3338 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
3339 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
3340 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
3341 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
3342 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
3343 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
3344 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3345 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
3346 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
3347 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
3348 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
3349 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
3350 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
3351 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
3352 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
3353 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
3354 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
3355 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
3356 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
3357 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
3358 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
3359 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
3360 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
3361 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
3362 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
3363 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
3364 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
3365 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
3366 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
3367 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
3368 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
3369 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
3370 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
3371 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
3372 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
3373 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
3374 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
3375 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
3376 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
3377 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
3378 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
3379 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
3380 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
3381 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
3382 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
3383 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
3384 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
3385 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
3386 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
3387 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
3388 INLINE_SYSCALL_ERROR_RETURN_VALUE.
3389 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
3390 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
3391 defined.
3392 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
3393 __NR_setgroups32 if defined.
3394 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
3395 if defined.
3396 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
3397 __NR_setresgid32 is defined.
3398 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
3399 __NR_setresuid32 if defined.
3400 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
3401 __NR_setreuid32 if defined.
3402 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
3403 defined.
3404
3405 2017-03-27 Joseph Myers <joseph@codesourcery.com>
3406
3407 [BZ #21277]
3408 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
3409 unconditionally.
3410 (IMAXBEL): Likewise.
3411 (IUTF8): Likewise.
3412
3413 2017-03-27 Szabolcs Nagy <szabolcs.nagy@arm.com>
3414
3415 * sysdeps/aarch64/libm-test-ulps: Update.
3416
3417 2017-03-24 Sunyeop Lee <sunyeop97@gmail.com>
3418
3419 * README.tunables: Updated descriptions.
3420 * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
3421 * scripts/gen-tunables.awk: Updated the code related to the
3422 commit.
3423
3424 2017-03-23 Wilco Dijkstra <wdijkstr@arm.com>
3425
3426 * benchtests/Makefile (string-benchset): Add memcpy-random.
3427 * benchtests/bench-memcpy-random.c: New file.
3428
3429 2017-03-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3430
3431 * stdio-common/printf.h (register_printf_modifier): Change the
3432 order of __wur and __THROW.
3433 (register_printf_type): Likewise.
3434
3435 2017-03-23 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
3436
3437 * string/test-string.h (TEST_FUNCTION): Use test_main instead of
3438 test_main ().
3439 (CMDLINE_PROCESS): Use function instead of defined macro.
3440 * debug/test-strcpy_chk.c: Import support/test-driver.c and also
3441 <suppport/support.h> to use set_fortify_handler().
3442 * string/bug-envz1.c: Import support/test-driver.c instead of
3443 test-skeleton.c.
3444 * string/bug-strcoll2.c: Likewise.
3445 * string/bug-strtok1.c: Likewise.
3446 * string/stratcliff.c: Likewise.
3447 * string/test-ffs.c: Likewise.
3448 * string/test-memccpy.c: Likewise.
3449 * string/test-memchr.c: Likewise.
3450 * string/test-memcmp.c: Likewise.
3451 * string/test-memcpy.c: Likewise.
3452 * string/test-memmem.c: Likewise.
3453 * string/test-memmove.c: Likewise.
3454 * string/test-memrchr.c: Likewise.
3455 * string/test-memset.c: Likewise.
3456 * string/test-rawmemchr.c: Likewise.
3457 * string/test-strcasecmp.c: Likewise.
3458 * string/test-strcasestr.c: Likewise.
3459 * string/test-strcat.c: Likewise.
3460 * string/test-strchr.c: Likewise.
3461 * string/test-strcmp.c: Likewise.
3462 * string/test-strcpy.c: Likewise.
3463 * string/test-string.h: Likewise.
3464 * string/test-strlen.c: Likewise.
3465 * string/test-strncasecmp.c: Likewise.
3466 * string/test-strncat.c: Likewise.
3467 * string/test-strncmp.c: Likewise.
3468 * string/test-strncpy.c: Likewise.
3469 * string/test-strnlen.c: Likewise.
3470 * string/test-strpbrk.c: Likewise.
3471 * string/test-strrchr.c: Likewise.
3472 * string/test-strspn.c: Likewise.
3473 * string/test-strstr.c: Likewise.
3474 * string/tst-bswap.c: Likewise.
3475 * string/tst-cmp.c: Likewise.
3476 * string/tst-endian.c: Likewise.
3477 * string/tst-inlcall.c: Likewise.
3478 * string/tst-strcoll-overflow.c: Likewise.
3479 * string/tst-strfry.c: Likewise.
3480 * string/tst-strlen.c: Likewise.
3481 * string/tst-strtok.c: Likewise.
3482 * string/tst-strtok_r.c: Likewise.
3483 * string/tst-strxfrm.c: Likewise.
3484 * string/tst-strxfrm2.c: Likewise.
3485 * string/tst-svc.c: Likewise.
3486 * string/tst-svc2.c: Likewise.
3487
3488 2017-03-22 Zack Weinberg <zackw@panix.com>
3489
3490 * stdio-common/bug25.c: Include stdlib.h.
3491 * support/tst-support_format_dns_packet.c: Include stdio.h,
3492 stdlib.h, and string.h.
3493 * support/tst-support_record_failure.c: Include string.h.
3494 * support/tst-support_record_failure-2.sh: Adjust line number
3495 expectations and correct a typo in an error message.
3496
3497 2017-03-21 H.J. Lu <hongjiu.lu@intel.com>
3498
3499 [BZ #21258]
3500 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
3501 Define only if _dl_runtime_resolve is defined to
3502 _dl_runtime_resolve_sse_vex.
3503 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
3504 Fallthrough to _dl_runtime_resolve_sse_vex.
3505
3506 2017-03-21 Joseph Myers <joseph@codesourcery.com>
3507
3508 * INSTALL: Regenerated.
3509
3510 2017-03-21 Thorsten Kukuk <kukuk@suse.com>
3511
3512 * config.h.in: Add LINK_OBSOLETE_NSL.
3513 * config.make.in: Add build-obsolete-nsl.
3514 * configure.ac: Add obsolete-nsl option.
3515 * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
3516 * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
3517 * include/rpcsvc/nislib.h: Likewise.
3518 * include/rpcsvc/ypclnt.h: Likewise.
3519 * manual/install.texi: Document --enable-obsolete-nsl.
3520 * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
3521 * nis/nis_add.c: Replace libnsl_hidden_def with
3522 libnsl_hidden_nolink_def.
3523 * nis/nis_addmember.c: Likewise.
3524 * nis/nis_call.c: Likewise.
3525 * nis/nis_clone_obj.c: Likewise.
3526 * nis/nis_defaults.c: Likeise.
3527 * nis/nis_domain_of_r.c: Likewise.
3528 * nis/nis_error.c: Likewise.
3529 * nis/nis_file.c: Likewise.
3530 * nis/nis_free.c: Likewise.
3531 * nis_local_names.c: Likewise.
3532 * nis/nis_lookup.c: Likewise.
3533 * nis/nis_modify.c: Likewise.
3534 * nis/nis_print.c: Likewise.
3535 * nis/nis_remove.c: Likewise.
3536 * nis/nis_table.c: Likewise.
3537 * nis/nis_util.c: Likewise.
3538 * nis/nis_xdr.c: Likewise.
3539 * nis/yp_xdr.c: Likewise.
3540 * nis/ypclnt.c: Likewise.
3541 * nis/ypupdate_xdr.c: Likewise.
3542 * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
3543 * nis/nis_clone_dir.c: Likewise.
3544 * nis/nis_clone_res.c: Likewise.
3545 * nis/nis_creategroup.c: Likewise.
3546 * nis/nis_destroygroup.c: Likewise.
3547 * nis/nis_domain_of.c: Likewise.
3548 * nis/nis_getservlist.c: Likewise.
3549 * nis/nis_ismember.c: Likewise.
3550 * nis/nis_mkdir.c: Likewise.
3551 * nis/nis_ping.c: Likewise.
3552 * nis/nis_print_group_entry.c: Likewise.
3553 * nis/nis_removemember.c: Likewise.
3554 * nis/nis_rmdir.c: Likewise.
3555 * nis/nis_server.c: Likewise.
3556 * nis/nis_subr.c: Likewise.
3557 * nis/nis_verifygroup.c: Likewise.
3558
3559 2017-03-21 Stefan Liebler <stli@linux.vnet.ibm.com>
3560
3561 * malloc/tst-interpose-aux.c (check_for_allocations):
3562 Move compiler barrier before free.
3563
3564 2017-03-20 Joseph Myers <joseph@codesourcery.com>
3565
3566 [BZ #21279]
3567 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
3568 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
3569 * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
3570 x86_64-x32-linux.
3571 (mq_attr.mq_maxmsg): Likewise.
3572 (mq_attr.mq_msgsize): Likewise.
3573 (mq_attr.mq_curmsgs): Likewise.
3574
3575 [BZ #21278]
3576 * sysdeps/unix/sysv/linux/mips/mips32/Makefile
3577 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
3578 * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
3579 mips-o32-linux.
3580
3581 [BZ #21268]
3582 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
3583 if [__USE_MISC]
3584 (NL3): Likewise.
3585
3586 2017-03-20 Mike Frysinger <vapier@gentoo.org>
3587
3588 [BZ #21275]
3589 * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
3590 __stack to __stackbase.
3591 (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
3592 checks so we can include defined(__ia64__) first.
3593
3594 2017-03-19 Christian Brauner <christian.brauner@ubuntu.com>
3595
3596 * sysdeps/unix/sysv/linux/ttyname.h: New file.
3597 * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
3598 (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
3599 Call is_pty when the link does not exist or does not match, fail
3600 with ENODEV when it returns true.
3601 * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
3602 (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
3603 Call is_pty when the link does not exist or does not match, fail
3604 with ENODEV when it returns true.
3605
3606 2017-03-18 Joseph Myers <joseph@codesourcery.com>
3607
3608 [BZ #16437]
3609 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
3610 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
3611 * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
3612 x86_64-x32-linux.
3613 * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
3614 * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
3615 * conform/data/time.h-data (timespec.tv_nsec): Likewise.
3616
3617 [BZ #21261]
3618 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
3619 [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
3620 names for all fields.
3621 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
3622 for jmp_buf field renaming.
3623 (_JMPBUF_UNWINDS_ADJ): Likewise.
3624
3625 * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
3626 with allow-header.
3627
3628 2017-03-17 Chris Evans <scarybeasts@gmail.com>
3629
3630 * malloc/malloc.c (unlink): Add consistency check between size and
3631 next->prev->size, to further harden against 1-byte overflows.
3632
3633 2017-03-17 H.J. Lu <hongjiu.lu@intel.com>
3634
3635 * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
3636 CPU_FEATURES_CPU_P.
3637
3638 2017-03-17 Joseph Myers <joseph@codesourcery.com>
3639
3640 [BZ #21259]
3641 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
3642 unconditionally, not just for [__USE_MISC].
3643
3644 [BZ #17786]
3645 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
3646 * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
3647 mips-o32-linux.
3648
3649 [BZ #21260]
3650 * sysdeps/unix/sysv/linux/alpha/Makefile
3651 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
3652 * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
3653
3654 * conform/conformtest.pl ($cross): New variable.
3655 (--cross): New command-line option.
3656 (runtest): Skip test execution when cross-compiling.
3657 * conform/Makefile (conformtest-cross): New variable.
3658 ($(conformtest-header-tests)): Pass $(conformtest-cross) to
3659 conformtest.pl.
3660
3661 * conform/conformtest.pl ($xfail_str): New variable.
3662 (--xfail=): New command-line option.
3663 (top level): Handle expectations starting xfail[cond]-.
3664 * conform/Makefile (conformtest-xfail): New variable.
3665 ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
3666 conformtest.pl.
3667
3668 2017-03-16 Joseph Myers <joseph@codesourcery.com>
3669
3670 * conform/conformtest.pl: Use compilation instead of execution
3671 tests for testing values of constants and usability in #if.
3672
3673 2017-03-16 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3674
3675 * math/auto-libm-test-in: Mark some catan and catanh as
3676 xfail-rounding:ibm128-libgcc.
3677 * math/auto-libm-test-out-catan: Regenerate.
3678 * math/auto-libm-test-out-catanh: Likewise.
3679
3680 2017-03-16 Joseph Myers <joseph@codesourcery.com>
3681
3682 * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
3683 (__END_NAMESPACE_STD): Likewise.
3684 (__USING_NAMESPACE_STD): Likewise.
3685 (__BEGIN_NAMESPACE_C99): Likewise.
3686 (__END_NAMESPACE_C99): Likewise.
3687 (__USING_NAMESPACE_C99): Likewise.
3688 * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
3689 undefine macro.
3690 (_Mdouble_END_NAMESPACE): Likewise.
3691 * ctype/ctype.h: Do not handle C++ namespaces.
3692 * libio/bits/stdio-ldbl.h: Likewise.
3693 * libio/stdio.h: Likewise.
3694 * locale/locale.h: Likewise.
3695 * math/bits/mathcalls.h: Likewise.
3696 * setjmp/setjmp.h: Likewise.
3697 * signal/signal.h: Likewise.
3698 * stdlib/bits/stdlib-float.h: Likewise.
3699 * stdlib/bits/stdlib-ldbl.h: Likewise.
3700 * stdlib/stdlib.h: Likewise.
3701 * string/string.h: Likewise.
3702 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
3703 * time/bits/types/clock_t.h: Likewise.
3704 * time/bits/types/struct_tm.h: Likewise.
3705 * time/bits/types/time_t.h: Likewise.
3706 * time/time.h: Likewise.
3707 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3708 * wcsmbs/uchar.h: Likewise.
3709 * wcsmbs/wchar.h: Likewise.
3710 [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
3711 * wctype/wctype.h: Do not handle C++ namespaces.
3712 * scripts/begin-end-check.pl: Remove.
3713 * Makefile (installed-headers): Likewise.
3714 (tests-special): Do not add $(objpfx)begin-end-check.out.
3715 ($(objpfx)begin-end-check.out): Remove.
3716
3717 2017-03-15 Steve Ellcey <sellcey@caviumnetworks.com>
3718 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3719
3720 * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
3721 (DL_PLATFORM_INIT): New define.
3722 (dl_platform_init): New function.
3723 * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
3724 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
3725 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
3726 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
3727 * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
3728
3729 2017-03-15 Mike Frysinger <vapier@gentoo.org>
3730
3731 * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
3732 instead of PIC.
3733
3734 2017-03-15 Joseph Myers <joseph@codesourcery.com>
3735
3736 [BZ #21094]
3737 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
3738 24+24+24-bit pi for wider range of values around pi/2.
3739 * math/auto-libm-test-in: Add more tests of cos and tan.
3740 * math/auto-libm-test-out-cos: Regenerated.
3741 * math/auto-libm-test-out-tan: Likewise.
3742
3743 2017-03-15 John David Anglin <danglin@gcc.gnu.org>
3744
3745 * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
3746 (RTLD_START): Don't record stack end address in _dl_start_user.
3747
3748 2017-03-15 Alexey Neyman <stilor@att.net>
3749
3750 [BZ #21088]
3751 * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
3752 around definitions match those around use.
3753
3754 2017-03-15 Alexey Neyman <stilor@att.net>
3755
3756 * configure.ac: Avoid empty subexpression in grep.
3757 * configure: Regenerate.
3758
3759 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3760
3761 * posix/test-errno.c (do_test): Initialize setsockopt optlen.
3762 * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
3763 * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
3764 (test_wrp_rv): Fix format.
3765 (test_wrp_rv2): New macro.
3766 (do_test): Handle mlock return on 64 bits kernels with 32 bits
3767 binaries.
3768
3769 2017-03-15 Joseph Myers <joseph@codesourcery.com>
3770
3771 * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
3772 Use a union when storing pointers.
3773 (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
3774 cast result when passing to INIT_VEC_PTRS_LOOP.
3775 (VECTOR_WRAPPER_fFF_3): Likewise.
3776 (VECTOR_WRAPPER_fFF_4): Likewise.
3777
3778 2017-03-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3779
3780 * include/bits/mathcalls-helper-functions.h: New file.
3781 * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
3782 * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
3783 (__isinf, __isnan, __issignaling, __signbit): Move declarations to
3784 math/bits/mathcalls-helper-functions.h.
3785 * math/bits/mathcalls-helper-functions.h: New file.
3786 * math/math.h: Include bits/mathcalls-helper-functions.h for
3787 float, double, and long double.
3788
3789 2017-03-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3790
3791 * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
3792 instead of feraiseexcept.
3793
3794 2017-03-15 Florian Weimer <fweimer@redhat.com>
3795
3796 [BZ #21243]
3797 * support/temp_file.c (support_delete_temp_files): Add comment
3798 about ignored errors.
3799
3800 2017-03-15 Florian Weimer <fweimer@redhat.com>
3801
3802 [BZ #21244]
3803 * support/xclose.c: New file.
3804 * support/Makefile (libsupport-routines): Add xclose.
3805 * support/xunistd.h (xclose): Declare.
3806 * support/resolv_test.c (server_thread_tcp_client)
3807 (server_thread_tcp, make_server_sockets, resolv_test_start)
3808 (resolv_test_end): Call xclose instead of close.
3809 * support/support_enter_network_namespace.c
3810 (support_enter_network_namespace): Likewise.
3811 * support/support_run_diff.c (write_to_temp_file): Likewise.
3812
3813 2017-03-15 Florian Weimer <fweimer@redhat.com>
3814
3815 * support/support_format_dns_packet.c (support_format_dns_packet):
3816 Handle CNAME records in the response. Extract RDATA names from
3817 rdata, not the whole packet. Check AAAA record length.
3818 * support/tst-support_format_dns_packet.c: New file.
3819 * support/Makefile (tests): Add tst-support_format_dns_packet.
3820 (tst-support_format_dns_packet): Link against libresolv.
3821
3822 2017-03-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3823
3824 [BZ #21232]
3825 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
3826 posix_fadvise64 weak_alias for static build.
3827
3828 2017-03-14 Andreas Schwab <schwab@suse.de>
3829
3830 * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
3831 * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
3832 (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
3833 * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
3834 * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
3835 (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
3836 * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
3837 * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
3838
3839 2017-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
3840
3841 * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
3842 posix error code.
3843 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3844
3845 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3846
3847 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
3848 no_isolate usage for SH.
3849
3850 2017-03-13 Wilco Dijkstra <wdijkstr@arm.com>
3851
3852 [BZ #15105]
3853 [BZ #19463]
3854 * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
3855 * inet/rcmd.c (rcmd_af): Likewise.
3856 * inet/rexec.c (rexec_af): Likewise.
3857 * intl/dcigettext.c (_LIBC): Likewise.
3858 * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
3859 * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
3860 * locale/setlocale.c (setlocale): Likewise.
3861 * posix/spawn_faction_addopen.c
3862 (posix_spawn_file_actions_addopen): Likewise.
3863 * stdlib/putenv.c (putenv): Use __strndup.
3864 * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
3865 * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
3866 * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
3867 (__Need_M_And_C) Remove define/undef.
3868 * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
3869 (__malloc_and_calloc_defined): Remove define.
3870 * string/bits/string2.h (__strdup): Remove define.
3871 (strdup): Likewise.
3872 (__strndup): Likewise.
3873 (strndup): Likewise.
3874
3875 2017-03-13 Joseph Myers <joseph@codesourcery.com>
3876
3877 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
3878 macro.
3879 (IPV6_ADDR_PREFERENCES): Likewise.
3880 (IPV6_MINHOPCOUNT): Likewise.
3881 (IPV6_ORIGDSTADDR): Likewise.
3882 (IPV6_RECVORIGDSTADDR): Likewise.
3883 (IPV6_TRANSPARENT): Likewise.
3884 (IPV6_UNICAST_IF): Likewise.
3885 (IPV6_RECVFRAGSIZE): Likewise.
3886
3887 2017-03-13 Thorsten Kukuk <kukuk@suse.com>
3888
3889 * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
3890
3891 2017-03-12 Alexey Neyman <stilor@att.net>
3892
3893 * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
3894 in R_SH_DIR32 case is always false when inlined from
3895 dl-conflict.c. Ifdef out to prevent GCC from insertin an
3896
3897 2016-03-12 Marko Myllynen <myllynen@redhat.com>
3898
3899 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3900 (__ASSUME_RECV_SYSCALL): Replace duplicate by
3901 __ASSUME_SEND_SYSCALL.
3902
3903 2017-03-11 Thorsten Kukuk <kukuk@suse.com>
3904
3905 * sunrpc/Makefile: don't build and install rpcsvc header
3906 files, rpcgen and librpcsvc.a by default.
3907
3908 2017-03-10 Stefan Liebler <stli@linux.vnet.ibm.com>
3909
3910 * math/auto-libm-test-out-catan: Regenerated.
3911 * math/auto-libm-test-out-catanh: Likewise.
3912 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3913
3914 2017-03-09 Joseph Myers <joseph@codesourcery.com>
3915
3916 * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
3917 for long double with corrected test expectations.
3918
3919 2016-03-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3920
3921 * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
3922 Define.
3923 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3924 (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
3925 * sysdeps/unix/sysv/linux/nios2/sysdep.h
3926 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
3927 * sysdeps/unix/sysv/linux/tile/sysdep.h
3928 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
3929 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3930 (__ASSUME_RECV_SYSCALL): Define.
3931 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3932 (__ASSUME_RECV_SYSCALL): Likewise.
3933 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3934 (__ASSUME_RECV_SYSCALL): Likewise.
3935 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3936 (__ASSUME_RECV_SYSCALL): Likewise.
3937 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3938 (__ASSUME_RECV_SYSCALL): Likewise.
3939 * sysdeps/unix/sysv/linux/i386/kernel-features.h
3940 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
3941 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3942 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3943 * sysdeps/unix/sysv/linux/s390/kernel-features.h
3944 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3945 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
3946 auto-generation list.
3947 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3948 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3949 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
3950 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3951 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3952 * sysdeps/unix/sysv/linux/send.c: Simplify includes.
3953 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
3954 __ASSUME_SENDTO_SYSCALL.
3955 * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
3956 * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
3957 * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
3958
3959 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
3960 auto-generation list.
3961 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3962 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3963 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3964 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3965 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3966 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3967 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3968 * sysdeps/unix/sysv/linux/kernel-features.h
3969 (__ASSUME_SENDTO_SYSCALL): Define by default.
3970 * sysdeps/unix/sysv/linux/i386/kernel-features.h
3971 (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
3972 __NR_sendto.
3973 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3974 (__ASSUME_SENDTO_SYSCALL): Likewise.
3975 * sysdeps/unix/sysv/linux/s390/kernel-features.h
3976 (__ASSUME_SENDTO_SYSCALL): Likewise.
3977 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3978 (__ASSUME_SENDTO_SYSCALL): Remove definition.
3979 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3980 (__ASSUME_SENDTO_SYSCALL): Likewise.
3981 * sysdeps/unix/sysv/linux/sh/kernel-features.h:
3982 (__ASSUME_SENDTO_SYSCALL): Likewise.
3983 * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
3984
3985 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
3986 auto-generation list.
3987 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3988 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3989 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3990 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3991 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3992 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3993 (__ASSUME_RECV_SYSCALL): New define.
3994 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3995 (__ASSUME_RECV_SYSCALL): Likewise.
3996 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3997 (__ASSUME_RECV_SYSCALL): Likewise.
3998 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3999 (__ASSUME_RECV_SYSCALL): Likewise.
4000 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4001 (__ASSUME_RECV_SYSCALL): Likewise.
4002 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4003 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4004 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4005 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4006 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4007 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4008 * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
4009 * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
4010 * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
4011 * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
4012 (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
4013 __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
4014
4015 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
4016 auto-generation list.
4017 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4018 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4019 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4020 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4021 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4022 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4023 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4024 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4025 (__ASSUME_RECVFROM_SYSCALL): Define by default.
4026 * sysdeps/unix/sysv/linux/kernel-features.h
4027 (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
4028 __NR_recvfrom.
4029 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4030 (__ASSUME_RECVFROM_SYSCALL): Likewise.
4031 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4032 (__ASSUME_RECVFROM_SYSCALL): Likewise.
4033 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4034 (__ASSUME_RECVFROM_SYSCALL): Remove definition.
4035 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4036 (__ASSUME_RECVFROM_SYSCALL): Likewise.
4037 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4038 (__ASSUME_RECVFROM_SYSCALL): Likewise.
4039 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4040 (__ASSUME_RECVFROM_SYSCALL): Likewise.
4041 * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
4042
4043 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
4044 auto-generation list.
4045 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4046 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4047 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4048 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4049 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4050 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4051 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4052 * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
4053 * sysdeps/unix/sysv/linux/kernel-features.h
4054 (__ASSUME_CONNECT_SYSCALL): Define.
4055 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4056 (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
4057 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4058 (__ASSUME_CONNECT_SYSCALL): Likewise.
4059 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4060 (__ASSUME_CONNECT_SYSCALL): Likewise.
4061 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4062 (__ASSUME_CONNECT_SYSCALL): Likewise.
4063
4064 * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
4065 __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
4066 * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
4067 auto-generation list.
4068 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4069 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4070 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4071 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4072 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4073 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4074 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4075 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4076 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4077 (__ASSUME_ACCEPT_SYSCALL): Undefine.
4078 * sysdeps/unix/sysv/linux/kernel-features.h
4079 (__ASSUME_ACCEPT_SYSCALL): New define.
4080 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4081 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4082 (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
4083 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4084 (__ASSUME_ACCEPT_SYSCALL): Define.
4085 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4086 (__ASSUME_ACCEPT_SYSCALL): Undefine.
4087 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4088 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4089 (__ASSUME_ACCEPT_SYSCALL): Undefine.
4090 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4091 (__ASSUME_ACCEPT_SYSCALL): Undefine.
4092 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4093 (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
4094
4095 2017-03-08 Yury Norov <ynorov@caviumnetworks.com>
4096 Zack Weinberg <zackw@panix.com>
4097
4098 * posix/test-errno.c: New file.
4099 * posix/Makefile (tests): Add test-errno.
4100 * sysdeps/unix/sysv/linux/test-errno.c: New file.
4101 * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
4102
4103 2017-03-08 Stefan Liebler <stli@linux.vnet.ibm.com>
4104
4105 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4106
4107 2017-03-07 Florian Weimer <fweimer@redhat.com>
4108
4109 * time/tzset.c (compute_offset): Open-code min macro.
4110 (min, max, sign): Remove.
4111
4112 2017-03-07 Florian Weimer <fweimer@redhat.com>
4113
4114 [BZ #15576]
4115 Remove TZNAME_MAX limit from sysconf.
4116 * include/time.h (__tzname_cur_max, __tzname_max): Remove
4117 declaration.
4118 * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
4119 compute_tzname_max.
4120 (compute_tzname_max): Remove.
4121 * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
4122 (update_vars): Do not update __tzname_cur_max.
4123 (tzset_internal): Remove argument.
4124 (__tzset): Adjust call to tzset_internal.
4125 (__tz_convert): Likewise.
4126
4127 * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
4128 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4129 * manual/conf.texi (Sysconf Definition): Update comment.
4130
4131 2017-03-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
4132
4133 [BZ #21209]
4134 * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
4135 AT_SECURE processes.
4136 * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
4137 * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
4138 (test_child): Likewise.
4139 * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
4140
4141 2017-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4142
4143 * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
4144
4145 2017-03-06 Stefan Liebler <stli@linux.vnet.ibm.com>
4146
4147 * sysdeps/s390/atomic-machine.h
4148 (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
4149 (__arch_compare_and_exchange_val_8_acq,
4150 __arch_compare_and_exchange_val_16_acq,
4151 __arch_compare_and_exchange_val_32_acq,
4152 __arch_compare_and_exchange_val_64_acq):
4153 Delete macro.
4154 (atomic_compare_and_exchange_val_acq,
4155 atomic_compare_and_exchange_val_rel,
4156 atomic_compare_and_exchange_bool_acq,
4157 catomic_compare_and_exchange_bool_acq,
4158 atomic_exchange_acq, atomic_exchange_rel,
4159 atomic_exchange_and_add_acq,
4160 atomic_exchange_and_add_rel,
4161 catomic_exchange_and_add, atomic_or_val,
4162 atomic_or, catomic_or, atomic_bit_test_set,
4163 atomic_and_val, atomic_and, catomic_and):
4164 Define macros with help of C11 atomic builtins.
4165
4166 2017-03-03 Justus Winter <justus@gnupg.org>
4167
4168 * sysdeps/mach/hurd/ftruncate64.c: New file.
4169 * sysdeps/mach/hurd/truncate64.c: Likewise.
4170
4171 2017-03-03 Florian Weimer <fweimer@redhat.com>
4172
4173 * time/tzfile.c (NOID): Do not define.
4174 * time/tzset.c (NOID): Likewise.
4175
4176 2017-03-03 Florian Weimer <fweimer@redhat.com>
4177
4178 * time/tzset.c (compute_offset): Remove __attribute_noinline__.
4179
4180 2017-03-02 Florian Weimer <fweimer@redhat.com>
4181
4182 * elf/get-dynamic-info.h: Remove header file inclusion guard.
4183
4184 2017-03-02 Florian Weimer <fweimer@redhat.com>
4185
4186 [BZ #21015]
4187 * manual/install.texi (Configuring and compiling): Document
4188 --enable-bind-now.
4189 * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
4190 (build-shlib-helper): Use $(LDFLAGS-lib.so).
4191 (format.lds): Likewise.
4192 [bind-now] (LDFLAGS-c.so): Remove.
4193 * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
4194 be R_X86_64_GLOB_DAT.
4195 * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
4196 relocation can be R_386_GLOB_DAT.
4197 * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
4198 relocaiton can be R_ALPHA_GLOB_DAT.
4199 * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
4200
4201 2017-03-01 Zack Weinberg <zackw@panix.com>
4202
4203 * include/libc-pointer-arith.h: New file. Define
4204 cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
4205 PTR_ALIGN_DOWN here.
4206 * include/libc-internal.h: Definitions of above macros
4207 moved from here. Don't include libc-diag.h anymore either.
4208 * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
4209 Don't include libc-internal.h.
4210
4211 * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
4212 * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
4213 * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
4214 * string/strcoll_l.c, sysdeps/nacl/brk.c
4215 * sysdeps/unix/clock_settime.c
4216 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
4217 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
4218 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4219 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
4220 Don't include libc-internal.h.
4221
4222 * elf/get-dynamic-info.h, iconv/loop.c
4223 * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
4224 * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
4225 * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
4226 * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
4227 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
4228 * sysdeps/ieee754/dbl-64/k_rem_pio2.c
4229 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
4230 * sysdeps/ieee754/flt-32/k_rem_pio2f.c
4231 * sysdeps/ieee754/ldbl-128/k_tanl.c
4232 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
4233 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
4234 * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
4235 Include libc-diag.h instead of libc-internal.h.
4236
4237 * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
4238 * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
4239 * malloc/malloc.c, sysdeps/i386/nptl/tls.h
4240 * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
4241 * sysdeps/unix/sysv/linux/spawni.c
4242 * sysdeps/x86_64/nptl/tls.h:
4243 Include libc-pointer-arith.h instead of libc-internal.h.
4244
4245 * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
4246 * sysdeps/x86_64/atomic-machine.h:
4247 Add multiple include guard.
4248
4249 * nss/tst-cancel-getpwuid_r.c: Include nss.h.
4250 * string/strcasestr.c: No need to include config.h.
4251 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
4252 sys/auxv.h. Don't include sysdep.h.
4253 * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
4254
4255 * dlfcn/tst-dladdr.c: Don't include ldsodefs.h. Don't use
4256 DL_LOOKUP_ADDRESS.
4257 * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
4258 LDBL_MANT_DIG is greater than DBL_MANT_DIG.
4259 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
4260 sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
4261 of ARTIFICIAL_LIMIT.
4262 * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
4263 declaration of __clone2.
4264
4265 2017-02-28 Florian Weimer <fweimer@redhat.com>
4266
4267 * scripts/backport-support.sh (latest_commit): New file.
4268
4269 2017-02-28 Florian Weimer <fweimer@redhat.com>
4270
4271 [BZ #20257]
4272 * inet/Makefile (routines): Add deadline.
4273 (tests-static): Add tst-deadline.
4274 * inet/net-internal.h (struct deadline_current_time)
4275 (__deadline_current_time, struct deadline, __deadline_is_infinite)
4276 (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
4277 (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
4278 * inet/deadline.c: New file.
4279 * inet/tst-deadline.c: Likewise.
4280 * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
4281 tst-udp-timeout, tst-udp-garbage.
4282 (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
4283 explicitly.
4284 (tst-udp-garbage): Likewise. Also link against thread library.
4285 * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
4286 struct layout is part of the ABI.
4287 (clntudp_call): Rework timeout handling.
4288 * sunrpc/tst-udp-garbage.c: New file.
4289 * sunrpc/tst-udp-nonblocking.c: Likewise.
4290 * sunrpc/tst-udp-timeout.c: Likewise.
4291
4292 2017-02-28 Florian Weimer <fweimer@redhat.com>
4293
4294 [BZ #5010]
4295 * sunrpc/svc.c (svc_is_mapped): Remove.
4296 (svc_unregister): Obtain mapped status while the service is still
4297 registered.
4298 * sunrpc/Makefile [have-thread-library] (tests): Add
4299 tst-svc_register.
4300 (tst-svc_register): Link against libc.so explicitly and the thread
4301 library.
4302 * sunrpc/tst-svc_register.c: New file.
4303
4304 2017-02-28 Andreas Schwab <schwab@linux-m68k.org>
4305
4306 * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
4307 * sysdeps/pthread/bits/sigthread.h: Likewise.
4308
4309 2017-02-27 Florian Weimer <fweimer@redhat.com>
4310
4311 [BZ #21115]
4312 * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
4313 * sunrpc/Makefile (tests): Add tst-udp-error.
4314 (tst-udp-error): Link against libc.so explicitly.
4315 * sunrpc/tst-udp-error: New file.
4316
4317 2017-02-25 Zack Weinberg <zackw@panix.com>
4318
4319 * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
4320 __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
4321
4322 * sysdeps/generic/math_ldbl.h
4323 * sysdeps/ia64/fpu/math_ldbl.h
4324 * sysdeps/ieee754/ldbl-128/math_ldbl.h
4325 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4326 * sysdeps/ieee754/ldbl-96/math_ldbl.h
4327 * sysdeps/powerpc/fpu/math_ldbl.h
4328 * sysdeps/x86_64/fpu/math_ldbl.h:
4329 Allow direct inclusion. Use uintNN_t instead of u_intNN_t.
4330 Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
4331 LITTLE_ENDIAN. Include endian.h and/or stdint.h if necessary.
4332 Add copyright notices.
4333
4334 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
4335 Don't use EXTRACT_WORDS64.
4336
4337 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
4338 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
4339 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
4340 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
4341 Include math_ldbl.h, not math_private.h.
4342
4343 2017-02-25 Zack Weinberg <zackw@panix.com>
4344
4345 * include/libc-diag.h: New file. Define ignore_value,
4346 DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
4347 DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
4348
4349 * include/libc-internal.h: Definitions of above macros moved from
4350 here. Include libc-diag.h. Add copyright notice.
4351
4352 * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
4353 * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
4354 * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
4355 * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
4356 * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
4357 * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
4358 * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
4359 * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
4360 Include libc-diag.h instead of libc-internal.h.
4361
4362 * stdlib/tst-environ.c: Include libc-diag.h. Suppress -Wnonnull for
4363 call to unsetenv (NULL).
4364 * nptl/tst-mutex1.c: Include libc-diag.h. Suppress -Wnonnull for
4365 call to pthread_mutexattr_destroy (NULL).
4366
4367 2017-02-25 Zack Weinberg <zackw@panix.com>
4368
4369 * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
4370 * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
4371 __GLIBC_USE (DEPRECATED_GETS). Update comments to indicate
4372 gets was removed from C++ in C++14.
4373 * include/stdio.h: Remove redundant declaration of gets.
4374 * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
4375 be declared, since we are testing it.
4376 * stdio-common/Makefile (tst-gets.c): Compile with
4377 -Wno-deprecated-declarations.
4378 * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
4379 (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
4380 (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
4381 Compile with -Wno-deprecated-declarations.
4382
4383 2017-02-24 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4384
4385 * math/libm-test-support.c (check_ulp): Use LIT() around literal
4386 numbers.
4387
4388 2017-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4389
4390 * resolv/tst-resolv-qtypes.c (domain):
4391 Change type to const pointer to const char.
4392
4393 2017-02-24 Joseph Myers <joseph@codesourcery.com>
4394
4395 * math/Makefile (libm-tests-generated): Remove variable.
4396 (libm-tests-base-normal): New variable.
4397 (libm-tests-base-finite): Likewise.
4398 (libm-tests-base-inline): Likewise.
4399 (libm-tests-base): Likewise.
4400 (libm-tests-normal): Likewise.
4401 (libm-tests-finite): Likewise.
4402 (libm-tests-inline): Likewise.
4403 (libm-tests-vector): Likewise.
4404 (libm-tests): Define in terms of these new variables.
4405 (libm-tests-for-type): New variable.
4406 (libm-tests.o): Move definition.
4407 (tests): Move addition of $(libm-tests).
4408 (generated): Update for new and removed libm test files.
4409 ($(objpfx)libm-test.c): Remove target.
4410 ($(objpfx)libm-have-vector-test.h): Likewise.
4411 (CFLAGS-test-double-vlen2.c): Remove variable.
4412 (CFLAGS-test-double-vlen4.c): Likewise.
4413 (CFLAGS-test-double-vlen8.c): Likewise.
4414 (CFLAGS-test-float-vlen4.c): Likewise.
4415 (CFLAGS-test-float-vlen8.c): Likewise.
4416 (CFLAGS-test-float-vlen16.c): Likewise.
4417 (CFLAGS-test-float.c): Likewise.
4418 (CFLAGS-test-float-finite.c): Likewise.
4419 (CFLAGS-libm-test-support-float.c): Likewise.
4420 (CFLAGS-test-double.c): Likewise.
4421 (CFLAGS-test-double-finite.c): Likewise.
4422 (CFLAGS-libm-test-support-double.c): Likewise.
4423 (CFLAGS-test-ldouble.c): Likewise.
4424 (CFLAGS-test-ldouble-finite.c): Likewise.
4425 (CFLAGS-libm-test-support-ldouble.c): Likewise.
4426 (libm-test-inline-cflags): New variable.
4427 (CFLAGS-test-ifloat.c): Remove variable.
4428 (CFLAGS-test-idouble.c): Likewise.
4429 (CFLAGS-test-ildouble.c): Likewise.
4430 ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
4431 dependencies.
4432 ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
4433 ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
4434 ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
4435 ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
4436 ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
4437 Likewise.
4438 (dependencies on libm-test-support-*.o): Remove.
4439 ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
4440 rules using iterators.
4441 ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
4442 Likewise.
4443 ($(objpfx)libm-test-support-$(o).o): Likewise.
4444 ($(addprefix $(objpfx),$(filter-out $(tests-static)
4445 $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
4446 instead.
4447 ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
4448 define rule instead.
4449 * math/README.libm-test: Update.
4450 * math/libm-test-acos.inc: Include libm-test-driver.c.
4451 (do_test): New function.
4452 * math/libm-test-acosh.inc: Include libm-test-driver.c.
4453 (do_test): New function.
4454 * math/libm-test-asin.inc: Include libm-test-driver.c.
4455 (do_test): New function.
4456 * math/libm-test-asinh.inc: Include libm-test-driver.c.
4457 (do_test): New function.
4458 * math/libm-test-atan.inc: Include libm-test-driver.c.
4459 (do_test): New function.
4460 * math/libm-test-atan2.inc: Include libm-test-driver.c.
4461 (do_test): New function.
4462 * math/libm-test-atanh.inc: Include libm-test-driver.c.
4463 (do_test): New function.
4464 * math/libm-test-cabs.inc: Include libm-test-driver.c.
4465 (do_test): New function.
4466 * math/libm-test-cacos.inc: Include libm-test-driver.c.
4467 (do_test): New function.
4468 * math/libm-test-cacosh.inc: Include libm-test-driver.c.
4469 (do_test): New function.
4470 * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
4471 (do_test): New function.
4472 * math/libm-test-carg.inc: Include libm-test-driver.c.
4473 (do_test): New function.
4474 * math/libm-test-casin.inc: Include libm-test-driver.c.
4475 (do_test): New function.
4476 * math/libm-test-casinh.inc: Include libm-test-driver.c.
4477 (do_test): New function.
4478 * math/libm-test-catan.inc: Include libm-test-driver.c.
4479 (do_test): New function.
4480 * math/libm-test-catanh.inc: Include libm-test-driver.c.
4481 (do_test): New function.
4482 * math/libm-test-cbrt.inc: Include libm-test-driver.c.
4483 (do_test): New function.
4484 * math/libm-test-ccos.inc: Include libm-test-driver.c.
4485 (do_test): New function.
4486 * math/libm-test-ccosh.inc: Include libm-test-driver.c.
4487 (do_test): New function.
4488 * math/libm-test-ceil.inc: Include libm-test-driver.c.
4489 (do_test): New function.
4490 * math/libm-test-cexp.inc: Include libm-test-driver.c.
4491 (do_test): New function.
4492 * math/libm-test-cimag.inc: Include libm-test-driver.c.
4493 (do_test): New function.
4494 * math/libm-test-clog.inc: Include libm-test-driver.c.
4495 (do_test): New function.
4496 * math/libm-test-clog10.inc: Include libm-test-driver.c.
4497 (do_test): New function.
4498 * math/libm-test-conj.inc: Include libm-test-driver.c.
4499 (do_test): New function.
4500 * math/libm-test-copysign.inc: Include libm-test-driver.c.
4501 (do_test): New function.
4502 * math/libm-test-cos.inc: Include libm-test-driver.c.
4503 (do_test): New function.
4504 * math/libm-test-cosh.inc: Include libm-test-driver.c.
4505 (do_test): New function.
4506 * math/libm-test-cpow.inc: Include libm-test-driver.c.
4507 (do_test): New function.
4508 * math/libm-test-cproj.inc: Include libm-test-driver.c.
4509 (do_test): New function.
4510 * math/libm-test-creal.inc: Include libm-test-driver.c.
4511 (do_test): New function.
4512 * math/libm-test-csin.inc: Include libm-test-driver.c.
4513 (do_test): New function.
4514 * math/libm-test-csinh.inc: Include libm-test-driver.c.
4515 (do_test): New function.
4516 * math/libm-test-csqrt.inc: Include libm-test-driver.c.
4517 (do_test): New function.
4518 * math/libm-test-ctan.inc: Include libm-test-driver.c.
4519 (do_test): New function.
4520 * math/libm-test-ctanh.inc: Include libm-test-driver.c.
4521 (do_test): New function.
4522 * math/libm-test-erf.inc: Include libm-test-driver.c.
4523 (do_test): New function.
4524 * math/libm-test-erfc.inc: Include libm-test-driver.c.
4525 (do_test): New function.
4526 * math/libm-test-exp.inc: Include libm-test-driver.c.
4527 (do_test): New function.
4528 * math/libm-test-exp10.inc: Include libm-test-driver.c.
4529 (do_test): New function.
4530 * math/libm-test-exp2.inc: Include libm-test-driver.c.
4531 (do_test): New function.
4532 * math/libm-test-expm1.inc: Include libm-test-driver.c.
4533 (do_test): New function.
4534 * math/libm-test-fabs.inc: Include libm-test-driver.c.
4535 (do_test): New function.
4536 * math/libm-test-fdim.inc: Include libm-test-driver.c.
4537 (do_test): New function.
4538 * math/libm-test-floor.inc: Include libm-test-driver.c.
4539 (do_test): New function.
4540 * math/libm-test-fma.inc: Include libm-test-driver.c.
4541 (do_test): New function.
4542 * math/libm-test-fmax.inc: Include libm-test-driver.c.
4543 (do_test): New function.
4544 * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
4545 (do_test): New function.
4546 * math/libm-test-fmin.inc: Include libm-test-driver.c.
4547 (do_test): New function.
4548 * math/libm-test-fminmag.inc: Include libm-test-driver.c.
4549 (do_test): New function.
4550 * math/libm-test-fmod.inc: Include libm-test-driver.c.
4551 (do_test): New function.
4552 * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
4553 (do_test): New function.
4554 * math/libm-test-frexp.inc: Include libm-test-driver.c.
4555 (do_test): New function.
4556 * math/libm-test-fromfp.inc: Include libm-test-driver.c.
4557 (do_test): New function.
4558 * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
4559 (do_test): New function.
4560 * math/libm-test-getpayload.inc: Include libm-test-driver.c.
4561 (do_test): New function.
4562 * math/libm-test-hypot.inc: Include libm-test-driver.c.
4563 (do_test): New function.
4564 * math/libm-test-ilogb.inc: Include libm-test-driver.c.
4565 (do_test): New function.
4566 * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
4567 (do_test): New function.
4568 * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
4569 (do_test): New function.
4570 * math/libm-test-isfinite.inc: Include libm-test-driver.c.
4571 (do_test): New function.
4572 * math/libm-test-isgreater.inc: Include libm-test-driver.c.
4573 (do_test): New function.
4574 * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
4575 (do_test): New function.
4576 * math/libm-test-isinf.inc: Include libm-test-driver.c.
4577 (do_test): New function.
4578 * math/libm-test-isless.inc: Include libm-test-driver.c.
4579 (do_test): New function.
4580 * math/libm-test-islessequal.inc: Include libm-test-driver.c.
4581 (do_test): New function.
4582 * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
4583 (do_test): New function.
4584 * math/libm-test-isnan.inc: Include libm-test-driver.c.
4585 (do_test): New function.
4586 * math/libm-test-isnormal.inc: Include libm-test-driver.c.
4587 (do_test): New function.
4588 * math/libm-test-issignaling.inc: Include libm-test-driver.c.
4589 (do_test): New function.
4590 * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
4591 (do_test): New function.
4592 * math/libm-test-isunordered.inc: Include libm-test-driver.c.
4593 (do_test): New function.
4594 * math/libm-test-iszero.inc: Include libm-test-driver.c.
4595 (do_test): New function.
4596 * math/libm-test-j0.inc: Include libm-test-driver.c.
4597 (do_test): New function.
4598 * math/libm-test-j1.inc: Include libm-test-driver.c.
4599 (do_test): New function.
4600 * math/libm-test-jn.inc: Include libm-test-driver.c.
4601 (do_test): New function.
4602 * math/libm-test-lgamma.inc: Include libm-test-driver.c.
4603 (do_test): New function.
4604 * math/libm-test-llogb.inc: Include libm-test-driver.c.
4605 (do_test): New function.
4606 * math/libm-test-llrint.inc: Include libm-test-driver.c.
4607 (do_test): New function.
4608 * math/libm-test-llround.inc: Include libm-test-driver.c.
4609 (do_test): New function.
4610 * math/libm-test-log.inc: Include libm-test-driver.c.
4611 (do_test): New function.
4612 * math/libm-test-log10.inc: Include libm-test-driver.c.
4613 (do_test): New function.
4614 * math/libm-test-log1p.inc: Include libm-test-driver.c.
4615 (do_test): New function.
4616 * math/libm-test-log2.inc: Include libm-test-driver.c.
4617 (do_test): New function.
4618 * math/libm-test-logb.inc: Include libm-test-driver.c.
4619 (do_test): New function.
4620 * math/libm-test-lrint.inc: Include libm-test-driver.c.
4621 (do_test): New function.
4622 * math/libm-test-lround.inc: Include libm-test-driver.c.
4623 (do_test): New function.
4624 * math/libm-test-modf.inc: Include libm-test-driver.c.
4625 (do_test): New function.
4626 * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
4627 (do_test): New function.
4628 * math/libm-test-nextafter.inc: Include libm-test-driver.c.
4629 (do_test): New function.
4630 * math/libm-test-nextdown.inc: Include libm-test-driver.c.
4631 (do_test): New function.
4632 * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
4633 (do_test): New function.
4634 * math/libm-test-nextup.inc: Include libm-test-driver.c.
4635 (do_test): New function.
4636 * math/libm-test-pow.inc: Include libm-test-driver.c.
4637 (do_test): New function.
4638 * math/libm-test-remainder.inc: Include libm-test-driver.c.
4639 (do_test): New function.
4640 * math/libm-test-remquo.inc: Include libm-test-driver.c.
4641 (do_test): New function.
4642 * math/libm-test-rint.inc: Include libm-test-driver.c.
4643 (do_test): New function.
4644 * math/libm-test-round.inc: Include libm-test-driver.c.
4645 (do_test): New function.
4646 * math/libm-test-roundeven.inc: Include libm-test-driver.c.
4647 (do_test): New function.
4648 * math/libm-test-scalb.inc: Include libm-test-driver.c.
4649 (do_test): New function.
4650 * math/libm-test-scalbln.inc: Include libm-test-driver.c.
4651 (do_test): New function.
4652 * math/libm-test-scalbn.inc: Include libm-test-driver.c.
4653 (do_test): New function.
4654 * math/libm-test-setpayload.inc: Include libm-test-driver.c.
4655 (do_test): New function.
4656 * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
4657 (do_test): New function.
4658 * math/libm-test-signbit.inc: Include libm-test-driver.c.
4659 (do_test): New function.
4660 * math/libm-test-significand.inc: Include libm-test-driver.c.
4661 (do_test): New function.
4662 * math/libm-test-sin.inc: Include libm-test-driver.c.
4663 (do_test): New function.
4664 * math/libm-test-sincos.inc: Include libm-test-driver.c.
4665 (do_test): New function.
4666 * math/libm-test-sinh.inc: Include libm-test-driver.c.
4667 (do_test): New function.
4668 * math/libm-test-sqrt.inc: Include libm-test-driver.c.
4669 (do_test): New function.
4670 * math/libm-test-tan.inc: Include libm-test-driver.c.
4671 (do_test): New function.
4672 * math/libm-test-tanh.inc: Include libm-test-driver.c.
4673 (do_test): New function.
4674 * math/libm-test-tgamma.inc: Include libm-test-driver.c.
4675 (do_test): New function.
4676 * math/libm-test-totalorder.inc: Include libm-test-driver.c.
4677 (do_test): New function.
4678 * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
4679 (do_test): New function.
4680 * math/libm-test-trunc.inc: Include libm-test-driver.c.
4681 (do_test): New function.
4682 * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
4683 (do_test): New function.
4684 * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
4685 (do_test): New function.
4686 * math/libm-test-y0.inc: Include libm-test-driver.c.
4687 (do_test): New function.
4688 * math/libm-test-y1.inc: Include libm-test-driver.c.
4689 (do_test): New function.
4690 * math/libm-test-yn.inc: Include libm-test-driver.c.
4691 (do_test): New function.
4692 * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
4693 (HAVE_VECTOR): Remove macro.
4694 (START): Do not call HAVE_VECTOR.
4695 * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
4696 * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
4697 * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
4698 * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
4699 * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
4700 * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
4701 * math/test-math-vector.h (FUNC_TEST): New macro.
4702 (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
4703 * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
4704 (double-vlen4-funcs): Likewise.
4705 (double-vlen4-avx2-funcs): Likewise.
4706 (double-vlen8-funcs): Likewise.
4707 (float-vlen4-funcs): Likewise.
4708 (float-vlen8-funcs): Likewise.
4709 (float-vlen8-avx2-funcs): Likewise.
4710 (float-vlen16-funcs): Likewise.
4711 (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
4712 (CFLAGS-test-float-vlen8-avx2.c): Likewise.
4713 * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
4714 macro.
4715 (TEST_VECTOR_sin): Likewise.
4716 (TEST_VECTOR_sincos): Likewise.
4717 (TEST_VECTOR_log): Likewise.
4718 (TEST_VECTOR_exp): Likewise.
4719 (TEST_VECTOR_pow): Likewise.
4720 * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
4721 Likewise.
4722 (TEST_VECTOR_sin): Likewise.
4723 (TEST_VECTOR_sincos): Likewise.
4724 (TEST_VECTOR_log): Likewise.
4725 (TEST_VECTOR_exp): Likewise.
4726 (TEST_VECTOR_pow): Likewise.
4727 * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
4728 Likewise.
4729 (TEST_VECTOR_sinf): Likewise.
4730 (TEST_VECTOR_sincosf): Likewise.
4731 (TEST_VECTOR_logf): Likewise.
4732 (TEST_VECTOR_expf): Likewise.
4733 (TEST_VECTOR_powf): Likewise.
4734 * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
4735 Likewise.
4736 (TEST_VECTOR_sinf): Likewise.
4737 (TEST_VECTOR_sincosf): Likewise.
4738 (TEST_VECTOR_logf): Likewise.
4739 (TEST_VECTOR_expf): Likewise.
4740 (TEST_VECTOR_powf): Likewise.
4741 * math/gen-libm-have-vector-test.sh: Remove file.
4742 * math/libm-test.inc: Likewise.
4743 * math/libm-test-support-double.c: Likewise.
4744 * math/libm-test-support-float.c: Likewise.
4745 * math/libm-test-support-ldouble.c: Likewise.
4746 * math/test-double-finite.c: Likewise.: Likewise.
4747 * math/test-double.c: Likewise.
4748 * math/test-float-finite.c: Likewise.
4749 * math/test-float.c: Likewise.
4750 * math/test-idouble.c: Likewise.
4751 * math/test-ifloat.c: Likewise.
4752 * math/test-ildouble.c: Likewise.
4753 * math/test-ldouble-finite.c: Likewise.
4754 * math/test-ldouble.c: Likewise.
4755 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4756 * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
4757 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4758 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4759 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4760 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4761 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4762 * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
4763 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4764 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4765
4766 2017-02-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4767 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4768
4769 * math/Makefile: Add wrappers to gen-libm-calls.
4770 * math/w_acos_template.c: New file.
4771 * math/w_acosh_template.c: Likewise.
4772 * math/w_asin_template.c: Likewise.
4773 * math/w_atan2_template.c: Likewise.
4774 * math/w_atanh_template.c: Likewise.
4775 * math/w_cosh_template.c: Likewise.
4776 * math/w_exp10_template.c: Likewise.
4777 * math/w_exp2_template.c: Likewise.
4778 * math/w_exp_template.c: Likewise.
4779 * math/w_fmod_template.c: Likewise.
4780 * math/w_hypot_template.c: Likewise.
4781 * math/w_j0_template.c: Likewise.
4782 * math/w_j1_template.c: Likewise.
4783 * math/w_jn_template.c: Likewise.
4784 * math/w_lgamma_r_template.c: Likewise.
4785 * math/w_lgamma_template.c: Likewise.
4786 * math/w_log10_template.c: Likewise.
4787 * math/w_log2_template.c: Likewise.
4788 * math/w_log_template.c: Likewise.
4789 * math/w_pow_template.c: Likewise.
4790 * math/w_remainder_template.c: Likewise.
4791 * math/w_sinh_template.c: Likewise.
4792 * math/w_sqrt_template.c: Likewise.
4793 * math/w_tgamma_template.c: Likewise.: Likewise.
4794 * sysdeps/generic/math-type-macros-double.h
4795 (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
4796 the new wrappers.
4797 * sysdeps/generic/math-type-macros-float.h: Likewise.
4798 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
4799
4800 2017-02-22 Joseph Myers <joseph@codesourcery.com>
4801
4802 * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
4803 New enum constant and macro.
4804
4805 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4806 kernel version to 4.10.
4807
4808 2017-02-21 Joseph Myers <joseph@codesourcery.com>
4809
4810 * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
4811
4812 2017-02-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4813
4814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4815
4816 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
4817
4818 * sysdeps/powerpc/tst-set_ppr.c: New file.
4819 Implement test cases for __ppc_set_ppr_* functions.
4820 * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
4821 in the list of tests.
4822
4823 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
4824
4825 * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
4826 instead of test-skeleton.c.
4827 (do_test): Replaced pthread_create and pthread_join with
4828 xpthread_create and xpthread_join. Use TEST_VERIFY_EXIT macro.
4829 Removed unneeded status variable.
4830 * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
4831 instead of test-skeleton.c.
4832 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
4833
4834 2017-02-20 Mike FABIAN <mfabian@redhat.com>
4835
4836 [BZ #20313]
4837 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4838 201605L, for Unicode 9.
4839
4840 2017-02-20 Joseph Myers <joseph@codesourcery.com>
4841
4842 * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
4843 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4844 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4845 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4846 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
4847 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4848
4849 2017-02-19 Zack Weinberg <zackw@panix.com>
4850
4851 * rt/tst-mqueue4.c: Include stdint.h.
4852
4853 2017-02-17 Joseph Myers <joseph@codesourcery.com>
4854
4855 * sysdeps/arm/libm-test-ulps: Update.
4856 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4857 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4858 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4859
4860 2017-01-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4861
4862 [BZ #21029]
4863 * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
4864 * sysdeps/unix/sysv/linux/i386/Makefile
4865 [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
4866 (uses-6-syscall-arguments): Remove.
4867 [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
4868 [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
4869 [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
4870 [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
4871 [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
4872 [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
4873 [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
4874 [$(subdir) = misc] (cflags-pselect.o): Likewise.
4875 [$(subdir) = misc] (cflags-pselect.os): Likewise.
4876 [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
4877 [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
4878 [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
4879 [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
4880 [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
4881 [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
4882 [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
4883 [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
4884 [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
4885 [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
4886 [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
4887 [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
4888 [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
4889 [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
4890 [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
4891 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
4892 Likewise.
4893 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
4894 Likewise.
4895 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
4896 Likewise.
4897 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
4898 Likewise.
4899 [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
4900 [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
4901 [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
4902 [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
4903 * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
4904 ebp on inline assembly.
4905 * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
4906 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4907 Set if CAN_USE_REGISTER_ASM_EBP is set.
4908
4909 2017-02-17 H.J. Lu <hongjiu.lu@intel.com>
4910
4911 * sysdeps/x86/cpu-features.c (init_cpu_features): Use
4912 index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
4913
4914 2017-02-17 Joseph Myers <joseph@codesourcery.com>
4915
4916 * math/auto-libm-test-in: Add tests of catan and catanh.
4917 * math/auto-libm-test-out-catan: New generated file.
4918 * math/auto-libm-test-out-catanh: Likewise.
4919 * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
4920 Move tests with finite inputs, except divide-by-zero cases, to
4921 auto-libm-test-in.
4922 * math/libm-test-catanh.inc (catanh_test_data): Likewise.
4923 * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
4924 (libm-test-funcs-noauto): Remove catan and catanh.
4925 * sysdeps/i386/fpu/libm-test-ulps: Update.
4926 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4928
4929 * math/auto-libm-test-in: Add tests of casin and casinh.
4930 * math/auto-libm-test-out-casin: New generated file.
4931 * math/auto-libm-test-out-casinh: Likewise.
4932 * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
4933 Move tests with finite inputs to auto-libm-test-in.
4934 * math/libm-test-casinh.inc (casinh_test_data): Likewise.
4935 * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
4936 (libm-test-funcs-noauto): Remove casin and casinh.
4937 * sysdeps/i386/fpu/libm-test-ulps: Update.
4938 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4940
4941 * math/auto-libm-test-in: Add tests of cacos and cacosh.
4942 * math/auto-libm-test-out-cacos: New generated file.
4943 * math/auto-libm-test-out-cacosh: Likewise.
4944 * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
4945 Move tests with finite inputs to auto-libm-test-in.
4946 * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
4947 * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
4948 (libm-test-funcs-noauto): Remove cacos and cacosh.
4949 * sysdeps/i386/fpu/libm-test-ulps: Update.
4950 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4952
4953 Revert:
4954 2017-02-16 Zack Weinberg <zackw@panix.com>
4955
4956 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
4957 Don't include init-arch.h.
4958 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
4959 Don't include init-arch.h.
4960
4961 2017-02-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4962
4963 [BZ #21171]
4964 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
4965 +Inf and raise divide-by-zero when x is negative.
4966 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
4967 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
4968 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Return
4969 -Inf and raise divide-by-zero when x = +-0.
4970 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4971 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
4972 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
4973 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
4974 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4975 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4976 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4977
4978 2017-02-16 Zack Weinberg <zackw@panix.com>
4979
4980 * scripts/build-many-glibcs.py (bot_build_mail): If the
4981 bot_config does not contain all of the necessary email-
4982 related settings, just print a warning and continue.
4983
4984 2017-02-16 Zack Weinberg <zackw@panix.com>
4985
4986 * crypt/md5.h: Test _LIBC with #if defined, not #if.
4987 * dirent/opendir-tst1.c: Include sys/stat.h.
4988 * dirent/tst-fdopendir.c: Include sys/stat.h.
4989 * dirent/tst-fdopendir2.c: Include stdlib.h.
4990 * dirent/tst-scandir.c: Include stdbool.h.
4991 * elf/tst-auditmod1.c: Include link.h and stddef.h.
4992 * elf/tst-tls15.c: Include stdlib.h.
4993 * elf/tst-tls16.c: Include stdlib.h.
4994 * elf/tst-tls17.c: Include stdlib.h.
4995 * elf/tst-tls18.c: Include stdlib.h.
4996 * iconv/tst-iconv6.c: Include endian.h.
4997 * iconvdata/bug-iconv11.c: Include limits.h.
4998 * io/test-utime.c: Include stdint.h.
4999 * io/tst-faccessat.c: Include sys/stat.h.
5000 * io/tst-fchmodat.c: Include sys/stat.h.
5001 * io/tst-fchownat.c: Include sys/stat.h.
5002 * io/tst-fstatat.c: Include sys/stat.h.
5003 * io/tst-futimesat.c: Include sys/stat.h.
5004 * io/tst-linkat.c: Include sys/stat.h.
5005 * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
5006 * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
5007 * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
5008 * io/tst-openat.c: Include stdbool.h.
5009 * io/tst-readlinkat.c: Include sys/stat.h.
5010 * io/tst-renameat.c: Include sys/stat.h.
5011 * io/tst-symlinkat.c: Include sys/stat.h.
5012 * io/tst-unlinkat.c: Include stdbool.h.
5013 * libio/bug-memstream1.c: Include stdlib.h.
5014 * libio/bug-wmemstream1.c: Include stdlib.h.
5015 * libio/tst-fwrite-error.c: Include stdlib.h.
5016 * libio/tst-memstream1.c: Include stdlib.h.
5017 * libio/tst-memstream2.c: Include stdlib.h.
5018 * libio/tst-memstream3.c: Include stdlib.h.
5019 * malloc/tst-interpose-aux.c: Include stdint.h.
5020 * misc/tst-preadvwritev-common.c: Include sys/stat.h.
5021 * nptl/tst-basic7.c: Include limits.h.
5022 * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
5023 * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
5024 * nptl/tst-cancel4_1.c: Include stddef.h.
5025 * nptl/tst-cancel4_2.c: Include stddef.h.
5026 * nptl/tst-cond16.c: Include limits.h.
5027 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
5028 * nptl/tst-cond18.c: Include limits.h.
5029 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
5030 * nptl/tst-cond4.c: Include stdint.h.
5031 * nptl/tst-cond6.c: Include stdint.h.
5032 * nptl/tst-stack2.c: Include limits.h.
5033 * nptl/tst-stackguard1.c: Include stddef.h.
5034 * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
5035 * nptl/tst-tls4moda.c: Include stddef.h.
5036 Don't include stdio.h, unistd.h, or tls.h.
5037 * nptl/tst-tls4modb.c: Include stddef.h.
5038 Don't include stdio.h, unistd.h, or tls.h.
5039 * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
5040 * posix/tst-getaddrinfo2.c: Include stdio.h.
5041 * posix/tst-getaddrinfo5.c: Include stdio.h.
5042 * posix/tst-pathconf.c: Include sys/stat.h.
5043 * posix/tst-posix_fadvise-common.c: Include stdint.h.
5044 * posix/tst-preadwrite-common.c: Include sys/stat.h.
5045 * posix/tst-regex.c: Include stdint.h.
5046 Don't include spawn.h or spawn_int.h.
5047 * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
5048 * posix/tst-vfork3.c: Include sys/stat.h.
5049 * resolv/tst-bug18665-tcp.c: Include stdlib.h.
5050 * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
5051 * resolv/tst-resolv-search.c: Include stdlib.h.
5052 * stdio-common/tst-fmemopen2.c: Include stdint.h.
5053 * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
5054 * stdlib/test-canon.c: Include sys/stat.h.
5055 * stdlib/tst-tls-atexit.c: Include stdbool.h.
5056 * string/test-memchr.c: Include stdint.h.
5057 * string/tst-cmp.c: Include stdint.h.
5058 * sysdeps/pthread/tst-timer.c: Include stdint.h.
5059 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
5060 * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
5061 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5062 Don't include init-arch.h.
5063 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5064 Don't include init-arch.h.
5065 * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
5066 * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
5067 * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
5068 * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
5069 * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
5070 * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
5071 * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
5072 * time/clocktest.c: Include stdint.h.
5073 * time/tst-posixtz.c: Include stdint.h.
5074 * timezone/tst-timezone.c: Include stdint.h.
5075
5076 2017-02-16 Zack Weinberg <zackw@panix.com>
5077
5078 * string/string.h [__USE_MISC]: Include strings.h.
5079 (__bzero, bcmp, bcopy, bzero, index, rindex)
5080 (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
5081 (ffs, ffsl, ffsll): Don't declare.
5082 * string/strings.h: Do not suppress the file if string.h has
5083 already been included.
5084 (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
5085 annotations.
5086 (index, rindex): Define inline forwarders even if
5087 __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
5088 (ffs): Use __attribute_const__.
5089 (ffsl, ffsll): Declare here.
5090 (strcasecmp_l, strncasecmp_l): Correct comments; these functions
5091 have now been standardized.
5092 * include/string.h (__bzero): Declare here.
5093
5094 * bits/types.h: Move to posix/bits.
5095 * include/bits/types.h: New wrapper.
5096
5097 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
5098
5099 * string/bits/string2.h (strcmp): Remove define.
5100 (__strcmp_cg): Likewise.
5101 (strncmp): Likewise.
5102
5103 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
5104
5105 * include/string.h: Add __cplusplus check.
5106
5107 2017-02-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5108
5109 [BZ #21134]
5110 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
5111 "divide by zero" exception when the input is zero.
5112 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
5113 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
5114 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
5115 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
5116 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5117
5118 2017-02-15 Joseph Myers <joseph@codesourcery.com>
5119
5120 * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
5121 and include ...
5122 * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here. New file.
5123 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
5124 to, and include ...
5125 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here. New
5126 file.
5127 * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
5128 and include ...
5129 * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here. New file.
5130 * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
5131 and include ...
5132 * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here. New file.
5133 * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
5134 and include ...
5135 * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here. New file.
5136 * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
5137 and include ...
5138 * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here. New file.
5139 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
5140 to, and include ...
5141 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here. New file.
5142 * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
5143 and include ...
5144 * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here. New file.
5145
5146 2017-02-14 Joseph Myers <joseph@codesourcery.com>
5147
5148 * math/libm-test-support.h: Do not include <math-tests-arch.h>
5149 here.
5150 * math/libm-test-support.c (libm_test_init): Do not call
5151 INIT_ARCH_EXT here.
5152 * math/libm-test-driver.c: Include <math-tests-arch.h>.
5153 (main): Call INIT_ARCH_EXT.
5154
5155 2017-02-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5156
5157 [BZ #21130]
5158 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
5159 with the "invalid" exception raised when x is -Inf.
5160 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5161
5162 2017-02-10 Wilco Dijkstra <wdijkstr@arm.com>
5163
5164 * string/bits/string2.h (strchr): Remove define.
5165
5166 2017-02-09 H.J. Lu <hongjiu.lu@intel.com>
5167
5168 * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
5169 tst-avx512.
5170 (test-extras): Add tst-avx-aux and tst-avx512-aux.
5171 (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
5172 (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
5173 ($(objpfx)tst-sse): New rule.
5174 ($(objpfx)tst-avx): Likewise.
5175 ($(objpfx)tst-avx512): Likewise.
5176 (CFLAGS-tst-avx-aux.c): New.
5177 (CFLAGS-tst-avxmod.c): Likewise.
5178 (CFLAGS-tst-avx512-aux.c): Likewise.
5179 (CFLAGS-tst-avx512mod.c): Likewise.
5180 * sysdeps/x86_64/tst-avx-aux.c: New file.
5181 * sysdeps/x86_64/tst-avx.c: Likewise.
5182 * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
5183 * sysdeps/x86_64/tst-avx512.c: Likewise.
5184 * sysdeps/x86_64/tst-avx512mod.c: Likewise.
5185 * sysdeps/x86_64/tst-avxmod.c: Likewise.
5186 * sysdeps/x86_64/tst-sse.c: Likewise.
5187 * sysdeps/x86_64/tst-ssemod.c: Likewise.
5188
5189 2017-02-09 Joseph Myers <joseph@codesourcery.com>
5190
5191 * math/auto-libm-test-in: Add more tests of csin and csinh.
5192 * math/auto-libm-test-out-csin: Regenerated.
5193 * math/auto-libm-test-out-csinh: Likewise.
5194 * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
5195 auto-libm-test-in.
5196 * math/libm-test-csinh.inc (csinh_test_data): Likewise.
5197
5198 2017-02-09 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5199
5200 * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
5201 libm-compat-calls-auto.
5202 (libm-compat-calls): Likewise.
5203 (libm-compat-calls-auto): Rename to libm-compat-calls and add
5204 w_lgamma_compatF and k_standardF (merged from the items above).
5205 (libm-routines): Use libm-compat-calls, instead of
5206 libm-compat-calls-auto, with type-foreach.
5207
5208 2017-02-09 Joseph Myers <joseph@codesourcery.com>
5209
5210 * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
5211 macro.
5212 * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
5213 (CFLAGS-test-ifloat.c): ... this. Remove
5214 -U__LIBC_INTERNAL_MATH_INLINES.
5215 * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
5216 (CFLAGS-test-idouble.c): ... this. Remove
5217 -U__LIBC_INTERNAL_MATH_INLINES.
5218 * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
5219 (CFLAGS-test-ildouble.c): ... this. Remove
5220 -U__LIBC_INTERNAL_MATH_INLINES.
5221
5222 2017-02-08 Joseph Myers <joseph@codesourcery.com>
5223
5224 * math/libm-test-support.c: New file. Content from
5225 math/libm-test-driver.c.
5226 * math/libm-test-support.h: Likewise.
5227 * math/libm-test-support-double.c: New file.
5228 * math/libm-test-support-float.c: Likewise.
5229 * math/libm-test-support-ldouble.c: Likewise.
5230 * math/libm-test-driver.c: Remove main comment and header
5231 includes. Include libm-test-support.h.
5232 [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
5233 (flag_test_errno): Remove static.
5234 (flag_test_exceptions): Likewise.
5235 (flag_test_finite): Likewise.
5236 (flag_test_inline): Likewise.
5237 (flag_test_mathvec): Likewise.
5238 (test_msg): Likewise.
5239 (NO_EXCEPTION): Remove.
5240 (INVALID_EXCEPTION): Likewise.
5241 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
5242 (OVERFLOW_EXCEPTION): Likewise.
5243 (UNDERFLOW_EXCEPTION): Likewise.
5244 (INEXACT_EXCEPTION): Likewise.
5245 (INVALID_EXCEPTION_OK): Likewise.
5246 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5247 (OVERFLOW_EXCEPTION_OK): Likewise.
5248 (UNDERFLOW_EXCEPTION_OK): Likewise.
5249 (NO_INEXACT_EXCEPTION): Likewise.
5250 (EXCEPTIONS_OK): Likewise.
5251 (IGNORE_ZERO_INF_SIGN): Likewise.
5252 (TEST_NAN_SIGN): Likewise.
5253 (TEST_NAN_PAYLOAD): Likewise.
5254 (NO_TEST_INLINE): Likewise.
5255 (XFAIL_TEST): Likewise.
5256 (ERRNO_UNCHANGED): Likewise.
5257 (ERRNO_EDOM): Likewise.
5258 (ERRNO_ERANGE): Likewise.
5259 (IGNORE_RESULT): Likewise.
5260 (NON_FINITE): Likewise.
5261 (TEST_SNAN): Likewise.
5262 (NO_TEST_MATHVEC): Likewise.
5263 (__CONCATX): Likewise.
5264 (TYPE_MIN): Likewise.
5265 (TYPE_TRUE_MIN): Likewise.
5266 (TYPE_MAX): Likewise.
5267 (MIN_EXP): Likewise.
5268 (MAX_EXP): Likewise.
5269 (MANT_DIG): Likewise.
5270 (FSTR_MAX): Likewise.
5271 (ulp_idx): Likewise.
5272 (qtype_str): Remove static.
5273 (TEST_COND_binary32): Remove.
5274 (TEST_COND_binary64): Likewise.
5275 (TEST_COND_binary128): Likewise.
5276 (TEST_COND_ibm128): Likewise.
5277 (TEST_COND_intel96): Likewise.
5278 (TEST_COND_m68k96): Likewise.
5279 (TEST_COND_ibm128_libgcc): Likewise.
5280 (XFAIL_IBM128_LIBGCC): Likewise.
5281 (PAYLOAD_DIG): Likewise.
5282 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5283 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5284 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5285 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
5286 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5287 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
5288 (TEST_COND_long32): Likewise.
5289 (TEST_COND_long64): Likewise.
5290 (TEST_COND_before_rounding): Likewise.
5291 (TEST_COND_after_rounding): Likewise.
5292 (ulps_file_name): Likewise.
5293 (ulps_file): Likewise.
5294 (output_ulps): Likewise.
5295 (output_dir): Likewise.
5296 (noErrors): Likewise.
5297 (noTests): Likewise.
5298 (noExcTests): Likewise.
5299 (noErrnoTests): Likewise.
5300 (verbose): Likewise.
5301 (output_max_error): Likewise.
5302 (output_points): Likewise.
5303 (ignore_max_ulp): Likewise.
5304 (max_error): Likewise.
5305 (real_max_error): Likewise.
5306 (imag_max_error): Likewise.
5307 (prev_max_error): Likewise.
5308 (prev_real_max_error): Likewise.
5309 (prev_imag_max_error): Likewise.
5310 (max_valid_error): Likewise.
5311 (TYPE_DECIMAL_DIG): Likewise.
5312 (TYPE_HEX_DIG): Likewise.
5313 (fmt_ftostr): Likewise.
5314 (compare_ulp_data): Likewise.
5315 (find_ulps): Likewise.
5316 (init_max_error): Likewise.
5317 (set_max_error): Likewise.
5318 (print_float): Likewise.
5319 (print_screen): Likewise.
5320 (print_screen_max_error): Likewise.
5321 (update_stats): Likewise.
5322 (print_function_ulps): Likewise.
5323 (print_complex_function_ulps): Likewise.
5324 (fpstack_test): Likewise.
5325 (print_max_error): Likewise.
5326 (print_complex_max_error): Likewise.
5327 (test_single_exception): Likewise.
5328 (test_exceptions): Likewise.
5329 (test_single_errno): Likewise.
5330 (test_errno): Likewise.
5331 (ULPDIFF): Likewise.
5332 (ulp): Likewise.
5333 (check_float_internal): Likewise.
5334 (check_float): Likewise.
5335 (check_complex): Likewise.
5336 (check_int): Likewise.
5337 (check_long): Likewise.
5338 (check_bool): Likewise.
5339 (check_longlong): Likewise.
5340 (check_intmax_t): Likewise.
5341 (check_uintmax_t): Likewise.
5342 (enable_test): Likewise.
5343 (matherr): Likewise.
5344 (initialize): Likewise.
5345 (options): Likewise.
5346 (doc): Remove static.
5347 (argp): Likewise.
5348 (parse_opt): Remove.
5349 (check_ulp): Likewise.
5350 (libm_test_init): Likewise.
5351 (libm_test_finish): Likewise.
5352 * math/Makefile (libm-test-support): New variable.
5353 (test-extras): Add libm-test-support files.
5354 (extra-test-objs): Likewise.
5355 (CFLAGS-libm-test-support-float.c): New variable.
5356 (CFLAGS-libm-test-support-double.c): Likewise.
5357 (CFLAGS-libm-test-support-ldouble.c): Likewise.
5358 ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
5359 libm-test-support objects.
5360
5361 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5362
5363 * math/Makefile (libm-calls): Move w_exp...
5364 (libm-compat-calls-auto): Here.
5365
5366 * math/w_expl.c: Add suffix "_compat" to filename.
5367 * sysdeps/ia64/fpu/w_expl.c: Likewise.
5368 * sysdeps/ia64/fpu/w_expf.c: Likewise.
5369 * sysdeps/ia64/fpu/w_exp.c: Likewise.
5370 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5371 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5372 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5373 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
5374 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5375
5376 * math/w_expl_compat.c: New file, copied from above.
5377 * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
5378 * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
5379 * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
5380 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
5381 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
5382 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
5383 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
5384 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
5385
5386 * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
5387 to filename.
5388 * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
5389
5390 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
5391 copied from above and adjusted for the new filenames.
5392 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
5393
5394 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5395
5396 * math/Makefile (libm-calls): Move w_lgammaF...
5397 (libm-compat-calls-auto): Here.
5398
5399 * math/w_lgamma.c: Add suffix "_compat2" to filename.
5400 * math/w_lgammaf.c: Likewise.
5401 * math/w_lgammal.c: Likewise.
5402
5403 * math/w_lgamma_compat2.c: New file, copied from above.
5404 * math/w_lgammaf_compat2.c: Likewise.
5405 * math/w_lgammal_compat2.c: Likewise.
5406
5407 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5408
5409 * math/Makefile (libm-calls): Move w_lgammaF_r...
5410 (libm-compat-calls-auto): Here.
5411
5412 * math/w_lgamma_r.c: Add suffix "_compat" to filename.
5413 * math/w_lgammaf_r.c: Likewise.
5414 * math/w_lgammal_r.c: Likewise.
5415 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
5416 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
5417 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
5418
5419 * math/w_lgamma_r_compat.c: New file, copied from above.
5420 * math/w_lgammaf_r_compat.c: Likewise.
5421 * math/w_lgammal_r_compat.c: Likewise.
5422 * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
5423 * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
5424 * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
5425
5426 * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
5427 to filename.
5428 * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
5429
5430 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
5431 copied from above and adjusted for the new filenames.
5432 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
5433
5434 2017-02-08 Yury Norov <ynorov@caviumnetworks.com>
5435
5436 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
5437 calculation in SYSCALL_ERROR_HANDLER().
5438
5439 2017-02-08 Rical Jasan <ricaljasan@pacific.net>
5440
5441 * manual/contrib.texi: Fix typo.
5442
5443 2017-02-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
5444
5445 [BZ #21109]
5446 * elf/dl-tunable-types.h (tunable_callback_t): Accept
5447 tunable_val_t as argument.
5448 * elf/dl-tunables.c (__tunable_set_val): Add comment.
5449 * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
5450 argument.
5451 (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
5452
5453 2017-02-08 Kir Kolyshkin <kir@openvz.org>
5454
5455 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
5456 Add PTRACE_EVENT_STOP.
5457 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5458 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5459 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5460 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5461 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
5462 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
5463
5464 2017-02-07 Joseph Myers <joseph@codesourcery.com>
5465
5466 * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
5467 * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
5468 * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
5469 * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
5470 * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
5471 * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
5472 * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
5473 * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
5474 * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
5475 * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
5476
5477 [BZ #21112]
5478 * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
5479 12 bits zero.
5480 (cp_l): Update for new value of cp_h.
5481 * math/auto-libm-test-in: Add another test of pow.
5482 * math/auto-libm-test-out-pow: Regenerated.
5483
5484 2017-02-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
5485
5486 * manual/contrib.texi: Fix typo.
5487
5488 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5489
5490 [BZ #15998]
5491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5492 (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
5493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5494
5495 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5496
5497 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
5498 STRCHR as __strchr_power8.
5499 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
5500 strlen as __strlen_power8.
5501
5502 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5503
5504 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
5505 unaligned load for shorter strings.
5506 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
5507
5508 2017-02-06 Joseph Myers <joseph@codesourcery.com>
5509
5510 * math/libm-test-driver.c (flag_test_errno): New variable.
5511 (flag_test_exceptions): Likewise.
5512 (flag_test_finite): Likewise.
5513 (flag_test_inline): Likewise.
5514 (flag_test_mathvec): Likewise.
5515 (test_msg): Likewise.
5516 (ulp_idx): Likewise.
5517 (qtype_str): Likewise.
5518 (ULP_IDX): Remove macro.
5519 (QTYPE_STR): Likewise.
5520 (find_ulps): Use ulp_idx not ULP_IDX.
5521 (print_function_ulps): Use qtype_str, printed with %s, not
5522 QTYPE_STR, printed with concatentation to format string.
5523 (print_complex_function_ulps): Likewise.
5524 (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
5525 (test_errno): Use flag_test_errno not TEST_ERRNO.
5526 (enable_test): Use flag_test_inline, flag_test_finite and
5527 flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
5528 TEST_MATHVEC.
5529 (libm_test_init): New function. Factored out of main.
5530 (libm_test_finish): Likewise.
5531 (main): Call libm_test_init and libm_test_finish and move most
5532 code to those functions.
5533
5534 * math/libm-test-driver.c (STRX): New macro.
5535 (STR): Likewise.
5536 (STR_FLOAT): Likewise.
5537 (STR_VEC_LEN): Likewise.
5538 (TEST_MSG): Likewise. Define here instead of expecting to be
5539 defined by including file.
5540 * math/test-double-finite.c (TEST_MSG): Remove macro.
5541 * math/test-double-vlen2.h (TEST_MSG): Likewise.
5542 * math/test-double-vlen4.h (TEST_MSG): Likewise.
5543 * math/test-double-vlen8.h (TEST_MSG): Likewise.
5544 * math/test-double.c (TEST_MSG): Likewise.
5545 * math/test-float-finite.c (TEST_MSG): Likewise.
5546 * math/test-float-vlen16.h (TEST_MSG): Likewise.
5547 * math/test-float-vlen4.h (TEST_MSG): Likewise.
5548 * math/test-float-vlen8.h (TEST_MSG): Likewise.
5549 * math/test-float.c (TEST_MSG): Likewise.
5550 * math/test-idouble.c (TEST_MSG): Likewise.
5551 * math/test-ifloat.c (TEST_MSG): Likewise.
5552 * math/test-ildouble.c (TEST_MSG): Likewise.
5553 * math/test-ldouble-finite.c (TEST_MSG): Likewise.
5554 * math/test-ldouble.c (TEST_MSG): Likewise.
5555
5556 * math/libm-test.inc: Move all tests of individual functions to
5557 libm-test-*.inc and #include libm-test-*.c files.
5558 (acos_test_data): Remove.
5559 (acos_test): Likewise.
5560 (acosh_test_data): Likewise.
5561 (acosh_test): Likewise.
5562 (asin_test_data): Likewise.
5563 (asin_test): Likewise.
5564 (asinh_test_data): Likewise.
5565 (asinh_test): Likewise.
5566 (atan_test_data): Likewise.
5567 (atan_test): Likewise.
5568 (atanh_test_data): Likewise.
5569 (atanh_test): Likewise.
5570 (atan2_test_data): Likewise.
5571 (atan2_test): Likewise.
5572 (cabs_test_data): Likewise.
5573 (cabs_test): Likewise.
5574 (cacos_test_data): Likewise.
5575 (cacos_test): Likewise.
5576 (cacosh_test_data): Likewise.
5577 (cacosh_test): Likewise.
5578 (canonicalize_test_data): Likewise.
5579 (canonicalize_test): Likewise.
5580 (carg_test_data): Likewise.
5581 (carg_test): Likewise.
5582 (casin_test_data): Likewise.
5583 (casin_test): Likewise.
5584 (casinh_test_data): Likewise.
5585 (casinh_test): Likewise.
5586 (catan_test_data): Likewise.
5587 (catan_test): Likewise.
5588 (catanh_test_data): Likewise.
5589 (catanh_test): Likewise.
5590 (cbrt_test_data): Likewise.
5591 (cbrt_test): Likewise.
5592 (ccos_test_data): Likewise.
5593 (ccos_test): Likewise.
5594 (ccosh_test_data): Likewise.
5595 (ccosh_test): Likewise.
5596 (ceil_test_data): Likewise.
5597 (ceil_test): Likewise.
5598 (cexp_test_data): Likewise.
5599 (cexp_test): Likewise.
5600 (cimag_test_data): Likewise.
5601 (cimag_test): Likewise.
5602 (clog_test_data): Likewise.
5603 (clog_test): Likewise.
5604 (clog10_test_data): Likewise.
5605 (clog10_test): Likewise.
5606 (conj_test_data): Likewise.
5607 (conj_test): Likewise.
5608 (copysign_test_data): Likewise.
5609 (copysign_test): Likewise.
5610 (cos_test_data): Likewise.
5611 (cos_test): Likewise.
5612 (cosh_test_data): Likewise.
5613 (cosh_test): Likewise.
5614 (cpow_test_data): Likewise.
5615 (cpow_test): Likewise.
5616 (cproj_test_data): Likewise.
5617 (cproj_test): Likewise.
5618 (creal_test_data): Likewise.
5619 (creal_test): Likewise.
5620 (csin_test_data): Likewise.
5621 (csin_test): Likewise.
5622 (csinh_test_data): Likewise.
5623 (csinh_test): Likewise.
5624 (csqrt_test_data): Likewise.
5625 (csqrt_test): Likewise.
5626 (ctan_test_data): Likewise.
5627 (ctan_test): Likewise.
5628 (ctanh_test_data): Likewise.
5629 (ctanh_test): Likewise.
5630 (erf_test_data): Likewise.
5631 (erf_test): Likewise.
5632 (erfc_test_data): Likewise.
5633 (erfc_test): Likewise.
5634 (exp_test_data): Likewise.
5635 (exp_test): Likewise.
5636 (exp10_test_data): Likewise.
5637 (exp10_test): Likewise.
5638 (pow10_test): Likewise.
5639 (exp2_test_data): Likewise.
5640 (exp2_test): Likewise.
5641 (expm1_test_data): Likewise.
5642 (expm1_test): Likewise.
5643 (fabs_test_data): Likewise.
5644 (fabs_test): Likewise.
5645 (fdim_test_data): Likewise.
5646 (fdim_test): Likewise.
5647 (floor_test_data): Likewise.
5648 (floor_test): Likewise.
5649 (fma_test_data): Likewise.
5650 (fma_test): Likewise.
5651 (fmax_test_data): Likewise.
5652 (fmax_test): Likewise.
5653 (fmaxmag_test_data): Likewise.
5654 (fmaxmag_test): Likewise.
5655 (fmin_test_data): Likewise.
5656 (fmin_test): Likewise.
5657 (fminmag_test_data): Likewise.
5658 (fminmag_test): Likewise.
5659 (fmod_test_data): Likewise.
5660 (fmod_test): Likewise.
5661 (fpclassify_test_data): Likewise.
5662 (fpclassify_test): Likewise.
5663 (frexp_test_data): Likewise.
5664 (frexp_test): Likewise.
5665 (fromfp_test_data): Likewise.
5666 (fromfp_test): Likewise.
5667 (fromfpx_test_data): Likewise.
5668 (fromfpx_test): Likewise.
5669 (getpayload_test_data): Likewise.
5670 (getpayload_test): Likewise.
5671 (hypot_test_data): Likewise.
5672 (hypot_test): Likewise.
5673 (ilogb_test_data): Likewise.
5674 (ilogb_test): Likewise.
5675 (iscanonical_test_data): Likewise.
5676 (iscanonical_test): Likewise.
5677 (iseqsig_test_data): Likewise.
5678 (iseqsig_test): Likewise.
5679 (isfinite_test_data): Likewise.
5680 (isfinite_test): Likewise.
5681 (finite_test): Likewise.
5682 (isgreater_test_data): Likewise.
5683 (isgreater_test): Likewise.
5684 (isgreaterequal_test_data): Likewise.
5685 (isgreaterequal_test): Likewise.
5686 (isinf_test_data): Likewise.
5687 (isinf_test): Likewise.
5688 (isless_test_data): Likewise.
5689 (isless_test): Likewise.
5690 (islessequal_test_data): Likewise.
5691 (islessequal_test): Likewise.
5692 (islessgreater_test_data): Likewise.
5693 (islessgreater_test): Likewise.
5694 (isnan_test_data): Likewise.
5695 (isnan_test): Likewise.
5696 (isnormal_test_data): Likewise.
5697 (isnormal_test): Likewise.
5698 (issignaling_test_data): Likewise.
5699 (issignaling_test): Likewise.
5700 (issubnormal_test_data): Likewise.
5701 (issubnormal_test): Likewise.
5702 (isunordered_test_data): Likewise.
5703 (isunordered_test): Likewise.
5704 (iszero_test_data): Likewise.
5705 (iszero_test): Likewise.
5706 (j0_test_data): Likewise.
5707 (j0_test): Likewise.
5708 (j1_test_data): Likewise.
5709 (j1_test): Likewise.
5710 (jn_test_data): Likewise.
5711 (jn_test): Likewise.
5712 (lgamma_test_data): Likewise.
5713 (lgamma_test): Likewise.
5714 (gamma_test): Likewise.
5715 (llogb_test_data): Likewise.
5716 (llogb_test): Likewise.
5717 (lrint_test_data): Likewise.
5718 (lrint_test): Likewise.
5719 (llrint_test_data): Likewise.
5720 (llrint_test): Likewise.
5721 (log_test_data): Likewise.
5722 (log_test): Likewise.
5723 (log10_test_data): Likewise.
5724 (log10_test): Likewise.
5725 (log1p_test_data): Likewise.
5726 (log1p_test): Likewise.
5727 (log2_test_data): Likewise.
5728 (log2_test): Likewise.
5729 (logb_test_data): Likewise.
5730 (logb_test): Likewise.
5731 (lround_test_data): Likewise.
5732 (lround_test): Likewise.
5733 (llround_test_data): Likewise.
5734 (llround_test): Likewise.
5735 (modf_test_data): Likewise.
5736 (modf_test): Likewise.
5737 (nearbyint_test_data): Likewise.
5738 (nearbyint_test): Likewise.
5739 (nextafter_test_data): Likewise.
5740 (nextafter_test): Likewise.
5741 (nextup_test_data): Likewise.
5742 (nextup_test): Likewise.
5743 (nextdown_test_data): Likewise.
5744 (nextdown_test): Likewise.
5745 (nexttoward_test_data): Likewise.
5746 (nexttoward_test): Likewise.
5747 (pow_test_data): Likewise.
5748 (pow_test): Likewise.
5749 (remainder_test_data): Likewise.
5750 (remainder_test): Likewise.
5751 (drem_test): Likewise.
5752 (remquo_test_data): Likewise.
5753 (remquo_test): Likewise.
5754 (rint_test_data): Likewise.
5755 (rint_test): Likewise.
5756 (round_test_data): Likewise.
5757 (round_test): Likewise.
5758 (roundeven_test_data): Likewise.
5759 (roundeven_test): Likewise.
5760 (scalb_test_data): Likewise.
5761 (scalb_test): Likewise.
5762 (scalbn_test_data): Likewise.
5763 (scalbn_test): Likewise.
5764 (ldexp_test): Likewise.
5765 (scalbln_test_data): Likewise.
5766 (scalbln_test): Likewise.
5767 (setpayload_test_data): Likewise.
5768 (setpayload_test): Likewise.
5769 (setpayloadsig_test_data): Likewise.
5770 (setpayloadsig_test): Likewise.
5771 (signbit_test_data): Likewise.
5772 (signbit_test): Likewise.
5773 (sin_test_data): Likewise.
5774 (sin_test): Likewise.
5775 (sincos_test_data): Likewise.
5776 (sincos_test): Likewise.
5777 (sinh_test_data): Likewise.
5778 (sinh_test): Likewise.
5779 (sqrt_test_data): Likewise.
5780 (sqrt_test): Likewise.
5781 (tan_test_data): Likewise.
5782 (tan_test): Likewise.
5783 (tanh_test_data): Likewise.
5784 (tanh_test): Likewise.
5785 (tgamma_test_data): Likewise.
5786 (tgamma_test): Likewise.
5787 (totalorder_test_data): Likewise.
5788 (totalorder_test): Likewise.
5789 (totalordermag_test_data): Likewise.
5790 (totalordermag_test): Likewise.
5791 (trunc_test_data): Likewise.
5792 (trunc_test): Likewise.
5793 (ufromfp_test_data): Likewise.
5794 (ufromfp_test): Likewise.
5795 (ufromfpx_test_data): Likewise.
5796 (ufromfpx_test): Likewise.
5797 (y0_test_data): Likewise.
5798 (y0_test): Likewise.
5799 (y1_test_data): Likewise.
5800 (y1_test): Likewise.
5801 (yn_test_data): Likewise.
5802 (yn_test): Likewise.
5803 (significand_test_data): Likewise.
5804 (significand_test): Likewise.
5805 * math/Makefile (auto-libm-test-out-files): Remove variable.
5806 (libm-test-funcs-noauto): New variable.
5807 (libm-test-funcs-all): Likewise.
5808 (libm-test-c-auto): Likewise.
5809 (libm-test-c-noauto): Likewise.
5810 (libm-tests-generated): Add $(libm-test-c-auto) and
5811 $(libm-test-c-noauto).
5812 (generated): Do not add auto-libm-test-out.
5813 (libm-test-c-auto-obj): New variable.
5814 (libm-test-c-noauto-obj): Likewise.
5815 ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
5816 ($(libm-test-c-noauto-obj)): New static pattern rule.
5817 ($(libm-test-c-auto-obj)): Likewise.
5818 (libm-test-incs): New variable.
5819 ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
5820 and pass it to gen-libm-have-vector-test.sh.
5821 * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
5822 be passed on command line.
5823 * math/libm-test-acos.inc: New file. Content from
5824 math/libm-test.inc.
5825 * math/libm-test-acosh.inc: Likewise.
5826 * math/libm-test-asin.inc: Likewise.
5827 * math/libm-test-asinh.inc: Likewise.
5828 * math/libm-test-atan.inc: Likewise.
5829 * math/libm-test-atan2.inc: Likewise.
5830 * math/libm-test-atanh.inc: Likewise.
5831 * math/libm-test-cabs.inc: Likewise.
5832 * math/libm-test-cacos.inc: Likewise.
5833 * math/libm-test-cacosh.inc: Likewise.
5834 * math/libm-test-canonicalize.inc: Likewise.
5835 * math/libm-test-carg.inc: Likewise.
5836 * math/libm-test-casin.inc: Likewise.
5837 * math/libm-test-casinh.inc: Likewise.
5838 * math/libm-test-catan.inc: Likewise.
5839 * math/libm-test-catanh.inc: Likewise.
5840 * math/libm-test-cbrt.inc: Likewise.
5841 * math/libm-test-ccos.inc: Likewise.
5842 * math/libm-test-ccosh.inc: Likewise.
5843 * math/libm-test-ceil.inc: Likewise.
5844 * math/libm-test-cexp.inc: Likewise.
5845 * math/libm-test-cimag.inc: Likewise.
5846 * math/libm-test-clog.inc: Likewise.
5847 * math/libm-test-clog10.inc: Likewise.
5848 * math/libm-test-conj.inc: Likewise.
5849 * math/libm-test-copysign.inc: Likewise.
5850 * math/libm-test-cos.inc: Likewise.
5851 * math/libm-test-cosh.inc: Likewise.
5852 * math/libm-test-cpow.inc: Likewise.
5853 * math/libm-test-cproj.inc: Likewise.
5854 * math/libm-test-creal.inc: Likewise.
5855 * math/libm-test-csin.inc: Likewise.
5856 * math/libm-test-csinh.inc: Likewise.
5857 * math/libm-test-csqrt.inc: Likewise.
5858 * math/libm-test-ctan.inc: Likewise.
5859 * math/libm-test-ctanh.inc: Likewise.
5860 * math/libm-test-erf.inc: Likewise.
5861 * math/libm-test-erfc.inc: Likewise.
5862 * math/libm-test-exp.inc: Likewise.
5863 * math/libm-test-exp10.inc: Likewise.
5864 * math/libm-test-exp2.inc: Likewise.
5865 * math/libm-test-expm1.inc: Likewise.
5866 * math/libm-test-fabs.inc: Likewise.
5867 * math/libm-test-fdim.inc: Likewise.
5868 * math/libm-test-floor.inc: Likewise.
5869 * math/libm-test-fma.inc: Likewise.
5870 * math/libm-test-fmax.inc: Likewise.
5871 * math/libm-test-fmaxmag.inc: Likewise.
5872 * math/libm-test-fmin.inc: Likewise.
5873 * math/libm-test-fminmag.inc: Likewise.
5874 * math/libm-test-fmod.inc: Likewise.
5875 * math/libm-test-fpclassify.inc: Likewise.
5876 * math/libm-test-frexp.inc: Likewise.
5877 * math/libm-test-fromfp.inc: Likewise.
5878 * math/libm-test-fromfpx.inc: Likewise.
5879 * math/libm-test-getpayload.inc: Likewise.
5880 * math/libm-test-hypot.inc: Likewise.
5881 * math/libm-test-ilogb.inc: Likewise.
5882 * math/libm-test-iscanonical.inc: Likewise.
5883 * math/libm-test-iseqsig.inc: Likewise.
5884 * math/libm-test-isfinite.inc: Likewise.
5885 * math/libm-test-isgreater.inc: Likewise.
5886 * math/libm-test-isgreaterequal.inc: Likewise.
5887 * math/libm-test-isinf.inc: Likewise.
5888 * math/libm-test-isless.inc: Likewise.
5889 * math/libm-test-islessequal.inc: Likewise.
5890 * math/libm-test-islessgreater.inc: Likewise.
5891 * math/libm-test-isnan.inc: Likewise.
5892 * math/libm-test-isnormal.inc: Likewise.
5893 * math/libm-test-issignaling.inc: Likewise.
5894 * math/libm-test-issubnormal.inc: Likewise.
5895 * math/libm-test-isunordered.inc: Likewise.
5896 * math/libm-test-iszero.inc: Likewise.
5897 * math/libm-test-j0.inc: Likewise.
5898 * math/libm-test-j1.inc: Likewise.
5899 * math/libm-test-jn.inc: Likewise.
5900 * math/libm-test-lgamma.inc: Likewise.
5901 * math/libm-test-llogb.inc: Likewise.
5902 * math/libm-test-llrint.inc: Likewise.
5903 * math/libm-test-llround.inc: Likewise.
5904 * math/libm-test-log.inc: Likewise.
5905 * math/libm-test-log10.inc: Likewise.
5906 * math/libm-test-log1p.inc: Likewise.
5907 * math/libm-test-log2.inc: Likewise.
5908 * math/libm-test-logb.inc: Likewise.
5909 * math/libm-test-lrint.inc: Likewise.
5910 * math/libm-test-lround.inc: Likewise.
5911 * math/libm-test-modf.inc: Likewise.
5912 * math/libm-test-nearbyint.inc: Likewise.
5913 * math/libm-test-nextafter.inc: Likewise.
5914 * math/libm-test-nextdown.inc: Likewise.
5915 * math/libm-test-nexttoward.inc: Likewise.
5916 * math/libm-test-nextup.inc: Likewise.
5917 * math/libm-test-pow.inc: Likewise.
5918 * math/libm-test-remainder.inc: Likewise.
5919 * math/libm-test-remquo.inc: Likewise.
5920 * math/libm-test-rint.inc: Likewise.
5921 * math/libm-test-round.inc: Likewise.
5922 * math/libm-test-roundeven.inc: Likewise.
5923 * math/libm-test-scalb.inc: Likewise.
5924 * math/libm-test-scalbln.inc: Likewise.
5925 * math/libm-test-scalbn.inc: Likewise.
5926 * math/libm-test-setpayload.inc: Likewise.
5927 * math/libm-test-setpayloadsig.inc: Likewise.
5928 * math/libm-test-signbit.inc: Likewise.
5929 * math/libm-test-significand.inc: Likewise.
5930 * math/libm-test-sin.inc: Likewise.
5931 * math/libm-test-sincos.inc: Likewise.
5932 * math/libm-test-sinh.inc: Likewise.
5933 * math/libm-test-sqrt.inc: Likewise.
5934 * math/libm-test-tan.inc: Likewise.
5935 * math/libm-test-tanh.inc: Likewise.
5936 * math/libm-test-tgamma.inc: Likewise.
5937 * math/libm-test-totalorder.inc: Likewise.
5938 * math/libm-test-totalordermag.inc: Likewise.
5939 * math/libm-test-trunc.inc: Likewise.
5940 * math/libm-test-ufromfp.inc: Likewise.
5941 * math/libm-test-ufromfpx.inc: Likewise.
5942 * math/libm-test-y0.inc: Likewise.
5943 * math/libm-test-y1.inc: Likewise.
5944 * math/libm-test-yn.inc: Likewise.
5945 * math/README.libm-test: Update.
5946
5947 * math/gen-auto-libm-tests.c: Update comment about use of program.
5948 (generate_output): Add argument FUNCTION.
5949 (main): Require extra argument. Pass function name to
5950 generate_output.
5951 * math/Makefile (generated): Add auto-libm-test-out.
5952 (libm-test-funcs-auto): New variable.
5953 (auto-libm-test-out-files): New variable.
5954 ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
5955 Concatenate those files to form $(objpfx)auto-libm-test-out and
5956 use it as input to gen-libm-test.pl.
5957 * math/README.libm-test: Update.
5958 * math/auto-libm-test-out: Remove.
5959 * math/auto-libm-test-out-acos: New generated file.
5960 * math/auto-libm-test-out-acosh: Likewise.
5961 * math/auto-libm-test-out-asin: Likewise.
5962 * math/auto-libm-test-out-asinh: Likewise.
5963 * math/auto-libm-test-out-atan: Likewise.
5964 * math/auto-libm-test-out-atan2: Likewise.
5965 * math/auto-libm-test-out-atanh: Likewise.
5966 * math/auto-libm-test-out-cabs: Likewise.
5967 * math/auto-libm-test-out-carg: Likewise.
5968 * math/auto-libm-test-out-cbrt: Likewise.
5969 * math/auto-libm-test-out-ccos: Likewise.
5970 * math/auto-libm-test-out-ccosh: Likewise.
5971 * math/auto-libm-test-out-cexp: Likewise.
5972 * math/auto-libm-test-out-clog: Likewise.
5973 * math/auto-libm-test-out-clog10: Likewise.
5974 * math/auto-libm-test-out-cos: Likewise.
5975 * math/auto-libm-test-out-cosh: Likewise.
5976 * math/auto-libm-test-out-cpow: Likewise.
5977 * math/auto-libm-test-out-csin: Likewise.
5978 * math/auto-libm-test-out-csinh: Likewise.
5979 * math/auto-libm-test-out-csqrt: Likewise.
5980 * math/auto-libm-test-out-ctan: Likewise.
5981 * math/auto-libm-test-out-ctanh: Likewise.
5982 * math/auto-libm-test-out-erf: Likewise.
5983 * math/auto-libm-test-out-erfc: Likewise.
5984 * math/auto-libm-test-out-exp: Likewise.
5985 * math/auto-libm-test-out-exp10: Likewise.
5986 * math/auto-libm-test-out-exp2: Likewise.
5987 * math/auto-libm-test-out-expm1: Likewise.
5988 * math/auto-libm-test-out-fma: Likewise.
5989 * math/auto-libm-test-out-hypot: Likewise.
5990 * math/auto-libm-test-out-j0: Likewise.
5991 * math/auto-libm-test-out-j1: Likewise.
5992 * math/auto-libm-test-out-jn: Likewise.
5993 * math/auto-libm-test-out-lgamma: Likewise.
5994 * math/auto-libm-test-out-log: Likewise.
5995 * math/auto-libm-test-out-log10: Likewise.
5996 * math/auto-libm-test-out-log1p: Likewise.
5997 * math/auto-libm-test-out-log2: Likewise.
5998 * math/auto-libm-test-out-pow: Likewise.
5999 * math/auto-libm-test-out-sin: Likewise.
6000 * math/auto-libm-test-out-sincos: Likewise.
6001 * math/auto-libm-test-out-sinh: Likewise.
6002 * math/auto-libm-test-out-sqrt: Likewise.
6003 * math/auto-libm-test-out-tan: Likewise.
6004 * math/auto-libm-test-out-tanh: Likewise.
6005 * math/auto-libm-test-out-tgamma: Likewise.
6006 * math/auto-libm-test-out-y0: Likewise.
6007 * math/auto-libm-test-out-y1: Likewise.
6008 * math/auto-libm-test-out-yn: Likewise.
6009
6010 * math/Makefile (generated): Do not include libm-test.stmp.
6011 ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
6012 on $(objpfx)libm-test.stmp.
6013 ($(objpfx)libm-test.stmp): Remove rule.
6014 ($(objpfx)libm-test-ulps.h): New rule.
6015 ($(objpfx)libm-test.c): Likewise.
6016 ($(objpfx)libm-have-vector-test.h): Likewise.
6017 ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
6018 individual generated files, not libm-test.stmp.
6019
6020 * math/gen-libm-test.pl ($output_dir): Remove variable.
6021 ($srcdir): Likewise.
6022 ($opt_a): New variable.
6023 ($opt_c): Likewise.
6024 ($opt_C): Likewise.
6025 ($opt_H): Likewise.
6026 (-n): Make option take argument and use it as NewUlps output.
6027 (-a): New option. Use its argument for auto-libm-test-out input.
6028 (-c): New option. Use its argument for libm-test.inc input.
6029 (-C): New option. Use its argument for libm-test.c output.
6030 (-H): New option. Use its argument for libm-test-ulps.h output.
6031 (top level): Only process inputs needed to generate outputs
6032 specified by command-line options. Only generate outputs
6033 specified by command-line options.
6034 * math/README.libm-test: Update example gen-libm-test.pl command.
6035 * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
6036 commands.
6037 (regen-ulps): Likewise.
6038
6039 2017-02-06 Wilco Dijkstra <wdijkstr@arm.com>
6040
6041 * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
6042 * include/string.h (index): Remove define.
6043 (rindex): Likewise.
6044 * misc/getttyent.c (__getttyent): Rename index to strchr.
6045 * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
6046 * sunrpc/rpc_main.c (mkfile_output): Likewise.
6047
6048 2017-02-06 Joseph Myers <joseph@codesourcery.com>
6049
6050 * math/libm-test-driver.c: New file. Based on math/libm-test.inc.
6051 * math/libm-test.inc: Move all contents, other than tests of
6052 individual functions, to libm-test-driver.c.
6053 [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
6054 [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
6055 [!FE_UPWARD] (FE_UPWARD): Likewise.
6056 [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
6057 (NO_EXCEPTION): Likewise.
6058 (INVALID_EXCEPTION): Likewise.
6059 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
6060 (OVERFLOW_EXCEPTION): Likewise.
6061 (UNDERFLOW_EXCEPTION): Likewise.
6062 (INEXACT_EXCEPTION): Likewise.
6063 (INVALID_EXCEPTION_OK): Likewise.
6064 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6065 (OVERFLOW_EXCEPTION_OK): Likewise.
6066 (UNDERFLOW_EXCEPTION_OK): Likewise.
6067 (NO_INEXACT_EXCEPTION): Likewise.
6068 (EXCEPTIONS_OK): Likewise.
6069 (IGNORE_ZERO_INF_SIGN): Likewise.
6070 (TEST_NAN_SIGN): Likewise.
6071 (TEST_NAN_PAYLOAD): Likewise.
6072 (NO_TEST_INLINE): Likewise.
6073 (XFAIL_TEST): Likewise.
6074 (ERRNO_UNCHANGED): Likewise.
6075 (ERRNO_EDOM): Likewise.
6076 (ERRNO_ERANGE): Likewise.
6077 (IGNORE_RESULT): Likewise.
6078 (NON_FINITE): Likewise.
6079 (TEST_SNAN): Likewise.
6080 (NO_TEST_MATHVEC): Likewise.
6081 (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
6082 (__CONCATX): Likewise.
6083 (TYPE_MIN): Likewise.
6084 (TYPE_TRUE_MIN): Likewise.
6085 (TYPE_MAX): Likewise.
6086 (MIN_EXP): Likewise.
6087 (MAX_EXP): Likewise.
6088 (MANT_DIG): Likewise.
6089 (FSTR_MAX): Likewise.
6090 (ULP_IDX): Likewise.
6091 (QTYPE_STR): Likewise.
6092 (TEST_COND_binary32): Likewise.
6093 (TEST_COND_binary64): Likewise.
6094 (TEST_COND_binary128): Likewise.
6095 (TEST_COND_ibm128): Likewise.
6096 (TEST_COND_intel96): Likewise.
6097 (TEST_COND_m68k96): Likewise.
6098 (TEST_COND_ibm128_libgcc): Likewise.
6099 (XFAIL_IBM128_LIBGCC): Likewise.
6100 (PAYLOAD_DIG): Likewise.
6101 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6102 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6103 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6104 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
6105 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6106 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
6107 (TEST_COND_long32): Likewise.
6108 (TEST_COND_long64): Likewise.
6109 (TEST_COND_before_rounding): Likewise.
6110 (TEST_COND_after_rounding): Likewise.
6111 (lit_pi_3_m_4_d): Likewise.
6112 (lit_pi_3_m_4_ln10_m_d): Likewise.
6113 (lit_pi_2_ln10_m_d): Likewise.
6114 (lit_pi_4_ln10_m_d): Likewise.
6115 (lit_pi_ln10_d): Likewise.
6116 (lit_pi_2_d): Likewise.
6117 (lit_pi_4_d): Likewise.
6118 (lit_pi): Likewise.
6119 (lit_e): Likewise.
6120 (ulps_file_name): Likewise.
6121 (ulps_file): Likewise.
6122 (output_ulps): Likewise.
6123 (output_dir): Likewise.
6124 (noErrors): Likewise.
6125 (noTests): Likewise.
6126 (noExcTests): Likewise.
6127 (noErrnoTests): Likewise.
6128 (verbose): Likewise.
6129 (output_max_error): Likewise.
6130 (output_points): Likewise.
6131 (ignore_max_ulp): Likewise.
6132 (plus_zero): Likewise.
6133 (minus_zero): Likewise.
6134 (plus_infty): Likewise.
6135 (minus_infty): Likewise.
6136 (qnan_value_pl): Likewise.
6137 (qnan_value): Likewise.
6138 (snan_value_pl): Likewise.
6139 (snan_value): Likewise.
6140 (max_value): Likewise.
6141 (min_value): Likewise.
6142 (min_subnorm_value): Likewise.
6143 (snan_value_ld): Likewise.
6144 (max_error): Likewise.
6145 (real_max_error): Likewise.
6146 (imag_max_error): Likewise.
6147 (prev_max_error): Likewise.
6148 (prev_real_max_error): Likewise.
6149 (prev_imag_max_error): Likewise.
6150 (max_valid_error): Likewise.
6151 (TYPE_DECIMAL_DIG): Likewise.
6152 (TYPE_HEX_DIG): Likewise.
6153 (fmt_ftostr): Likewise.
6154 (compare_ulp_data): Likewise.
6155 (find_ulps): Likewise.
6156 (init_max_error): Likewise.
6157 (set_max_error): Likewise.
6158 (print_float): Likewise.
6159 (print_screen): Likewise.
6160 (print_screen_max_error): Likewise.
6161 (update_stats): Likewise.
6162 (print_function_ulps): Likewise.
6163 (print_complex_function_ulps): Likewise.
6164 (fpstack_test): Likewise.
6165 (print_max_error): Likewise.
6166 (print_complex_max_error): Likewise.
6167 (test_single_exception): Likewise.
6168 (test_exceptions): Likewise.
6169 (test_single_errno): Likewise.
6170 (test_errno): Likewise.
6171 (ULPDIFF): Likewise.
6172 (ulp): Likewise.
6173 (check_float_internal): Likewise.
6174 (check_float): Likewise.
6175 (check_complex): Likewise.
6176 (check_int): Likewise.
6177 (check_long): Likewise.
6178 (check_bool): Likewise.
6179 (check_longlong): Likewise.
6180 (check_intmax_t): Likewise.
6181 (check_uintmax_t): Likewise.
6182 (enable_test): Likewise.
6183 (struct test_f_f_data): Likewise.
6184 (struct test_ff_f_data): Likewise.
6185 (struct test_fj_f_data): Likewise.
6186 (struct test_fi_f_data): Likewise.
6187 (struct test_fl_f_data): Likewise.
6188 (struct test_if_f_data): Likewise.
6189 (struct test_fff_f_data): Likewise.
6190 (struct test_fiu_M_data): Likewise.
6191 (struct test_fiu_U_data): Likewise.
6192 (struct test_c_f_data): Likewise.
6193 (struct test_f_f1_data): Likewise.
6194 (struct test_fF_f1_data): Likewise.
6195 (struct test_ffI_f1_data): Likewise.
6196 (struct test_c_c_data): Likewise.
6197 (struct test_cc_c_data): Likewise.
6198 (struct test_f_i_data): Likewise.
6199 (struct test_ff_i_data): Likewise.
6200 (struct test_f_l_data): Likewise.
6201 (struct test_f_L_data): Likewise.
6202 (struct test_fFF_11_data): Likewise.
6203 (struct test_Ff_b1_data): Likewise.
6204 (IF_ROUND_INIT_): Likewise.
6205 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6206 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6207 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6208 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6209 (ROUND_RESTORE_): Likewise.
6210 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6211 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6212 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6213 (ROUND_RESTORE_FE_UPWARD): Likewise.
6214 (RM_): Likewise.
6215 (RM_FE_DOWNWARD): Likewise.
6216 (RM_FE_TONEAREST): Likewise.
6217 (RM_FE_TOWARDZERO): Likewise.
6218 (RM_FE_UPWARD): Likewise.
6219 (COMMON_TEST_SETUP): Likewise.
6220 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6221 (COMMON_TEST_CLEANUP): Likewise.
6222 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6223 (RUN_TEST_f_f): Likewise.
6224 (RUN_TEST_LOOP_f_f): Likewise.
6225 (RUN_TEST_fp_f): Likewise.
6226 (RUN_TEST_LOOP_fp_f): Likewise.
6227 (RUN_TEST_2_f): Likewise.
6228 (RUN_TEST_LOOP_2_f): Likewise.
6229 (RUN_TEST_ff_f): Likewise.
6230 (RUN_TEST_LOOP_ff_f): Likewise.
6231 (RUN_TEST_LOOP_fj_f): Likewise.
6232 (RUN_TEST_fi_f): Likewise.
6233 (RUN_TEST_LOOP_fi_f): Likewise.
6234 (RUN_TEST_fl_f): Likewise.
6235 (RUN_TEST_LOOP_fl_f): Likewise.
6236 (RUN_TEST_if_f): Likewise.
6237 (RUN_TEST_LOOP_if_f): Likewise.
6238 (RUN_TEST_fff_f): Likewise.
6239 (RUN_TEST_LOOP_fff_f): Likewise.
6240 (RUN_TEST_fiu_M): Likewise.
6241 (RUN_TEST_LOOP_fiu_M): Likewise.
6242 (RUN_TEST_fiu_U): Likewise.
6243 (RUN_TEST_LOOP_fiu_U): Likewise.
6244 (RUN_TEST_c_f): Likewise.
6245 (RUN_TEST_LOOP_c_f): Likewise.
6246 (RUN_TEST_f_f1): Likewise.
6247 (RUN_TEST_LOOP_f_f1): Likewise.
6248 (RUN_TEST_fF_f1): Likewise.
6249 (RUN_TEST_LOOP_fF_f1): Likewise.
6250 (RUN_TEST_fI_f1): Likewise.
6251 (RUN_TEST_LOOP_fI_f1): Likewise.
6252 (RUN_TEST_ffI_f1_mod8): Likewise.
6253 (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
6254 (RUN_TEST_Ff_b1): Likewise.
6255 (RUN_TEST_LOOP_Ff_b1): Likewise.
6256 (RUN_TEST_Ffp_b1): Likewise.
6257 (RUN_TEST_LOOP_Ffp_b1): Likewise.
6258 (RUN_TEST_c_c): Likewise.
6259 (RUN_TEST_LOOP_c_c): Likewise.
6260 (RUN_TEST_cc_c): Likewise.
6261 (RUN_TEST_LOOP_cc_c): Likewise.
6262 (RUN_TEST_f_i): Likewise.
6263 (RUN_TEST_LOOP_f_i): Likewise.
6264 (RUN_TEST_f_i_tg): Likewise.
6265 (RUN_TEST_LOOP_f_i_tg): Likewise.
6266 (RUN_TEST_ff_b): Likewise.
6267 (RUN_TEST_LOOP_ff_b): Likewise.
6268 (RUN_TEST_ff_i_tg): Likewise.
6269 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6270 (RUN_TEST_f_b): Likewise.
6271 (RUN_TEST_LOOP_f_b): Likewise.
6272 (RUN_TEST_f_b_tg): Likewise.
6273 (RUN_TEST_LOOP_f_b_tg): Likewise.
6274 (RUN_TEST_f_l): Likewise.
6275 (RUN_TEST_LOOP_f_l): Likewise.
6276 (RUN_TEST_f_L): Likewise.
6277 (RUN_TEST_LOOP_f_L): Likewise.
6278 (RUN_TEST_fFF_11): Likewise.
6279 (RUN_TEST_LOOP_fFF_11): Likewise.
6280 (VEC_SUFF): Likewise.
6281 (STR_CONCAT): Likewise.
6282 (STR_CON3): Likewise.
6283 (HAVE_VECTOR): Likewise.
6284 (START): Likewise.
6285 (END): Likewise.
6286 (END_COMPLEX): Likewise.
6287 (ALL_RM_TEST): Likewise.
6288 (matherr): Likewise.
6289 (initialize): Likewise.
6290 (options): Likewise.
6291 (doc): Likewise.
6292 (parse_opt): Likewise.
6293 (argp): Likewise.
6294 (check_ulp): Likewise.
6295 (main): Likewise.
6296 (do_test): New function. Call tests of individual functions
6297 previously called from main.
6298
6299 * math/libm-test.inc: Remove comment listing functions tested and
6300 not tested.
6301
6302 2016-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6303
6304 * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
6305 (allocate_stack): Remove COLORING_INCREMENT usage.
6306 * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
6307 * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
6308
6309 2017-02-06 Joseph Myers <joseph@codesourcery.com>
6310
6311 * manual/libm-err-tab.pl (@all_functions): Change to
6312 %all_functions. Initialize as empty.
6313 (parse_ulps): Add to %all_functions based on functions found in
6314 ulps files. Ignore results for non-default rounding modes and
6315 vector functions.
6316 (print_platforms): Use %all_platforms.
6317 * manual/math.texi (Errors in Math Functions): Document omissions
6318 from the table.
6319
6320 * math/Makefile (before-compile): Remove.
6321
6322 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6323
6324 [BZ #21075]
6325 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
6326 unused assignment.
6327 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6328
6329 2017-02-06 Stefan Liebler <stli@linux.vnet.ibm.com>
6330
6331 * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
6332 Add __glibc_unlikely hint.
6333
6334 2017-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6335
6336 [BZ #16640]
6337 * sysdeps/i386/i686/strtok.S: Remove file.
6338 * sysdeps/i386/i686/strtok_r.S: Likewise.
6339 * sysdeps/i386/strtok.S: Likewise.
6340 * sysdeps/i386/strtok_r.S: Likewise.
6341 * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
6342 * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
6343 * sysdeps/x86_64/strtok.S: Likewise.
6344 * sysdeps/x86_64/strtok_r.S: Likewise.
6345
6346 * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
6347 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
6348 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6349 (__ASSUME_FADVISE64_AS_64_64): Define.
6350 * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
6351 !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
6352 [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
6353 __ALIGNMENT_ARG usage.
6354 [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
6355 __NR_fadvise64_64 if it is not defined.
6356
6357 2017-02-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
6358
6359 * version.h (RELEASE): Set to "development"
6360 (VERSION): Set to 2.25.90.
6361 * NEWS: Add 2.26 section.
6362
6363 * version.h (RELEASE): Set to "stable"
6364 (VERSION): Set to 2.25.
6365 * include/features.h (__GLIBC_MINOR__): Set to 25.
6366
6367 * manual/contrib.texi: Add more contributors from this release
6368 and past releases.
6369
6370 * NEWS (2.25): Add list of bugs fixed.
6371
6372 * NEWS: Add missing news items.
6373
6374 2017-02-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
6375
6376 * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
6377 parent if child exited in that manner. Print WEXITSTATUS
6378 instead of the raw status.
6379 (do_test_prep): Rename to do_test.
6380 (do_test): Return the result of run_executable_sgid.
6381 (TEST_FUNCTION_ARGV): Adjust.
6382
6383 2017-02-03 Alexandre Oliva <aoliva@redhat.com>
6384 Florian Weimer <fweimer@redhat.com>
6385 Carlos O'Donell <carlos@redhat.com>
6386
6387 [BZ #20915]
6388 * elf/dl-reloc.c (_dl_nothread_init_static_tls):
6389 Do not initialize DTV.
6390 * nptl/allocatestack.c (init_one_static_tls): Likewise.
6391
6392 2017-02-03 David S. Miller <davem@davemloft.net>
6393
6394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
6395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
6397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
6399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
6401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6402 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
6403 (libm-sysdep_routines): Update.
6404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
6405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
6406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
6408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6409 * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
6410 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
6411 * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
6412 * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
6413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
6414 Likewise.
6415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
6417 Likewise.
6418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
6420 Likewise.
6421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
6423 Likewise.
6424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6426 (libm-sysdep_routines): Update.
6427
6428 2017-02-02 H.J. Lu <hongjiu.lu@intel.com>
6429
6430 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
6431 _dl_fatal_printf with _dl_error_printf for IFUNC relocation
6432 against unrelocated shared library.
6433 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6434
6435 2017-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
6436
6437 * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
6438 * elf/tst-env-setuid-tunables.c
6439 (test_child_tunables)[!HAVE_TUNABLES]: Verify that
6440 GLIBC_TUNABLES is removed in a setgid process.
6441
6442 [BZ #21073]
6443 * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
6444 * elf/dl-tunables.c (tunables_strdup): Remove.
6445 (get_next_env): Also return the previous envp.
6446 (parse_tunables): Erase tunables of category
6447 TUNABLES_SECLEVEL_SXID_ERASE.
6448 (maybe_enable_malloc_check): Make MALLOC_CHECK_
6449 TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
6450 (__tunables_init)[TUNABLES_FRONTEND ==
6451 TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
6452 after parsing.
6453 [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
6454 tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
6455 * elf/dl-tunables.h (struct _tunable): Change member is_secure
6456 to security_level.
6457 * elf/dl-tunables.list: Add security_level annotations for all
6458 tunables.
6459 * scripts/gen-tunables.awk: Recognize and generate enum values
6460 for security_level.
6461 * elf/tst-env-setuid.c: New test case.
6462 * elf/tst-env-setuid-tunables: new test case.
6463 * elf/Makefile (tests-static): Add them.
6464
6465 2017-02-01 Richard Henderson <rth@twiddle.net>
6466
6467 * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
6468 adjusting the byte count.
6469
6470 2017-02-01 Andreas Schwab <schwab@linux-m68k.org>
6471
6472 * conform/Makefile (linknamespace-libs): Define.
6473
6474 * sysdeps/m68k/m680x0/m68020/atomic-machine.h
6475 (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
6476 (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
6477 operands.
6478
6479 2017-01-31 Chung-Lin Tang <cltang@codesourcery.com>
6480
6481 * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
6482
6483 2017-01-30 H.J. Lu <hongjiu.lu@intel.com>
6484
6485 [BZ #21081]
6486 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6487 (L(stosb)): Add VZEROUPPER before ret.
6488
6489 2016-01-28 Carlos O'Donell <carlos@redhat.com>
6490 Alexey Makhalov <amakhalov@vmware.com>
6491 Florian Weimer <fweimer@redhat.com>
6492
6493 [BZ #20116]
6494 * nptl/pthread_create.c: Document concurrency notes.
6495 Enhance thread creation notes.
6496 (create_thread): Use bool *stopped_start.
6497 (START_THREAD_DEFN): Comment ownership of PD.
6498 (__pthread_create_2_1): Add local bool stopped_start and use
6499 that instead of pd->stopped_start where appropriate.
6500 * nptl/createthread.c (create_thread): Use bool *stopped_start.
6501 * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
6502 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
6503 * nptl/tst-create-detached.c: New file.
6504 * nptl/Makefile (tests): Add tst-create-detached.
6505 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
6506 Reference the enhanced thread creation notes.
6507 * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
6508 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
6509 * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
6510 (__pthread_current_priority): Likewise.
6511 * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
6512 xpthread_attr_init, xpthread_attr_setdetachstate, and
6513 xpthread_attr_setstacksize.
6514 * support/xpthread_attr_destroy.c: New file.
6515 * support/xpthread_attr_init.c: New file.
6516 * support/xpthread_attr_setdetachstate.c: New file.
6517 * support/xpthread_attr_setstacksize.c: New file.
6518 * support/xthread.h: Define prototypes for xpthread_attr_destroy
6519 xpthread_attr_init, xpthread_attr_setdetachstate, and
6520 xpthread_attr_setstacksize.
6521
6522 2017-01-27 Florian Weimer <fweimer@redhat.com>
6523
6524 * nptl/Makefile (tests): Add tst-robust-fork.
6525 * nptl/tst-robust-fork.c: New file.
6526 * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
6527 xpthread_mutex_consistent, xpthread_mutex_destroy,
6528 xpthread_mutex_init, xpthread_mutexattr_destroy,
6529 xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
6530 xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
6531 xpthread_mutexattr_settype.
6532 * support/xmmap.c: New file.
6533 * support/xmunmap.c: Likewise.
6534 * support/xpthread_mutex_consistent.c: Likewise.
6535 * support/xpthread_mutex_destroy.c: Likewise.
6536 * support/xpthread_mutex_init.c: Likewise.
6537 * support/xpthread_mutexattr_destroy.c: Likewise.
6538 * support/xpthread_mutexattr_init.c: Likewise.
6539 * support/xpthread_mutexattr_setprotocol.c: Likewise.
6540 * support/xpthread_mutexattr_setpshared.c: Likewise.
6541 * support/xpthread_mutexattr_setrobust.c: Likewise.
6542 * support/xpthread_mutexattr_settype.c: Likewise.
6543 * support/xthread.h (xpthread_mutexattr_destroy)
6544 (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
6545 (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
6546 (xpthread_mutexattr_settype, xpthread_mutex_init)
6547 (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
6548 * support/xunistd.h (xmmap, xmunmap): Likewise.
6549
6550 2017-01-25 Florian Weimer <fweimer@redhat.com>
6551
6552 * string/Makefile (xtests): Add comment.
6553 (LOCALES): Add en_GB.UTF-8.
6554 (tst-strcoll-overflow.out): Depend on generated locales.
6555 * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
6556 (SIZE, TIMEOUT): Update comments.
6557 (do_test): Define as static. Fail test if setlocale fails.
6558 Return EXIT_UNSUPPORTED if insufficient memory. Enhance output
6559 messages.
6560 (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
6561 TIMEOUT at 300 seconds should be enough to run this test
6562 successfully.
6563
6564 2017-01-24 Jakub Jelinek <jakub@redhat.com>
6565
6566 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
6567 /* FALLTHRU */ comments.
6568
6569 2017-01-24 James Clarke <jrtc27@jrtc27.com>
6570
6571 [BZ #21053]
6572 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
6573 constants instead of the old R* ones.
6574 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
6575 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
6576 (NGREG): ... to this, to fit in with other architectures.
6577 (gpregset_t): Use new NGREG macro.
6578 [__USE_GNU]: Remove condition; all architectures other than tile
6579 are unconditional.
6580 (R*): Rename to REG_R*.
6581
6582 2017-01-20 DJ Delorie <dj@redhat.com>
6583
6584 * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
6585 (tunable_set_val_if_valid_range_signed) ... this, and ...
6586 (tunable_set_val_if_valid_range_unsigned) ... this.
6587 (tunable_initialize): Call the correct one of the above based on type.
6588
6589 2017-01-20 Joseph Myers <joseph@codesourcery.com>
6590
6591 * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
6592 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6593 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6594 * sysdeps/microblaze/libm-test-ulps: Likewise.
6595 * sysdeps/sh/libm-test-ulps: Likewise.
6596
6597 * math/README.libm-test: Update list of characters for input and
6598 output types.
6599
6600 2017-01-20 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6601
6602 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6603 (__lll_unlock_elision): Fix adapt_count decrement.
6604
6605 2017-01-14 Martin Galvan <martingalvan@sourceware.org>
6606
6607 * README.pretty-printers (Known issues): Warn about printers not
6608 always covering everything.
6609 * nptl/nptl-printers.py (MutexPrinter): Change output.
6610 * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
6611
6612 2017-01-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6613
6614 * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
6615 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6616 * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
6617 (__lll_lock_elision): Do not test futex before starting a
6618 transaction. Use __glibc_likely instead of __builtin_expect.
6619 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
6620 (__lll_trylock_elision): Do not test futex before starting a
6621 transaction. Use __glibc_likely instead of __builtin_expect.
6622
6623 2017-01-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
6624
6625 * po/Makefile (update-translations): New target.
6626
6627 2017-01-19 Joseph Myers <joseph@codesourcery.com>
6628
6629 [BZ #21061]
6630 * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
6631
6632 2017-01-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
6633
6634 * elf/dl-tunables (get_next_env): Always advance envp.
6635 * stdlib/tst-empty-env.c: New test case.
6636 * stdlib/Makefile (tests): Use it.
6637
6638 2017-01-19 Joseph Myers <joseph@codesourcery.com>
6639
6640 [BZ #21047]
6641 * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
6642 name for instruction.
6643 [!__SOFTFP__] (_FPU_SETCW): Likewise.
6644
6645 2017-01-18 Joseph Myers <joseph@codesourcery.com>
6646
6647 * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
6648 for make install.
6649
6650 2017-01-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
6651
6652 * po/bg.po: Merge from Translation Project.
6653 * po/fr.po: Likewise.
6654 * po/ko.po: Likewise.
6655 * po/nl.po: Likewise.
6656 * po/sv.po: Likewise.
6657
6658 2017-01-18 Joseph Myers <joseph@codesourcery.com>
6659
6660 * manual/install.texi (Tools for Compilation): Update GCC version
6661 known to work to build glibc.
6662 * INSTALL: Regenerated.
6663
6664 2017-01-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6665
6666 [BZ #21006]
6667 * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
6668
6669 2017-01-16 Joseph Myers <joseph@codesourcery.com>
6670
6671 [BZ #21045]
6672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6673 (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
6674 to __sigprocmask.
6675
6676 2017-01-16 Chris Metcalf <cmetcalf@mellanox.com>
6677
6678 * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
6679 wrap-around.
6680 * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
6681
6682 * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
6683
6684 2016-01-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6685
6686 * NEWS: Fix typo.
6687
6688 2016-01-13 Torvald Riegel <triegel@redhat.com>
6689
6690 * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
6691 barriers and comments.
6692 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
6693 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6694 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6695
6696 2016-01-13 Torvald Riegel <triegel@redhat.com>
6697
6698 [BZ #19402]
6699 * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
6700 mutexes.
6701
6702 2016-01-13 Torvald Riegel <triegel@redhat.com>
6703
6704 [BZ #20985]
6705 * nptl/Makefile: Adapt.
6706 * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
6707 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
6708 * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
6709 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
6710 (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
6711 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
6712 lll_robust* functions and adapt.
6713 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6714 * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
6715 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
6716 __lll_robust_timedlock, __lll_robust_unlock): Remove.
6717 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
6718 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
6719 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
6720 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
6721 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
6722 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
6723 __lll_robust_timedlock, __lll_robust_unlock): Remove.
6724 * nptl/lowlevelrobustlock.c: Remove file.
6725 * nptl/lowlevelrobustlock.sym: Likewise.
6726 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
6727 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
6728
6729 2017-01-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6730
6731 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6732
6733 2017-01-12 Siddhesh Poyarekar <siddhesh@sourceware.org>
6734
6735 * po/cs.po: Merge translations from the Translation Project.
6736 * po/de.po: Likewise.
6737 * po/pl.po: Likewise.
6738 * po/ru.po: Likewise.
6739 * po/tr.po: Likewise.
6740 * po/uk.po: Likewise.
6741 * po/vi.po: Likewise.
6742 * po/zh_CN.po: Likewise.
6743
6744 2017-01-12 Joseph Myers <joseph@codesourcery.com>
6745
6746 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
6747
6748 * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
6749 object.
6750
6751 2017-01-11 Joseph Myers <joseph@codesourcery.com>
6752
6753 [BZ #16458]
6754 * bits/uintn-identity.h: New file.
6755 * inet/netinet/in.h: Include <bits/uintn-identity.h>.
6756 [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
6757 [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
6758 [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
6759 [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
6760 * string/endian.h: Include <bits/uintn-identity.h>.
6761 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
6762 __uint16_identity.
6763 [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
6764 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
6765 __uint32_identity.
6766 [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
6767 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
6768 __uint64_identity.
6769 [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
6770 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
6771 __uint16_identity.
6772 [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
6773 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
6774 __uint32_identity.
6775 [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
6776 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
6777 __uint64_identity.
6778 [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
6779 * string/Makefile (headers): Add bits/uintn-identity.h.
6780 (tests): Add test-endian-types.
6781 * string/test-endian-types.c: New file.
6782 * inet/Makefile (tests): Add test-hnto-types.
6783 * inet/test-hnto-types.c: New file.
6784
6785 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
6786
6787 * po/be.po: Update from Translation Project.
6788 * po/bg.po: Likewise.
6789 * po/ca.po: Likewise.
6790 * po/cs.po: Likewise.
6791 * po/da.po: Likewise.
6792 * po/de.po: Likewise.
6793 * po/el.po: Likewise.
6794 * po/eo.po: Likewise.
6795 * po/es.po: Likewise.
6796 * po/fi.po: Likewise.
6797 * po/fr.po: Likewise.
6798 * po/gl.po: Likewise.
6799 * po/hr.po: Likewise.
6800 * po/hu.po: Likewise.
6801 * po/ia.po: Likewise.
6802 * po/id.po: Likewise.
6803 * po/it.po: Likewise.
6804 * po/ja.po: Likewise.
6805 * po/ko.po: Likewise.
6806 * po/lt.po: Likewise.
6807 * po/nb.po: Likewise.
6808 * po/nl.po: Likewise.
6809 * po/pl.po: Likewise.
6810 * po/pt_BR.po: Likewise.
6811 * po/ru.po: Likewise.
6812 * po/rw.po: Likewise.
6813 * po/sk.po: Likewise.
6814 * po/sl.po: Likewise.
6815 * po/sv.po: Likewise.
6816 * po/tr.po: Likewise.
6817 * po/uk.po: Likewise.
6818 * po/vi.po: Likewise.
6819 * po/zh_CN.po: Likewise.
6820 * po/zh_TW.po: Likewise.
6821
6822 2017-01-11 Joseph Myers <joseph@codesourcery.com>
6823
6824 * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
6825 -Wformat-truncation instead of -Wformat-length.
6826 * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
6827 * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
6828 GCC 7.
6829 * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
6830 (do_test): Ignore -Wformat-truncation for GCC 7.
6831
6832 * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
6833 buffer used to print long int value.
6834
6835 * elf/sotruss-lib.c (init): Increase space allocated for pid by
6836 one byte. Print it with %ld, cast to long int.
6837
6838 2017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
6839
6840 * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
6841 (re.fullmatch, subprocess.run): Likewise.
6842
6843 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
6844
6845 * po/libc.pot: Regenerate.
6846
6847 2016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
6848
6849 * elf/dl-tunables.c (tunables_unsetenv): Remove function.
6850 (min_strlen): Likewise.
6851 (disable_tunable): Likewise.
6852 (maybe_disable_malloc_check): Rename to
6853 maybe_enable_malloc_check.
6854 (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
6855 if /etc/suid-debug file exists.
6856 (__tunables_init): Update caller.
6857 * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
6858 secure.
6859
6860 2016-01-10 Torvald Riegel <triegel@redhat.com>
6861
6862 * nptl/DESIGN-rwlock.txt: Remove.
6863 * nptl/lowlevelrwlock.sym: Remove.
6864 * nptl/Makefile: Add new tests.
6865 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
6866 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
6867 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
6868 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
6869 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
6870 PTHREAD_RWLOCK_FUTEX_USED): New.
6871 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
6872 implementation.
6873 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
6874 (__pthread_rwlock_rdlock): Adapt.
6875 * nptl/pthread_rwlock_timedrdlock.c
6876 (pthread_rwlock_timedrdlock): Adapt.
6877 * nptl/pthread_rwlock_timedwrlock.c
6878 (pthread_rwlock_timedwrlock): Adapt.
6879 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
6880 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
6881 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
6882 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
6883 (__pthread_rwlock_wrlock): Adapt.
6884 * nptl/tst-rwlock10.c: Adapt.
6885 * nptl/tst-rwlock11.c: Adapt.
6886 * nptl/tst-rwlock17.c: New file.
6887 * nptl/tst-rwlock18.c: New file.
6888 * nptl/tst-rwlock19.c: New file.
6889 * nptl/tst-rwlock2b.c: New file.
6890 * nptl/tst-rwlock8.c: Adapt.
6891 * nptl/tst-rwlock9.c: Adapt.
6892 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6893 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6894 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6895 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6896 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6897 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6898 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6899 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6900 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6901 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6902 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6903 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6904 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
6905 (pthread_rwlock_t): Adapt.
6906 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6907 (pthread_rwlock_t): Adapt.
6908 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6909 * nptl/nptl-printers.py (): Adapt.
6910 * nptl/nptl_lock_constants.pysym: Adapt.
6911 * nptl/test-rwlock-printers.py: Adapt.
6912 * nptl/test-rwlockattr-printers.c: Adapt.
6913 * nptl/test-rwlockattr-printers.py: Adapt.
6914
6915 2017-01-10 Joseph Myers <joseph@codesourcery.com>
6916
6917 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
6918 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
6919 (fma_test_data): Likewise.
6920 (hypot_test_data): Likewise.
6921 (log1p_test_data): Likewise.
6922 (modf_test_data): Likewise.
6923 (pow_test_data): Likewise.
6924 (remainder_test_data): Likewise.
6925 (remquo_test_data): Likewise.
6926 (scalb_test_data): Likewise.
6927 (scalbn_test_data): Likewise.
6928 (scalbln_test_data): Likewise.
6929 * math/gen-libm-test.pl (parse_args): Transform
6930 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
6931 on the rounding mode.
6932
6933 2017-01-09 Joseph Myers <joseph@codesourcery.com>
6934
6935 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
6936 xfail-rounding:ibm128-libgcc automatically to tests overflowing
6937 and those that can underflow to zero.
6938 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
6939 add others.
6940 * math/auto-libm-test-out: Regenerated.
6941
6942 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
6943 supported.
6944 (feholdexcept_tests): Skip tests requiring exceptions or rounding
6945 modes support if not supported.
6946
6947 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
6948 Add libc.so PLT entry.
6949 (__tls_get_addr): Make ld.so PLT entry optional.
6950
6951 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6952
6953 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
6954 * string/bits/string3.h: ... here.
6955
6956 2017-01-05 Joseph Myers <joseph@codesourcery.com>
6957
6958 [BZ #21028]
6959 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
6960 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
6961 if EXCEPTION_TESTS returns false.
6962
6963 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6964
6965 [BZ #20558]
6966 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
6967 strings_fortified.h.
6968 [__USE_MISC] (bzero): Likewise.
6969 [__USE_MISC] (explicit_bzero): Likewise.
6970 * string/strings.h: Include strings_fortified.h.
6971 * string/Makefile (headers): Add strings_fortified.h.
6972 * string/bits/strings_fortified.h: New file.
6973 * include/bits/strings_fortified.h: Likewise.
6974
6975 2017-01-05 Joseph Myers <joseph@codesourcery.com>
6976
6977 * elf/tst-tls13.c (TIMEOUT): Remove.
6978 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
6979 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
6980 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
6981 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
6982 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
6983
6984 [BZ #21026]
6985 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
6986 (readahead): New syscall entry.
6987
6988 2017-01-04 Joseph Myers <joseph@codesourcery.com>
6989
6990 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
6991 around tests of strncat with large sizes.
6992
6993 * malloc/tst-malloc.c: Include <libc-internal.h>.
6994 (do_test): Disable -Walloc-size-larger-than= around tests of
6995 malloc with negative sizes.
6996 * malloc/tst-mcheck.c: Include <libc-internal.h>.
6997 (do_test): Disable -Walloc-size-larger-than= around tests of
6998 malloc and realloc with negative sizes.
6999 * malloc/tst-realloc.c: Include <libc-internal.h>.
7000 (do_test): Disable -Walloc-size-larger-than= around tests of
7001 realloc with negative sizes.
7002
7003 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
7004 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
7005 allowed to 16 ulps.
7006 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
7007 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
7008 * math/auto-libm-test-out: Regenerated.
7009
7010 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7011
7012 * math/Makefile (libm-calls): Move wrappers...
7013 (libm-compat-call-auto): Here.
7014 (libm-routines): Add items in libm-compat-calls-auto.
7015 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
7016 the filenames of the wrappers that have been renamed.
7017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
7018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7019
7020 * math/w_acos.c: Add _compat suffix to filename.
7021 * math/w_acosf.c: Likewise.
7022 * math/w_acosh.c: Likewise.
7023 * math/w_acoshf.c: Likewise.
7024 * math/w_acoshl.c: Likewise.
7025 * math/w_acosl.c: Likewise.
7026 * math/w_asin.c: Likewise.
7027 * math/w_asinf.c: Likewise.
7028 * math/w_asinl.c: Likewise.
7029 * math/w_atan2.c: Likewise.
7030 * math/w_atan2f.c: Likewise.
7031 * math/w_atan2l.c: Likewise.
7032 * math/w_atanh.c: Likewise.
7033 * math/w_atanhf.c: Likewise.
7034 * math/w_atanhl.c: Likewise.
7035 * math/w_cosh.c: Likewise.
7036 * math/w_coshf.c: Likewise.
7037 * math/w_coshl.c: Likewise.
7038 * math/w_exp10.c: Likewise.
7039 * math/w_exp10f.c: Likewise.
7040 * math/w_exp10l.c: Likewise.
7041 * math/w_exp2.c: Likewise.
7042 * math/w_exp2f.c: Likewise.
7043 * math/w_exp2l.c: Likewise.
7044 * math/w_fmod.c: Likewise.
7045 * math/w_fmodf.c: Likewise.
7046 * math/w_fmodl.c: Likewise.
7047 * math/w_hypot.c: Likewise.
7048 * math/w_hypotf.c: Likewise.
7049 * math/w_hypotl.c: Likewise.
7050 * math/w_j0.c: Likewise.
7051 * math/w_j0f.c: Likewise.
7052 * math/w_j0l.c: Likewise.
7053 * math/w_j1.c: Likewise.
7054 * math/w_j1f.c: Likewise.
7055 * math/w_j1l.c: Likewise.
7056 * math/w_jn.c: Likewise.
7057 * math/w_jnf.c: Likewise.
7058 * math/w_jnl.c: Likewise.
7059 * math/w_log10.c: Likewise.
7060 * math/w_log10f.c: Likewise.
7061 * math/w_log10l.c: Likewise.
7062 * math/w_log2.c: Likewise.
7063 * math/w_log2f.c: Likewise.
7064 * math/w_log2l.c: Likewise.
7065 * math/w_log.c: Likewise.
7066 * math/w_logf.c: Likewise.
7067 * math/w_logl.c: Likewise.
7068 * math/w_pow.c: Likewise.
7069 * math/w_powf.c: Likewise.
7070 * math/w_powl.c: Likewise.
7071 * math/w_remainder.c: Likewise.
7072 * math/w_remainderf.c: Likewise.
7073 * math/w_remainderl.c: Likewise.
7074 * math/w_scalb.c: Likewise.
7075 * math/w_scalbf.c: Likewise.
7076 * math/w_scalbl.c: Likewise.
7077 * math/w_sinh.c: Likewise.
7078 * math/w_sinhf.c: Likewise.
7079 * math/w_sinhl.c: Likewise.
7080 * math/w_sqrt.c: Likewise.
7081 * math/w_sqrtf.c: Likewise.
7082 * math/w_sqrtl.c: Likewise.
7083 * math/w_tgamma.c: Likewise.
7084 * math/w_tgammaf.c: Likewise.
7085 * math/w_tgammal.c: Likewise.
7086
7087 * math/w_acos_compat.c: New file copied from above and
7088 adjusted for new #includes path
7089 * math/w_acosf_compat.c: Likewise.
7090 * math/w_acosh_compat.c: Likewise.
7091 * math/w_acoshf_compat.c: Likewise.
7092 * math/w_acoshl_compat.c: Likewise.
7093 * math/w_acosl_compat.c: Likewise.
7094 * math/w_asin_compat.c: Likewise.
7095 * math/w_asinf_compat.c: Likewise.
7096 * math/w_asinl_compat.c: Likewise.
7097 * math/w_atan2_compat.c: Likewise.
7098 * math/w_atan2f_compat.c: Likewise.
7099 * math/w_atan2l_compat.c: Likewise.
7100 * math/w_atanh_compat.c: Likewise.
7101 * math/w_atanhf_compat.c: Likewise.
7102 * math/w_atanhl_compat.c: Likewise.
7103 * math/w_cosh_compat.c: Likewise.
7104 * math/w_coshf_compat.c: Likewise.
7105 * math/w_coshl_compat.c: Likewise.
7106 * math/w_exp10_compat.c: Likewise.
7107 * math/w_exp10f_compat.c: Likewise.
7108 * math/w_exp10l_compat.c: Likewise.
7109 * math/w_exp2_compat.c: Likewise.
7110 * math/w_exp2f_compat.c: Likewise.
7111 * math/w_exp2l_compat.c: Likewise.
7112 * math/w_fmod_compat.c: Likewise.
7113 * math/w_fmodf_compat.c: Likewise.
7114 * math/w_fmodl_compat.c: Likewise.
7115 * math/w_hypot_compat.c: Likewise.
7116 * math/w_hypotf_compat.c: Likewise.
7117 * math/w_hypotl_compat.c: Likewise.
7118 * math/w_j0_compat.c: Likewise.
7119 * math/w_j0f_compat.c: Likewise.
7120 * math/w_j0l_compat.c: Likewise.
7121 * math/w_j1_compat.c: Likewise.
7122 * math/w_j1f_compat.c: Likewise.
7123 * math/w_j1l_compat.c: Likewise.
7124 * math/w_jn_compat.c: Likewise.
7125 * math/w_jnf_compat.c: Likewise.
7126 * math/w_jnl_compat.c: Likewise.
7127 * math/w_log10_compat.c: Likewise.
7128 * math/w_log10f_compat.c: Likewise.
7129 * math/w_log10l_compat.c: Likewise.
7130 * math/w_log2_compat.c: Likewise.
7131 * math/w_log2f_compat.c: Likewise.
7132 * math/w_log2l_compat.c: Likewise.
7133 * math/w_log_compat.c: Likewise.
7134 * math/w_logf_compat.c: Likewise.
7135 * math/w_logl_compat.c: Likewise.
7136 * math/w_pow_compat.c: Likewise.
7137 * math/w_powf_compat.c: Likewise.
7138 * math/w_powl_compat.c: Likewise.
7139 * math/w_remainder_compat.c: Likewise.
7140 * math/w_remainderf_compat.c: Likewise.
7141 * math/w_remainderl_compat.c: Likewise.
7142 * math/w_scalb_compat.c: Likewise.
7143 * math/w_scalbf_compat.c: Likewise.
7144 * math/w_scalbl_compat.c: Likewise.
7145 * math/w_sinh_compat.c: Likewise.
7146 * math/w_sinhf_compat.c: Likewise.
7147 * math/w_sinhl_compat.c: Likewise.
7148 * math/w_sqrt_compat.c: Likewise.
7149 * math/w_sqrtf_compat.c: Likewise.
7150 * math/w_sqrtl_compat.c: Likewise.
7151 * math/w_tgamma_compat.c: Likewise.
7152 * math/w_tgammaf_compat.c: Likewise.
7153 * math/w_tgammal_compat.c: Likewise.
7154
7155 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
7156 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
7157 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
7158 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
7159 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
7160 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
7161 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
7162 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
7163 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
7164 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
7165 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
7166 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
7167 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
7168 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
7169 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
7170 * sysdeps/ia64/fpu/w_powl.c: Likewise.
7171 * sysdeps/ia64/fpu/w_powf.c: Likewise.
7172 * sysdeps/ia64/fpu/w_pow.c: Likewise.
7173 * sysdeps/ia64/fpu/w_logl.c: Likewise.
7174 * sysdeps/ia64/fpu/w_logf.c: Likewise.
7175 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
7176 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
7177 * sysdeps/ia64/fpu/w_log2.c: Likewise.
7178 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
7179 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
7180 * sysdeps/ia64/fpu/w_log10.c: Likewise.
7181 * sysdeps/ia64/fpu/w_log.c: Likewise.
7182 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
7183 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
7184 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
7185 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
7186 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
7187 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
7188 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
7189 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
7190 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
7191 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
7192 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
7193 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
7194 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
7195 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
7196 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
7197 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
7198 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
7199 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
7200 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
7201 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
7202 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
7203 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
7204 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
7205 * sysdeps/ia64/fpu/w_asin.c: Likewise.
7206 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
7207 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
7208 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
7209 * sysdeps/ia64/fpu/w_acos.c: Likewise.
7210 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
7211 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
7212 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
7213 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
7214 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
7215 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
7216 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
7217 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
7218 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
7219 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
7220 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
7221 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
7222 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
7223 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
7224 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
7225 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
7226 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
7227 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
7228 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
7229 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
7230 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
7231 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
7232 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
7233 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
7234 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
7235 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
7236 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
7237 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
7238 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
7239 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
7240 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
7241 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
7242 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
7243 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
7244 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
7245 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
7246 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
7247 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
7248 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
7249 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
7250 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
7251 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
7252 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
7253 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
7254 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
7255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
7256 Likewise.
7257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
7258 Likewise.
7259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
7260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
7261 Likewise.
7262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
7263 Likewise.
7264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
7265 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7266 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7267 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7268 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7269 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7270 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
7272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
7274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7275 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7276 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7277 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7278 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7279
7280 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
7281 and adjusted for new #includes path
7282 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
7283 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
7284 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
7285 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
7286 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
7287 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
7288 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
7289 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
7290 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
7291 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
7292 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
7293 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
7294 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
7295 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
7296 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
7297 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
7298 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
7299 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
7300 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
7301 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
7302 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
7303 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
7304 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
7305 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
7306 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
7307 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
7308 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
7309 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
7310 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
7311 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
7312 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
7313 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
7314 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
7315 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
7316 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
7317 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
7318 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
7319 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
7320 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
7321 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
7322 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
7323 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
7324 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
7325 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
7326 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
7327 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
7328 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
7329 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
7330 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
7331 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
7332 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
7333 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
7334 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
7335 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
7336 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
7337 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
7338 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
7339 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
7340 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
7341 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
7342 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
7343 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
7344 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
7345 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
7346 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
7347 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
7348 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
7349 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
7350 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
7351 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
7352 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
7353 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
7354 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
7355 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
7356 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
7357 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
7358 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
7359 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
7360 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
7361 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
7362 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
7363 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
7364 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
7365 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
7366 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
7367 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
7368 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
7369 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
7370 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
7371 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
7372 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
7373 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
7374 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
7375 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
7376 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
7377 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
7378 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
7379 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
7380 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
7381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
7382 Likewise.
7383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
7384 Likewise.
7385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
7386 Likewise.
7387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
7388 Likewise.
7389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
7390 Likewise.
7391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
7392 Likewise.
7393 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
7394 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
7395 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
7396 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
7397 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
7398 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
7399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
7400 Likewise.
7401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
7402 Likewise.
7403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
7404 Likewise.
7405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
7406 Likewise.
7407 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
7408 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
7409 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
7410 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
7411
7412 2017-01-04 Joseph Myers <joseph@codesourcery.com>
7413
7414 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
7415 __jmp_buf_internal_tag.
7416
7417 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
7418 preserve NaN payload if [__mips_nan2008].
7419 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
7420
7421 [BZ #21022]
7422 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
7423
7424 2017-01-03 Joseph Myers <joseph@codesourcery.com>
7425
7426 * sysdeps/i386/fpu/libm-test-ulps: Update.
7427
7428 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7429
7430 * sysdeps/ia64/strcat.c: Remove file.
7431 * sysdeps/powerpc/strcat.c: Likewise.
7432 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
7433 C implementation.
7434 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
7435 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
7436
7437 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7438 Steven Munroe <sjmunroe@us.ibm.com>
7439 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7440
7441 [BZ #20822]
7442 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7443 (__lll_lock_elision): Access adapt_count via C11 atomics.
7444 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7445 (__lll_trylock_elision): Likewise.
7446 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7447 (__lll_unlock_elision): Update adapt_count variable inside the
7448 critical section using C11 atomics.
7449
7450 2017-01-03 Joseph Myers <joseph@codesourcery.com>
7451
7452 * math/test-fenvinline.c (do_test): Disable tests of raised
7453 exceptions if !EXCEPTION_TESTS (FLOAT).
7454
7455 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7456
7457 [BZ #19390]
7458 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
7459 maximum string size.
7460 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
7461 in pointer addition.
7462 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
7463 Likewise.
7464
7465 2017-01-03 Joseph Myers <joseph@codesourcery.com>
7466
7467 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
7468 passed to tst-ldconfig-X.sh.
7469
7470 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
7471
7472 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
7473
7474 2017-01-02 Joseph Myers <joseph@codesourcery.com>
7475
7476 [BZ #21019]
7477 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
7478 New syscall entry.
7479 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
7480 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
7481 lseek.
7482
7483 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7484 power4 glibc for powerpc-linux-gnu.
7485
7486 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7487
7488 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
7489 semctl.
7490
7491 2017-01-02 Joseph Myers <joseph@codesourcery.com>
7492
7493 * math/test-nearbyint-except.c: Include <stdbool.h>.
7494 (any_supported): New variable.
7495 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
7496 set any_supported.
7497 (do_test): Return 77 if no floating-point type supported
7498 exceptions.
7499
7500 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
7501 condition on [__mips_hard_float].
7502
7503 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7504
7505 [BZ #21014]
7506 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
7507 in pointer addition.
7508 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
7509
7510 2017-01-02 Torvald Riegel <triegel@redhat.com>
7511
7512 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
7513 new condvar.
7514
7515 2017-01-02 Joseph Myers <joseph@codesourcery.com>
7516
7517 * scripts/build-many-glibcs.py (Context.checkout): Default
7518 binutils version to 2.28 branch.
7519
7520 2017-01-01 Florian Weimer <fweimer@redhat.com>
7521
7522 * support/support_format_netent.c (support_format_netent): Work
7523 around alpha struct netent definition difference.
7524
7525 2017-01-01 Florian Weimer <fweimer@redhat.com>
7526
7527 * support/xwrite.c (xwrite): Use %td for pointer difference.
7528
7529 2017-01-01 Florian Weimer <fweimer@redhat.com>
7530
7531 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
7532 have-tunables only.
7533 (tests-static): Add tst-malloc-usable-static-tunables for
7534 have-tunables only.
7535
7536 2017-01-01 Joseph Myers <joseph@codesourcery.com>
7537
7538 * scripts/config.guess: Update to version 2017-01-01.
7539 * scripts/config.sub: Update to version 2017-01-01.
7540
7541 * NEWS: Update copyright dates.
7542 * catgets/gencat.c (print_version): Likewise.
7543 * csu/version.c (banner): Likewise.
7544 * debug/catchsegv.sh: Likewise.
7545 * debug/pcprofiledump.c (print_version): Likewise.
7546 * debug/xtrace.sh (do_version): Likewise.
7547 * elf/ldconfig.c (print_version): Likewise.
7548 * elf/ldd.bash.in: Likewise.
7549 * elf/pldd.c (print_version): Likewise.
7550 * elf/sotruss.sh: Likewise.
7551 * elf/sprof.c (print_version): Likewise.
7552 * iconv/iconv_prog.c (print_version): Likewise.
7553 * iconv/iconvconfig.c (print_version): Likewise.
7554 * locale/programs/locale.c (print_version): Likewise.
7555 * locale/programs/localedef.c (print_version): Likewise.
7556 * login/programs/pt_chown.c (print_version): Likewise.
7557 * malloc/memusage.sh (do_version): Likewise.
7558 * malloc/memusagestat.c (print_version): Likewise.
7559 * malloc/mtrace.pl: Likewise.
7560 * manual/libc.texinfo: Likewise.
7561 * nptl/version.c (banner): Likewise.
7562 * nscd/nscd.c (print_version): Likewise.
7563 * nss/getent.c (print_version): Likewise.
7564 * nss/makedb.c (print_version): Likewise.
7565 * posix/getconf.c (main): Likewise.
7566 * scripts/test-installation.pl: Likewise.
7567 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7568
7569 * All files with FSF copyright notices: Update copyright dates
7570 using scripts/update-copyrights.
7571 * intl/plural.c: Regenerated.
7572 * locale/programs/charmap-kw.h: Likewise.
7573 * locale/programs/locfile-kw.h: Likewise.
7574
7575 2016-12-31 Florian Weimer <fweimer@redhat.com>
7576
7577 [BZ #20593]
7578 Update DNS RR type definitions.
7579 * scripts/gen-rrtypes.py: New file.
7580 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
7581 BIND-internal RR type not used on the Internet. Add ns_t_ds,
7582 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
7583 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
7584 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
7585 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
7586 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
7587 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
7588 ns_t_ta, ns_t_dlv.
7589 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
7590 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
7591 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
7592 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
7593 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
7594 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
7595 Define.
7596 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
7597 entry for ns_t_zxfr.
7598
7599 2016-12-31 Florian Weimer <fweimer@redhat.com>
7600
7601 [BZ #18784]
7602 CVE-2015-5180
7603 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
7604 T_UNSPEC. Adjust value.
7605 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
7606 * resolv/res_query.c (__libc_res_nquery): Likewise.
7607 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
7608 QTYPEs.
7609 * resolv/tst-resolv-qtypes.c: New file.
7610 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
7611 (tst-resolv-qtypes): Link against libresolv and libpthread.
7612
7613 2016-12-31 Florian Weimer <fweimer@redhat.com>
7614
7615 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
7616
7617 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
7618
7619 * manual/tunables.texi: New chapter.
7620 * manual/Makefile (chapters): Add it.
7621 * manual/probes.texi (@node): Point to the Tunables chapter.
7622
7623 * Makeconfig (have-tunables): Check for non-negative instead
7624 of positive.
7625 * configure.ac: Add 'valstring' as a valid value for
7626 --enable-tunables.
7627 * configure: Regenerate.
7628 * elf/Makefile (have-tunables): Check for non-negative instead
7629 of positive.
7630 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
7631 dl-tunables.c.
7632 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
7633 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
7634 (tunables_strdup): Likewise.
7635 (disable_tunables): Likewise.
7636 (parse_tunables): Likewise.
7637 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
7638 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
7639 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
7640 (TUNABLES_FRONTEND_yes): New macro, define as
7641 TUNABLES_FRONTEND_valstring by default.
7642 * manual/install.texi: Document new acceptable values for
7643 --enable-tunables.
7644 * INSTALL: Regenerate.
7645
7646 * config.make.in (have-loop-to-function): Define.
7647 * elf/Makefile (CFLAGS-dl-tunables.c): Add
7648 -fno-tree-loop-distribute-patterns.
7649 * elf/dl-tunables.c: Include libc-internals.h.
7650 (GLIBC_TUNABLES): New macro.
7651 (tunables_strdup): New function.
7652 (parse_tunables): New function.
7653 (min_strlen): New function.
7654 (__tunables_init): Use the new functions and macro.
7655 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
7656 * malloc/tst-malloc-usable-tunables.c: New test case.
7657 * malloc/tst-malloc-usable-static-tunables.c: New test case.
7658 * malloc/Makefile (tests, tests-static): Add tests.
7659
7660 * manual/install.texi: Add --enable-tunables option.
7661 * INSTALL: Regenerate.
7662 * README.tunables: New file.
7663 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
7664 (before-compile): Generate dl-tunable-list.h early.
7665 * config.h.in: Add HAVE_TUNABLES.
7666 * config.make.in: Add have-tunables.
7667 * configure.ac: Add --enable-tunables option.
7668 * configure: Regenerate.
7669 * csu/init-first.c (__libc_init_first): Move
7670 __libc_init_secure earlier...
7671 * csu/init-first.c (LIBC_START_MAIN):... to here.
7672 Include dl-tunables.h, libc-internal.h.
7673 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
7674 binaries.
7675 * elf/Makefile (dl-routines): Add dl-tunables.
7676 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
7677 namespace.
7678 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
7679 only when !HAVE_TUNABLES.
7680 * elf/rtld.c (process_envvars): Likewise.
7681 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
7682 (_dl_sysdep_start): Call __tunables_init.
7683 * elf/dl-tunable-types.h: New file.
7684 * elf/dl-tunables.c: New file.
7685 * elf/dl-tunables.h: New file.
7686 * elf/dl-tunables.list: New file.
7687 * malloc/tst-malloc-usable-static.c: New test case.
7688 * malloc/Makefile (tests-static): Add it.
7689 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
7690 Define TUNABLE_NAMESPACE.
7691 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
7692 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
7693 callback functions.
7694 (ptmalloc_init): Set tunable values.
7695 * scripts/gen-tunables.awk: New file.
7696 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
7697 (_dl_sysdep_start): Call __tunables_init.
7698
7699 2016-12-31 Florian Weimer <fweimer@redhat.com>
7700
7701 * resolv/resolv.h (RES_BLAST): Deprecate.
7702 * resolv/res_debug.c (p_option): Remove RES_BLAST.
7703 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
7704 to RES_BLAST.
7705
7706 2016-12-27 Florian Weimer <fweimer@redhat.com>
7707
7708 [BZ #19582]
7709 Deprecate RES_USE_INET6.
7710 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
7711 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
7712 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
7713 RES_USE_INET6.
7714 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
7715 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
7716 (_nss_nisplus_gethostbyaddr_r): Likewise.
7717 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
7718 of res_use_inet6.
7719 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
7720 instead of RES_USE_INET6.
7721 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
7722 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
7723 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
7724 Likewise.
7725 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
7726 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
7727 Likewise.
7728 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
7729 (_nss_dns_gethostbyname_r): Likewise.
7730 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
7731 alternate RES_USE_INET6 handling.
7732 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
7733 instead of RES_USE_INET6.
7734 * resolv/res_init.c (res_setoptions): Likewise.
7735 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
7736 * resolv/resolv-internal.h: New file.
7737 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
7738 make the deprecation warning non-fatal.
7739 * resolv/README (Using the resolver in multi-threaded code): Drop
7740 reference to RES_USE_INET6.
7741 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
7742 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
7743
7744 2016-12-31 Florian Weimer <fweimer@redhat.com>
7745
7746 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
7747 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
7748 tst-resolv-search.
7749 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
7750 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
7751 with libresolv and libpthread.
7752 * resolv/tst-bug18665.c: New file.
7753 * resolv/tst-bug18665-tcp: Likewise.
7754 * resolv/tst-res_use_inet6: Likewise.
7755 * resolv/tst-resolv-basic: Likewise.
7756 * resolv/tst-resolv-network: Likewise.
7757 * resolv/tst-resolv-search: Likewise.
7758 * support/Makefile (libsupport-routines): Add check_addrinfo,
7759 check_dns_packet, check_hostent, check_netent, resolv_test,
7760 support_format_address_family, support_format_addrinfo,
7761 support_format_dns_packet, support_format_herrno,
7762 support_format_hostent, support_format_netent, support_run_diff,
7763 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
7764 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
7765 xstrdup, xwrite.
7766 * support/check_addrinfo.c: New file.
7767 * support/check_dns_packet.c: Likewise.
7768 * support/check_hostent.c: Likewise.
7769 * support/check_netent.c: Likewise.
7770 * support/check_nss.h: Likewise.
7771 * support/format_nss.h: Likewise.
7772 * support/resolv_test.c: Likewise.
7773 * support/resolv_test.h: Likewise.
7774 * support/run_diff.h: Likewise.
7775 * support/support_format_address_family.c: Likewise.
7776 * support/support_format_addrinfo.c: Likewise.
7777 * support/support_format_dns_packet.c: Likewise.
7778 * support/support_format_herrno.c: Likewise.
7779 * support/support_format_hostent.c: Likewise.
7780 * support/support_format_netent.c: Likewise.
7781 * support/support_run_diff.c: Likewise.
7782 * support/xaccept.c: Likewise.
7783 * support/xbind.c: Likewise.
7784 * support/xconnect.c: Likewise.
7785 * support/xfclose.c: Likewise.
7786 * support/xfopen.c: Likewise.
7787 * support/xgetsockname.c: Likewise.
7788 * support/xlisten.c: Likewise.
7789 * support/xmemstream.c: Likewise.
7790 * support/xmemstream.h: Likewise.
7791 * support/xpoll.c: Likewise.
7792 * support/xpthread_once.c: Likewise.
7793 * support/xrecvfrom.c: Likewise.
7794 * support/xsendto.c: Likewise.
7795 * support/xsetsockopt.c: Likewise.
7796 * support/xstdio.h: Likewise.
7797 * support/xstrdup.c: Likewise.
7798 * support/support.h (xstrdup): Declare.
7799 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
7800 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
7801 * support/xthread.h (xpthread_once): Likwise.
7802 * support/xunistd.h (xwrite): Declare.
7803
7804 2016-12-31 Florian Weimer <fweimer@redhat.com>
7805
7806 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
7807 (test_verbose): Declare.
7808 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
7809 * support/support_test_main.c (default_options): Likewise.
7810 (usage, support_test_main): Handle 'v'.
7811 (test_verbose): Define.
7812 * support/tst-support_record_failure.c (do_test): Use
7813 test_verbose.
7814 * support/tst-support_record_failure-2.sh (different_status): Add
7815 --verbose test.
7816
7817 2016-12-31 Florian Weimer <fweimer@redhat.com>
7818
7819 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
7820 test failures are recorded.
7821 * support/check.c (support_print_failure_impl): Call
7822 support_record_failure.
7823 (support_exit_failure_impl): Call support_record_failure if status
7824 indicates failure.
7825 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
7826 * support/xasprintf.c (xasprintf): Likewise.
7827 * support/xfork.c (xfork): Likewise.
7828 * support/xpthread_check_return.c (xpthread_check_return):
7829 Likewise.
7830 * support/xsocket.c (xsocket): Likeweise.
7831 * support/xwaitpid.c (xwaitpid): Likewise.
7832 * support/support_record_failure.c (struct test_failures): Adjust
7833 to coding style.
7834 * support/support_test_verify_impl.c (support_test_verify_impl):
7835 Adjust error messages.
7836 * support/tst-support_record_failure-2.sh (different_status):
7837 Adjust error messages.
7838
7839 2016-12-31 Florian Weimer <fweimer@redhat.com>
7840
7841 * support/namespace.h: New file.
7842 * support/support_become_root.c: Likewise.
7843 * support/support_enter_network_namespace.c: Likewise.
7844 * support/tst-support-namespace.c: Likewise.
7845 * support/xsocket.c: Likewise.
7846 * support/xsocket.h: Likewise.
7847 * support/Makefile (libsupport-routines): Add support_become_root,
7848 support_enter_network_namespace, xsocket.
7849 (tests): Add tst-support-namespace.
7850
7851 2016-12-31 Florian Weimer <fweimer@redhat.com>
7852
7853 [BZ #17252]
7854 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
7855 __USE_GNU.
7856
7857 2016-12-31 Torvald Riegel <triegel@redhat.com>
7858
7859 [BZ #13165]
7860 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
7861 use new algorithm.
7862 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
7863 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
7864 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
7865 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7866 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
7867 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
7868 __condvar_cleanup_waiting, __condvar_dec_grefs,
7869 __pthread_cond_wait_common): New.
7870 (__condvar_cleanup): Remove.
7871 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
7872 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
7873 Likewise.
7874 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
7875 Likewise.
7876 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
7877 * nptl/tst-cond1.c: Add comment.
7878 * nptl/tst-cond20.c (do_test): Adapt.
7879 * nptl/tst-cond22.c (do_test): Likewise.
7880 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
7881 structure.
7882 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7883 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7884 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7885 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
7886 Likewise.
7887 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7888 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7889 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7890 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7891 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7892 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
7893 Likewise.
7894 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
7895 Likewise.
7896 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7897 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
7898 (COND_CLOCK_BITS): Adapt.
7899 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
7900 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
7901 __PTHREAD_COND_SHARED_MASK): New.
7902 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
7903 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
7904 * nptl/nptl_lock_constants.pysym: Adapt.
7905 * nptl/test-cond-printers.py: Adapt.
7906 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
7907 cond_compat_check_and_clear): Adapt.
7908 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
7909 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
7910 (__pthread_cond_timedwait): ... and move here.
7911 * nptl/DESIGN-condvar.txt: Remove file.
7912 * nptl/lowlevelcond.sym: Likewise.
7913 * nptl/pthread_cond_timedwait.c: Likewise.
7914 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
7915 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
7916 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
7917 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
7918 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
7919 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
7920 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
7921 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
7922 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
7923 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
7924 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
7925 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
7926 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
7927 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
7928 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
7929 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
7930
7931 2016-12-31 Joseph Myers <joseph@codesourcery.com>
7932
7933 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7934 (fromfp): New declaration.
7935 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
7936 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
7937 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
7938 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
7939 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
7940 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
7941 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
7942 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
7943 * math/math.h: Include <bits/types.h>.
7944 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
7945 constant and macro.
7946 (FP_INT_DOWNWARD): Likewise.
7947 (FP_INT_TOWARDZERO): Likewise.
7948 (FP_INT_TONEARESTFROMZERO): Likewise.
7949 (FP_INT_TONEAREST): Likewise.
7950 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
7951 (fromfpf): Likewise.
7952 (fromfpl): Likewise.
7953 (ufromfp): Likewise.
7954 (ufromfpf): Likewise.
7955 (ufromfpl): Likewise.
7956 (fromfpx): Likewise.
7957 (fromfpxf): Likewise.
7958 (fromfpxl): Likewise.
7959 (ufromfpx): Likewise.
7960 (ufromfpxf): Likewise.
7961 (ufromfpxl): Likewise.
7962 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
7963 s_fromfpxF and s_ufromfpxF.
7964 * math/gen-fromfp-tests.py: New file.
7965 * math/gen-fromfp-tests-inputs: Likewise.
7966 * math/libm-test.inc: Include <stdint.h>
7967 (check_intmax_t): New function.
7968 (check_uintmax_t): Likewise.
7969 (struct test_fiu_M_data): New type.
7970 (struct test_fiu_U_data): Likewise.
7971 (RUN_TEST_fiu_M): New macro.
7972 (RUN_TEST_LOOP_fiu_M): Likewise.
7973 (RUN_TEST_fiu_U): Likewise.
7974 (RUN_TEST_LOOP_fiu_U): Likewise.
7975 (fromfp_test_data): New array.
7976 (fromfp_test): New function.
7977 (fromfpx_test_data): New array.
7978 (fromfpx_test): New function.
7979 (ufromfp_test_data): New array.
7980 (ufromfp_test): New function.
7981 (ufromfpx_test_data): New array.
7982 (ufromfpx_test): New function.
7983 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
7984 ufromfpx_test.
7985 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
7986 characters.
7987 * math/test-tgmath-ret.c: Include <stdint.h>.
7988 (rm): New variable.
7989 (width): Likewise.
7990 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
7991 called function.
7992 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
7993 CHECK_RET_CONST_TYPE.
7994 (CHECK_RET_CONST_DOUBLE): Likewise.
7995 (CHECK_RET_CONST_LDOUBLE): Likewise.
7996 (CHECK_RET_CONST): Take extra arguments and pass them to calls
7997 macros.
7998 (fromfp): New CHECK_RET_CONST call.
7999 (ufromfp): Likewise.
8000 (fromfpx): Likewise.
8001 (ufromfpx): Likewise.
8002 (do_test): Call check_return_fromfp, check_return_ufromfp,
8003 check_return_fromfpx and check_return_ufromfpx.
8004 * math/test-tgmath.c: Include <stdint.h>
8005 (NCALLS): Increase to 138.
8006 (F(compile_test)): Initialize i. Call fromfp functions.
8007 (F(fromfp)): New function.
8008 (F(fromfpx)): Likewise.
8009 (F(ufromfp)): Likewise.
8010 (F(ufromfpx)): Likewise.
8011 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
8012 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
8013 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
8014 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
8015 ufromfpxl.
8016 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
8017 ufromfp and ufromfpx.
8018 * math/fromfp.h: New file.
8019 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
8020 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
8021 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
8022 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
8023 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
8024 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
8025 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
8026 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
8027 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
8028 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
8029 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
8030 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
8031 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
8032 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
8033 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
8034 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
8035 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
8036 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
8037 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
8038 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
8039 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
8040 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
8041 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
8042 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
8043 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
8044 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
8045 ufromfp, fromfpx and ufromfpx.
8046 (CFLAGS-nldbl-fromfp.c): New variable.
8047 (CFLAGS-nldbl-fromfpx.c): Likewise.
8048 (CFLAGS-nldbl-ufromfp.c): Likewise.
8049 (CFLAGS-nldbl-ufromfpx.c): Likewise.
8050 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
8051 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
8052 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
8053 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
8054 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
8055 * sysdeps/nacl/libm.abilist: Update.
8056 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8057 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8058 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8059 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8060 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8061 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8062 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8063 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8064 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8065 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8066 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8067 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8069 Likewise.
8070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8071 Likewise.
8072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8073 Likewise.
8074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8075 Likewise.
8076 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8077 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8078 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8079 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8080 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8082 Likewise.
8083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8084 Likewise.
8085 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8086 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8087 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8088
8089 2016-12-30 Florian Weimer <fweimer@redhat.com>
8090
8091 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
8092 compat-gethnamaddr.
8093 (CPPFLAGS): Remove.
8094 * resolv/gethnamaddr.c: Rename ...
8095 * resolv/compat-gethnamaddr.c: ... to this file.
8096 (_endhtent): Make static.
8097 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
8098 symbol.
8099 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
8100 compat symbol.
8101 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
8102 symbol.
8103 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
8104 Turn into compat symbol.
8105 * include/resolv.h (_endhtent): Remove declaration.
8106
8107 2016-12-30 Joseph Myers <joseph@codesourcery.com>
8108
8109 * bits/types.h (__intmax_t): New typedef.
8110 (__uintmax_t): Likewise.
8111 * sysdeps/generic/stdint.h: Include <bits/types.h>.
8112 (intmax_t): Define using __intmax_t.
8113 (uintmax_t): Define using __uintmax_t.
8114
8115 * support/Makefile (tests-special): Make definition conditional on
8116 [$(run-built-tests) = yes].
8117 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
8118 on [$(run-built-tests) = yes].
8119
8120 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
8121
8122 * Rules (tests): Add tests-printers-programs to tests to be
8123 built.
8124
8125 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8126
8127 * sysvipc/Makefile (tests): Add test-sysvshm.
8128 * sysvipc/test-sysvshm.c: New file.
8129
8130 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
8131 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
8132 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
8133 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
8134 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
8135 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
8136 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
8137 Likewise.
8138 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
8139 Likewise.
8140 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
8141 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
8142 is defined.
8143
8144 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
8145 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
8146 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
8147 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
8148 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
8149 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
8150 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
8151 Likewise.
8152 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
8153 Likewise.
8154 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
8155 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
8156 defined.
8157
8158 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
8159 oldshmctl.
8160 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
8161 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
8162 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
8163 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
8164 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
8165 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
8166 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
8167 Likewise.
8168 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
8169 Likewise.
8170 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
8171 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
8172 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
8173 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
8174 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
8175 implementation.
8176 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
8177 if it is defined.
8178
8179 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
8180 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
8181 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
8182 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
8183 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
8184 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
8185 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
8186 Likewise.
8187 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
8188 Likewise.
8189 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
8190 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
8191 Define to __NR_osf_shmat.
8192 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
8193 defined.
8194
8195 * sysvipc/Makefile (tests): Add test-sysvsem.
8196 * sysvipc/test-sysvsem.c: New file.
8197
8198 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
8199 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
8200 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
8201 Likewise.
8202 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
8203 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
8204 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
8205 Likewise.
8206 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
8207 Likewise.
8208 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
8209 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
8210 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
8211 add a comment about s390 syscall difference from default one.
8212 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
8213 syscall if it is defined.
8214
8215 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
8216 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
8217 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
8218 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
8219 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
8220 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
8221 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
8222 Likewise.
8223 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
8224 Likewise.
8225 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
8226 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
8227 defined.
8228
8229 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
8230 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
8231 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
8232 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
8233 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
8234 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
8235 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
8236 Likewise.
8237 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
8238 Likewise.
8239 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
8240 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
8241 if it is defined.
8242
8243 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
8244 oldsemctl.
8245 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
8246 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
8247 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
8248 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
8249 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
8250 implementation.
8251 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
8252 syscall if it is defined.
8253 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
8254 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
8255 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
8256 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
8257 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
8258 Likewise.
8259 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
8260
8261 * sysvipc/Makefile (tests): Add test-sysvmsg.
8262 * sysvipc/test-sysvmsg.c: New file.
8263 * support/check.h (FAIL_UNSUPPORTED): New define.
8264
8265 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
8266 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
8267 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
8268 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
8269 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
8270 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
8271 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
8272 Likewise.
8273 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
8274 Likewise.
8275 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
8276 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
8277 define.
8278
8279 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
8280 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
8281 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
8282 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
8283 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
8284 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
8285 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
8286 Likewise.
8287 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
8288 Likewise.
8289 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
8290 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
8291 if defined.
8292
8293 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
8294 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
8295 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
8296 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
8297 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
8298 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
8299 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
8300 Likewise.
8301 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
8302 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
8303 Likewise.
8304 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
8305 if defined.
8306 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
8307
8308 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
8309 oldmsgctl.
8310 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
8311 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
8312 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
8313 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
8314 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
8315 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
8316 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
8317 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
8318 Likewise.
8319 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
8320 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
8321 implementation.
8322 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
8323 if defined.
8324
8325 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
8326 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
8327 definition and define its own.
8328 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
8329 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
8330 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
8331 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
8332 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
8333 definitions to common header.
8334 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
8335 operation from ipc_ops.h.
8336
8337 * sysdeps/unix/sysv/linux/kernel-features.h
8338 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
8339 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8340 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
8341 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8342 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8343 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8344 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8345 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8346 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8347 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8348 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8349 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8350 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8351 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8352 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8353
8354 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8355
8356 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
8357 overflow in pointer addition.
8358
8359 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8360
8361 * sysdeps/powerpc/powerpc64/multiarch/Makefile
8362 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
8363 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8364 (strchr): Add __strchr_power8 to list of strchr functions.
8365 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
8366 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
8367 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
8368 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
8369 (strchr): Add __strchr_power8 to ifunc list.
8370 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
8371 (__strchrnul): Add __strchrnul_power8 to ifunc list.
8372 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
8373 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
8374
8375 2016-12-28 Florian Weimer <fweimer@redhat.com>
8376
8377 * support/Makefile (libsupport-routines): Add
8378 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
8379 (tests): Add tst-support_record_failure.
8380 (tests-special): tst-support_record_failure-2.
8381 (tst-support_record_failure-2.out): Depend on
8382 tst-support_record_failure-2.sh and tst-support_record_failure.
8383 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
8384 (support_test_verify_impl, support_record_failure)
8385 (support_report_failure, support_report_failure_reset): Declare.
8386 * support/support_test_main.c (adjust_exit_status): New function.
8387 (support_test_main): Call it to incorporate record test failures.
8388 * support/support_test_verify_impl.c: New file.
8389 * support/support_record_failure.c: Likewise.
8390 * support/tst-support_record_failure.c: Likewise.
8391 * support/tst-support_record_failure-2.sh: Likewise.
8392 * support/xunistd.h: Likewise.
8393 * support/xfork.c: Likewise.
8394 * support/xwaitpid.c: Likewise.
8395
8396 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
8397
8398 * scripts/check-c++-types.sh: Add comments.
8399
8400 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
8401
8402 [BZ #19514]
8403 * resolv/res_send.c: Fix typo in comment.
8404 * sysdeps/i386/i386-mcount.S: Likewise.
8405 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8406 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8407 * sysdeps/sparc/sparc-mcount.S: Likewise.
8408
8409 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8410
8411 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
8412 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
8413 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
8414 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
8415 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
8416 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
8417 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
8418 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
8419
8420 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8421
8422 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
8423
8424 2016-12-27 Florian Weimer <fweimer@redhat.com>
8425
8426 [BZ #17252]
8427 * posix/unistd.h (getentropy): Declare.
8428
8429 2016-12-27 Florian Weimer <fweimer@redhat.com>
8430
8431 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
8432 Remove.
8433 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
8434 (cmd): Remove spoof, nospoof, spoofalert.
8435 (parse_line): Ignore spoof-related lines.
8436 (do_init): Do not process RESOLV_SPOOF_CHECK.
8437
8438 2016-12-27 Florian Weimer <fweimer@redhat.com>
8439
8440 [BZ #20964]
8441 sunrpc: Always obtain AF_INET addresses from NSS.
8442 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
8443 * sunrpc/rpc_gethostbyname.c: New file.
8444 * sunrpc/Makefile (routines): Add it.
8445 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
8446 * sunrpc/clnt_simp.c (callrpc): Likewise.
8447 * sunrpc/getrpcport.c (getrpcport): Likewise.
8448
8449 2016-12-27 Florian Weimer <fweimer@redhat.com>
8450
8451 * sunrpc/rpcinfo.c: Remove.
8452 * sunrpc/Makefile: Remove comments referring to rpcinfo.
8453
8454 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8455
8456 [BZ #19387]
8457 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
8458 addition.
8459 * string/test-memchr.c (do_test): Remove alignment limitation.
8460 (test_main): Add test that trigger BZ #19387.
8461
8462 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
8463
8464 [BZ #7065]
8465 Enable stack protectore if requested by ./configure.
8466 * Makeconfig (+stack-protector): New variable.
8467 (+cflags): Use it.
8468
8469 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
8470
8471 [BZ #7065]
8472 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
8473 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
8474 (__rt_sigreturn_stub): Use inhibit_stack_protector.
8475 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8476 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
8477
8478 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
8479
8480 [BZ #7065]
8481 * login/Makefile (pt_chown-cflags): Remove.
8482 * nscd/Makefile (CFLAGS-nscd): Likewise.
8483 * resolv/Makefile (CFLAGS-libresolv): Likewise.
8484
8485 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
8486
8487 [BZ #7065]
8488 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
8489 non-libc-linking testcase.
8490
8491 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
8492 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8493 Florian Weimer <fweimer@redhat.com>
8494
8495 [BZ #7065]
8496 PLT avoidance for __stack_chk_fail*.
8497 * debug/Makefile (CFLAGS-stack_chk_fail.c)
8498 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
8499 * debug/stack_chk_fail.c (__stack_chk_fail): Add
8500 __stack_chk_fail_local alias.
8501 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
8502 (__stack_chk_fail): Turn into hidden reference to
8503 __stack_chk_fail_local.
8504
8505 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
8506
8507 [BZ #7065]
8508 * configure.ac: Add check for unsupported stack-protection level.
8509 (libc_cv_predef_stack_protector): Remove.
8510 (no_ssp): New variable.
8511 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
8512 (stack_protector): Set to -fno-stack-protector similarly.
8513 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
8514 (libc_cv_asm_set_directive): Likewise.
8515 (libc_cv_protected_data): Likewise.
8516 (libc_cv_z_combreloc): Likewise.
8517 (libc_cv_hashstyle): Likewise.
8518 (libc_cv_has_glob_dat): Likewise.
8519 (libc_cv_output_format): Likewise.
8520 (libc_cv_output_format): Likewise.
8521 (libc_cv_ehdr_start): Likewise.
8522 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
8523 (LIBC_LINKER_FEATURE): Likewise.
8524 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
8525
8526 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
8527
8528 [BZ #7065]
8529 * elf/Makefile (dummy-stack-chk-fail): New.
8530 (librtld.map): Use it.
8531
8532 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
8533
8534 [BZ #7065]
8535 Compile the dynamic linker without stack protection.
8536 * elf/Makefile (elide-stack-protector): New.
8537 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
8538 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
8539 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
8540 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
8541
8542 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
8543
8544 [BZ #7065]
8545 * config.make.in (have-ssp, no-stack-protector): New.
8546 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
8547 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
8548 (CFLAGS-sbrk.op): Likewise.
8549 (CFLAGS-brk.o): Likewise.
8550 (CFLAGS-brk.op): Likewise.
8551 * string/Makefile (CFLAGS-memcpy.c): Likewise.
8552 (CFLAGS-wordcopy.c): Likewise.
8553
8554 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
8555
8556 [BZ #7065]
8557 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
8558 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
8559 * include/libc-symbols.h (inhibit_stack_protector): New macro.
8560 (__ifunc_resolver): Use it.
8561 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
8562 inhibit_stack_protector.
8563 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
8564 * elf/ifuncmain7.c (foo_ifunc): Likewise.
8565 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
8566 (foo_protected_ifunc): Likewise.
8567 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
8568 (foo_protected_ifunc): Likewise.
8569 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
8570 * sysdeps/nacl/nacl_interface_query.c
8571 (nacl_interface_query_ifunc): Likewise.
8572 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
8573 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
8574 Likewise.
8575 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
8576 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
8577 the generated vDSO syscall resolver.
8578
8579 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
8580 Florian Weimer <fweimer@redhat.com>
8581
8582 [BZ #7065]
8583 Initialize the stack guard earlier when linking statically.
8584 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
8585 (__pthread_initialize_minimal): Declare.
8586 * csu/libc-start.c (__pthread_initialize_minimal): Remove
8587 declaration.
8588 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
8589 stack canary and apply_irel initialization up. Call
8590 __pthread_initialize_minimal only if linked in.
8591 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
8592 constant values.
8593 (__pthread_initialize_minimal): Remove.
8594 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
8595 (__pthread_initialize_minimal_internal): Do not call
8596 __libc_setup_tls.
8597
8598 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
8599
8600 [BZ #7065]
8601 * configure.ac (libc_cv_ssp): Move up.
8602 (libc_cv_ssp_strong): Likewise.
8603 (libc_cv_ssp_all): New.
8604 (stack_protector): Augment, adding -fstack-protector-all.
8605 (no_stack_protector): New.
8606 (STACK_PROTECTOR_LEVEL): New.
8607 (AC_ARG_ENABLE(stack-protector)): New configure flag.
8608 * manual/install.texi (--enable-stack-protector): Document it.
8609 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
8610
8611 2016-12-24 Carlos O'Donell <carlos@redhat.com>
8612
8613 * README.pretty-printers: Must specify CPPFLAGS-* also.
8614 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
8615 (CPPFLAGS-test-mutex-printers.c): Define.
8616 (CPPFLAGS-test-condattr-printers.c): Define.
8617 (CPPFLAGS-test-cond-printers.c): Define.
8618 (CPPFLAGS-test-rwlockattr-printers.c): Define.
8619 (CPPFLAGS-test-rwlock-printers.c): Define.
8620
8621 * nss/Makefile [ifeq (yes,$(have-thread-library))]
8622 (tests): Add tst-cancel-getpwuid_r.
8623 * nss/tst-cancel-getpwuid_r.c: New file.
8624
8625 [BZ #11941]
8626 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
8627 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
8628 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
8629 tst-nodelete-dlclose.
8630 (modules-names): Add tst-nodelete-dlclose-dso and
8631 tst-nodelete-dlclose-plugin.
8632 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
8633 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
8634 ($(objpfx)tst-nodelete-dlclose): Define.
8635 ($(objpfx)tst-nodelete-dlclose.out): Define.
8636
8637 2016-12-23 Florian Weimer <fweimer@redhat.com>
8638
8639 * scripts/test_printers_common.py: Log GDB output in case of
8640 Python detection failure.
8641
8642 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
8643
8644 * configure.ac: Check for python3 or python.
8645 * configure: Regenerated.
8646 * config.make.in (PYTHON): New variable.
8647 * benchtests/Makefile: Don't define PYTHON.
8648 (bench): Define target only if PYTHON was defined.
8649 * Rules: Don't define PYTHON.
8650 Define pretty printer targets only if PYTHON was defined.
8651 (tests-printers): Add to tests-unsupported if PYTHON is not
8652 found.
8653 (python-flags, python-invoke): Remove.
8654 (tests-printers-out): Use PYTHON instead of python-invoke.
8655
8656 2016-12-21 Joseph Myers <joseph@codesourcery.com>
8657
8658 [BZ #20978]
8659 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8660 Compare name == NULL, not name != NULL.
8661
8662 * manual/texinfo.tex: Update to version 2016-09-18.18 with
8663 trailing whitespace removed.
8664 * scripts/config.guess: Update to version 2016-10-02.
8665 * scripts/config.sub: Update to version 2016-11-19.
8666 * scripts/install-sh: Update to version 2016-01-11.22.
8667 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
8668 * scripts/move-if-change: Update to version 2016-01-11 22:04.
8669
8670 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
8671
8672 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
8673 (do_one_test) Restore original string so iteration works.
8674 * string/string-inlines.c (do_test): Create better input strings.
8675 (test_main) Reduce number of testruns.
8676 * string/string-inlines.c (__old_strsep_1c): New function.
8677 (__old_strsep_2c): Likewise.
8678 (__old_strsep_3c): Likewise.
8679 * string/strsep.c (__strsep): Remove case of small delim string.
8680 Call strcspn directly rather than strpbrk.
8681 * string/bits/string2.h (__strsep): Remove define.
8682 (__strsep_1c): Remove.
8683 (__strsep_2c): Remove.
8684 (__strsep_3c): Remove.
8685 (strsep): Remove.
8686 * sysdeps/unix/sysv/linux/internal_statvfs.c
8687 (__statvfs_getflags): Rename to __strsep.
8688
8689 2016-12-21 Florian Weimer <fweimer@redhat.com>
8690
8691 * csu/libc-tls.c (_dl_tls_setup): Remove.
8692 * elf/dl-tls.c (_dl_tls_setup): Likewise.
8693 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
8694 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
8695
8696 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
8697
8698 [BZ #7065]
8699 * sysdeps/x86_64/Makefile [$(subdir) = elf]
8700 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
8701
8702 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
8703 Florian Weimer <fweimer@redhat.com>
8704
8705 [BZ #7065]
8706 * csu/Makefile (tests): Empty assignment and document it.
8707 (tests-static): Remove.
8708 * csu/tst-empty.c: Move to...
8709 * misc/tst-empty.c: ... here. Switch to new test driver.
8710 * csu/tst-atomic.c: Move to...
8711 * misc/tst-atomic.c: ... here. Switch to new test driver.
8712 * csu/tst-atomic-long.c: Move to...
8713 * misc/tst-atomic-long.c: ... here.
8714 * misc/Makefile (tests): Add tst-empty, tst-atomic,
8715 tst-atomic-long.
8716 (tests-static): Add tst-empty.
8717
8718 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
8719
8720 * manual/nss.texi: Change incorrect @vtable to @table.
8721 * manual/arith.texi: Convert @tables of variables to @vtables
8722 and remove unnecessary indexing.
8723 * manual/filesys.texi: Likewise.
8724 * manual/llio.texi: Likewise.
8725 * manual/memory.texi: Likewise.
8726 * manual/process.texi: Likewise.
8727 * manual/resource.texi: Likewise.
8728 * manual/search.texi: Likewise.
8729 * manual/signal.texi: Likewise.
8730 * manual/socket.texi: Likewise.
8731 * manual/stdio.texi: Likewise.
8732 * manual/sysinfo.texi: Likewise.
8733 * manual/syslog.texi: Likewise.
8734 * manual/terminal.texi: Likewise.
8735 * manual/time.texi: Likewise.
8736 * manual/users.texi: Likewise.
8737
8738 2016-12-21 Joseph Myers <joseph@codesourcery.com>
8739
8740 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8741 (roundeven): New declaration.
8742 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
8743 macro.
8744 * math/Versions (roundeven): New libm symbol at version
8745 GLIBC_2.25.
8746 (roundevenf): Likewise.
8747 (roundevenl): Likewise.
8748 * math/Makefile (libm-calls): Add s_roundevenF.
8749 * math/libm-test.inc (roundeven_test_data): New array.
8750 (roundeven_test): New function.
8751 (main): Call roundeven_test.
8752 * math/test-tgmath.c (NCALLS): Increase to 134.
8753 (F(compile_test)): Call roundeven.
8754 (F(roundeven)): New function.
8755 * manual/arith.texi (Rounding Functions): Document roundeven,
8756 roundevenf and roundevenl.
8757 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
8758 * include/math.h (roundeven): Use libm_hidden_proto.
8759 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
8760 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
8761 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
8762 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
8763 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
8764 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
8765 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8766 roundeven.
8767 (CFLAGS-nldbl-roundeven.c): New variable.
8768 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
8769 * sysdeps/nacl/libm.abilist: Update.
8770 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8771 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8772 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8773 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8774 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8775 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8776 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8777 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8778 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8779 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8780 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8781 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8783 Likewise.
8784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8785 Likewise.
8786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8787 Likewise.
8788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8789 Likewise.
8790 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8791 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8792 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8793 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8794 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8796 Likewise.
8797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8798 Likewise.
8799 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8800 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8801 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8802
8803 2016-12-20 Joseph Myers <joseph@codesourcery.com>
8804
8805 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
8806 preprocessor indentation inside #if.
8807
8808 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8809
8810 * math/libm-test.inc (fmt_ftostr): New function.
8811 (print_float, check_float_internal): Replace some uses of
8812 FTOSTR with uses of fmt_ftostr.
8813 (print_max_error, print_complex_max_error, print_function_ulps)
8814 (print_complex_function_ulps): Remove uses of the macros
8815 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
8816 * math/test-double.h (FTOSTR): Define to strfromd.
8817 (PRINTF_EXPR): Delete.
8818 (PRINTF_XEXPR): Likewise.
8819 (PRINTF_NEXPR): Likewise.
8820 * math/test-float.h (FTOSTR): Define to strfromf.
8821 (PRINTF_EXPR): Delete.
8822 (PRINTF_XEXPR): Likewise.
8823 (PRINTF_NEXPR): Likewise.
8824 * math/test-ldouble.h (FTOSTR): Define to strfroml.
8825 (PRINTF_EXPR): Delete.
8826 (PRINTF_XEXPR): Likewise.
8827 (PRINTF_NEXPR): Likewise.
8828
8829 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8830
8831 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
8832 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
8833 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
8834 (__lll_lock_elision): Decrement adapt_count while unlocking
8835 instead of before locking.
8836 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
8837 (__lll_trylock_elision): Likewise.
8838 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
8839 (__lll_unlock_elision): Likewise.
8840
8841 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8842
8843 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
8844 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
8845 Use __libc_tbegin_retry macro.
8846
8847 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8848
8849 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
8850 Add -msoft-float.
8851 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
8852 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
8853 Use __libc_t* transaction macros instead of __builtin_t*.
8854 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8855 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8856
8857 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8858
8859 * sysdeps/unix/sysv/linux/s390/elision-lock.c
8860 (__lll_lock_elision): Use atomics to load / store adapt_count.
8861 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
8862 (__lll_trylock_elision): Likewise.
8863
8864 2016-12-20 Florian Weimer <fweimer@redhat.com>
8865
8866 Do not require memset elimination in explicit_bzero test.
8867 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
8868 (enum test_expectation): Add NO_EXPECTATIONS.
8869 (subtests): NO_EXPECTATIONS for ordinary clear.
8870 (check_test_buffer): Handle NO_EXPECTATIONS.
8871 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
8872
8873 2016-12-20 Joseph Myers <joseph@codesourcery.com>
8874
8875 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8876 (fmaxmag): New declaration.
8877 (fminmag): Likewise.
8878 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
8879 macro.
8880 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
8881 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
8882 (fmaxmagf): Likewise.
8883 (fmaxmagl): Likewise.
8884 (fminmag): Likewise.
8885 (fminmagf): Likewise.
8886 (fminmagl): Likewise.
8887 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
8888 * math/s_fmaxmag_template.c: New file.
8889 * math/s_fminmag_template.c: Likewise.
8890 * math/libm-test.inc (fmaxmag_test_data): New array.
8891 (fmaxmag_test): New function.
8892 (fminmag_test_data): New array.
8893 (fminmag_test): New function.
8894 (main): Call fmaxmag_test and fminmag_test.
8895 * math/test-tgmath.c (NCALLS): Increase to 132.
8896 (F(compile_test)): Call fmaxmag and fminmag.
8897 (F(fminmag)): New function.
8898 (F(fmaxmag)): Likewise.
8899 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
8900 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
8901 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
8902 fminmag.
8903 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
8904 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
8905 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
8906 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
8907 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
8908 and fminmag.
8909 (CFLAGS-nldbl-fmaxmag.c): New variable.
8910 (CFLAGS-nldbl-fminmag.c): Likewise.
8911 * sysdeps/nacl/libm.abilist: Update.
8912 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8913 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8914 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8915 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8916 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8917 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8918 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8919 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8920 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8921 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8922 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8923 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8925 Likewise.
8926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8927 Likewise.
8928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8929 Likewise.
8930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8931 Likewise.
8932 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8933 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8934 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8935 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8936 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8938 Likewise.
8939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8940 Likewise.
8941 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8942 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8943 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8944
8945 2016-12-19 Torvald Riegel <triegel@redhat.com>
8946
8947 [BZ #20973]
8948 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
8949 wake-up in robust mutexes.
8950 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8951
8952 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8953
8954 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
8955 (CFLAGS-bench-fmaxf.c): New rule.
8956 (CFLAGS-bench-fminf.c): Likewise.
8957 * benchtests/fmaxf-inputs: New file.
8958 * benchtests/fminf-inputs: Likewise.
8959
8960 * benchtests/Makefile (bench-math): Add fmin and fmax.
8961 (CFLAGS-bench-fmax.c): New rule.
8962 (CFLAGS-bench-fmin.c): Likewise.
8963 * benchtests/fmax-inputs: New file.
8964 * benchtests/fmin-inputs: Likewise.
8965
8966 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
8967 parenthesis.
8968 (CMDLINE_PROCESS): Define using function instead of macro.
8969 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
8970 of test-skeleton.
8971 * benchtests/bench-memchr.c: Likewise.
8972 * benchtests/bench-memcmp.c: Likewise.
8973 * benchtests/bench-memcpy-large.c: Likewise.
8974 * benchtests/bench-memcpy.c: Likewise.
8975 * benchtests/bench-memmem.c: Likewise.
8976 * benchtests/bench-memmove-large.c: Likewise.
8977 * benchtests/bench-memmove.c: Likewise.
8978 * benchtests/bench-memset-large.c: Likewise.
8979 * benchtests/bench-memset.c: Likewise.
8980 * benchtests/bench-rawmemchr.c: Likewise.
8981 * benchtests/bench-strcasecmp.c: Likewise.
8982 * benchtests/bench-strcasestr.c: Likewise.
8983 * benchtests/bench-strcat.c: Likewise.
8984 * benchtests/bench-strchr.c: Likewise.
8985 * benchtests/bench-strcmp.c: Likewise.
8986 * benchtests/bench-strcpy.c: Likewise.
8987 * benchtests/bench-strcpy_chk.c: Likewise.
8988 * benchtests/bench-strlen.c: Likewise.
8989 * benchtests/bench-strncasecmp.c: Likewise.
8990 * benchtests/bench-strncmp.c: Likewise.
8991 * benchtests/bench-strncpy.c: Likewise.
8992 * benchtests/bench-strnlen.c: Likewise.
8993 * benchtests/bench-strpbrk.c: Likewise.
8994 * benchtests/bench-strrchr.c: Likewise.
8995 * benchtests/bench-strsep.c: Likewise.
8996 * benchtests/bench-strspn.c: Likewise.
8997 * benchtests/bench-strstr.c: Likewise.
8998 * benchtests/bench-strtok.c: Likewise.
8999
9000 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
9001
9002 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
9003 stepping identification.
9004 (init_cpu_features): Add handle of Haswell.
9005
9006 2016-11-25 Jim Meyering <meyering@fb.com>
9007
9008 [BZ #20386]
9009 Let gcc detect assert(a = 1) errors.
9010 * assert/assert.h (assert): Rewrite, retaining the old definintion
9011 when required, but otherwise putting the expression as-is in an "if"
9012 expression (hence, with no added parentheses) within a statement
9013 expression.
9014
9015 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
9016
9017 * benchtests/Makefile (binaries-benchset): Depend on libsupport
9018 DSO.
9019
9020 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
9021
9022 * Rules (python-flags, python-invoke): New.
9023 ($(test-printers-out)): Use $(python-flags).
9024
9025 2016-12-16 Joseph Myers <joseph@codesourcery.com>
9026
9027 * manual/arith.texi (Math Error Reporting): Document that sNaN
9028 arguments are not considered domain errors.
9029
9030 2016-12-16 Zack Weinberg <zackw@panix.com>
9031 Florian Weimer <fweimer@redhat.com>
9032 Nick Mathewson <nickm@torproject.org>
9033
9034 * string/explicit_bzero.c: New routine.
9035 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
9036 * string/Makefile (routines, strop-tests, tests): Add them.
9037 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
9038 * string/string.h [__USE_MISC]: Declare explicit_bzero.
9039
9040 * debug/explicit_bzero_chk.c: New routine.
9041 * debug/Makefile (routines): Add it.
9042 * debug/tst-chk1.c: Test fortification of explicit_bzero.
9043 * string/bits/string3.h: Fortify explicit_bzero.
9044
9045 * manual/string.texi: Document explicit_bzero.
9046 * NEWS: Mention addition of explicit_bzero.
9047
9048 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
9049 data before returning, using explicit_bzero.
9050 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
9051 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9052 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9053
9054 * include/string.h: Redirect internal uses of explicit_bzero
9055 to __explicit_bzero_chk[_internal].
9056 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
9057 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
9058 * sysdeps/arm/nacl/libc.abilist
9059 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
9060 * sysdeps/unix/sysv/linux/alpha/libc.abilist
9061 * sysdeps/unix/sysv/linux/arm/libc.abilist
9062 * sysdeps/unix/sysv/linux/hppa/libc.abilist
9063 * sysdeps/unix/sysv/linux/i386/libc.abilist
9064 * sysdeps/unix/sysv/linux/ia64/libc.abilist
9065 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9066 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
9067 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
9068 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9069 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9070 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9071 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9072 * sysdeps/unix/sysv/linux/nios2/libc.abilist
9073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9077 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
9078 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9079 * sysdeps/unix/sysv/linux/sh/libc.abilist
9080 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9081 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9084 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
9085 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
9086 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
9087 Add entries for explicit_bzero and __explicit_bzero_chk.
9088
9089 2016-12-16 Joseph Myers <joseph@codesourcery.com>
9090
9091 * math/fenv.h
9092 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
9093 (FE_SNANS_ALWAYS_SIGNAL): New macro.
9094 * math/test-fe-snans-always-signal.c: New file.
9095 * math/Makefile (tests): Add test-fe-snans-always-signal.
9096 (CFLAGS-test-fe-snans-always-signal.c): New variable.
9097 * manual/arith.texi (Infinity and NaN): Document
9098 FE_SNANS_ALWAYS_SIGNAL.
9099
9100 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9101
9102 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
9103 bracket.
9104
9105 2016-12-16 Joseph Myers <joseph@codesourcery.com>
9106
9107 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
9108 before calling execv.
9109
9110 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9111
9112 [BZ #20971]
9113 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
9114 overflow in pointer addition.
9115 * string/test-memchr.c (do_test): Add an argument to pass as
9116 the size on memchr.
9117 (test_main): Add check for SIZE_MAX.
9118
9119 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9120
9121 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
9122 (libm-calls): Add w_scalblnF.
9123 * math/w_scalbln.c: Remove.
9124 * math/w_scalblnf.c: Likewise.
9125 * math/w_scalblnl.c: Likewise.
9126 * math/w_scalbln_template.c: New file with type-generic
9127 implementation based on math/w_scalbln.c.
9128 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
9129 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
9130
9131 2016-12-15 Joseph Myers <joseph@codesourcery.com>
9132
9133 [BZ #20947]
9134 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
9135 either is a signaling NaN.
9136 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
9137 follow fmaxl more closely.
9138 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
9139 when either is a signaling NaN.
9140 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
9141 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
9142 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
9143 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
9144 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
9145 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
9146 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
9147 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
9148 (fmin_test_data): Likewise.
9149
9150 2016-12-15 Andreas Schwab <schwab@suse.de>
9151
9152 * support/support_test_main.c (support_test_main): Don't shadow
9153 file-local variable test_pid.
9154
9155 2016-12-15 Joseph Myers <joseph@codesourcery.com>
9156
9157 [BZ #20947]
9158 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
9159 either is a signaling NaN.
9160 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
9161
9162 2016-12-14 Joseph Myers <joseph@codesourcery.com>
9163
9164 [BZ #20947]
9165 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
9166 when either is a signaling NaN.
9167 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
9168
9169 * bits/long-double.h: New file.
9170 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
9171 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
9172 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
9173 * sysdeps/mips/bits/long-double.h: Likewise.
9174 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
9175 * math/Makefile (headers): Add bits/long-double.h.
9176 * misc/sys/cdefs.h: Include <bits/long-double.h>.
9177 * stdlib/strtold.c: Include <bits/long-double.h> instead of
9178 <bits/wordsize.h>.
9179 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
9180 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
9181 * math/math.h: Do not include <bits/mathdef.h>.
9182 * sysdeps/aarch64/bits/mathdef.h: Remove file.
9183 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
9184 inclusion.
9185 * sysdeps/ia64/bits/mathdef.h: Remove file.
9186 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
9187 * sysdeps/mips/bits/mathdef.h: Likewise.
9188 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9189 * sysdeps/s390/bits/mathdef.h: Likewise.
9190 * sysdeps/sparc/bits/mathdef.h: Likewise.
9191 * sysdeps/x86/bits/mathdef.h: Likewise.
9192 * sysdeps/s390/s390-32/bits/wordsize.h
9193 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
9194 conditional code.
9195 * sysdeps/s390/s390-64/bits/wordsize.h
9196 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9197 Likewise.
9198 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
9199 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9200 Likewise.
9201 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
9202 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9203 Likewise.
9204 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
9205 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9206 Likewise.
9207
9208 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
9209 <linux/falloc.h>.
9210 (FALLOC_FL_KEEP_SIZE): Remove.
9211 (FALLOC_FL_PUNCH_HOLE): Likewise.
9212 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
9213 (FALLOC_FL_ZERO_RANGE): Likewise.
9214
9215 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9216
9217 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
9218
9219 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9220
9221 * sysdeps/unix/sysv/linux/renameat.c: New file.
9222 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
9223
9224 * sysdeps/unix/sysv/linux/rename.c: New file.
9225 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
9226
9227 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
9228
9229 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
9230 * string/strtok.c (strtok): Change to tailcall __strtok_r.
9231 * string/strtok_r.c (__strtok_r): Optimize for performance.
9232 * string/string-inlines.c (__old_strtok_r_1c): New function.
9233 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
9234
9235 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9236
9237 * math/Makefile (gen-libm-calls): Add w_log1pF.
9238 (libm-calls): Remove w_log1pF.
9239 * math/w_log1p.c: Remove.
9240 * math/w_log1pf.c: Likewise.
9241 * math/w_log1pl.c: Likewise.
9242 * math/w_log1p_template.c: New file with type-generic
9243 implementation based on math/w_log1p.c.
9244 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
9245 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
9246
9247 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
9248
9249 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
9250
9251 2016-12-14 Joseph Myers <joseph@codesourcery.com>
9252
9253 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9254 kernel version to 4.9.
9255
9256 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
9257
9258 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
9259 ($(inst_libdir)/libm.a): Fix rule to create the target only.
9260
9261 2016-12-13 Andreas Schwab <schwab@suse.de>
9262
9263 * sysdeps/powerpc/dl-procinfo.c: Don't define
9264 _dl_powerpc_platforms.
9265 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
9266 constants instead of referencing _dl_powerpc_platforms.
9267 (_dl_platform_string): Remove.
9268
9269 2016-12-13 Florian Weimer <fweimer@redhat.com>
9270
9271 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
9272
9273 2016-12-13 Florian Weimer <fweimer@redhat.com>
9274
9275 * Rules (binaries-shared-tests, binaries-pie-tests)
9276 (binaries-static-tests): Link with $(link-extra-libs-tests).
9277 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
9278 Remove $(link-extra-libs-tests).
9279
9280 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9281
9282 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9283 (sysdep_routines): Add strncmp_power9.
9284 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9285 (strncmp): Add __strncmp_power9 to list of strncmp functions.
9286 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
9287 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9288 (strncmp): Add __strncmp_power9 to ifunc list.
9289 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
9290
9291 2016-12-12 Florian Weimer <fweimer@redhat.com>
9292
9293 [BZ #17252]
9294 Add getentropy, getrandom.
9295 * stdlib/sys/random.h: New file.
9296 (headers): Add it.
9297 * stdlib/Makefile (routines): Add getentropy, getrandom.
9298 (tests): Add tst-getrandom.
9299 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
9300 * stdlib/getentropy.c: New file.
9301 * stdlib/getrandom.c: Likewise.
9302 * stdlib/tst-getrandom.c: Likewise.
9303 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
9304 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
9305 * manual/crypt.texi (Unpredictable Bytes): New section.
9306 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
9307 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
9308 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
9309 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9310 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9311 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9312 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9313 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9314 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9315 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9316 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9317 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9318 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9319 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9320 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9321 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9323 Likewise.
9324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9325 Likewise.
9326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9328 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9329 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9330 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9331 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9332 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9335 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9336 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9337 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9338
9339 2016-12-10 Florian Weimer <fweimer@redhat.com>
9340
9341 [BZ #20956]
9342 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
9343 as additional compiler barriers.
9344 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
9345 (fn2, do_test): Declare with external linkage.
9346 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
9347 (do_test): Declare with external linkage.
9348 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
9349 (do_test): Declare with external linkage.
9350 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
9351 (do_test): Declare with external linkage.
9352
9353 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
9354
9355 * support/support_test_main.c (support_test_main): Use correct
9356 timeout.
9357
9358 2016-12-09 Carlos O'Donell <carlos@redhat.com>
9359 Florian Weimer <fweimer@redhat.com>
9360
9361 [BZ #16421]
9362 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
9363 and __u6_addr32 members.
9364 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
9365 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
9366 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
9367 Use __u6_addr32.
9368 * inet/tst-checks.c: Use <support/test-driver.c>
9369 * inet/tst-checks-posix.c: New file.
9370 * inet/Makefile (tests): Add it.
9371 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
9372
9373 2016-12-09 Florian Weimer <fweimer@redhat.com>
9374
9375 New subdirectory support for build and test infrastructure.
9376 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
9377 setting install-lib.
9378 * Makeconfig (link-extra-libs-tests): Define.
9379 (+link-pie-tests, +link-static-tests, +link-tests): Use
9380 link-extra-libs-tests.
9381 (rpath-dirs, all-subdirs): Add support.
9382 (built-modules): Add libsupport.
9383 (libsupport): Define.
9384 * support: New directory.
9385 * support/Makefile: New file.
9386 * support/check.c: Likewise.
9387 * support/check.h: Likewise.
9388 * support/delayed_exit.c: Likewise.
9389 * support/ignore_stderr.c: Likewise.
9390 * support/oom_error.c: Likewise.
9391 * support/set_fortify_handler.c: Likewise.
9392 * support/support.h: Likewise.
9393 * support/temp_file-internal.h: Likewise.
9394 * support/temp_file.c: Likewise.
9395 * support/test-driver.c: Likewise.
9396 * support/test-driver.h: Likewise.
9397 * support/test_main.c: Likewise.
9398 * support/write_message.c: Likewise.
9399 * support/xasprintf.c: Likewise.
9400 * support/xcalloc.c: Likewise.
9401 * support/xmalloc.c: Likewise.
9402 * support/xpthread_barrier_destroy.c: Likewise.
9403 * support/xpthread_barrier_init.c: Likewise.
9404 * support/xpthread_barrier_wait.c: Likewise.
9405 * support/xpthread_cancel.c: Likewise.
9406 * support/xpthread_check_return.c: Likewise.
9407 * support/xpthread_cond_wait.c: Likewise.
9408 * support/xpthread_create.c: Likewise.
9409 * support/xpthread_detach.c: Likewise.
9410 * support/xpthread_join.c: Likewise.
9411 * support/xpthread_mutex_lock.c: Likewise.
9412 * support/xpthread_mutex_unlock.c: Likewise.
9413 * support/xpthread_sigmask.c: Likewise.
9414 * support/xpthread_spin_lock.c: Likewise.
9415 * support/xpthread_spin_unlock.c: Likewise.
9416 * support/xrealloc.c: Likewise.
9417 * support/xsignal.h: Likewise.
9418 * support/xthread.h: Likewise.
9419 * support_tempfile.h: Likewise.
9420 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
9421 (TEST_DATA_LIMIT): Remove unused macro.
9422 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
9423 <support/check.h>.
9424 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
9425 (ignore_stderr, set_fortify_handler): Remove. Now in
9426 <support/support.h>.
9427 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
9428 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
9429 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
9430 (xpthread_join): Remove. Now in <support/xthread.h>.
9431 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
9432 Introduce legacy wrappers.
9433 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
9434 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
9435 (write_message): Remove.
9436 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
9437 test-skeleton.c.
9438 * io/test-open-tmpfile: Likewise.
9439 * io/tst-posix_fallocate-common.c: Likewise.
9440 * libio/tst-fseek.c: Likewise.
9441 * malloc/tst-malloc-backtrace.c: Likewise.
9442 * malloc/tst-malloc-fork-deadlock.c: Likewise.
9443 * malloc/tst-malloc-thread-exit.c: Likewise.
9444 * nptl/tst-cancel7.c: Likewise.
9445 * nptl/tst-cleanup0.c: Likewise.
9446 * posix/tst-posix_fadvise-common.c: Likewise.
9447 * rt/tst-shm.c: Likewise.
9448 * time/bug-getdate1.c: Likewise.
9449 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9450 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
9451 * elf/Makefile (tst-piemod1.so): Link against libsupport.
9452
9453 2016-12-08 Joseph Myers <joseph@codesourcery.com>
9454
9455 * Rules [$(run-built-tests) != no] (tests-expected): Add
9456 $(tests-printers).
9457 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
9458
9459 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
9460
9461 [BZ #20539]
9462 * math/Makefile (install-lib-ldscripts): Add libm.a.
9463 (install_subdir): Remove.
9464 (install-others): Add.
9465 ($(inst_libdir)/libm.a): Add rule for installation as
9466 linker script.
9467 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
9468
9469 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
9470
9471 * INSTALL: Regenerated.
9472 * Makeconfig: Add comments and whitespace to make the control flow
9473 clearer.
9474 (+link-printers-tests, +link-pie-printers-tests,
9475 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
9476 built-rtld-LDFLAGS, link-libc-rpath,
9477 link-libc-tests-after-rpath-link,
9478 link-libc-printers-tests): New.
9479 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
9480 link-libc-tests): Use the new variables as required.
9481 * Makerules ($(py-const)): New rule.
9482 generated: Add $(py-const).
9483 * README.pretty-printers: New file.
9484 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
9485 (others): Depend on $(py-const).
9486 (tests): Depend on $(tests-printers-programs) or
9487 $(tests-printers-out),
9488 as required. Pass $(tests-printers) to merge-test-results.sh.
9489 * manual/install.texi: Add requirements for testing the pretty
9490 printers.
9491 * nptl/Makefile (gen-py-const-headers, pretty-printers,
9492 tests-printers, CFLAGS-test-mutexattr-printers.c
9493 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
9494 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
9495 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
9496 * nptl/nptl-printers.py: New file.
9497 * nptl/nptl_lock_constants.pysym: Likewise.
9498 * nptl/test-cond-printers.c: Likewise.
9499 * nptl/test-cond-printers.py: Likewise.
9500 * nptl/test-condattr-printers.c: Likewise.
9501 * nptl/test-condattr-printers.py: Likewise.
9502 * nptl/test-mutex-printers.c: Likewise.
9503 * nptl/test-mutex-printers.py: Likewise.
9504 * nptl/test-mutexattr-printers.c: Likewise.
9505 * nptl/test-mutexattr-printers.py: Likewise.
9506 * nptl/test-rwlock-printers.c: Likewise.
9507 * nptl/test-rwlock-printers.py: Likewise.
9508 * nptl/test-rwlockattr-printers.c: Likewise.
9509 * nptl/test-rwlockattr-printers.py: Likewise.
9510 * scripts/gen-py-const.awk: Likewise.
9511 * scripts/test_printers_common.py: Likewise.
9512 * scripts/test_printers_exceptions.py: Likewise.
9513
9514 2016-12-07 Joseph Myers <joseph@codesourcery.com>
9515
9516 * scripts/build-many-glibcs.py (Context.__init__): Take strip
9517 argument.
9518 (Glibc.build_glibc): Strip installed shared libraries if
9519 requested.
9520 (get_parser): Add --strip option.
9521 (main): Update Context call.
9522
9523 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9524 Dominik Vogt <vogt@linux.vnet.ibm.com>
9525
9526 [BZ #20847]
9527 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
9528 array bounds for else branch.
9529 (__execvpe): Style fixes.
9530 * posix/tst-vfork3.c (run_script): New function.
9531 (create_script): Likewise.
9532 (do_test): Use run_script internal function.
9533 (do_prepare): Use create_script internal function.
9534
9535 2016-12-07 Andreas Schwab <schwab@suse.de>
9536
9537 * sysdeps/unix/sysv/linux/x86/elision-conf.h
9538 (__elision_available): Don't declare.
9539 * sysdeps/unix/sysv/linux/x86/elision-conf.c
9540 (__elision_available): Don't define.
9541 (elision_init): Don't set __elision_available.
9542
9543 2016-12-07 Joseph Myers <joseph@codesourcery.com>
9544
9545 [BZ #20940]
9546 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
9547 return Inf for arguments Inf and sNaN.
9548 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
9549 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9550 Likewise.
9551 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9552 Likewise.
9553 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
9554 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
9555 for arguments Inf and sNaN. When returning a NaN, compute it by
9556 arithmetic on the arguments.
9557 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
9558 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
9559 arguments.
9560
9561 2016-12-06 Joseph Myers <joseph@codesourcery.com>
9562
9563 [BZ #20916]
9564 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
9565 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
9566 to compute result.
9567 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9568 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
9569
9570 2016-12-05 Torvald Riegel <triegel@redhat.com>
9571
9572 * include/atomic.h (__atomic_check_size_ls): New.
9573 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
9574 atomic_store_release): Use it.
9575 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
9576 (elision_adapt, ELIDE_LOCK): Use atomics.
9577 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
9578 atomics and improve code comments.
9579 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
9580 (__lll_trylock_elision): Likewise.
9581
9582 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9583
9584 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
9585 programs.
9586
9587 2016-12-02 Joseph Myers <joseph@codesourcery.com>
9588
9589 [BZ #20916]
9590 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
9591 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
9592 arguments to compute result.
9593 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
9594 1 for arguments (sNaN, 0) or (1, sNaN).
9595 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9596 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9597
9598 [BZ #20919]
9599 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
9600 NaN first argument when raised to power 0.
9601 * math/w_pow.c (__pow): Do not check for NaN or zero results from
9602 raising to power zero.
9603 * math/w_powf.c (__powf): Likewise.
9604 * math/w_powl.c (__powl): Likewise.
9605 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
9606 pow (0, 0) or pow (NaN, 0).
9607
9608 2016-12-02 Carlos O'Donell <carlos@redhat.com>
9609
9610 [BZ #20918]
9611 * configure.ac: Test for static NSS cryptographic libraries and set
9612 libc_cv_static_nss_crypt.
9613 * configure: Regenerate.
9614 * config.make.in (static-nss-crypt): Define.
9615 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
9616 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
9617 (CFLAGS-tst-linkall-static.c): Define.
9618 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
9619 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
9620 ($(objpfx)tst-linkall-static): Define.
9621 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
9622 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
9623
9624 2016-12-02 Florian Weimer <fweimer@redhat.com>
9625
9626 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
9627 (one-hundred, tst-tls-many-dynamic-modules): Define.
9628 (modules-names): Add $(tst-tls-many-dynamic-modules).
9629 (tst-tls-manydynamic%mod.os): Build with special preprocessor
9630 macros.
9631 (tst-tls-manydynamic): Link against libdl, libpthread.
9632 (tst-tls-manydynamic.out): The test needs the test modules at run
9633 time.
9634 * elf/tst-tls-manydynamic.c: New file.
9635 * elf/tst-tls-manydynamic.h: Likewise.
9636 * elf/tst-tls-manydynamicmod.c: Likewise.
9637
9638 2016-12-02 Florian Weimer <fweimer@redhat.com>
9639
9640 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
9641 (TLS_DTV_UNALLOCATED): Add.
9642 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
9643 offsets.
9644
9645 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
9646
9647 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9648
9649 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
9650
9651 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
9652 Add -fno-optimize-sibling-calls.
9653
9654 2016-12-02 Joseph Myers <joseph@codesourcery.com>
9655
9656 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
9657 New declaration.
9658 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
9659 macro.
9660 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
9661 New macro.
9662 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
9663 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
9664 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
9665 (llogbf): Likewise.
9666 (llogbl): Likewise.
9667 * math/Makefile (gen-libm-calls): Add w_llogbF.
9668 (tests): Add test-fp-llogb-constants.
9669 * math/w_llogb_template.c: New file. Based on
9670 math/w_ilogb_template.c.
9671 * math/libm-test.inc (llogb_test_data): New array.
9672 (llogb_test): New function.
9673 (main): Call llogb_test.
9674 * math/test-fp-llogb-constants.c: New file. Based on
9675 math/test-fp-ilogb-constants.c.
9676 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
9677 (do_test): Call check_return_llogb.
9678 * math/test-tgmath.c (NCALLS): Increase to 126.
9679 (F(compile_test)): Call llogb.
9680 (F(llogb)): New function.
9681 * manual/math.texi (Exponents and Logarithms): Document llogb,
9682 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
9683 * manual/libm-err-tab.pl (@all_functions): Add llogb.
9684 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
9685 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
9686 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
9687 (CFLAGS-nldbl-llogb.c): New variable.
9688 * sysdeps/nacl/libm.abilist: Update.
9689 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9690 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9691 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9692 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9693 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9694 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9695 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9696 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9697 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9698 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9699 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9700 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9702 Likewise.
9703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9704 Likewise.
9705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9706 Likewise.
9707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9708 Likewise.
9709 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9710 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9711 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9712 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9713 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9714 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9715 Likewise.
9716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9717 Likewise.
9718 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9719 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9720 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9721
9722 2016-12-01 Joseph Myers <joseph@codesourcery.com>
9723
9724 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
9725 _Float128 instead of long double.
9726 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
9727
9728 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
9729 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
9730 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
9731 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
9732 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
9733 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
9734 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
9735 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
9736 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
9737 Likewise.
9738
9739 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9740
9741 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
9742 Remove redirection to __strrchr_ppc.
9743
9744 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9745
9746 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9747 (sysdep_routines): Add strcmp_power9.
9748 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9749 (strcmp): Add __strcmp_power9 to list of strcmp functions.
9750 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
9751 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9752 (strcmp): Add __strcmp_power9 to ifunc list.
9753 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
9754
9755 2016-12-01 Joseph Myers <joseph@codesourcery.com>
9756
9757 * bits/fp-logb.h: New file.
9758 * sysdeps/ia64/bits/fp-logb.h: Likewise.
9759 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
9760 * sysdeps/x86/bits/fp-logb.h: Likewise.
9761 * math/Makefile (headers): Add bits/fp-logb.h.
9762 * math/math.h: Include <bits/fp-logb.h>.
9763 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
9764 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
9765 * bits/mathdef.h (FP_ILOGB0): Remove.
9766 (FP_ILOGBNAN): Likewise.
9767 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
9768 (FP_ILOGBNAN): Likewise.
9769 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
9770 (FP_ILOGBNAN): Likewise.
9771 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
9772 (FP_ILOGBNAN): Likewise.
9773 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
9774 (FP_ILOGBNAN): Likewise.
9775 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
9776 (FP_ILOGBNAN): Likewise.
9777 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
9778 (FP_ILOGBNAN): Likewise.
9779 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
9780 (FP_ILOGBNAN): Likewise.
9781 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
9782 (FP_ILOGBNAN): Likewise.
9783 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
9784 (FP_ILOGBNAN): Likewise.
9785
9786 * scripts/build-many-glibcs.py: Add bot to usage message. Import
9787 time module.
9788 (Context.__init__): Initialize self.logsdir_old.
9789 (Context.run_builds): Handle bot action.
9790 (Context.bot_cycle): Copy logs directory before running builds.
9791 (Context.bot_run_self): Take argument for whether to check
9792 subprocess result. Flush stdout before running subprocess.
9793 (Context.bot): New function.
9794 (get_parser): Allow bot action.
9795
9796 2016-11-30 Joseph Myers <joseph@codesourcery.com>
9797
9798 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
9799 Import email.mime.text, email.utils and smtplib modules.
9800 (Context.__init__): Initialize self.bot_config_json.
9801 (Context.run_builds): Handle bot-cycle action.
9802 (Context.load_bot_config_json): New function.
9803 (Context.part_build_old): Likewise.
9804 (Context.bot_cycle): Likewise.
9805 (Context.bot_build_mail): Likewise.
9806 (Context.bot_run_self): Likewise.
9807 (get_parser): Allow bot-cycle action.
9808
9809 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9810
9811 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
9812 Remove redirection to __stpcpy_ppc.
9813
9814 2016-11-30 Florian Weimer <fweimer@redhat.com>
9815
9816 Remove __libc_memalign from ld.so because it is unused.
9817 * elf/dl-minimal.c: Update comment on the malloc implementation.
9818 (malloc): Renamed from __libc_memalign, replacing the original
9819 malloc implementation. Replace the align parameter with
9820 MALLOC_ALIGNMENT.
9821 * elf/Versions (ld): Update comment and remove __libc_memalign.
9822 * sysdeps/nacl/ld.abilist: Likewise.
9823 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
9824 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
9825 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
9826 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
9827 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
9828 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
9829 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
9830 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
9831 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
9832 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
9833 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
9834 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
9835 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
9836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
9837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
9838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
9839 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
9840 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
9841 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
9842 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
9843 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
9844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
9845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
9846 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
9847 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
9848 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
9849 * sysdeps/generic/localplt.data (ld.so): Likewise.
9850 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
9851 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
9852 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
9853 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
9854 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
9855 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
9856 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
9857 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
9858 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
9859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
9860 (ld.so): Likewise.
9861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9862 (ld.so): Likewise.
9863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
9864 Likewise.
9865 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
9866 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
9867 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
9868 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
9869 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
9870
9871 2016-11-30 Florian Weimer <fweimer@redhat.com>
9872
9873 [BZ #16628]
9874 Implement _dl_catch_error, _dl_signal_error in libc.so.
9875 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
9876 (catch_hook): Define as thread-local or regular variable,
9877 depending on DL_ERROR_BOOTSTRAP.
9878 (CATCH_HOOK): Remove.
9879 (dl_signal_error, _dl_catch_error): Use
9880 catch_hook. Add hidden definition for libc.
9881 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
9882 for DL_ERROR_BOOTSTRAP only.
9883 * elf/dl-error.c: New file.
9884 * elf/dl-error-minimal.c: Likewise.
9885 * elf/tst-latepthread.c: Likewise.
9886 * elf/tst-latepthreadmod.c: Likewise.
9887 * elf/Makefile (routines): Add dl-error.
9888 (dl-routines): Remove dl-error.
9889 (rtld-routines): Add dl-error-minimal.
9890 [build-shared] (tests): Add tst-latepthread.
9891 (module-names): Add tst-latepthreadmod.
9892 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
9893 symbol.
9894 (tst-latepthreadmod.so): Link against libpthread.
9895 (tst-latepthread): Link against libdbl.
9896 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
9897 _dl_catch_error.
9898 [ld] (GLIBC_PRIVATE): Likewise.
9899 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
9900 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
9901 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
9902 directly.
9903 * elf/dl-tsd.c: Remove file.
9904 * elf/rtld.c (_rtld_global_ro): Remove initializers for
9905 _dl_catch_error, _dl_signal_error.
9906 (_dl_initial_error_catch_tsd): Remove definition.
9907 (do_preload): Remove initialization of dl_error_catch_tsd.
9908 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
9909 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
9910 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9911 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9912 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
9913 set dl_error_catch_tsd.
9914 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
9915 _dl_error_catch_tsd member.
9916 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
9917 members.
9918 (_dl_initial_error_catch_tsd): Remove declaration.
9919 (_dl_dprintf): Provide definition for use outside of ld.so.
9920 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
9921 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
9922 prototype for libc.
9923 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
9924 _dl_catch_error.
9925 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
9926 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
9927 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
9928 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
9929 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
9930 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
9931 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
9932 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
9933 Likewise.
9934 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
9935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
9936 (ld.so): Likewise.
9937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9938 (ld.so): Likewise.
9939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
9940 Likewise.
9941 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
9942 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
9943 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
9944 Likewise.
9945 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
9946 Likewise.
9947 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
9948
9949 2016-11-30 Florian Weimer <fweimer@redhat.com>
9950
9951 [BZ #4099]
9952 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
9953 _IO_BUFSIZ (8192).
9954
9955 2016-11-30 Carlos O'Donell <carlos@redhat.com>
9956
9957 * PROJECTS: Remove file.
9958
9959 2016-11-29 Florian Weimer <fweimer@redhat.com>
9960
9961 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
9962
9963 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
9964 Steve Ellcey <sellcey@caviumnetworks.com>
9965
9966 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
9967 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
9968 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
9969 fxstatat.
9970 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
9971 lxstat.
9972 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
9973 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
9974 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
9975 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
9976 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
9977 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
9978 __xstat.
9979
9980 2016-11-29 Florian Weimer <fweimer@redhat.com>
9981
9982 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
9983 Define.
9984 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
9985 definition.
9986
9987 2016-11-29 Florian Weimer <fweimer@redhat.com>
9988
9989 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
9990 version and turn into strong alias. Remove compat symbol.
9991
9992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9993 (__longjmp): Remove.
9994
9995 2016-11-29 Joseph Myers <joseph@codesourcery.com>
9996
9997 * bits/fp-fast.h: New file.
9998 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
9999 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
10000 * math/Makefile (headers): Add bits/fp-fast.h.
10001 * math/math.h: Include <bits/fp-fast.h>.
10002 * bits/mathdef.h (FP_FAST_FMA): Remove.
10003 (FP_FAST_FMAF): Likewise.
10004 (FP_FAST_FMAL): Likewise.
10005 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
10006 (FP_FAST_FMAF): Likewise.
10007 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
10008 (FP_FAST_FMAF): Likewise.
10009 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
10010 (FP_FAST_FMAF): Likewise.
10011 (FP_FAST_FMAL): Likewise.
10012 * sysdeps/arm/bits/mathdef.h: Remove file.
10013 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
10014 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10015 * sysdeps/tile/bits/mathdef.h: Likewise.
10016
10017 2016-11-28 Joseph Myers <joseph@codesourcery.com>
10018
10019 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
10020 * math/w_ilogb.c: Remove.
10021 * math/w_ilogbf.c: Likewise.
10022 * math/w_ilogbl.c: Likewise.
10023 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
10024 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
10025 * math/Makefile (gen-libm-calls): Add w_ilogbF.
10026 (libm-calls): Remove w_ilogbF.
10027 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
10028 (LDOUBLE_ilogbl_libm_version): New macro.
10029
10030 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
10031
10032 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
10033 [!__STRICT_ANSI__ && !__cplusplus].
10034
10035 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
10036
10037 [BZ #20750]
10038 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
10039 of PIC.
10040
10041 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
10042 Yury Norov <ynorov@caviumnetworks.com>
10043 Steve Ellcey <sellcey@caviumnetworks.com>
10044
10045 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
10046 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
10047 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
10048 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
10049 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
10050 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
10051 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
10052 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
10053 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
10054 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
10055 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
10056 to get correct reg name for ILP32.
10057 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
10058 (RELA_SIZE): New Macro.
10059 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
10060 to support ILP32.
10061 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
10062 cast for ILP32 mode.
10063 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
10064 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
10065 * sysdeps/aarch64/memset.S (__memset): Ditto.
10066 * sysdeps/aarch64/strchr.S (strchr): Ditto.
10067 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
10068 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
10069 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
10070 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
10071 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
10072 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
10073 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
10074 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
10075 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
10076 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
10077 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
10078 change PTR_MANGLE call to use register numbers instead of names.
10079 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
10080 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
10081 ILP32 mode, change PTR_MANGLE calls to use register numbers.
10082 * sysdeps/aarch64/start.S (_start): Ditto.
10083 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
10084 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
10085 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
10086 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
10087 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
10088 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
10089 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
10090 Make defined values dependent on __ILP32__.
10091 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
10092 (sem_t): Change __align type.
10093 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
10094 PTR_SIZE): New Macros.
10095 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
10096 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
10097 Set when in ILP32 mode.
10098 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
10099 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
10100 Set elf flags for ILP32.
10101 (add_system_dir): Set ILP32 library directories.
10102 * sysdeps/unix/sysv/linux/aarch64/init-first.c
10103 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
10104 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
10105 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
10106 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
10107 New Macros.
10108 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
10109
10110 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
10111
10112 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
10113 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
10114 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
10115
10116 2016-11-28 Joseph Myers <joseph@codesourcery.com>
10117
10118 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
10119 <asm/cachectl.h>.
10120
10121 2016-11-27 Zack Weinberg <zackw@panix.com>
10122
10123 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
10124 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
10125
10126 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10127
10128 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
10129 error_t to fix usage in C++ programs.
10130
10131 2016-11-26 Joseph Myers <joseph@codesourcery.com>
10132
10133 * scripts/build-many-glibcs.py: Import datetime module.
10134 (Context.__init__): Load JSON build state. Initialize list of
10135 status logs.
10136 (Context.run_builds): Update saved build state.
10137 (Context.add_makefile_cmdlist): Update list of status logs.
10138 (Context.load_build_state_json): New function.
10139 (Context.store_build_state_json): Likewise.
10140 (Context.clear_last_build_state): Likewise.
10141 (Context.update_build_state): Likewise.
10142 (CommandList.status_logs): Likewise.
10143
10144 2016-11-25 Joseph Myers <joseph@codesourcery.com>
10145
10146 * scripts/build-many-glibcs.py (Context.__init__): Save text of
10147 script being executed.
10148 (Context.get_script_text): New function.
10149 (Context.exec_self): Likewise.
10150 (Context.checkout): Re-exec script if changed by checkout process.
10151
10152 2016-11-24 Joseph Myers <joseph@codesourcery.com>
10153
10154 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10155 (setpayloadsig): New declaration.
10156 * math/Versions (setpayloadsig): New libm symbol at version
10157 GLIBC_2.25.
10158 (setpayloadsigf): Likewise.
10159 (setpayloadsigl): Likewise.
10160 * math/Makefile (libm-calls): Add s_setpayloadsigF.
10161 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
10162 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
10163 (setpayloadsig_test_data): New array.
10164 (setpayloadsig_test): New function.
10165 (main): Call setpayloadsig_test.
10166 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
10167 setpayloadsigf and setpayloadsigl.
10168 * manual/libm-err-tab.pl: Update comment on interfaces without
10169 ulps tabulated.
10170 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
10171 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
10172 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
10173 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
10174 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
10175 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
10176 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10177 setpayloadsig.
10178 (CFLAGS-nldbl-setpayloadsig.c): New variable.
10179 * sysdeps/nacl/libm.abilist: Update.
10180 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10181 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10182 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10183 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10184 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10185 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10186 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10187 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10188 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10189 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10190 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10191 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10193 Likewise.
10194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10195 Likewise.
10196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10197 Likewise.
10198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10199 Likewise.
10200 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10201 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10202 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10203 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10204 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10205 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10206 Likewise.
10207 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10208 Likewise.
10209 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10210 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10211 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10212
10213 * scripts/build-many-glibcs.py: Import json module.
10214 (Context.__init__): Take replace_sources argument. Load
10215 versions.json.
10216 (Context.load_versions_json): New function.
10217 (Context.store_json): Likewise.
10218 (Context.store_versions_json): Likewise.
10219 (Context.set_component_version): Likewise.
10220 (Context.checkout): Update versions.json. Check for and handle
10221 changes of version. Prefer previously explicitly specified
10222 version to default version.
10223 (Context.checkout_vcs): Return a revision identifier.
10224 (Context.git_checkout): Likewise.
10225 (Context.gcc_checkout): Likewise.
10226 (get_parser): Add --replace-sources option.
10227 (main): Pass replace_sources argument to Context call.
10228
10229 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10230
10231 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
10232 * nptl/allocatestack.c (allocate_stack): Likewise.
10233 (__reclaim_stacks): Likewise.
10234 (setxid_signal_thread): Obtain pid through syscall.
10235 * nptl/nptl-init.c (sigcancel_handler): Likewise.
10236 (sighandle_setxid): Likewise.
10237 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
10238 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
10239 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
10240 Likewise.
10241 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10242 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
10243 comment.
10244 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
10245 * nptl/descr.h (struct pthread): Change comment about pid value.
10246 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
10247 pid assert.
10248 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
10249 Do not set pid value.
10250 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
10251 pid cache check.
10252 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
10253 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
10254 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
10255 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
10256 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
10257 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10258 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
10259 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
10260 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
10261 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
10262 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
10263 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10264 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
10265 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10266 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
10267 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
10268 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10269 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
10270 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
10271 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
10272 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
10273 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10274 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
10275 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
10276 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
10277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10279 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
10280 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10281 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
10282 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
10283 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
10284 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
10285 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10286 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
10287 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10288 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
10289 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10290 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
10291 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
10292 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10293 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
10294 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
10295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10297 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10298 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10299 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10300 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
10301 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
10302 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
10303 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10304 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
10305 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
10306 struct access.
10307 (clone_test): Remove function.
10308 (do_test): Rewrite to take in consideration pid is not cached anymore.
10309
10310 2016-11-24 Joseph Myers <joseph@codesourcery.com>
10311
10312 * bits/flt-eval-method.h: New file.
10313 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
10314 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
10315 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
10316 * math/Makefile (headers): Add bits/flt-eval-method.h.
10317 * math/math.h: Include <bits/flt-eval-method.h>.
10318 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
10319 [__USE_ISOC99] (double_t): Likewise.
10320 * bits/mathdef.h (float_t): Remove.
10321 (double_t): Likewise.
10322 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
10323 (double_t): Likewise.
10324 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
10325 (double_t): Likewise.
10326 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
10327 (double_t): Likewise.
10328 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
10329 (double_t): Likewise.
10330 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
10331 (double_t): Likewise.
10332 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
10333 (double_t): Likewise.
10334 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
10335 (double_t): Likewise.
10336 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
10337 (double_t): Likewise.
10338 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
10339 (double_t): Likewise.
10340 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
10341 (double_t): Likewise.
10342 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
10343 (double_t): Likewise.
10344 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
10345 (double_t): Likewise.
10346 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
10347 (double_t): Likewise.
10348
10349 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
10350
10351 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
10352 instead of PIC.
10353
10354 2016-11-23 Joseph Myers <joseph@codesourcery.com>
10355
10356 [BZ #20859]
10357 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
10358 (-0x7fffffff) instead of 0x80000001.
10359 * math/test-fp-ilogb-constants.c: New file.
10360 * math/Makefile (tests): Add test-fp-ilogb-constants.
10361
10362 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
10363
10364 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
10365 (_init): Use it in place of hardcoded R_MIPS_JALR.
10366 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
10367 (_init): Use it in place of hardcoded R_MIPS_JALR.
10368 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
10369 (_init): Use it in place of hardcoded R_MIPS_JALR.
10370
10371 2016-11-23 Joseph Myers <joseph@codesourcery.com>
10372
10373 [BZ #20787]
10374 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
10375 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
10376 (double_t): Do not define to double if [__x86_64__] when
10377 __FLT_EVAL_METHOD__ is nonzero.
10378 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
10379 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
10380 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10381 test-flt-eval-method-387 and test-flt-eval-method-sse.
10382 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
10383 variable.
10384 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
10385
10386 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
10387
10388 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
10389 use of -fno-isolate-erroneous-paths options for tilepro.
10390
10391 2016-11-23 Florian Weimer <fweimer@redhat.com>
10392
10393 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
10394 structure initialization is no longer needed.
10395
10396 2016-11-23 Joseph Myers <joseph@codesourcery.com>
10397
10398 [BZ #20855]
10399 * bits/mathdef.h (float_t): Define to float.
10400 * math/test-flt-eval-method.c: New file.
10401 * math/Makefile (tests): Add test-flt-eval-method.
10402 (CFLAGS-test-flt-eval-method.c): New variable.
10403
10404 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
10405
10406 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
10407 and __fstatfs. Make them aliases of __fstatfs64 if
10408 STATFS_IS_STATFS64 is set to non-zero.
10409 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
10410 and __statfs64.
10411 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
10412 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
10413 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
10414 for __statfs and statfs.
10415 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
10416 to 0.
10417 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
10418 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
10419 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
10420 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
10421 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
10422 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
10423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
10424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
10425 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
10426 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
10427 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
10428 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
10429
10430 2016-11-22 Andreas Schwab <schwab@suse.de>
10431
10432 * misc/mkstemp.c: Include <fcntl.h>.
10433 * misc/mkstemps.c: Likewise.
10434 * misc/mkostemp.c: Likewise.
10435 * misc/mkostemps.c: Likewise.
10436
10437 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
10438
10439 [BZ #20847]
10440 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
10441 array bounds.
10442 (__execvpe): Likewise.
10443
10444 2016-11-22 Joseph Myers <joseph@codesourcery.com>
10445
10446 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
10447 -fno-isolate-erroneous-paths options for tilepro.
10448
10449 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
10450
10451 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
10452 to 0 when in 32 bit mode.
10453 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
10454 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
10455 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
10456 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
10457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
10458 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
10459 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
10460 XSTAT_IS_XSTAT64 test.
10461 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
10462 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
10463 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
10464 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
10465 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
10466 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
10467 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
10468 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
10469 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
10470 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
10471 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
10472
10473 2016-11-19 Joseph Myers <joseph@codesourcery.com>
10474
10475 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10476 (setpayload): New declaration.
10477 * math/Versions (setpayload): New libm symbol at version
10478 GLIBC_2.25.
10479 (setpayloadf): Likewise.
10480 (setpayloadl): Likewise.
10481 * math/Makefile (libm-calls): Add s_setpayloadF.
10482 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
10483 test_Ff_b1_data.
10484 (RUN_TEST_Ff_b1): New macro.
10485 (RUN_TEST_LOOP_Ff_b1): Likewise.
10486 (canonicalize_test_data): Update type.
10487 (setpayload_test_data): New array.
10488 (setpayload_test): New function.
10489 (main): Call setpayload_test.
10490 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
10491 setpayloadf and setpayloadl.
10492 * manual/libm-err-tab.pl: Update comment on interfaces without
10493 ulps tabulated.
10494 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
10495 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
10496 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
10497 Likewise.
10498 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
10499 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
10500 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
10501 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
10502 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
10503 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
10504 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
10505 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
10506 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
10507 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10508 setpayload.
10509 (CFLAGS-nldbl-setpayload.c): New variable.
10510 * sysdeps/nacl/libm.abilist: Update.
10511 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10512 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10513 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10514 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10515 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10516 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10517 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10518 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10519 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10520 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10521 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10522 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10524 Likewise.
10525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10526 Likewise.
10527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10528 Likewise.
10529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10530 Likewise.
10531 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10532 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10533 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10534 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10535 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10537 Likewise.
10538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10539 Likewise.
10540 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10541 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10542 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10543
10544 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10545
10546 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
10547 * include/unistd.h: Extend comment about __access_noerrno return
10548 semantics.
10549 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
10550 (access_common): Correct typo for EACCES.
10551
10552 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
10553
10554 * sysdeps/tile/math-tests.h: New file.
10555
10556 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
10557 (__old_set_dataplane): Rename from set_dataplane and make a
10558 compatibility symbol.
10559 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
10560 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
10561 sys/dataplane.h.
10562
10563 2016-11-18 Joseph Myers <joseph@codesourcery.com>
10564
10565 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
10566 script quote words in command output to log suitably for input to
10567 the shell.
10568
10569 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
10570 Maciej W. Rozycki <macro@imgtec.com>
10571
10572 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
10573 `.Lno_weak_fn' label.
10574 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
10575 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
10576
10577 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10578 Yury Norov <ynorov@caviumnetworks.com>
10579
10580 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
10581 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
10582 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10583 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
10584 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10585 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
10586 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10587 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10588 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10589 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
10590 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10591 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
10592 (sysdep_routines): Remove oldgetrlimit64.
10593 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
10594 (sysdep_routines): Likewise.
10595 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
10596 (sysdep_routines): Likewise.
10597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10598 [$(subdir) = resource] (sysdep_routines): Likewise.
10599 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
10600 [$(subdir) = resource] (sysdep_routines): Likewise.
10601 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
10602 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
10603 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
10604 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
10605 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
10606 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10607 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
10608 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
10609 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
10610 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
10611 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
10612 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
10613 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
10614 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
10615 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
10616 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
10617 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
10618 setrlimit and getrlimit.
10619 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
10620 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10621 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
10622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
10624 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10625 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
10626 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10627 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10628 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
10629 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
10630 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
10631 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
10632 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
10633 (__old_getrlimit64): Add compatibility symbol.
10634 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
10635
10636 2016-11-17 Joseph Myers <joseph@codesourcery.com>
10637
10638 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
10639 newly built gmp, mpfr and mpc.
10640
10641 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
10642
10643 2016-11-16 Joseph Myers <joseph@codesourcery.com>
10644
10645 * conform/Makefile (linknamespace-libs): Rename to
10646 linknamespace-libs-thr.
10647 (linknamespace-libs-posix): New variable.
10648 (linknamespace-libs-xsi): Likewise.
10649 (linknamespace-libs-XPG3): Include libcrypt.a.
10650 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
10651 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
10652 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
10653 (linknamespace-libs-XOPEN2K): Likewise.
10654 (linknamespace-libs-XOPEN2K8): Likewise.
10655 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
10656
10657 [BZ #20829]
10658 * stdio-common/Versions (__snprintf): Add to version
10659 GLIBC_PRIVATE.
10660 * include/stdio.h (__snprintf): Use libc_hidden_proto.
10661 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
10662 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
10663 of snprintf.
10664 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10665
10666 2016-11-16 Zack Weinberg <zackw@panix.com>
10667
10668 * string/string.h: Remove obsolete comment stating that
10669 strcoll_l and strxfrm_l have not yet been standardized.
10670
10671 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10672
10673 * hurd/hurd.h (__hurd_fail_noerrno): New function.
10674 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
10675 __access_noerrno.
10676 * io/access.c (__access_noerrno): New function.
10677 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
10678 (hurd_fail_seterrno): Likewise.
10679 (access_common): Likewise.
10680 (__access_noerrno): Likewise.
10681 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
10682 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
10683 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
10684 macro.
10685
10686 2016-11-16 Joseph Myers <joseph@codesourcery.com>
10687
10688 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
10689 Only declare fpregs if [__SH_FPU_ANY__].
10690
10691 2016-11-15 Joseph Myers <joseph@codesourcery.com>
10692
10693 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
10694 Make code unconditional.
10695 [!(__SH4__ || __SH4A__)]: Remove conditional code.
10696
10697 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
10698
10699 * manual/sysinfo.texi (S_APPEND): Delete.
10700 (S_IMMUTABLE): Likewise.
10701
10702 2016-11-15 Denis Kaganovich <mahatma@eu.by>
10703 Magnus Granberg <zorry@gentoo.org>
10704 Mike Frysinger <vapier@gentoo.org>
10705
10706 [BZ #20662]
10707 * configure.ac (libc_cv_predef_stack_protector): Also check for
10708 __stack_chk_fail_local symbols.
10709 * configure: Regenerated.
10710
10711 2016-11-15 Florian Weimer <fweimer@redhat.com>
10712
10713 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
10714 (libc_hidden_def): Remove redefinition.
10715 (__sigsetjmp): Add hidden definition.
10716 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
10717 (libc_hidden_def): Remove redefinition.
10718 (__sigsetjmp): Add hidden definition.
10719
10720 2016-11-14 Joseph Myers <joseph@codesourcery.com>
10721
10722 * scripts/build-many-glibcs.py (os.path): Do not import.
10723 (Context): Inherit explicitly from object. Remove blank line
10724 between class and docstring.
10725 (Config): Likewise.
10726 (Glibc): Likewise.
10727 (Command): Likewise.
10728 (CommandList): Likewise.
10729 (Context.write_files): Store chmod mode in a variable.
10730
10731 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
10732 LIBC_SLIBDIR_RTLDDIR for tilegx32.
10733 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
10734
10735 2016-11-14 Zack Weinberg <zackw@panix.com>
10736
10737 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
10738 creating or re-creating it.
10739
10740 * string/bits/string2.h: Fix typo in comment.
10741
10742 2016-11-14 Zack Weinberg <zackw@panix.com>
10743
10744 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
10745 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
10746 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
10747 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
10748 of redirected function names.
10749
10750 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
10751 as well. Document that MESSAGE must be a single string literal.
10752
10753 2016-11-11 Joseph Myers <joseph@codesourcery.com>
10754
10755 * scripts/build-many-glibcs.py: New file.
10756
10757 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
10758 (do_test): Disable -Wmaybe-uninitialized around uses of
10759 except_mask.
10760
10761 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
10762
10763 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
10764
10765 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
10766 (atomic_store_release): Provide tilepro-specific implementations.
10767
10768 2016-11-10 Joseph Myers <joseph@codesourcery.com>
10769
10770 * math/math.h (__MATH_TG): New macro.
10771 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
10772 [__USE_ISOC99] (signbit): Likewise.
10773 [__USE_ISOC99] (isfinite): Likewise.
10774 [__USE_ISOC99] (isnan): Likewise.
10775 [__USE_ISOC99] (isinf): Likewise.
10776 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
10777 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
10778 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
10779 __MATH_TG and __MATH_EVAL_FMT2.
10780 * sysdeps/generic/math_private.h (fabs_tg): Define using
10781 __MATH_TG.
10782 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
10783 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
10784 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
10785 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
10786 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
10787 macro.
10788 (__iscanonical): Likewise.
10789 (iscanonical): Define using __MATH_TG.
10790
10791 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10792
10793 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
10794 guards.
10795
10796 * sysdeps/unix/sysv/linux/access.c: New file.
10797 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
10798
10799 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
10800
10801 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
10802 and __WORDSIZE32_PTRDIFF_LONG.
10803
10804 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
10805
10806 * sysdeps/aarch64/libm-test-ulps: Regenerated.
10807
10808 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10809
10810 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
10811 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
10812 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
10813 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
10814 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
10815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
10816 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
10817 * sysdeps/unix/sysv/linux/truncate.c: New file.
10818 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
10819 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
10820 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
10821 Remove.
10822 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
10823 Likewise.
10824
10825 * posix/tst-truncate-common.c: New file.
10826 * posix/tst-truncate.c: Use tst-truncate-common.c.
10827 * posix/tst-truncate64.c: Likewise and add LFS tests.
10828 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
10829 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
10830 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
10831 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
10832 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
10833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
10834 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
10835 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
10836 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
10837 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
10838 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
10839 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
10840 Remove.
10841 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
10842 Likewise.
10843
10844 2016-11-08 Joseph Myers <joseph@codesourcery.com>
10845
10846 [BZ #20790]
10847 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
10848 to MAXLINESIZE.
10849 * sunrpc/bug20790.x: New file.
10850 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
10851 variable.
10852 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
10853 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
10854
10855 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
10856
10857 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
10858
10859 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
10860 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
10861 calloc, realloc, free, memalign and __libc_memalign rather than
10862 making them optional.
10863
10864 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
10865 for libc.so.
10866
10867 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10868
10869 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
10870 ptw-lseek64.
10871 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
10872 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
10873 Likewise.
10874 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
10875 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
10876 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
10877 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
10878 * sysdeps/unix/sysv/linux/lseek.c: New file.
10879 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
10880 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
10881 __libc_lseek64 from auto-generation.
10882 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10883 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
10884
10885 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10886
10887 * nptl/tst-basic1.c (tf, do_test): Use write_message.
10888 * nptl/tst-cleanup1.c (do_test): Likewise.
10889 * nptl/tst-cleanup3.c (do_test): Likewise.
10890 * nptl/tst-key1.c (do_test): Likewise.
10891 * nptl/tst-key2.c (tf, do_test): Likewise.
10892 * nptl/tst-key3.c (tf, do_test): Likewise.
10893 * nptl/tst-stdio1.c (do_test): Likewise.
10894 * nptl/tst-stdio2.c (do_test): Likewise.
10895
10896 * nptl/tst-kill3.c (handler): Use write_message in place of write.
10897 * nptl/tst-kill6.c (handler): Likewise.
10898 * nptl/tst-tls2.c (CB): Likewise.
10899 * nptl/tst-tls3.c (CB): Likewise.
10900
10901 2016-11-07 Joseph Myers <joseph@codesourcery.com>
10902
10903 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
10904
10905 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
10906 Steve Ellcey <sellcey@caviumnetworks.com>
10907
10908 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
10909 __ASSUME_ST_INO_64_BIT as 0
10910 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
10911 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
10912 over the code where __ASSUME_ST_INO_64_BIT is used.
10913 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
10914 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
10915 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10916
10917 2016-11-07 Florian Weimer <fweimer@redhat.com>
10918
10919 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10920 Document ABI exposure of the __kind offset.
10921 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10922 Mention reason for the __kind offset exposure in the ABI.
10923 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10924 Likewise.
10925 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10926 Likewise.
10927 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10928 Likewise.
10929 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
10930 (struct __pthread_mutex_s): Likewise.
10931 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10932 Likewise.
10933 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10934 Likewise.
10935 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10936 Likewise.
10937 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10938 Likewise.
10939 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10940 Likewise.
10941 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10942 Likewise.
10943 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10944 (struct __pthread_mutex_s): Likewise.
10945 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10946 (struct __pthread_mutex_s): Likewise.
10947 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
10948 Likewise.
10949
10950 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
10951
10952 * test-skeleton.c: Document do_test usage.
10953
10954 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
10955
10956 * iconv/gconv.h (__gconv_info): Define __data element using a
10957 zero-length array.
10958
10959 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
10960
10961 * math/test-tgmath2.c: Split up test function.
10962
10963 2016-11-04 Joseph Myers <joseph@codesourcery.com>
10964
10965 * Rules (tests-expected): New variable, depending on
10966 $(run-built-tests).
10967 (tests): Pass $(tests-expected) to merge-test-results.sh, not
10968 $(tests).
10969
10970 * Rules [$(run-built-tests) = no] (tests): Do not depend on
10971 $(tests-unsupported).
10972
10973 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10974
10975 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
10976 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
10977
10978 2016-11-04 Joseph Myers <joseph@codesourcery.com>
10979
10980 [BZ #20768]
10981 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
10982 __fegetenv instead of fegetenv.
10983
10984 [BZ #14139]
10985 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
10986 (find_files): Obtain platform name from libm-test-ulps-name and
10987 store in %pplatforms.
10988 (canonicalize_platform): Remove.
10989 (print_platforms): Use $pplatforms directly.
10990 (by_platforms): Do not allow for platforms missing from
10991 %pplatforms.
10992 * sysdeps/aarch64/libm-test-ulps-name: New file.
10993 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
10994 * sysdeps/arm/libm-test-ulps-name: Likewise.
10995 * sysdeps/generic/libm-test-ulps-name: Likewise.
10996 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
10997 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
10998 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
10999 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
11000 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
11001 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
11002 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
11003 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
11004 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
11005 * sysdeps/nios2/libm-test-ulps-name: Likewise.
11006 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
11007 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
11008 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
11009 * sysdeps/sh/libm-test-ulps-name: Likewise.
11010 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
11011 * sysdeps/tile/libm-test-ulps-name: Likewise.
11012 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
11013
11014 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
11015
11016 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
11017 (test-xfail-check-execstack): New variable.
11018
11019 * sysdeps/mips/localplt.data: New file.
11020
11021 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
11022 Steve Ellcey <sellcey@caviumnetworks.com>
11023
11024 * bits/wordsize.h: Add documentation.
11025 * sysdeps/aarch64/bits/wordsize.h : New file
11026 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
11027 definitions.
11028 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
11029 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
11030 with #if instead of #ifdef.
11031 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
11032 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
11033 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
11034 Add or change defines.
11035 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
11036 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11037 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
11038 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
11039 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11040 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11041 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
11042 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
11043 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
11044 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11045 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
11046 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
11047 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
11048 * sysdeps/x86/bits/wordsize.h: Likewise.
11049
11050 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
11051 Kevin Petit <kevin.petit@arm.com>
11052
11053 * sysdeps/aarch64/memchr.S (__memchr): New file.
11054
11055 2016-11-04 Joseph Myers <joseph@codesourcery.com>
11056
11057 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
11058
11059 2016-11-03 Joseph Myers <joseph@codesourcery.com>
11060
11061 [BZ #19398]
11062 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
11063 $(linknamespace-symlists-tests).
11064
11065 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
11066
11067 * time/tst-strptime2.c: Ignore -Wformat-length warning.
11068
11069 2016-11-02 Florian Weimer <fweimer@redhat.com>
11070 Carlos O'Donell <carlos@redhat.com>
11071
11072 [Bug #20729]
11073 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
11074 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
11075 for -Os related change.
11076
11077 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
11078
11079 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
11080
11081 2016-11-01 Joseph Myers <joseph@codesourcery.com>
11082
11083 [BZ #19673]
11084 * manual/math.texi (Exponents and Logarithms): Correct description
11085 of clog10.
11086
11087 2016-10-31 Carlos O'Donell <carlos@redhat.com>
11088
11089 [Bz #20729]
11090 * locale/weight.h: Include libc-internal.h.
11091 * locale/weightwc.h: Likewise.
11092 * nptl/nptl_dbP.h: Likewise.
11093
11094 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
11095
11096 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
11097 when it is MACH_PORT_NULL.
11098
11099 2016-10-31 Andreas Schwab <schwab@suse.de>
11100
11101 [BZ #20707]
11102 * posix/glob.c (glob): Initialize pglob before checking for
11103 GLOB_BRACE. Don't call glob recursively if pattern contains no
11104 valid brace expression despite GLOB_BRACE.
11105 * posix/globtest.sh: Test it.
11106
11107 2016-10-28 Carlos O'Donell <carlos@redhat.com>
11108
11109 [BZ #20729]
11110 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
11111 Define.
11112 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
11113 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
11114 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
11115 for seq2.back_us and seq1.back_us only for -Os compiles.
11116 * locale/weightwc.h (findix): Likewise.
11117 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
11118 DB_GET_FIELD_ADDRESS only for -Os compiles.
11119 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
11120 for slen only for -Os compiles.
11121 * string/strcoll_l.c (get_next_seq): Ignore
11122 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
11123 for -Os compiles.
11124
11125 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
11126 * include/crypt.h: New file.
11127
11128 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11129
11130 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
11131 from test-skeleton.c.
11132 (statclass): Replace calls to write with calls to write_message.
11133
11134 2016-10-28 Joseph Myers <joseph@codesourcery.com>
11135
11136 * math/math.h
11137 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
11138 New macro.
11139 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
11140 Likewise.
11141 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
11142 Likewise.
11143 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
11144 SNANL.
11145 * math/test-double.h (snan_value_MACRO): New macro.
11146 * math/test-float.h (snan_value_MACRO): Likewise.
11147 * math/test-ldouble.h (snan_value_MACRO): Likewise.
11148 * math/libm-test.inc (issignaling_test_data): Add tests of
11149 snan_value_MACRO.
11150
11151 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11152
11153 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
11154 behavior when eliding a lock not held by the current thread.
11155 * sysdeps/powerpc/nptl/elide.h: Likewise.
11156
11157 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11158
11159 [BZ #20728]
11160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
11161 branch to _exit() by a function call.
11162
11163 2016-10-28 Florian Weimer <fweimer@redhat.com>
11164
11165 * malloc/malloc.c: Update chunk layout comments.
11166 (chunk_main_arena): Update comment.
11167
11168 2016-10-28 Florian Weimer <fweimer@redhat.com>
11169
11170 * crypt/sha256.c, crypt/sha256-block.c,
11171 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
11172 sha256_process_block to __sha256_process_block.
11173 * crypt/sha512.c, crypt/sha512-block.c,
11174 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
11175 sha512_process_block to __sha512_process_block.
11176
11177 2016-10-28 Carlos O'Donell <carlos@redhat.com>
11178
11179 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
11180
11181 * math/test-nan-overflow.c: Include stdlib.h for malloc.
11182
11183 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
11184
11185 [BZ #20019]
11186 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
11187 definition in unrelocated shared library.
11188 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11189
11190 2016-10-28 Florian Weimer <fweimer@redhat.com>
11191
11192 [BZ #20729]
11193 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
11194 * sysdeps/unix/sysv/linux/i386/Makefile
11195 (uses-6-syscall-arguments): Define.
11196 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
11197 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
11198 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
11199 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
11200 Likewise.
11201 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
11202 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
11203 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
11204 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
11205 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
11206 (CFLAGS-fallocate64.os): Likewise.
11207 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
11208 (CFLAGS-pthread_rwlock_timedrdlock.os)
11209 (CFLAGS-pthread_rwlock_timedwrlock.o)
11210 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
11211 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
11212 (CFLAGS-sem_timedwait.os): Likewise.
11213
11214 2016-10-28 Florian Weimer <fweimer@redhat.com>
11215
11216 * elf/tst-linkall-static.c: New file.
11217 * elf/Makefile (tests-static): Add tst-linkall-static.
11218 (tst-linkall-static): Link against static libraries.
11219
11220 2016-10-27 Florian Weimer <fweimer@redhat.com>
11221
11222 * malloc/malloc.c (sysmalloc): Initialize previous size field of
11223 mmaped chunks.
11224
11225 2016-10-28 Florian Weimer <fweimer@redhat.com>
11226
11227 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
11228 members to mchunk_prev_size, mchunk_size.
11229 (chunk_main_arena): Reverse sense and rename from
11230 chunk_non_main_arena.
11231 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
11232 mchunk_size instead of size.
11233 (set_non_main_arena): Define.
11234 (chunksize): Use chunksize_nomask instead of direct member access.
11235 (chunksize_nomask): Define.
11236 (next_chunk): Use chunksize instead of direct member access.
11237 (prev_size, set_prev_size): Define.
11238 (prev_chunk): Use prev_size instead of direct member access.
11239 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
11240 (inuse_bit_at_offset, set_inuse_bit_at_offset)
11241 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
11242 (mchunk_prev_size, mchunk_size): Poison tokens.
11243 (unlink): Use chunksize_nomask, prev_size accessors.
11244 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
11245 (do_check_free_chunk): Use prev_size accessor.
11246 (sysmalloc): Use set_prev_size, set_head accessors.
11247 (munmap_chunk, mremap_chunk): Use prev_size accessor.
11248 (__libc_free): Use chunksize_nomask accessor.
11249 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
11250 chunk_main_arena accessors.
11251 (_int_free): Use chunksize_nomask, prev_size accessors.
11252 (malloc_consolidate): Use chunksize, prev_size accessors.
11253 (_int_realloc): Use chunksize_nomask accessor.
11254 (_int_memalign): Use set_prev_size accessor.
11255 (__malloc_info): Use chunksize_nomask accessor.
11256 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
11257 accessors.
11258 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
11259 (heap_trim): Use chunksize_nomask, prev_size accessors.
11260
11261 2016-10-28 Joseph Myers <joseph@codesourcery.com>
11262
11263 [BZ #19380]
11264 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
11265 for inexact results.
11266 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
11267 of inexact result where mpfr_subnormalize is the only inexact
11268 step.
11269 * stdlib/tst-strtod-round-data.h: Regenerated.
11270 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
11271 Define to 0.
11272 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
11273
11274 2016-10-27 David S. Miller <davem@davemloft.net>
11275
11276 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
11277
11278 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
11279
11280 * malloc/malloc.c (do_set_mallopt_check): New function.
11281 (do_set_mmap_threshold): Likewise.
11282 (do_set_mmaps_max): Likewise.
11283 (do_set_top_pad): Likewise.
11284 (do_set_perturb_byte): Likewise.
11285 (do_set_trim_threshold): Likewise.
11286 (do_set_arena_max): Likewise.
11287 (do_set_arena_test): Likewise.
11288 (__libc_mallopt): Use them.
11289
11290 2016-10-26 Joseph Myers <joseph@codesourcery.com>
11291
11292 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11293 (canonicalize): New declaration.
11294 * math/Versions (canonicalize): New libm symbol at version
11295 GLIBC_2.25.
11296 (canonicalizef): Likewise.
11297 (canonicalizel): Likewise.
11298 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
11299 * math/s_canonicalize_template.c: New file.
11300 * math/libm-test.inc: Update comment on functions tested and
11301 testing of NaN payloads.
11302 (TEST_NAN_PAYLOAD): New macro.
11303 (NO_TEST_INLINE): Update value.
11304 (XFAIL_TEST): Likewise.
11305 (ERRNO_UNCHANGED): Likewise.
11306 (ERRNO_EDOM): Likewise.
11307 (ERRNO_ERANGE): Likewise.
11308 (IGNORE_RESULT): Likewise.
11309 (NON_FINITE): Likewise.
11310 (TEST_SNAN): Likewise.
11311 (NO_TEST_MATHVEC): Likewise.
11312 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
11313 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
11314 (struct test_Ffp_b1_data): New type.
11315 (RUN_TEST_Ffp_b1): New macro.
11316 (RUN_TEST_LOOP_Ffp_b1): Likewise.
11317 (canonicalize_test_data): New array.
11318 (canonicalize_test): New function.
11319 (main): Call canonicalize_test.
11320 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
11321 canonicalizef and canonicalizel.
11322 * manual/libm-err-tab.pl: Update comment on interfaces without
11323 ulps tabulated.
11324 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
11325 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
11326 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11327 canonicalize.
11328 (CFLAGS-nldbl-canonicalize.c): New variable.
11329 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
11330 to ...
11331 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
11332 ... here.
11333 (do_test): Also test canonicalizel.
11334 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
11335 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
11336 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
11337 file.
11338 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
11339 Use libm_hidden_def.
11340 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
11341 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
11342 (do_test): Also test canonicalizel.
11343 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
11344 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
11345 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
11346 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
11347 libm_hidden_def.
11348 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
11349 macro.
11350 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
11351 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
11352 * sysdeps/nacl/libm.abilist: Update.
11353 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11354 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11355 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11356 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11357 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11358 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11359 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11360 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11361 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11362 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11363 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11364 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11366 Likewise.
11367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11368 Likewise.
11369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11370 Likewise.
11371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11372 Likewise.
11373 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11374 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11375 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11376 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11377 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11379 Likewise.
11380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11381 Likewise.
11382 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11383 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11384 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11385
11386 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
11387 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11388 getpayload.
11389 (CFLAGS-nldbl-getpayload.c): New variable.
11390
11391 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11392
11393 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
11394 integer from the format string.
11395
11396 2016-10-26 Florian Weimer <fweimer@redhat.com>
11397
11398 [BZ #19473]
11399 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
11400 declarations.
11401 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
11402 weak aliases.
11403 * malloc/hooks.c (__malloc_get_state): Remove definition.
11404 (malloc_get_state): New stub implementation as
11405 compatibility symbol.
11406 (malloc_set_state): Rename from __malloc_set_state. Turn into
11407 compat symbol.
11408 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
11409 malloc_set_state.
11410 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
11411
11412 2016-10-26 Florian Weimer <fweimer@redhat.com>
11413
11414 * iconvdata/iso646.c (enum variant): Drop illegal_var.
11415 (names): Turn into concatenation of strings.
11416 (gconv_init): Adapt iteration over names.
11417
11418 2016-10-26 Florian Weimer <fweimer@redhat.com>
11419
11420 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
11421 make const.
11422 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
11423 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
11424 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
11425 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
11426 character in sbconv.
11427 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
11428 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
11429 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
11430
11431 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
11432
11433 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
11434
11435 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
11436 (M_TRIM_THRESHOLD): Likewise.
11437
11438 * manual/memory.texi (M_ARENA_TEST): Add documentation.
11439 (M_ARENA_MAX): Likewise.
11440 * malloc/malloc.c: Remove obsolete comment.
11441
11442 * manual/memory.texi: Add environment variable alternatives to
11443 setting mallopt parameters.
11444
11445 2016-10-26 Carlos O'Donell <carlos@redhat.com>
11446
11447 * include/atomic.h
11448 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
11449 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
11450
11451 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11452
11453 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
11454 * stdlib/tst-strfrom.h: New file.
11455 * stdlib/tst-strfrom.c: New file.
11456 * stdlib/tst-strfrom-locale.c: New file.
11457
11458 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
11459 * stdlib/bug-strtod2.c: Likewise.
11460 * stdlib/tst-strtod-round-skeleton.c: Likewise.
11461 * stdlib/tst-strtod6.c: Likewise.
11462 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
11463
11464 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11465
11466 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
11467 * manual/arith.texi: Document strfromd, strfromf, strfroml.
11468 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
11469 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
11470 * stdlib/stdlib.h (strfromd): New declaration.
11471 (strfromf): Likewise.
11472 (strfroml): Likewise.
11473 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
11474 strfrom.
11475 * stdlib/strfromd.c: New file.
11476 * stdlib/strfromf.c: Likewise.
11477 * stdlib/strfroml.c: Likewise.
11478 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
11479 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
11480 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
11481 * sysdeps/arm/nacl/libc.abilist: Update.
11482 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11483 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11484 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11485 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11486 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11487 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11488 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11489 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11490 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11491 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11492 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11493 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11494 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11495 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
11498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11500 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11501 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11502 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11503 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11504 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11507 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11508 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11509 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11510
11511 2016-10-25 Joseph Myers <joseph@codesourcery.com>
11512
11513 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
11514 instead of cmpli.
11515 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
11516 instead of cmpli.
11517
11518 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
11519
11520 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
11521 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
11522 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
11523 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
11524 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
11525 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
11526
11527 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11528
11529 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
11530 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11531 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
11532 SYSCALL_LL64_PRW.
11533 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11534 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
11535 __ASSUME_PRW_DUMMY_ARG.
11536 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
11537 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11538 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
11539 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11540 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
11541 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
11542
11543 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
11544
11545 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
11546
11547 2016-10-22 Florian Weimer <fweimer@redhat.com>
11548
11549 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
11550 "C++", to override a potential extern "C" directive around the
11551 header file inclusion.
11552
11553 2016-10-21 Joseph Myers <joseph@codesourcery.com>
11554
11555 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
11556
11557 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11558
11559 * sysdeps/powerpc/fpu/fenv_private.h:
11560 (_FPU_MASK_ALL): Rename to...
11561 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
11562 XE FPSCR bits.
11563
11564 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
11565
11566 (_FPU_MASK_ROUNDING): Rename to...
11567 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
11568 NI bits.
11569
11570 (_FPU_MASK_EXCEPT_ROUND): Rename to...
11571 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
11572 bits and rounding bits.
11573
11574 (__libc_feholdbits_ppc): New inline function to mask, set,
11575 and pontentially clear FSPCR bits, and change MSR[FE] bits.
11576 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
11577 (libc_feholdexcept_setround_ppc): Likewise.
11578
11579 (__libc_femergeenv_ppc): New function to dynamically mask both
11580 old and new FP environments and merge.
11581 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
11582 (libc_feresetround_ppc): Likewise.
11583 (libc_feupdateenv_test_ppc): Likewise.
11584 (libc_feupdateenv_ppc): Likewise.
11585
11586 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
11587 of ISA RN bits, and update macro names.
11588 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
11589 effectively the same as the previously mentioned function.
11590
11591 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
11592 usage with fe_resetround_ppc.
11593
11594 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
11595 to be used.
11596 (libc_feholdexcept_setround_ctxf): Likewise.
11597 (libc_feholdexcept_setround_ctxl): Likewise.
11598
11599 2016-10-21 Florian Weimer <fweimer@redhat.com>
11600
11601 [BZ #20715]
11602 * math/math.h [__cplusplus] (iszero): Define as function template.
11603 * math/Makefile [CXX] (tests): Add test-math-iszero.
11604 (CFLAGS-test-math-iszero.cc): Set.
11605 * math/test-math-iszero.cc: New file.
11606
11607 2016-10-20 Joseph Myers <joseph@codesourcery.com>
11608
11609 [BZ #20660]
11610 * sysdeps/arm/e_sqrt.c: New file.
11611 * sysdeps/arm/e_sqrtf.c: Likewise.
11612
11613 2016-10-19 Joseph Myers <joseph@codesourcery.com>
11614
11615 [BZ #20718]
11616 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
11617 not use floating-point comparisons to test sign.
11618 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
11619 Likewise.
11620
11621 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11622 (getpayload): New declaration.
11623 * math/Versions (getpayload): New libm symbol at version
11624 GLIBC_2.25.
11625 (getpayloadf): Likewise.
11626 (getpayloadl): Likewise.
11627 * math/Makefile (libm-calls): Add s_getpayloadF.
11628 * math/libm-test.inc: Include <nan-high-order-bit.h>.
11629 (struct test_f_f_data): Add comment.
11630 (RUN_TEST_fp_f): New macro.
11631 (RUN_TEST_LOOP_fp_f): Likewise.
11632 (getpayload_test_data): New array.
11633 (getpayload_test): New function.
11634 (main): Call getpayload_test.
11635 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
11636 descriptor.
11637 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
11638 getpayloadf and getpayloadl.
11639 * manual/libm-err-tab.pl: Update comment on interfaces without
11640 ulps tabulated.
11641 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
11642 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
11643 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
11644 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
11645 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
11646 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
11647 * sysdeps/nacl/libm.abilist: Update.
11648 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11649 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11650 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11651 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11652 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11653 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11654 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11655 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11656 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11657 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11658 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11659 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11661 Likewise.
11662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11663 Likewise.
11664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11665 Likewise.
11666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11667 Likewise.
11668 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11669 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11670 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11671 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11672 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11674 Likewise.
11675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11676 Likewise.
11677 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11678 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11679 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11680
11681 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11682
11683 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
11684 tst-fallocate{64}.
11685 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
11686 on syscall return.
11687
11688 2016-10-17 Carlos O'Donell <carlos@redhat.com>
11689
11690 [BZ #20689]
11691 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
11692 usable.
11693
11694 2016-10-17 Joseph Myers <joseph@codesourcery.com>
11695
11696 * sysdeps/generic/nan-high-order-bit.h: New file.
11697 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
11698 * sysdeps/mips/nan-high-order-bit.h: Likewise.
11699 * sysdeps/hppa/math_private.h: Remove file.
11700 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
11701 not define here.
11702 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
11703 <nan-high-order-bit.h>.
11704 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11705 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
11706 <nan-high-order-bit.h>.
11707 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11708 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
11709 <nan-high-order-bit.h>.
11710 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11711 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
11712 <nan-high-order-bit.h>.
11713 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11714 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
11715 <nan-high-order-bit.h>.
11716 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11717 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
11718 <nan-high-order-bit.h>.
11719 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11720 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
11721 <nan-high-order-bit.h>.
11722 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11723 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
11724 <nan-high-order-bit.h>.
11725 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11726 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
11727 <nan-high-order-bit.h>.
11728 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11729 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
11730 <nan-high-order-bit.h>.
11731 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11732 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
11733 <nan-high-order-bit.h>.
11734 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11735 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
11736 <nan-high-order-bit.h>.
11737 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11738 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
11739 <nan-high-order-bit.h>.
11740 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11741 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
11742 <nan-high-order-bit.h>.
11743 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11744 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
11745 <nan-high-order-bit.h>.
11746 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11747 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
11748 <nan-high-order-bit.h>.
11749 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11750 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
11751 <nan-high-order-bit.h>.
11752 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11753 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
11754 <nan-high-order-bit.h>.
11755 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11756
11757 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11758
11759 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
11760
11761 2016-09-22 John David Anglin <dave.anglin@bell.net>
11762
11763 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
11764 abort-instr.h.
11765 (EFAULT): Remove conditional define.
11766 (ENOSYS): Likewise.
11767 (atomic_compare_and_exchange_val_acq): Use instruction nullification
11768 instead of conditional branch instructions.
11769
11770 2016-10-15 Joseph Myers <joseph@codesourcery.com>
11771
11772 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11773 (totalordermag): New declaration.
11774 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
11775 New macro.
11776 * math/Versions (totalordermag): New libm symbol at version
11777 GLIBC_2.25.
11778 (totalordermagf): Likewise.
11779 (totalordermagl): Likewise.
11780 * math/Makefile (libm-calls): Add s_totalordermagF.
11781 * math/libm-test.inc (totalordermag_test_data): New array.
11782 (totalordermag_test): New function.
11783 (main): Call totalordermag_test.
11784 * math/test-tgmath.c (NCALLS): Increase to 125.
11785 (F(compile_test)): Call totalordermag.
11786 (F(totalordermag)): New function.
11787 * manual/arith.texi (FP Comparison Functions): Document
11788 totalordermag, totalordermagf and totalordermagl.
11789 * manual/libm-err-tab.pl: Update comment on interfaces without
11790 ulps tabulated.
11791 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
11792 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
11793 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
11794 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
11795 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
11796 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
11797 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
11798 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11799 totalordermag.
11800 (CFLAGS-nldbl-totalordermag.c): New variable.
11801 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
11802 (do_test): Also test totalordermagl.
11803 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
11804 Likewise.
11805 * sysdeps/nacl/libm.abilist: Update.
11806 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11807 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11808 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11809 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11810 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11811 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11812 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11813 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11814 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11815 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11816 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11817 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11819 Likewise.
11820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11821 Likewise.
11822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11823 Likewise.
11824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11825 Likewise.
11826 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11827 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11828 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11829 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11830 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11832 Likewise.
11833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11834 Likewise.
11835 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11836 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11837 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11838
11839 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
11840
11841 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
11842 boolean.
11843
11844 2016-10-13 Joseph Myers <joseph@codesourcery.com>
11845
11846 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
11847 raising FE_INVALID with feraisexcept in case where part of
11848 argument is infinite, subtract that part of argument from itself.
11849 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
11850 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
11851 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
11852
11853 2016-10-12 Joseph Myers <joseph@codesourcery.com>
11854
11855 * math/libm-test.inc (totalorder_test_data): Add more tests.
11856
11857 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
11858
11859 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
11860 Undefine weak_alias and add a comment why mips64 require
11861 versioning.
11862
11863 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
11864
11865 [BZ #20647]
11866 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
11867 maximum CPUID level is less than 2.
11868
11869 2016-10-12 Joseph Myers <joseph@codesourcery.com>
11870
11871 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11872 (totalorder): New declaration.
11873 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
11874 New macro.
11875 * math/Versions (totalorder): New libm symbol at version
11876 GLIBC_2.25.
11877 (totalorderf): Likewise.
11878 (totalorderl): Likewise.
11879 * math/Makefile (libm-calls): Add s_totalorderF.
11880 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
11881 string.
11882 * math/libm-test.inc (PAYLOAD_DIG): New macro.
11883 (qnan_value_pl): Likewise.
11884 (snan_value_pl): Likewise.
11885 (qnan_value): Define using qnan_value_pl.
11886 (snan_value): Define using snan_value_pl.
11887 (struct test_ff_i_data): Add comment about which tests use this
11888 structure.
11889 (RUN_TEST_ff_b): New macro.
11890 (RUN_TEST_LOOP_ff_b): Likewise.
11891 (totalorder_test_data): New array.
11892 (totalorder_test): New function.
11893 (main): Call totalorder_test.
11894 * math/test-tgmath.c (NCALLS): Increase to 122.
11895 (F(compile_test)): Call totalorder.
11896 (F(totalorder)): New function.
11897 * manual/arith.texi (FP Comparison Functions): Document
11898 totalorder, totalorderf and totalorderl.
11899 * manual/libm-err-tab.pl: Update comment on interfaces without
11900 ulps tabulated.
11901 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
11902 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
11903 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
11904 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
11905 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
11906 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
11907 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
11908 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11909 totalorder.
11910 (CFLAGS-nldbl-totalorder.c): New variable.
11911 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
11912 file.
11913 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
11914 Add test-totalorderl-ldbl-128ibm.
11915 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
11916 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
11917 test-totalorderl-ldbl-96.
11918 * sysdeps/nacl/libm.abilist: Update.
11919 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11920 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11921 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11922 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11923 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11924 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11925 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11926 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11927 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11928 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11929 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11930 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11932 Likewise.
11933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11934 Likewise.
11935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11936 Likewise.
11937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11938 Likewise.
11939 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11940 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11941 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11942 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11943 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11945 Likewise.
11946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11947 Likewise.
11948 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11949 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11950 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11951
11952 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11953
11954 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
11955 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
11956 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
11957 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
11958 remove ENOSYS implementation.
11959 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
11960 Consolidate all Linux implementations.
11961
11962 2016-10-11 Florian Weimer <fweimer@redhat.com>
11963
11964 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
11965 * resolv/herror.c (herror): Cast away const-ness.
11966 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
11967 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
11968
11969 2016-10-11 Joseph Myers <joseph@codesourcery.com>
11970
11971 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
11972 instead of M_NAN + M_NAN.
11973 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
11974
11975 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11976
11977 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
11978 unused variable 'p'.
11979
11980 2016-10-09 Alan Modra <amodra@gmail.com>
11981 Andreas Schwab <schwab@linux-m68k.org>
11982
11983 [BZ #20554]
11984 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
11985 [PIC && !SHARED]: Set up PIC register for PLT call.
11986
11987 2016-10-07 Joseph Myers <joseph@codesourcery.com>
11988
11989 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
11990 conditional on value of [__FLT_EVAL_METHOD__].
11991 * math/test-iseqsig-excess-precision.c: New file.
11992 * math/Makefile (tests): Add test-iseqsig-excess-precision.
11993
11994 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11995
11996 * math/s_iseqsig_template.c: Include math-private.h.
11997
11998 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
11999 * posix/tst-posix_fadvise.c: New file.
12000 * posix/tst-posix_fadvise64.c: Likewise.
12001 * posix/tst-posix_fadvise-common.c: Likewise.
12002 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12003 (__ASSUME_FADVISE64_64_6ARG): Define.
12004 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12005 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
12006 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12007 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
12008 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
12009 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
12010 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
12011 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
12012 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
12013 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
12014 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
12015 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
12016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
12017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
12018 Likewise.
12019 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
12020 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
12021 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
12022 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
12023 Alias to __posix_fadvise64_l32.
12024 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
12025 Add compat definition to posix_fadvise64.
12026 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
12027 Add versioned definition to posix_fadvise64.
12028 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
12029 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
12030 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
12031 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
12032 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
12033
12034 * io/Makefile (tests): Add tst-posix_fallocate and
12035 tst-posix_fallocate64.
12036 * io/tst-posix_fallocate-common.c: New file.
12037 * io/tst-posix_fallocate.c: Likewise.
12038 * io/tst-posix_fallocate64.c: Likewise.
12039 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
12040 file.
12041 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
12042 Likewise.
12043 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
12044 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
12045 Likewise.
12046 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
12047 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
12048 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
12049 SYSCALL_LL to pass both offset and len arguments.
12050 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
12051 Likewise.
12052 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
12053 __libc_pwrite64 alias used by posix_fallocate64.
12054
12055 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
12056 tst-fallocate64.
12057 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
12058 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
12059 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12060 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
12061 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
12062 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
12063 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
12064 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12065 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
12066 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
12067 macro on offset argument.
12068 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
12069 SYSCALL_LL64 on offset argument.
12070
12071 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
12072 tst-fallocate64.
12073 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
12074 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
12075 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12076 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
12077 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
12078 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
12079 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
12080 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12081 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
12082 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
12083 macro on offset argument.
12084 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
12085 SYSCALL_LL64 on offset argument.
12086 * test-skeleton.c (FAIL_RET): Add macro.
12087 (FAIL_EXIT): Likewise.
12088 (FAIL_EXIT1): Likewise.
12089 (_FAIL): Likewise.
12090
12091 2016-10-07 Florian Weimer <fweimer@redhat.com>
12092
12093 [BZ #20629]
12094 resolv: Remove RES_USEBSTRING and its implementation.
12095 * resolv/resolv.h (RES_USEBSTRING): Remove.
12096 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
12097 (digitvalue, encode_bitstring, decode_bitstring): Remove.
12098 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
12099 (labellen): Remove extended label types support.
12100 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
12101 * resolv/res_init.c (res_setoptions): Likewise.
12102 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
12103
12104 2016-10-07 Florian Weimer <fweimer@redhat.com>
12105
12106 resolv: Remove RES_NOIP6DOTINT and its implementation.
12107 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
12108 (RES_NOIP6DOTINT): Remove.
12109 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
12110 handling.
12111 * resolv/res_debug.c (p_option): Likewise.
12112 * resolv/res_init.c (res_setoptions): Likewise.
12113 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
12114
12115 2016-10-07 Florian Weimer <fweimer@redhat.com>
12116
12117 resolv: Deprecate unimplemented flags.
12118 * misc/sys/cdefs.h (__glibc_macro_warning1)
12119 (__glibc_macro_warning): Define.
12120 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
12121 (RES_KEEPTSIG): Mark as deprecated.
12122 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
12123 RES_NOCHECKNAME, RES_KEEPTSIG.
12124 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
12125
12126 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
12127
12128 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
12129 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
12130 Use strong_alias to create symbols for glibc verison 2.19.
12131
12132 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
12133
12134 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
12135
12136 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
12137
12138 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
12139
12140 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
12141
12142 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
12143
12144 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
12145
12146 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12147 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
12148 in header for using it as type for ifunc function because __GI_* symbols
12149 for ppc32 do not target the ifunc symbols.
12150 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12151
12152 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
12153
12154 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
12155 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
12156 libc_ifunc_hidden_def.
12157 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
12158 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
12159 Redirect ifunced function in header for using it as type of ifunc'ed
12160 function. Redefine libc_hidden_def to use fallback non ifunc'ed
12161 function for __GI_* symbol.
12162 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
12163 * include/libc-symbols.h
12164 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
12165
12166 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
12167
12168 [BZ #20478]
12169 * sysdeps/s390/multiarch/ifunc-resolve.h
12170 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
12171 to create ifunc symbols.
12172 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
12173 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
12174 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
12175 for using it as type for ifunc function.
12176 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
12177 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
12178 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
12179 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
12180 * sysdeps/s390/multiarch/strcat.c: Likewise.
12181 * sysdeps/s390/multiarch/strchr.c: Likewise.
12182 * sysdeps/s390/multiarch/strcmp.c: Likewise.
12183 * sysdeps/s390/multiarch/strcpy.c: Likewise.
12184 * sysdeps/s390/multiarch/strcspn.c: Likewise.
12185 * sysdeps/s390/multiarch/strlen.c: Likewise.
12186 * sysdeps/s390/multiarch/strncmp.c: Likewise.
12187 * sysdeps/s390/multiarch/strncpy.c: Likewise.
12188 * sysdeps/s390/multiarch/strnlen.c: Likewise.
12189 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
12190 * sysdeps/s390/multiarch/strrchr.c: Likewise.
12191 * sysdeps/s390/multiarch/strspn.c: Likewise.
12192 * sysdeps/s390/multiarch/wcschr.c: Likewise.
12193 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
12194 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
12195 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
12196 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
12197 * sysdeps/s390/multiarch/wmemset.c: Likewise.
12198 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
12199 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
12200 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
12201 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
12202 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
12203 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
12204
12205 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
12206
12207 * include/libc-symbols.h (__ifunc_resolver):
12208 New macro is used by __ifunc* macros.
12209 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
12210 depending on HAVE_GCC_IFUNC.
12211 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
12212 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
12213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
12214 Redirect ifunced function in header for using as type for ifunc function.
12215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
12216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
12217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
12218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
12219 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12220 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12221 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12222 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12223 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12224 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12225 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12226 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12227 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12228 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
12230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
12231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
12232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
12233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
12234 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12235 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12236 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12237 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12238 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12239 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12240 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12241 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12242 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12243 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12244 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12245 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12246 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
12247 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
12249 Add libc_hidden_def() and use libc_ifunc_hidden() macro
12250 instead of libc_ifunc() macro.
12251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
12252 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12253
12254 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
12255
12256 * config.h.in (HAVE_GCC_IFUNC): New undef.
12257 * configure.ac: Add check if gcc supports attribute ifunc feature.
12258 * configure: Regenerated.
12259 * manual/install.texi: Add recommendation for gcc with
12260 indirect-function support.
12261 * INSTALL: Regenerated.
12262
12263 2016-10-06 Joseph Myers <joseph@codesourcery.com>
12264
12265 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
12266 macro.
12267 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12268 (__iseqsig): New declaration.
12269 * math/s_iseqsig_template.c: New file.
12270 * math/Versions (__iseqsigf): New libm symbol at version
12271 GLIBC_2.25.
12272 (__iseqsig): Likewise.
12273 (__iseqsigl): Likewise.
12274 * math/libm-test.inc (iseqsig_test_data): New array.
12275 (iseqsig_test): New function.
12276 (main): Call iseqsig_test.
12277 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
12278 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
12279 * manual/libm-err-tab.pl: Update comment on interfaces without
12280 ulps tabulated.
12281 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
12282 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
12283 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
12284 * sysdeps/nacl/libm.abilist: Update.
12285 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12286 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12287 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12288 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12289 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12290 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12291 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12292 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12293 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12294 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12295 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12296 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12298 Likewise.
12299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12300 Likewise.
12301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12302 Likewise.
12303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12304 Likewise.
12305 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12306 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12307 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12308 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12309 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12311 Likewise.
12312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12313 Likewise.
12314 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12315 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12316 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12317
12318 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
12319
12320 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
12321 do_sincos_2, sloww, sloww1): Update comments.
12322
12323 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
12324 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
12325
12326 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
12327 K boolean and rename it.
12328 (__sin): Adjust.
12329 (__cos): Adjust.
12330
12331 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
12332 Siddhesh Poyarekar <siddhesh@sourceware.org>
12333
12334 * manual/nss.texi: Fix typos in the manual.
12335
12336 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
12337
12338 * manual/contrib.texi: Fix typos in the manual.
12339
12340 * manual/maint.texi: Fix typos in the manual.
12341
12342 * manual/install.texi: Fix typos in the manual.
12343 * INSTALL: Regenerated.
12344
12345 * manual/lang.texi: Fix typos in the manual.
12346
12347 * manual/probes.texi: Fix typos in the manual.
12348
12349 * manual/threads.texi: Fix typos in the manual.
12350
12351 * manual/debug.texi: Fix typos in the manual.
12352
12353 * manual/crypt.texi: Fix typos in the manual.
12354
12355 * manual/conf.texi: Fix typos in the manual.
12356
12357 * manual/sysinfo.texi: Fix typos in the manual.
12358
12359 * manual/users.texi: Fix typos in the manual.
12360
12361 * manual/job.texi: Fix typos in the manual.
12362
12363 * manual/process.texi: Fix typos in the manual.
12364
12365 * manual/argp.texi: Fix typos in the manual.
12366 * manual/getopt.texi: Likewise.
12367 * manual/startup.texi: Likewise.
12368
12369 * manual/signal.texi: Fix typos in the manual.
12370
12371 * manual/setjmp.texi: Fix typos in the manual.
12372
12373 * manual/resource.texi: Fix typos in the manual.
12374
12375 * manual/time.texi: Fix typos in the manual.
12376
12377 * manual/arith.texi: Fix typos in the manual.
12378
12379 * manual/math.texi: Fix typos in the manual.
12380
12381 * manual/syslog.texi: Fix typos in the manual.
12382
12383 * manual/terminal.texi: Fix typos in the manual.
12384
12385 * manual/socket.texi: Fix typos in the manual.
12386
12387 * manual/filesys.texi: Fix typos in the manual.
12388
12389 * manual/llio.texi: Fix typos in the manual.
12390
12391 * manual/stdio.text: Fix typos in the manual.
12392
12393 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
12394
12395 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
12396 instead of K1.
12397
12398 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
12399 SHIFT_QUADRANT and make it bool.
12400 (do_sincos_2): Likewise.
12401 (sloww): Likewise.
12402 (sloww1): Likewise.
12403 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
12404 (__cos): Likewise.
12405
12406 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12407
12408 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
12409
12410 2016-10-04 Joseph Myers <joseph@codesourcery.com>
12411
12412 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
12413 Define to __WORDSIZE, not conditional on [LONG_MAX ==
12414 0x7fffffffL].
12415 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
12416
12417 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12418
12419 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
12420 inline by __inline__.
12421 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
12422 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
12423 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
12424 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
12425 sigset_t from signal.h.
12426 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
12427 which is already required.
12428
12429 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
12430
12431 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12432
12433 2016-10-03 Joseph Myers <joseph@codesourcery.com>
12434
12435 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
12436 (struct tcp_repair_window): New type.
12437
12438 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12439
12440 * libio/tst-memstream3.c: Include string.h.
12441
12442 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12443
12444 [BZ #18241]
12445 [BZ #20181]
12446 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
12447 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
12448 write position is at the end the buffer.
12449 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
12450 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
12451 (_IO_str_seekoff): Set correct offset from negative displacement and
12452 set EINVAL for invalid ones.
12453 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
12454 buffer length.
12455 (_IO_wstr_switch_to_get_mode): New function.
12456 (_IO_wstr_seekoff): Set correct offset from negative displacement and
12457 set EINVAL for invalid ones.
12458 * libio/tst-memstream3.c: New file.
12459 * libio/tst-wmemstream3.c: Likewise.
12460 * manual/examples/memstrm.c: Remove warning when priting size_t.
12461
12462 2016-09-30 Joseph Myers <joseph@codesourcery.com>
12463
12464 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
12465 macro to use __builtin_fma.
12466 * sysdeps/x86_64/fpu/dla.h: Remove file.
12467
12468 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
12469 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
12470 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
12471
12472 2016-09-30 Carlos O'Donell <carlos@redhat.com>
12473
12474 [BZ #20292]
12475 * elf/Makefile (routines): Add dl-addr-obj.
12476 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
12477 tst-_dl_addr_inside_object.
12478 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
12479 [ifeq (yesyes,$(have-fpie)$(build-shared))]
12480 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
12481 [ifeq (yesyes,$(have-fpie)$(build-shared))]
12482 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
12483 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
12484 * elf/dl-open.c: Likewise.
12485 * elf/dl-addr-obj.c: New file.
12486 * elf/tst-_dl_addr_inside_object.c: New file.
12487
12488 2016-09-30 Joseph Myers <joseph@codesourcery.com>
12489
12490 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
12491 <bits/iscanonical.h>.
12492 * bits/iscanonical.h: New file.
12493 * math/s_iscanonicall.c: Likewise.
12494 * math/Versions (__iscanonicall): New libm symbol at version
12495 GLIBC_2.25.
12496 * math/libm-test.inc (iscanonical_test_data): New array.
12497 (iscanonical_test): New function.
12498 (main): Call iscanonical_test.
12499 * math/Makefile (headers): Add bits/iscanonical.h.
12500 (type-ldouble-routines): Add s_iscanonicall.
12501 * manual/arith.texi (Floating Point Classes): Document
12502 iscanonical.
12503 * manual/libm-err-tab.pl: Update comment on interfaces without
12504 ulps tabulated.
12505 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
12506 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
12507 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
12508 Likewise.
12509 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
12510 test-iscanonical-ldbl-128ibm.
12511 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
12512 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
12513 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
12514 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
12515 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
12516 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12517 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12519 Likewise.
12520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12521 Likewise.
12522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12523 Likewise.
12524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12525 Likewise.
12526 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12527 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12528
12529 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12530
12531 * string/bits/string3.h: Remove C++ style comments.
12532
12533 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
12534
12535 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
12536 instead of ternary condition.
12537 (do_sincos_2): Likewise.
12538 (__sin): Likewise.
12539 (__cos): Likewise.
12540 (slow): Likewise.
12541 (sloww): Likewise.
12542 (sloww1): Likewise.
12543 (bsloww): Likewise.
12544 (bsloww1): Likewise.
12545
12546 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
12547 instead of ternary condition.
12548 (do_sin_slow): Likewise.
12549 (do_sincos_1): Likewise.
12550 (do_sincos_2): Likewise.
12551 (__cos): Likewise.
12552 (sloww): Likewise.
12553 (sloww1): Likewise.
12554 (sloww2): Likewise.
12555 (bsloww): Likewise.
12556 (bsloww1): Likewise.
12557 (bsloww2): Likewise.
12558
12559 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
12560 check from here...
12561 (slow2): ... and here...
12562 (__sin): ... to here.
12563
12564 2016-09-28 Joseph Myers <joseph@codesourcery.com>
12565
12566 * math/math.h
12567 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
12568 Cast argument to its own type.
12569 * math/test-iszero-excess-precision.c: New file.
12570 * math/Makefile (tests): Add test-iszero-excess-precision.
12571 (CFLAGS-test-iszero-excess-precision.c): New variable.
12572
12573 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12574
12575 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
12576 field, add err field.
12577 (__spawni_child): Report error through err member instead of pipe.
12578 (__spawnix): Likewise.
12579
12580 2016-09-28 Zack Weinberg <zackw@panix.com>
12581
12582 * scripts/check-installed-headers.sh: Generalize treatment of
12583 sys/elf.h to all target architectures.
12584
12585 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
12586 deleted typedef ucontext_t.
12587
12588 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12589
12590 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
12591 (__INTERNAL_SYSCALL1): Likewise.
12592 (__INTERNAL_SYSCALL2): Likewise.
12593 (__INTERNAL_SYSCALL3): Likewise.
12594 (__INTERNAL_SYSCALL4): Likewise.
12595 (__INTERNAL_SYSCALL5): Likewise.
12596 (__INTERNAL_SYSCALL6): Likewise.
12597 (__INTERNAL_SYSCALL7): Likewise.
12598 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
12599 (__INTERNAL_SYSCALL_NARGS): Likewise.
12600 (__INTERNAL_SYSCALL_DISP): Likewise.
12601 (INTERNAL_SYSCALL_CALL): Likewise.
12602 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
12603 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
12604 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
12605 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
12606 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
12607 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
12608 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
12609 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
12610 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
12611 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
12612 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
12613 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
12614 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
12615
12616 2016-09-23 Joseph Myers <joseph@codesourcery.com>
12617
12618 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
12619 macro.
12620 * math/libm-test.inc (iszero_test_data): New array.
12621 (iszero_test): New function.
12622 (main): Call iszero_test.
12623 * manual/arith.texi (Floating Point Classes): Document iszero.
12624 * manual/libm-err-tab.pl: Update comment on interfaces without
12625 ulps tabulated.
12626
12627 2016-09-23 Zack Weinberg <zackw@panix.com>
12628
12629 * scripts/check-installed-headers.sh: New script.
12630 * Rules: In each directory that defines header files to be installed,
12631 run check-installed-headers.sh on them as a special test.
12632 * Makefile: Likewise for the headers installed at top level.
12633
12634 * include/aliases.h, include/alloca.h, include/argz.h
12635 * include/arpa/nameser.h, include/arpa/nameser_compat.h
12636 * include/elf.h, include/envz.h, include/err.h
12637 * include/execinfo.h, include/fpu_control.h, include/getopt.h
12638 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
12639 * include/link.h, include/malloc.h, include/mcheck.h
12640 * include/mntent.h, include/netinet/ether.h
12641 * include/nss.h, include/obstack.h, include/printf.h
12642 * include/pty.h, include/resolv.h, include/rpc/auth.h
12643 * include/rpc/auth_des.h, include/rpc/auth_unix.h
12644 * include/rpc/clnt.h, include/rpc/des_crypt.h
12645 * include/rpc/key_prot.h, include/rpc/netdb.h
12646 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
12647 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
12648 * include/rpc/rpc_msg.h, include/rpc/svc.h
12649 * include/rpc/svc_auth.h, include/rpc/xdr.h
12650 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
12651 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
12652 * include/rpcsvc/ypupd.h, include/shadow.h
12653 * include/stdio_ext.h, include/sys/epoll.h
12654 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
12655 * include/sys/prctl.h, include/sys/profil.h
12656 * include/sys/statfs.h, include/sys/sysctl.h
12657 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
12658 * sysdeps/arm/nacl/include/bits/setjmp.h
12659 * sysdeps/mips/include/sys/asm.h
12660 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
12661 * sysdeps/unix/sysv/linux/include/sys/timex.h
12662 * sysdeps/x86/fpu/include/bits/fenv.h:
12663 Add #ifndef _ISOMAC guard around internal declarations.
12664 Add multiple-inclusion guard if not already present.
12665
12666 2016-09-23 Zack Weinberg <zackw@panix.com>
12667
12668 * sysdeps/generic/sys/ucontext.h
12669 * sysdeps/arm/sys/ucontext.h
12670 * sysdeps/i386/sys/ucontext.h
12671 * sysdeps/m68k/sys/ucontext.h
12672 * sysdeps/mips/sys/ucontext.h
12673 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
12674 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
12675 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
12676 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
12677 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
12678 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
12679 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
12680 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
12681 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
12682 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
12683 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
12684 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
12685 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
12686 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
12687 Include both bits/sigcontext.h and bits/sigstack.h.
12688 Fix grammar error in comment, if present.
12689
12690 * bits/sigstack.h
12691 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
12692 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
12693 * sysdeps/unix/sysv/linux/bits/sigstack.h
12694 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
12695 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
12696 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
12697 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
12698 * bits/sigcontext.h
12699 * sysdeps/mach/hurd/i386/bits/sigcontext.h
12700 * sysdeps/unix/sysv/linux/bits/sigcontext.h
12701 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
12702 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
12703 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
12704 as well as signal.h, if this was not already allowed. Request
12705 definition of size_t if necessary. Minimize semantically-null
12706 differences across files.
12707
12708 2016-09-23 Zack Weinberg <zackw@panix.com>
12709
12710 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
12711 Remove all logic conditional on __need macros. Move all the
12712 conditionally defined types to their own headers...
12713 * time/bits/types/clock_t.h: Define clock_t here.
12714 * time/bits/types/clockid_t.h: Define clockid_t here.
12715 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
12716 * time/bits/types/struct_timespec.h: Define struct timespec here.
12717 * time/bits/types/struct_timeval.h: Define struct timeval here.
12718 * time/bits/types/struct_tm.h: Define struct tm here.
12719 * time/bits/types/time_t.h: Define time_t here.
12720 * time/bits/types/timer_t.h: Define timer_t here.
12721 * time/Makefile: Install the new headers.
12722
12723 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
12724 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
12725 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
12726 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
12727 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
12728 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
12729 * sysdeps/unix/sysv/linux/bits/resource.h
12730 * sysdeps/unix/sysv/linux/bits/timex.h
12731 * sysdeps/unix/sysv/linux/mips/bits/resource.h
12732 * sysdeps/unix/sysv/linux/net/ppp_defs.h
12733 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
12734 * sysdeps/unix/sysv/linux/sys/acct.h
12735 * sysdeps/unix/sysv/linux/sys/timerfd.h
12736 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
12737 * time/sys/time.h, time/sys/timeb.h
12738 Use the new bits/types headers.
12739
12740 * include/time.h: Remove __need logic.
12741 * include/bits/time.h
12742 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
12743 * include/bits/types/time_t.h, include/bits/types/timer_t.h
12744 * include/bits/types/struct_itimerspec.h
12745 * include/bits/types/struct_timespec.h
12746 * include/bits/types/struct_timeval.h
12747 * include/bits/types/struct_tm.h:
12748 New wrapper headers.
12749
12750 2016-09-23 Zack Weinberg <zackw@panix.com>
12751
12752 * sysdeps/mach/hurd/net/if_ppp.h
12753 * sysdeps/unix/sysv/linux/net/if_ppp.h:
12754 Only define struct ifpppstatsreq and struct ifpppcstatsreq
12755 if __USE_MISC is defined, to ensure struct ifreq is declared.
12756
12757 * inet/netinet/ether.h: Condition all function prototypes
12758 on __USE_MISC, to ensure struct ether_addr is declared.
12759
12760 * socket/bits/types/struct_osockaddr.h: New header.
12761 * include/bits/types/struct_osockaddr.h: New wrapper.
12762 * socket/Makefile: Install the new header.
12763 * socket/sys/socket.h, inet/protocols/talkd.h:
12764 Refer to bits/types/struct_osockaddr.h for the definition of
12765 struct osockaddr.
12766
12767 2016-09-23 Zack Weinberg <zackw@panix.com>
12768
12769 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
12770 * inet/protocols/routed.h, inet/protocols/talkd.h
12771 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
12772 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
12773 * sysdeps/generic/netinet/if_ether.h
12774 * sysdeps/generic/netinet/in_systm.h
12775 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
12776 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
12777 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
12778 * sysdeps/mach/hurd/net/if_arp.h
12779 * sysdeps/mach/hurd/net/if_ppp.h
12780 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
12781 * sysdeps/unix/sysv/linux/bits/in.h
12782 * sysdeps/unix/sysv/linux/net/ethernet.h
12783 * sysdeps/unix/sysv/linux/net/if_arp.h
12784 * sysdeps/unix/sysv/linux/net/if_ppp.h
12785 * sysdeps/unix/sysv/linux/net/if_shaper.h
12786 * sysdeps/unix/sysv/linux/net/route.h
12787 * sysdeps/unix/sysv/linux/netinet/if_ether.h
12788 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
12789 * sysdeps/unix/sysv/linux/netinet/if_tr.h
12790 * sysdeps/unix/sysv/linux/netipx/ipx.h
12791 * sysdeps/unix/sysv/linux/sys/acct.h
12792 * include/arpa/nameser.h, include/resolv.h:
12793 Change all uses of u_char to unsigned char,
12794 u_short and ushort to unsigned short, u_int and uint to unsigned int,
12795 u_long and ulong to unsigned long, u_int8_t to uint8_t,
12796 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
12797 and u_int64_t and u_quad_t to uint64_t.
12798
12799 * mach/sys/reboot.h: Remove two casts of integer literals
12800 to the types they already have.
12801
12802 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
12803 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
12804 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
12805 from referring to 'unsigned char' to 'uint8_t' for consistency with
12806 the macro definition below.
12807
12808 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
12809 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
12810 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
12811 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
12812 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
12813 * sysdeps/unix/sysv/linux/sys/acct.h
12814 * include/arpa/nameser.h, include/resolv.h:
12815 Fix indentation disrupted by mechanical edits.
12816
12817 * inet/protocols/talkd.h, resolv/arpa/nameser.h
12818 * sysdeps/generic/netinet/in_systm.h
12819 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
12820 * sysdeps/gnu/netinet/udp.h
12821 * sysdeps/unix/sysv/linux/net/ethernet.h
12822 * sysdeps/unix/sysv/linux/net/if_arp.h
12823 * sysdeps/unix/sysv/linux/net/if_ppp.h
12824 * sysdeps/unix/sysv/linux/net/if_shaper.h
12825 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
12826 * sysdeps/unix/sysv/linux/netinet/if_tr.h
12827 * sysdeps/unix/sysv/linux/netipx/ipx.h
12828 * sysdeps/unix/sysv/linux/sys/acct.h
12829 Include stdint.h for uintNN_t definitions.
12830 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
12831
12832 2016-09-23 Zack Weinberg <zackw@panix.com>
12833
12834 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
12835 * sysdeps/unix/sysv/linux/netrose/rose.h:
12836 Include sys/socket.h and netax25/ax25.h.
12837
12838 * inet/netinet/icmp6.h, inet/netinet/ip6.h
12839 * resolv/arpa/nameser_compat.h:
12840 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
12841
12842 * sysdeps/unix/sysv/linux/sys/quota.h:
12843 Use __caddr_t instead of caddr_t.
12844 * sysdeps/unix/sysv/linux/sys/timerfd.h:
12845 Use __clockid_t instead of clockid_t.
12846
12847 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
12848
12849 * argp/argp.h: Check whether _LIBC is defined before expanding it.
12850 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
12851 expanding it.
12852
12853 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
12854 Define __glibc_c99_flexarr_available to 1 when the compiler
12855 supports C99-compatible flexible array members, 0 otherwise.
12856 * sysdeps/unix/sysv/linux/bits/socket.h
12857 * sysdeps/mach/hurd/bits/socket.h
12858 * bits/socket.h: Use __glibc_c99_flexarr_available in
12859 definitions of struct cmsghdr and CMSG_DATA.
12860
12861 2016-09-23 Florian Weimer <fweimer@redhat.com>
12862
12863 * manual/nss.texi (NSS Modules Interface): Adjust function return
12864 type to enum nss_status. Document errnop argument. Clarify
12865 h_errnop semantics. Fix cross-reference formatting.
12866 (NSS Module Function Internals): Mention that *errnop needs to be
12867 set on failure, but not to zero.
12868
12869 2016-09-23 Florian Weimer <fweimer@redhat.com>
12870
12871 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
12872 (get_random_name): New functions.
12873 (check_wrapper_flags_mode): Use linkat to give the new file a name
12874 determined by get_random_name.
12875 (do_test): Add calls to test open64 and openat64.
12876
12877 2016-09-23 Florian Weimer <fweimer@redhat.com>
12878
12879 * test-skeleton.c: Remove #include <stdarg.h>.
12880
12881 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
12882
12883 [BZ #19826]
12884 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
12885 initialization of static TLS entries.
12886 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
12887 * nptl/allocatestack.c (init_one_static_tls): Likewise.
12888
12889 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12890
12891 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
12892 _hurd_malloc_fork_prepare.
12893 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
12894 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
12895 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
12896 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
12897 (_hurd_fork_child_hook): Drop malloc_fork_child.
12898 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
12899 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
12900 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
12901 after locking locks (notably hurd_dtable_lock). Call
12902 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
12903 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
12904 __malloc_fork_unlock_child.
12905 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
12906
12907 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
12908
12909 * soft-fp/extendhftf2.c: New.
12910 * soft-fp/fixhfti.c: Likewise.
12911 * soft-fp/fixunshfti.c: Likewise.
12912 * soft-fp/floattihf.c: Likewise.
12913 * soft-fp/floatuntihf.c: Likewise.
12914 * soft-fp/half.h: Likewise.
12915 * soft-fp/trunctfhf2.c: Likewise.
12916
12917 2016-09-21 Joseph Myers <joseph@codesourcery.com>
12918
12919 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
12920 macro.
12921 * math/libm-test.inc (issubnormal_test_data): New array.
12922 (issubnormal_test): New function.
12923 * manual/arith.texi (Floating Point Classes): Document
12924 issubnormal.
12925 * manual/libm-err-tab.pl: Update comment on interfaces without
12926 ulps tabulated.
12927
12928 * sysdeps/generic/stdint.h: Define
12929 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12930 <bits/libc-header-start.h> instead of including <features.h>.
12931 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
12932 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
12933 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
12934 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
12935 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
12936 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
12937 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
12938 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
12939 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
12940 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
12941 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
12942 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
12943 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
12944 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
12945 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
12946 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
12947 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
12948 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
12949 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
12950 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
12951 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
12952 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
12953 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
12954 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
12955 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
12956 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
12957 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
12958 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
12959 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
12960 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
12961 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
12962 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
12963 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
12964 * manual/arith.texi (Integers): Document these macros for types
12965 specified by width properties.
12966 * manual/lang.texi (Width of Type): Document these macros for
12967 other standard typedefs.
12968 * stdlib/tst-width-stdint.c: New file.
12969 * stdlib/Makefile (tests): Add tst-width-stdint.
12970
12971 2016-09-21 Florian Weimer <fweimer@redhat.com>
12972
12973 [BZ #20016]
12974 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
12975 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
12976 Move ...
12977 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
12978 ... here, as compatibility symbols in a new file.
12979 * resolv/Makefile (libresolv-routines): Add compat-hooks.
12980 * resolv/res_init.c (__res_vinit): Adjust member names.
12981 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
12982 * resolv/resolv.h (res_sendhookact, res_send_qhook)
12983 (res_send_rhook): Remove.
12984 (struct __res_state): Rename qhook, rhook members.
12985
12986 2016-09-21 Florian Weimer <fweimer@redhat.com>
12987
12988 malloc: Use __libc_lock wrappers.
12989 * malloc/arena.c (list_lock, free_list_lock): Define using
12990 __libc_lock_define_initialized.
12991 (arena_lock): Adjust formatting.
12992 * malloc/malloc.c (struct malloc_state): Define mutex using
12993 __libc_lock_define.
12994 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
12995 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
12996 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
12997 (mutex_unlock, mutex_trylock): Remove.
12998 (__pthread_initialize): Remove unused macro.
12999 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
13000 (mutex_unlock, mutex_trylock): Remove.
13001
13002 2016-09-21 Florian Weimer <fweimer@redhat.com>
13003
13004 [BZ #20592]
13005 Remove RR type classification macros.
13006 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
13007 (ns_t_udp_p, ns_t_xfr_p): Remove.
13008
13009 2016-09-21 Florian Weimer <fweimer@redhat.com>
13010
13011 Remove misleading version information.
13012 * resolv/arpa/nameser.h (__NAMESER): Remove.
13013 * resolv/arpa/nameser_compat.h (__BIND): Remove.
13014
13015 2016-09-21 Florian Weimer <fweimer@redhat.com>
13016
13017 Remove the always-defined BIND_4_COMPAT macro.
13018 * resolv/arpa/nameser.h: Unconditionally include
13019 <arpa/nameser_compat.h>.
13020 (BIND_4_COMPAT): Remove.
13021 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
13022
13023 2016-09-21 Florian Weimer <fweimer@redhat.com>
13024
13025 [BZ #20591]
13026 Remove obsolete DNSSEC support.
13027 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
13028 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
13029 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
13030 (ns_verify_tcp, ns_verify_tcp_init): Remove.
13031 (ns_cert_types): Add comment.
13032 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
13033 separately.
13034 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
13035 (dst_s_dns_key_id): Remove.
13036 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
13037 variables.
13038
13039 2016-09-21 Florian Weimer <fweimer@redhat.com>
13040
13041 [BZ #20524]
13042 * manual/string.texi (String/Array Comparison): Clarify the
13043 strverscmp behavior.
13044
13045 2016-09-21 Florian Weimer <fweimer@redhat.com>
13046
13047 * test-skeleton.c (xasprintf): Add function.
13048 * io/tst-open-tmpfile.c: New test.
13049 * io/Makefile (tests): Add it.
13050
13051 2016-09-21 Florian Weimer <fweimer@redhat.com>
13052
13053 Avoid running $(CXX) during build to obtain header file paths.
13054 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
13055 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
13056 * Makerules (cstdlib, cmath): Remove variables. Use
13057 $(c++-cstdlib-header), $(c++-cmath-header) instead.
13058 * configure: Regenerate.
13059
13060 2016-09-21 Florian Weimer <fweimer@redhat.com>
13061
13062 * Makeconfig (all-object-suffixes): Include .op only if
13063 $(build-profile).
13064
13065 2016-09-21 Florian Weimer <fweimer@redhat.com>
13066
13067 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
13068 conditionals. Do not define PATH_MAX.
13069
13070 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13071
13072 * posix/Makefile (tests): Add tst-spawn3.
13073 * posix/tst-spawn3.c: New file.
13074 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
13075 if it is already opened for open action.
13076
13077 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
13078 all signals when executing the clone vfork child.
13079 (SIGALL_SET): Remove macro.
13080
13081 * nptl/Makefile (tests): Add tst-exec5.
13082 * nptl/tst-exec5.c: New file.
13083 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
13084 asynchronous cancellation.
13085
13086 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13087
13088 * hurd/exc2signal.c: #include <hurd/signal.h>
13089 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
13090 'sigcode', 'error' parameters with 'detail' parameter. Fix code
13091 accordingly.
13092 * mach/mach_error.c (mach_error): Fix old-style function definition.
13093 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
13094
13095 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13096
13097 * math/Makefile (libm-calls): Remove s_nanF.
13098 (gen-libm-calls): Add s_nanF.
13099
13100 * math/s_nan.c: Refactor into ...
13101 * math/s_nan_template.c: New file.
13102
13103 * math/s_nanf.c: Removed.
13104 * math/s_nanl.c: Removed.
13105 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
13106 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
13107
13108 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13109 (LDOUBLE_nanl_libm_version): New macro.
13110
13111 * sysdeps/generic/math-type-macros-double.h:
13112 (M_STRTO_NAN): New macro.
13113 * sysdeps/generic/math-type-macros-float.h: Likewise.
13114 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
13115
13116 * sysdeps/generic/math-type-macros.h: Document
13117 M_STRTO_NAN.
13118
13119 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13120
13121 * math/s_nanf.c: Remove __nanf undef.
13122 * math/s_nan.c: Remove __nan undef.
13123 * math/s_nanl.c: Remove __nanl undef.
13124
13125 * sysdeps/generic/math_private.h (__nan): Remove macro
13126 override.
13127 (__nanf): Likewise.
13128 (__nanl): Likewise.
13129
13130 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13131
13132 * math/Makefile (gen-all-calls): New variable.
13133 (generated): Replace gen-libm-calls with gen-all-calls.
13134 (gen-libm-templates.stmp): Likewise. Also, ensure
13135 the output directory exists or is created and add
13136 dependency on the Makefile.
13137 (calls): Move s_ldexpF into gen-calls.
13138 (gen-calls): New variable.
13139
13140 * math/s_ldexpf.c: Removed.
13141 * math/s_ldexpl.c: Removed.
13142 * math/s_ldexp.c: Refactored into ...
13143 * math/s_ldexp_template.c: New file.
13144
13145 * sysdeps/generic/math-type-macros-double.h: Remove
13146 redundant fall-through definition of declare_mgen_alias.
13147 (declare_mgen_alias_2): New macro.
13148
13149 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
13150 New macro for function aliased to two exported symbols.
13151
13152 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
13153 new template file.
13154 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
13155
13156 2016-09-20 Florian Weimer <fweimer@redhat.com>
13157
13158 * Makeconfig (all-object-suffixes): Remove .og.
13159 * Makerules (elide-routines.og): Remove.
13160 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
13161 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
13162 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
13163
13164 2016-09-20 Florian Weimer <fweimer@redhat.com>
13165
13166 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
13167 .os objects.
13168
13169 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13170
13171 [BZ #20615]
13172 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
13173 fpu directory by non-fpu.
13174 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
13175 on non-fpu directory from a fpu directory.
13176
13177 2016-09-19 Joseph Myers <joseph@codesourcery.com>
13178
13179 * include/limits.h: Define
13180 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13181 <bits/libc-header-start.h> instead of including <features.h>.
13182 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
13183 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
13184 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
13185 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
13186 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
13187 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
13188 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
13189 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
13190 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
13191 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
13192 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
13193 * manual/lang.texi (Width of Type): Document these macros.
13194 * stdlib/tst-width.c: New file.
13195 * stdlib/Makefile (tests): Add tst-width.
13196
13197 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13198
13199 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
13200 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
13201
13202 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13203
13204 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
13205 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
13206 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
13207
13208 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13209
13210 [BZ #18243]
13211 * rt/Makefile (test): Add tst-shm-cancel.
13212 * rt/tst-shm-cancel.c: New file.
13213 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
13214
13215 [BZ #18243]
13216 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
13217 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
13218 definition.
13219 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
13220 uncontended case.
13221 * nptl/sem_wait.c (__new_sem_wait): Likewise.
13222 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
13223 (tf): Fix check for uncontended case.
13224 (do_test): Likewise.
13225 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
13226 (tf): Fix check for uncontended case.
13227 (do_test): Likewise.
13228 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
13229 (tf): Fix check for uncontended case.
13230 (do_test): Likewise.
13231 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
13232 (tf): Fix check for uncontended case.
13233 (do_test): Likewise.
13234
13235 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
13236 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
13237
13238 [BZ #15765]
13239 * nptl/Makefile (tests): Add tst-sem16.
13240 * nptl/tst-sem16.c: New file.
13241 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
13242
13243 * nptl/sem_open.c (sem_open): Init pad value to 0.
13244 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
13245 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
13246
13247 2016-09-15 Florian Weimer <fweimer@redhat.com>
13248
13249 [BZ #20611]
13250 * inet/Makefile (routines): Add inet6_scopeid_pton.
13251 (tests): Add tst-inet6_scopeid_pton.
13252 * inet/inet6_scopeid_pton.c: New file.
13253 * inet/net-internal.h: Likewise.
13254 * inet/tst-inet6_scopeid_pton.c: New test.
13255 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
13256 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
13257 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13258
13259 2016-09-14 Florian Weimer <fweimer@redhat.com>
13260
13261 Remove support for compiling wrappers with PTW.
13262 * sysdeps/nptl/Makeconfig: Drop ptw- support.
13263 * nptl/Makefile (pthread-compat-wrappers): Define.
13264 (libpthread-routines): Use pthread-compat-wrappers.
13265 * sysdeps/unix/sysv/linux/alpha/Makefile
13266 (libpthread-routines, libpthread-shared-only-routines): Remove
13267 ptw- prefix.
13268 * sysdeps/s390/nptl/Makefile
13269 (libpthread-routines, libpthread-shared-only-routines): Likewise.
13270 * sysdeps/ia64/nptl/Makefile
13271 (libpthread-routines, libpthread-shared-only-routines): Likewise.
13272 * sysdeps/nacl/Makefile (libpthread-routines): Use
13273 pthread-compat-wrappers to filter the routines list instead of the
13274 ptw- prefix.
13275
13276 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13277
13278 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
13279 with L() and remove explicit suffix, convert real literals
13280 which can be equivalentally substituted with integers, and
13281 transform -L(x) to L(-x).
13282
13283 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13284 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13285 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13286 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13287 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13288 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13289 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13290 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13291 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13292 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13293 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13294 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13295 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13296 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13297 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13298 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13299 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13300 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13301 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13302 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13303 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13304 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13305 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13306 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13307 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13308 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13309 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13310 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13311 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13312 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13313 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13314 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13315 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13316 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13317 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13318 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13319 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13320 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13321 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13322 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13323 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13324 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13325 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13326 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13327 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13328 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13329 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13330 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
13331 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13332 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13333
13334 2016-09-13 Florian Weimer <fweimer@redhat.com>
13335
13336 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
13337
13338 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
13339
13340 * malloc/Makefile (tests): Remove individual static test names
13341 and just add all of tests-static.
13342
13343 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
13344
13345 2016-09-07 Joseph Myers <joseph@codesourcery.com>
13346
13347 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
13348 file.
13349
13350 * sysdeps/sparc/fpu/fegetmode.c: New file.
13351 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
13352
13353 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
13354 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
13355
13356 * sysdeps/s390/fpu/fegetmode.c: New file.
13357 * sysdeps/s390/fpu/fesetmode.c: Likewise.
13358
13359 * sysdeps/powerpc/fpu/fegetmode.c: New file.
13360 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
13361 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
13362 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
13363 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
13364 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
13365
13366 * sysdeps/mips/fpu/fegetmode.c: New file.
13367 * sysdeps/mips/fpu/fesetmode.c: Likewise.
13368
13369 * sysdeps/m68k/fpu/fegetmode.c: New file.
13370 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
13371
13372 * sysdeps/ia64/fpu/fegetmode.c: New file.
13373 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
13374
13375 * sysdeps/hppa/fpu/fegetmode.c: New file.
13376 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
13377
13378 * sysdeps/arm/fegetmode.c: New file.
13379 * sysdeps/arm/fesetmode.c: Likewise.
13380
13381 * sysdeps/alpha/fpu/fegetmode.c: New file.
13382 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
13383
13384 * sysdeps/aarch64/fpu/fegetmode.c: New file.
13385 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
13386
13387 * math/fegetmode.c: New file.
13388 * math/fesetmode.c: Likewise.
13389 * sysdeps/i386/fpu/fegetmode.c: Likewise.
13390 * sysdeps/i386/fpu/fesetmode.c: Likewise.
13391 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
13392 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
13393 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
13394 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
13395 declaration.
13396 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
13397 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
13398 typedef.
13399 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13400 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13401 (femode_t): New typedef.
13402 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13403 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13404 (femode_t): New typedef.
13405 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13406 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13407 (femode_t): New typedef.
13408 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13409 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13410 (femode_t): New typedef.
13411 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13412 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13413 (femode_t): New typedef.
13414 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13415 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13416 (femode_t): New typedef.
13417 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13418 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13419 (femode_t): New typedef.
13420 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13421 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13422 (femode_t): New typedef.
13423 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13424 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13425 (femode_t): New typedef.
13426 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13427 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13428 (femode_t): New typedef.
13429 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
13430 declaration.
13431 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13432 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13433 (femode_t): New typedef.
13434 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13435 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13436 (femode_t): New typedef.
13437 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13438 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13439 (femode_t): New typedef.
13440 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13441 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13442 (femode_t): New typedef.
13443 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13444 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13445 (femode_t): New typedef.
13446 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13447 * manual/arith.texi (FE_DFL_MODE): Document macro.
13448 (fegetmode): Document function.
13449 (fesetmode): Likewise.
13450 * math/Versions (fegetmode): New libm symbol at version
13451 GLIBC_2.25.
13452 (fesetmode): Likewise.
13453 * math/Makefile (libm-support): Add fegetmode and fesetmode.
13454 (tests): Add test-femode and test-femode-traps.
13455 * math/test-femode-traps.c: New file.
13456 * math/test-femode.c: Likewise.
13457 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
13458 alias for __fe_dfl_env.
13459 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
13460 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
13461 (__fe_dfl_mode): Likewise.
13462 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
13463 version GLIBC_2.25.
13464 * sysdeps/nacl/libm.abilist: Update.
13465 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13466 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13467 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13468 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13469 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13470 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13471 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13472 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13473 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13474 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13475 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13476 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13478 Likewise.
13479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13480 Likewise.
13481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13482 Likewise.
13483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13484 Likewise.
13485 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13486 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13487 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13488 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13489 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13491 Likewise.
13492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13493 Likewise.
13494 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13495 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13496 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13497
13498 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
13499
13500 [BZ #20495]
13501 [BZ #20508]
13502 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
13503 processors, set Use_dl_runtime_resolve_slow and set
13504 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
13505 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
13506 New.
13507 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
13508 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
13509 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
13510 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
13511 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
13512 if Use_dl_runtime_resolve_opt is set. Use
13513 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
13514 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
13515 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
13516 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
13517 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
13518 New.
13519 (_dl_runtime_resolve_opt): Likewise.
13520 (_dl_runtime_profile): Define only if _dl_runtime_profile is
13521 defined.
13522
13523 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
13524
13525 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
13526 __libc_memalign with "+ RELA R_390_GLOB_DAT".
13527
13528 2016-09-06 Florian Weimer <fweimer@redhat.com>
13529
13530 Convert malloc to __libc_lock. Automated part, using this Perl
13531 s/// command:
13532 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
13533 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
13534 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
13535 conversion.
13536
13537 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
13538
13539 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
13540 (linknamespace-symlists-tests): Likewise.
13541 (linknamespace-header-tests): Likewise.
13542
13543 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
13544
13545 [BZ #19810]
13546 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
13547 * elf/tst-noload.c: New test case.
13548 * elf/Makefile (tests): Add tst-noload.
13549
13550 2016-09-02 Roland McGrath <roland@hack.frob.com>
13551
13552 * sysdeps/nacl/dup.c: Add libc_hidden_def.
13553
13554 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
13555 not any more.
13556
13557 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
13558
13559 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
13560
13561 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
13562 (do_cos_slow): Likewise.
13563 (do_sin): Likewise.
13564 (do_sin_slow): Likewise.
13565 (slow): Likewise.
13566 (slow1): Likewise.
13567 (slow2): Likewise.
13568 (sloww): Likewise.
13569 (sloww1): Likewise.
13570 (sloww2): Likewise.
13571 (bsloww): Likewise.
13572 (bsloww1): Likewise.
13573 (bsloww2): Likewise.
13574 (cslow2): Likewise.
13575
13576 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
13577
13578 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
13579 arguments. Consolidate input partitioning from callers here.
13580 (do_cos_slow): Likewise.
13581 (do_sin): Likewise.
13582 (do_sin_slow): Likewise.
13583 (do_sincos_1): Remove the no longer necessary input partitioning.
13584 (do_sincos_2): Likewise.
13585 (__sin): Likewise.
13586 (__cos): Likewise.
13587 (slow1): Likewise.
13588 (slow2): Likewise.
13589 (sloww1): Likewise.
13590 (sloww2): Likewise.
13591 (bsloww1): Likewise.
13592 (bsloww2): Likewise.
13593 (cslow2): Likewise.
13594
13595 2016-09-02 Florian Weimer <fweimer@redhat.com>
13596
13597 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
13598 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
13599 outside of allocated array.
13600
13601 2016-09-02 Florian Weimer <fweimer@redhat.com>
13602
13603 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
13604 instead of MB_CUR_MAX to avoid variable-length array.
13605
13606 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13607
13608 * math/Makefile (libm-calls): Remove k_rem_pio2F.
13609 (type-double-routines): Add k_rem_pio2.
13610 (type-float-routines): Add k_rem_pio2f.
13611
13612 * sysdeps/generic/math_private.h:
13613 (__kernel_rem_pio2l): Removed.
13614
13615 * math/k_rem_pio2l.c: Removed.
13616 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
13617 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
13618 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
13619 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
13620
13621 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13622
13623 * math/Makefile (gen-libm-calls): Add s_fmin
13624 (libm-calls): Remove above.
13625
13626 * math/s_fmin.c: Refactor into ...
13627 * math/s_fmin_template.c: New file.
13628
13629 * math/s_fminf.c: Removed.
13630 * math/s_fminl.c: Removed.
13631 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13632 (LDOUBLE_fmin_libm_version): New macro.
13633
13634 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
13635 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
13636
13637 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13638
13639 * math/Makefile: (gen-libm-calls): Add s_fmax.
13640 (libm-calls): Remove above.
13641
13642 * math/s_fmax.c: Refactor into ...
13643 * math/s_fmax_template.c: New file.
13644 * math/s_fmaxf.c: Removed.
13645 * math/s_fmaxl.c: Removed.
13646
13647 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13648 (LDOUBLE_fmaxl_libm_version): New macro.
13649
13650 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
13651 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
13652
13653 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
13654 s_fmin.c to pick the aarch64 version of the file.
13655 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
13656 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
13657
13658 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13659
13660 * math/Makefile: (gen-libm-calls): Add s_nextdown.
13661 (libm-calls): Remove above.
13662
13663 * math/s_nextdown.c: Refactor into ...
13664 * math/s_nextdown_template.c: New file.
13665 * math/s_nextdownf.c: Removed.
13666 * math/s_nextdownl.c: Removed.
13667
13668 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
13669
13670 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13671
13672 * math/Makefile (gen-libm-calls): Add s_fdim.
13673 (libm-calls): Move to above.
13674
13675 * math/s_fdim.c: Renamed and refactored into to ...
13676 * math/s_fdim_template.c: New file.
13677 * math/s_fdiml.c: Removed.
13678 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
13679 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
13680
13681 * sysdeps/generic/math-type-macros-double.h:
13682 (declare_mgen_alias): Don't declare if already declared.
13683 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
13684 Likewise.
13685
13686 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13687 (declare_mgen_alias): Don't declare if already declared.
13688 (M_LIBM_NEED_COMPAT): Likewise.
13689 (declare_mgen_libm_compat): Likewise.
13690 (LDOUBLE_fdiml_libm_version): New macro.
13691
13692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
13693 Include math/s_fdim.c now that ldbl-opt version is not needed.
13694 (declare_mgen_alias): New macro to disable aliasing.
13695
13696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
13697 (declare_mgen_alias): Likewise.
13698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
13699 (declare_mgen_alias): Likewise.
13700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
13701 (declare_mgen_alias): Likewise.
13702 (M_LIBM_NEED_COMPAT): Likewise.
13703
13704 2016-09-01 Florian Weimer <fweimer@redhat.com>
13705
13706 [BZ #20525]
13707 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
13708 Include <linux/quota.h>.
13709 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
13710 and btodb.
13711 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
13712 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
13713 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
13714 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
13715 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
13716 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
13717 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
13718 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
13719 types.
13720 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
13721 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
13722
13723 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13724
13725 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
13726 (gammal_positive): Fix spacing.
13727 (__ieee754_gammal_r): Likewise.
13728
13729 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13730
13731 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
13732 (_Float128): Define as long double, always.
13733 (L): Apply long double type suffix, always.
13734
13735 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
13736 _Float128, excepting comments.
13737
13738 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13739 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13740 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13741 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13742 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13743 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13744 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13745 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13746 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13747 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
13748 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13749 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13750 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13751 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13752 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13753 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13754 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13755 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13756 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13757 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13758 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13759 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13760 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13761 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13762 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13763 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13764 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13765 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13767 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13768 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13769 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13770 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13771 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13772 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13773 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13774 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13776 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13777 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13778 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13779 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13780 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13781 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13782 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
13783 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13784 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13785 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13786 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13787 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13788 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13789 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13790 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13791 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13792 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13793 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13794 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13795 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13796 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13797 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13798 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13799 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13800 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13801 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13802 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13803 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
13804 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13805 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13806
13807 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
13808 _Float128, and include math_private.h.
13809 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13810
13811 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
13812 long double semantics.
13813 (_Float128): Likewise.
13814 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
13815 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13816 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
13817 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
13818
13819 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
13820
13821 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
13822 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
13823 * sysdeps/s390/configure: Regenerated.
13824 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
13825 instruction for raising over-/underflow if z196 zarch is supported
13826 by default.
13827 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
13828
13829 2016-08-30 Svante Signell <svante.signell@gmail.com>
13830
13831 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
13832 it point to a dumb buffer for RPC to fill it.
13833
13834 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
13835
13836 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
13837 instead of if/else.
13838 (do_sin_slow): Likewise.
13839 (do_sincos_1): Use fabs instead of if/else.
13840 (do_sincos_2): Likewise.
13841 (__sin): Likewise.
13842 (__cos): Likewise.
13843 (slow2): Likewise.
13844 (sloww): Likewise.
13845 (sloww1): Likewise. Drop argument M.
13846 (sloww2): Use fabs instead of if/else.
13847 (bsloww): Likewise.
13848 (bsloww1): Likewise.
13849 (bsloww2): Likewise.
13850
13851 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
13852 fall through comment.
13853 (do_sincos_1): Likewise.
13854
13855 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
13856 Consolidate switch cases 0 and 2.
13857
13858 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13859
13860 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
13861 (libm-calls): Remove the above.
13862
13863 * math/s_cexp_template.c: Update using type-generic macros.
13864 * math/s_clog10_template.c: Likewise.
13865 * math/s_cpow_template.c: Likewise.
13866 * math/s_clog_template.c: Likewise.
13867 * math/s_cproj_template.c: Likewise.
13868 * math/s_csqrt_template.c: Likewise.
13869
13870 * math/s_cexp.c: Removed.
13871 * math/s_cexpf.c: Removed.
13872 * math/s_cexpl.c: Removed.
13873 * math/s_clog10.c: Removed.
13874 * math/s_clog10f.c: Removed.
13875 * math/s_clog10l.c: Removed.
13876 * math/s_cpow.c: Removed.
13877 * math/s_cpowf.c: Removed.
13878 * math/s_cpowl.c: Removed.
13879 * math/s_clog.c: Removed.
13880 * math/s_clogf.c: Removed.
13881 * math/s_clogl.c: Removed.
13882 * math/s_cproj.c: Removed.
13883 * math/s_cprojf.c: Removed.
13884 * math/s_cprojl.c: Removed.
13885 * math/s_csqrt.c: Removed.
13886 * math/s_csqrtf.c: Removed.
13887 * math/s_csqrtl.c: Removed.
13888
13889 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
13890 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
13891 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
13892 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
13893 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
13894 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
13895
13896 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
13897 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
13898 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
13899 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
13900 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
13901 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
13902 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
13903 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
13904 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
13905 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
13906 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
13907
13908 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
13909 version.
13910
13911 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
13912 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
13913 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
13914 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
13915
13916 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13917
13918 * s_cexp_template.c: Copy of s_cexp.c.
13919 * s_clog_template.c: Copy of s_clog.c.
13920 * s_clog10_template.c: Copy of s_clog10.c.
13921 * s_cpow_template.c: Copy of s_cpow.c.
13922 * s_cproj_template.c: Copy of s_cproj.c.
13923 * s_csqrt_template.c: Copy of s_csqrt.c.
13924
13925 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13926
13927 [BZ #20517]
13928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
13929 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
13930 exported.
13931
13932 2016-08-29 Joseph Myers <joseph@codesourcery.com>
13933
13934 * math/fetestexceptflag.c: New file.
13935 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
13936 Stefan Liebler.
13937 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13938 (fetestexceptflag): New function declaration.
13939 * manual/arith.texi (fetestexceptflag): Document function.
13940 * math/Versions (fetestexceptflag): New libm symbol at version
13941 GLIBC_2.25.
13942 * math/Makefile (libm-support): Add fetestexceptflag.
13943 (tests): Add test-fetestexceptflag.
13944 * math/test-fetestexceptflag.c: New file.
13945 * sysdeps/nacl/libm.abilist: Update.
13946 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13947 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13948 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13949 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13950 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13951 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13952 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13953 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13954 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13955 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13956 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13957 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13959 Likewise.
13960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13961 Likewise.
13962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13963 Likewise.
13964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13965 Likewise.
13966 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13967 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13968 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13969 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13970 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13972 Likewise.
13973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13974 Likewise.
13975 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13976 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13977 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13978
13979 2016-08-26 Florian Weimer <fweimer@redhat.com>
13980
13981 [BZ #20432]
13982 Avoid strong references to malloc-internal symbols when linking
13983 statically, to support statically interposed mallocs.
13984 * include/libc-symbols.h (call_function_static_weak): New macro.
13985 * malloc/Makefile (tests): Add tst-interpose-nothread,
13986 tst-interpose-thread, tst-interpose-static-nothread,
13987 tst-interpose-static-thread.
13988 (tests-static): Add tst-interpose-static-nothread,
13989 tst-interpose-static-thread.
13990 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
13991 tst-interpose-aux-thread.o.
13992 (test-extras): Add tst-interpose-aux-nothread,
13993 tst-interpose-aux-thread.
13994 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
13995 tst-interpose-aux-nothread.o.
13996 (tst-interpose-thread, tst-interpose-static-thread): Link with
13997 tst-interpose-aux-thread.o and libthread.
13998 * malloc/tst-interpose-aux-nothread.c: New file.
13999 * malloc/tst-interpose-aux-thread.c: Likewise.
14000 * malloc/tst-interpose-aux.c: Likewise.
14001 * malloc/tst-interpose-aux.h: Likewise.
14002 * malloc/tst-interpose-nothread.c: Likewise.
14003 * malloc/tst-interpose-skeleton.c: Likewise.
14004 * malloc/tst-interpose-static-nothread.c: Likewise.
14005 * malloc/tst-interpose-static-thread.c: Likewise.
14006 * malloc/tst-interpose-thread.c: Likewise.
14007 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
14008 * sysdeps/mach/hurd/fork.c (__fork): Only call
14009 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
14010 __malloc_fork_unlock_child if defined.
14011 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14012
14013 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14014
14015 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
14016 timespec C99 designated initialization.
14017
14018 2016-08-26 Florian Weimer <fweimer@redhat.com>
14019
14020 [BZ #19946]
14021 Avoid expected SIGALRM signals.
14022 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
14023 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
14024 (xpthread_create, xpthread_detach, xpthread_join)
14025 (delayed_exit_thread, delayed_exit): New functions.
14026 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
14027 (tf): Use xpthread_cond_wait.
14028 (do_test): Likewise. Replace alarm with delayed_exit.
14029 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14030 (do_test): Call delayed_exit. Report failure.
14031 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14032 (do_test): Call delayed_exit.
14033 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14034 (do_test): Call delayed_exit. Use xpthread_join. Report error.
14035 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14036 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
14037 error.
14038 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14039 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
14040 error.
14041 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
14042 (do_test): Call delayed_exit.
14043 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
14044 (do_test): Call delayed_exit.
14045 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
14046 (do_test): Call delayed_exit instead of alarm. Use
14047 xpthread_mutex_lock.
14048 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
14049 (do_test): Call delayed_exit instead of alarm. Use
14050 xpthread_mutex_lock.
14051 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
14052 (do_test): Call delayed_exit instead of alarm.
14053 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
14054 (do_test): Call delayed_exit instead of alarm. Use
14055 xpthread_spin_lock.
14056 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
14057 (do_test): Call delayed_exit instead of alarm. Use
14058 xpthread_join.
14059
14060 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
14061
14062 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
14063 adjust CFA when allocating register save area on re-aligned
14064 stack.
14065
14066 2016-08-26 Florian Weimer <fweimer@redhat.com>
14067
14068 * string/tst-cmp.c: New test.
14069 * string/Makefile (tests): Add it.
14070
14071 2016-08-25 Mark Wielaard <mark@klomp.org>
14072
14073 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
14074 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
14075 (check_tree_recurse): Use newly defined accessors.
14076 (check_tree): Likewise.
14077 (maybe_split_for_insert): Likewise.
14078 (__tfind): Likewise.
14079 (__tdelete): Likewise.
14080 (trecurse): Likewise.
14081 (tdestroy_recurse): Likewise.
14082 (__tsearch): Likewise. And add asserts for malloc alignment.
14083 (__twalk): Cast root to node in case CHECK_TREE is defined.
14084
14085 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
14086
14087 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
14088
14089 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14090
14091 * math/Makefile (libm-gen-calls): Add
14092 catan, catanh, ctan, ctanh.
14093 (libm-calls): Remove the above.
14094
14095 * math/s_catan_template.c: Update using type-generic macros.
14096 * math/s_catanh_template.c: Likewise.
14097 * math/s_ctan_template.c: Likewise.
14098 * math/s_ctanh_template.c: Likewise.
14099
14100 * math/s_catanf.c: Removed.
14101 * math/s_catan.c: Removed.
14102 * math/s_catanl.c: Removed.
14103 * math/s_catanhf.c: Removed.
14104 * math/s_catanh.c: Removed.
14105 * math/s_catanhl.c: Removed.
14106 * math/s_ctanf.c: Removed.
14107 * math/s_ctan.c: Removed.
14108 * math/s_ctanl.c: Removed.
14109 * math/s_ctanhf.c: Removed.
14110 * math/s_ctanh.c: Removed.
14111 * math/s_ctanhl.c: Removed.
14112
14113 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
14114 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
14115 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
14116 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
14117 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
14118 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
14119
14120 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
14121 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
14122 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
14123 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
14124
14125 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14126
14127 * s_catan_template.c: Copy of s_catan.c.
14128 * s_catanh_template.c: Copy of s_catanh.c.
14129 * s_ctan_template.c: Copy of s_ctan.c.
14130 * s_ctanh_template.c: Copy of s_ctanh.c.
14131
14132 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14133
14134 * math/Makefile (gen-libm-calls): Move
14135 casin, casinh, csin, csinh here.
14136 (libm-calls): Remove the above.
14137
14138 * math/s_casin_template.c: Update using type-generic macros.
14139 * math/s_casinh_template.c: Likewise.
14140 * math/s_csin_template.c: Likewise.
14141 * math/s_csinh_template.c: Likewise.
14142 * math/k_casinh_template.c: Likewise.
14143
14144 * math/s_casinf.c: Removed.
14145 * math/s_casin.c: Removed.
14146 * math/s_casinl.c: Removed.
14147 * math/s_casinh.c: Removed.
14148 * math/s_casinhf.c: Removed.
14149 * math/s_casinhl.c: Removed.
14150 * math/s_csin.c: Removed.
14151 * math/s_csinf.c: Removed.
14152 * math/s_csinl.c: Removed.
14153 * math/s_csinh.c: Removed.
14154 * math/s_csinhf.c: Removed.
14155 * math/s_csinhl.c: Removed.
14156 * math/k_casinh.c: Removed.
14157 * math/k_casinhf.c: Removed.
14158 * math/k_casinhl.c: Removed.
14159
14160 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
14161 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
14162 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
14163 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
14164
14165 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
14166 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
14167 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
14168 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
14169 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
14170 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
14171 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
14172 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
14173
14174 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
14175 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
14176 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
14177 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
14178
14179 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
14180 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
14181 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
14182 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
14183
14184 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14185
14186 * s_casin_template.c: Copy of s_casin.c.
14187 * s_casinh_template.c: Copy of s_casinh.c.
14188 * s_csin_template.c: Copy of s_csin.c.
14189 * s_csinh_template.c: Copy of s_csinh.c.
14190 * k_casinh_template.c: Copy of k_casinh.c.
14191
14192 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
14193
14194 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
14195
14196 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14197
14198 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
14199 (mul_split) Remove, rename as mul_splitl, remove
14200 redundant float.h include, and include via mul_splitl.h
14201
14202 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14203 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14204 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14205 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
14206 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14207
14208 * math/mul_splitl.h: New file.
14209
14210 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
14211 Move into mul_split.h, and remove redundant float.h include.
14212
14213 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
14214 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
14215 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14216 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
14217
14218 * math/mul_split.h: New file.
14219
14220 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14221
14222 * math/Makefile (libm-gen-calls): Move
14223 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
14224 (libm-calls): Remove above.
14225
14226 * math/s_cacos_template.c: Update using type-generic macros.
14227 * math/s_cacosh_template.c: Likewise.
14228 * math/s_ccos_template.c: Likewise.
14229 * math/s_ccosh_template.c: Likewise.
14230
14231 * math/s_cacosf.c: Removed.
14232 * math/s_cacos.c: Removed.
14233 * math/s_cacosl.c: Removed.
14234 * math/s_cacoshf.c: Removed.
14235 * math/s_cacosh.c: Removed.
14236 * math/s_cacoshl.c: Removed.
14237 * math/s_ccosf.c: Removed.
14238 * math/s_ccos.c: Removed.
14239 * math/s_ccosl.c: Removed.
14240 * math/s_ccoshf.c: Removed.
14241 * math/s_ccosh.c: Removed.
14242 * math/s_ccoshl.c: Removed.
14243
14244 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
14245 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
14246 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
14247 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
14248 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
14249 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
14250
14251 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
14252 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
14253 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
14254 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
14255
14256 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
14257 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
14258 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
14259 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
14260
14261 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14262
14263 * s_cacos_template.c: Copy of s_cacos.c.
14264 * s_cacosh_template.c: Copy of s_cacosh.c.
14265 * s_ccos_template.c: Copy of s_ccos.c.
14266 * s_ccosh_template.c: Copy of s_ccosh.c.
14267
14268 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14269
14270 * stdlib/tst-strtod-round-skeleton.c:
14271 Refactored from tst-strtod-round.c.
14272
14273 (L_): New macro to apply literal modifier.
14274 (FNPFX): New macro to select str or wcs prefix.
14275 (CHAR): New macro to choose wchar_t or char.
14276 (STRM): New macro to choose printf for tested character type.
14277
14278 (STRTO): New macro to choose appropriate string -> real function.
14279 (FNPFXS): Stringitized version of FNPFX.
14280 (STR): Support for above macro.
14281 (STRX): Likewise.
14282
14283 (TEST): Update with above macros.
14284 (test): Likewise.
14285 (GEN_ONE_TEST): Likewise.
14286 (test_in_one_mode): Likewise.
14287
14288 * stdlib/tst-strtod-round.c: New file.
14289 * wcsmbs/tst-wcstod-round.c: New file.
14290
14291 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
14292 (tst-wcstod-round): Add libm depencency for fesetround.
14293
14294 2016-08-19 Zack Weinberg <zackw@panix.com>
14295
14296 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
14297
14298 2016-08-18 Torvald Riegel <triegel@redhat.com>
14299
14300 [BZ #20477]
14301 * resolv/res_hconf.c (do_init): Use atomic access.
14302 * resolv/res_hconf.h: Add comments.
14303 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
14304 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
14305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14306
14307 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
14308
14309 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
14310 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
14311 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14312 Likewise.
14313
14314 2016-08-18 Florian Weimer <fweimer@redhat.com>
14315
14316 [BZ #16907]
14317 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
14318 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
14319 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
14320 (__attribute__): Remove definition.
14321
14322 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14323
14324 * sysdeps/ieee754/ldbl-128/e_asinl.c:
14325 Remove unused sqrtl declaration.
14326
14327 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14328
14329 * math/Makefile: (gen-libm-templates.stmp): New rule.
14330 (libm-calls): Move carg conj cimag and cabs into ...
14331 (gen-libm-calls): New variable.
14332 (generated): Inform Make objects from gen-libm-calls
14333 may be generated.
14334
14335 * sysdeps/generic/math-type-macros.h: New file.
14336 * sysdeps/generic/math-type-macros-float.h: Likewise.
14337 * sysdeps/generic/math-type-macros-double.h: Likewise.
14338 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
14339 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
14340 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
14341
14342 * math/cabs.c: Refactor into
14343 * math/cabs_template.c: new file.
14344 * math/cabsf.c: Removed.
14345 * math/cabsl.c: Removed.
14346 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
14347 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
14348
14349 * math/carg.c: Refactor into
14350 * math/carg_template.c: new file.
14351 * math/cargf.c: Removed.
14352 * math/cargl.c: Removed.
14353 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
14354 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
14355
14356 * math/conj.c: Refactor into
14357 * math/conj_template.c: new file.
14358 * math/conjf.c: Removed.
14359 * math/conjl.c: Removed.
14360 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
14361 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
14362
14363 * math/cimag.c: Refactor into
14364 * math/cimag_template.c: new file.
14365 * math/cimagf.c: Removed.
14366 * math/cimagl.c: Removed.
14367 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
14368 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
14369
14370 * math/cimag.c: Refactor into
14371 * math/cimag_template.c: new file.
14372 * math/cimagf.c: Removed.
14373 * math/cimagl.c: Removed.
14374 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
14375 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
14376
14377 2016-08-17 Florian Weimer <fweimer@redhat.com>
14378
14379 Reduce time to expected nptl/tst-once5 failure.
14380 * nptl/tst-once5.cc (TIMEOUT): Define.
14381
14382 2016-08-17 Florian Weimer <fweimer@redhat.com>
14383
14384 [BZ #20452]
14385 Avoid additional copies of objects in libc.a in static libraries.
14386 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
14387 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
14388 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
14389 rt-sysdep.
14390 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
14391 Add nptl-sysdep.
14392 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
14393 Add ptw-sysdep.
14394 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
14395 rt-sysdep.
14396 * sysdeps/unix/sysv/linux/alpha/Makefile
14397 (libpthread-shared-only-routines): Add ptw-sysdep,
14398 ptw-sigprocmask, ptw-rt_sigaction.
14399 * sysdeps/unix/sysv/linux/ia64/Makefile
14400 (librt-shared-only-routines): Add rt-sysdep.
14401 * sysdeps/unix/sysv/linux/i386/Makefile
14402 (libpthread-shared-only-routines): Add libc-do-syscall.
14403 * sysdeps/unix/sysv/linux/microblaze/Makefile
14404 (libpthread-shared-only-routines): Add sysdep.
14405 * sysdeps/unix/sysv/linux/powerpc/Makefile
14406 (librt-shared-only-routines): Add rt-sysdep.
14407 (libpthread-shared-only-routines): Add sysdep.
14408 * sysdeps/unix/sysv/linux/s390/Makefile
14409 (librt-shared-only-routines): Add rt-sysdep.
14410 * sysdeps/unix/sysv/linux/sparc/Makefile
14411 (librt-shared-only-routines): Add rt-sysdep.
14412 (libpthread-shared-only-routines): Add sysdep.
14413 * sysdeps/unix/sysv/linux/tile/Makefile
14414 (libpthread-shared-only-routines): Likewise.
14415
14416 2016-08-16 Joseph Myers <joseph@codesourcery.com>
14417
14418 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
14419 Mask implicit bit out of unpacked value.
14420 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
14421 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
14422 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
14423
14424 * sysdeps/sparc/fpu/fesetexcept.c: New file.
14425
14426 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
14427
14428 * sysdeps/s390/fpu/fesetexcept.c: New file.
14429
14430 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
14431 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
14432 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
14433
14434 * sysdeps/mips/fpu/fesetexcept.c: New file.
14435
14436 * sysdeps/m68k/fpu/fesetexcept.c: New file.
14437
14438 * sysdeps/ia64/fpu/fesetexcept.c: New file.
14439
14440 * sysdeps/hppa/fpu/fesetexcept.c: New file.
14441
14442 * sysdeps/arm/fesetexcept.c: New file.
14443
14444 * sysdeps/alpha/fpu/fesetexcept.c: New file.
14445
14446 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
14447
14448 * math/fesetexcept.c: New file.
14449 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
14450 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
14451 * math/fenv.h: Define
14452 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14453 <bits/libc-header-start.h> instead of including <features.h>.
14454 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
14455 declaration.
14456 * manual/arith.texi (fesetexcept): Document function.
14457 * math/Versions (fesetexcept): New libm symbol at version
14458 GLIBC_2.25.
14459 * math/Makefile (libm-support): Add fesetexcept.
14460 (tests): Add test-fesetexcept and test-fesetexcept-traps.
14461 * math/test-fesetexcept.c: New file.
14462 * math/test-fesetexcept-traps.c: Likewise.
14463 * sysdeps/nacl/libm.abilist: Update.
14464 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14465 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14466 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14467 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14468 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14469 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14470 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14471 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14472 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14473 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14474 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14475 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14477 Likewise.
14478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14479 Likewise.
14480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14481 Likewise.
14482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14483 Likewise.
14484 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14485 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14486 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14487 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14488 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14489 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14490 Likewise.
14491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14492 Likewise.
14493 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14494 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14495 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14496
14497 2016-08-16 Florian Weimer <fweimer@redhat.com>
14498
14499 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
14500 New.
14501 (do_test): Apply default_stack_size_in_mb if not set.
14502 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
14503
14504 2016-08-15 Andreas Schwab <schwab@suse.de>
14505
14506 [BZ #20435]
14507 CVE-2016-6323
14508 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
14509 as .cantunwind.
14510
14511 2016-08-12 Joseph Myers <joseph@codesourcery.com>
14512
14513 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
14514 comment from fraiseexcpt.c.
14515
14516 * math/test-fexcept.c (feraiseexcept_exact): New function.
14517 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
14518 (test_except): Likewise.
14519
14520 2016-08-10 Joseph Myers <joseph@codesourcery.com>
14521
14522 [BZ #20455]
14523 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
14524 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
14525 to be restored.
14526
14527 * math/test-fexcept-traps.c: New file.
14528 * math/test-fexcept.c: Likewise.
14529 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
14530 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
14531 macro.
14532 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
14533 (EXCEPTION_SET_FORCES_TRAP): Likewise.
14534
14535 2016-08-09 Torvald Riegel <triegel@redhat.com>
14536
14537 * include/atomic.h (atomic_fetch_and_relaxed,
14538 atomic_fetch_and_release, atomic_fetch_or_release,
14539 atomic_fetch_xor_release): New.
14540
14541 2016-08-06 Christian Seiler <christian@iwakd.de>
14542
14543 [BZ #20444]
14544 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
14545 MACH_PORT_NULL.
14546
14547 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
14548
14549 * math/s_fdim.c: Avoid alias renamed.
14550 * math/s_fdimf.c: Likewise.
14551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
14552 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14553 Add s_fdimf-vis3, s_fdim-vis3.
14554 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
14555 (CFLAGS-s_fdim-vis3.c): Likewise.
14556 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
14557 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
14558
14559 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
14560
14561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
14562 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14563 Remove s_fdimf-vis3, s_fdim-vis3.
14564 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
14565 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
14566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
14567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
14568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
14569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
14570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
14571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
14572 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
14573 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
14574
14575 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
14576
14577 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
14578 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
14579 -Wa,-Av9a -mvis.
14580
14581 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14582
14583 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
14584 LIT() to individual constants in simple expressions
14585 after splitting on spaces.
14586 (_apply_lit): Rename replaced version, and use it to
14587 apply to what appears to be a token.
14588
14589 * math/libm-test.inc: Fix many, many issues with
14590 spacing.
14591
14592 2016-08-05 Joseph Myers <joseph@codesourcery.com>
14593
14594 * math/math.h: Move comment about <bits/mathdef.h> definitions
14595 above inclusion of <bits/mathdef.h>. Do not mention
14596 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
14597
14598 2016-08-05 Torvald Riegel <triegel@redhat.com>
14599
14600 * include/atomic.h (atomic_exchange_relaxed): New.
14601
14602 2016-08-04 Joseph Myers <joseph@codesourcery.com>
14603
14604 * math/e_scalb.c: Do not include <fenv.h>.
14605 (invalid_fn): Do calculation resulting in NaN instead of raising
14606 FE_INVALID and returning a NaN explicitly.
14607 * math/e_scalbf.c: Do not include <fenv.h>.
14608 (invalid_fn): Do calculation resulting in NaN instead of raising
14609 FE_INVALID and returning a NaN explicitly.
14610 * math/e_scalbl.c: Do not include <fenv.h>.
14611 (invalid_fn): Do calculation resulting in NaN instead of raising
14612 FE_INVALID and returning a NaN explicitly.
14613
14614 2016-08-04 Carlos O'Donell <carlos@redhat.com>
14615
14616 * po/de.po: Updated from Translation Project.
14617 * po/fi.po: Likewise.
14618 * po/sv.po: Likewise.
14619
14620 2016-08-04 Florian Weimer <fweimer@redhat.com>
14621
14622 [BZ #20452]
14623 Use sysdep.o from libc.a in static libraries.
14624 * sysdeps/unix/sysv/linux/i386/Makefile
14625 (libpthread-shared-only-routines): Add sysdep.
14626 (librt-shared-only-routines): Likewise.
14627
14628 2016-08-03 Joseph Myers <joseph@codesourcery.com>
14629
14630 * math/tgmath.h (nextdown): Define if
14631 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
14632 (nextup): Likewise.
14633
14634 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
14635 macro.
14636 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
14637 Document.
14638 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
14639 Document macro.
14640 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
14641 (exp10f): Likewise.
14642 (exp10l): Likewise.
14643 * math/bits/mathcalls.h (exp10): Declare if
14644 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
14645
14646 * manual/arith.texi (nextup): Fix typo in last change.
14647
14648 2016-08-03 Zack Weinberg <zackw@panix.com>
14649
14650 [BZ #19239]
14651 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
14652 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
14653 define major, minor, and makedev to issue deprecation warnings on use.
14654 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
14655 previously-activated deprecation warnings for these macros and prevent
14656 subsequent inclusions of this header from having any effect.
14657 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
14658 including <sys/sysmacros.h>, and undefine it again afterward.
14659
14660 2016-08-03 Zack Weinberg <zackw@panix.com>
14661
14662 * sysdeps/generic/sys/sysmacros.h: Delete file.
14663 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
14664 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
14665 * bits/sysmacros.h: ... here; this encoding is now the generic
14666 encoding. Now defines only the following macros:
14667 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
14668 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
14669 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
14670
14671 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
14672 bits/sysmacros.h and the above new macros to generate the
14673 public implementations of major, minor, and makedev.
14674 * misc/tst-makedev.c: New test.
14675 * include/sys/sysmacros.h: New wrapper.
14676
14677 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
14678 (routines): Add makedev.
14679 (tests): Add tst-makedev.
14680 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
14681 gnu_dev_makedev.
14682 * posix/Makefile (headers): Remove sys/sysmacros.h.
14683 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
14684
14685 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
14686 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
14687 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
14688 * sysdeps/unix/sysv/linux/alpha/libc.abilist
14689 * sysdeps/unix/sysv/linux/arm/libc.abilist
14690 * sysdeps/unix/sysv/linux/hppa/libc.abilist
14691 * sysdeps/unix/sysv/linux/i386/libc.abilist
14692 * sysdeps/unix/sysv/linux/ia64/libc.abilist
14693 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
14694 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
14695 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
14696 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
14697 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
14698 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
14699 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
14700 * sysdeps/unix/sysv/linux/nios2/libc.abilist
14701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
14702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
14703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
14704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
14705 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
14706 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
14707 * sysdeps/unix/sysv/linux/sh/libc.abilist
14708 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
14709 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
14710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
14711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
14712 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
14713 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
14714 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
14715 Add GLIBC_2.25.
14716
14717 * include/features.h (__glibc_clang_prereq): New macro.
14718 * misc/sys/cdefs.h (__glibc_clang_has_extension)
14719 (__attribute_deprecated_msg__): New macros.
14720
14721 2016-08-03 Joseph Myers <joseph@codesourcery.com>
14722
14723 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
14724 macro.
14725 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
14726 * manual/arith.texi (issignaling): Document as ISO from TS
14727 18661-1:2014.
14728 (nextup): Likewise.
14729 (nextupf): Likewise.
14730 (nextupl): Likewise.
14731 (nextdown): Likewise.
14732 (nextdownf): Likewise.
14733 (nextdownl): Likewise.
14734 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
14735 macro.
14736 * math/math.h: Define
14737 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14738 <bits/libc-header-start.h> instead of including <features.h>.
14739 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
14740 [__USE_GNU].
14741 * math/bits/mathcalls.h (nextdown): Declare if
14742 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
14743 (nextup): Likewise.
14744 (__issignaling): Likewise.
14745
14746 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14747
14748 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
14749 check, and remove __glibc_likely hint
14750 from FP_INFINITE check.
14751 * s_csinhf.c (__csinhf): Likewise.
14752
14753 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
14754 hint from FP_INFINITE check.
14755 * s_csinhl.c (__csinhl): Likewise.
14756
14757 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14758
14759 * math/Makefile (libm-calls): Insert F placeholder into
14760 object names. Move w_lgamma_compat* routines into
14761 (libm-compat-calls): New variable.
14762 (libm-compat-calls-ldouble-yes): New variable.
14763 (calls): Insert F placeholder.
14764 (generated): Redefine using new type-foreach macro call.
14765 (routines): Likewise.
14766
14767 (types): New variable to hold a list of symbolic names
14768 for each type supported by the target machine.
14769 (libm-routines): Redefine using new types variable.
14770 (type-foreach): macro to replace fooF with the
14771 appropriately suffixed foo for each types.
14772
14773 (type-ldouble-suffix): New variable.
14774 (type-ldouble-routines): Likewise.
14775 (type-ldouble-yes): Likewise.
14776 (type-double-suffix): Likewise.
14777 (type-double-routines): Likewise.
14778 (type-float-suffix): Likewise.
14779 (type-float-routines): Likewise.
14780
14781 (dbl-only-routines): Remove.
14782 (long-c-yes): Likewise.
14783 (long-m-routines): Likewise.
14784 (long-m-support): Likewise.
14785 (long-m-yes): Likewise.
14786 (test-longdouble-yes): Likewise.
14787
14788 (test-float.o): Simplify by increasing the scope of the
14789 recipe which adds libm-test.stmp to the vector types.
14790 (test-ifloat.o): Likewise.
14791 (test-float-finite.o): Likewise.
14792 (test-double.o): Likewise
14793 (test-idouble.o): Likewise.
14794 (test-double-finite.o): Likewise.
14795 (test-ldouble.o): Likewise
14796 (test-ildoubl.o): Likewise.
14797 (test-ldouble-finite.o): Likewise.
14798
14799 (libm-tests): Redefine type tests using foreach and the
14800 list of types in types.
14801
14802 (CPPFLAGS-test-ildoubl.c): Rename to
14803 (CPPFLAGS-test-ildouble.c): New variable
14804
14805 * math/test-ildoubl.c: Rename to
14806 * math/test-ildouble.c: New file.
14807
14808 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14809
14810 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
14811 Use fabsl instead of fabs.
14812 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
14813 Likewise.
14814 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
14815 Add long double suffix to constant to ensure proper
14816 promotion to long double.
14817
14818 2016-08-03 Tom Tromey <tom@tromey.com>
14819
14820 [BZ #20311]
14821 * nptl_db/Makefile (headers): Add proc_service.h.
14822 * nptl_db/proc_service.h: Add include guard. Use
14823 __BEGIN/__END_DECLS.
14824 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
14825 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
14826 arguments.
14827
14828
14829 2016-08-03 Florian Weimer <fweimer@redhat.com>
14830
14831 [BZ #17730]
14832 Avoid using memalign for TCB allocations.
14833 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
14834 (_dl_allocate_tls_storage): Use malloc and manual alignment.
14835 Avoid alignment gap in the TLS_DTV_AT_TP case.
14836 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
14837 determine the pointer to free.
14838 * nptl/tst-tls3-malloc.c: New test.
14839 * nptl/Makefile (tests): Add it.
14840 (tst-tls3-malloc): Link with libdl, libpthread.
14841 (LDFLAGS-tst-tls3-malloc): Set.
14842 (tst-tls3-malloc.out): Depend on DSO used in test.
14843
14844 2016-08-03 Florian Weimer <fweimer@redhat.com>
14845
14846 [BZ #17730]
14847 Avoid using memalign for TLS allocations.
14848 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
14849 is_static member with to_free member.
14850 (union dtv): Use struct dtv_pointer.
14851 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
14852 dtv_pointer instead of is_static.
14853 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
14854 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
14855 instead of val.
14856 (allocate_dtv_entry): New function.
14857 (allocate_and_init): Return struct dtv_pointer. Call
14858 allocate_dtv_entry instead of __libc_memalign.
14859 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
14860 instead of val.
14861 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
14862 instead of is_static. Adjust call to allocate_and_init.
14863 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
14864 struct dtv_pointer instead of val.
14865
14866 2016-08-03 Florian Weimer <fweimer@redhat.com>
14867
14868 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
14869 (MALLOC_ALIGN_MASK): Move ...
14870 * malloc/malloc-internal.h: ... to here.
14871 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
14872
14873 2016-08-03 Joseph Myers <joseph@codesourcery.com>
14874
14875 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
14876 (UDP_ENCAP_GTP1U): Likewise.
14877
14878 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
14879 (PF_MAX): Update value.
14880 (AF_QIPCRTR): New macro.
14881
14882 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
14883
14884 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
14885 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14886 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14887 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
14888 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14889 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
14890 s_truncf-vis3, s_trunc-vis3.
14891 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
14892 (CFLAGS-s_ceil-vis3.c): Likewise.
14893 (CFLAGS-s_floorf-vis3.c): Likewise.
14894 (CFLAGS-s_floor-vis3.c): Likewise.
14895 (CFLAGS-s_truncf-vis3.c): Likewise.
14896 (CFLAGS-s_trunc-vis3.c): Likewise.
14897 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
14898 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
14899 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
14900 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
14901 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
14902 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
14903 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
14904 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
14905 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
14906 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
14907 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
14908 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
14909
14910 2016-08-02 David S. Miller <davem@davemloft.net>
14911
14912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
14913 (__nearbyint_vis3): Don't check for sNaN before float register is
14914 loaded with the incoming argument.
14915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
14916 (__nearbyintf_vis3): Likewise.
14917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
14918 Likewise.
14919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
14920 Likewise.
14921
14922 * string/test-strncmp.c (do_test_limit): Make sure the test data
14923 stream is aligned as required for the type "CHAR".
14924 (do_test): Likewise.
14925
14926 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
14927
14928 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
14929 by beq instructions jumping to the end of the function.
14930 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
14931 clobber list. Use "i" constraint instead of "X".
14932 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
14933 of "X".
14934
14935 2016-08-02 Joseph Myers <joseph@codesourcery.com>
14936
14937 * bits/libc-header-start.h: New file.
14938 * Makefile (headers): Add bits/libc-header-start.h.
14939 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
14940 (__GLIBC_USE): New macro.
14941 * libio/stdio.h: Define
14942 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14943 <bits/libc-header-start.h> instead of including <features.h>.
14944 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
14945 (open_memstream): Likewise.
14946 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
14947 (__asprintf): Likewise.
14948 (asprintf): Likewise.
14949 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
14950 (getdelim): Likewise.
14951 (getline): Likewise.
14952 * string/string.h: Define
14953 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14954 <bits/libc-header-start.h> instead of including <features.h>.
14955 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
14956 (strndup): Likewise.
14957 * wcsmbs/wchar.h: Define
14958 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14959 <bits/libc-header-start.h> instead of including <features.h>.
14960 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
14961 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
14962
14963 2016-08-02 Florian Weimer <fweimer@redhat.com>
14964
14965 Support linking against compatibility symbols, for use in tests.
14966 * include/libc-symbols.h (symbol_version_reference): New macro.
14967 (symbol_version): Use it.
14968 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
14969 (compat_symbol): Use compat_symbol_reference.
14970 (compat_symbol_1, compat_symbol_2): Remove.
14971 (compat_symbol_reference, compat_symbol_reference_1)
14972 (compat_symbol_reference_2): New macro. Use
14973 symbol_version_reference.
14974
14975 2016-08-02 Florian Weimer <fweimer@redhat.com>
14976
14977 [BZ #19469]
14978 * malloc/Makefile (CPPFLAGS): Compile tests with
14979 -DTEST_NO_MALLOPT.
14980 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
14981
14982 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
14983
14984 [BZ #20033]
14985 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
14986 finite version.
14987 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
14988 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
14989 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
14990 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
14991 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
14992 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
14993 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
14994 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
14995 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
14996 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
14997 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
14998 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
14999 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
15000 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
15001 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
15002 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
15003 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
15004 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
15005 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
15006 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
15007 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
15008 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
15009 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
15010 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
15011 in zero power.
15012
15013 2016-08-02 Florian Weimer <fweimer@redhat.com>
15014
15015 [BZ #20370]
15016 * malloc/arena.c (get_free_list): Update comment. Assert that
15017 arenas on the free list have no attached threads.
15018 (remove_from_free_list): New function.
15019 (reused_arena): Call it.
15020
15021 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
15022
15023 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
15024 when it is a NaN.
15025 [_IEEE_FP_INEXACT] Remove.
15026 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
15027 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
15028 when it is a NaN.
15029 [_IEEE_FP_INEXACT] Remove.
15030 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
15031 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
15032 when it is a NaN.
15033 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
15034 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
15035 when its absolute value is greater than 0x1.0p52.
15036 [_IEEE_FP_INEXACT] Remove.
15037 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
15038 when its absolute value is greater than 0x1.0p23.
15039 [_IEEE_FP_INEXACT] Remove.
15040
15041 2016-08-01 Carlos O'Donell <carlos@redhat.com>
15042
15043 * version.h (RELEASE): Set to "development"
15044 (VERSION): Set to 2.24.90.
15045 * NEWS: Add 2.25 section.
15046
15047 * version.h (RELEASE): Set to "stable"
15048 (VERSION): Set to 2.24.
15049 * include/features.h (__GLIBC_MINOR__): Set to 24.
15050
15051 * NEWS: Add 2.24 fixed bugs.
15052 * po/libc.pot: Regenerate.
15053
15054 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
15055
15056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
15057 [$(subdir) = math] (libm-sysdep_routines): Remove.
15058 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15059 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
15060 s_truncf-vis3, s_trunc-vis3.
15061 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
15063 file.
15064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
15065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
15066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
15067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
15070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
15071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
15073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
15074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
15075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
15076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
15077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
15078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
15079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
15083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
15084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
15085 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
15086 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15087 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15088 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
15089 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15090 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15091 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
15092 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15093 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15094 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
15095 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15096 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15097 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
15098 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
15099 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
15100 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
15101 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15102 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15103 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
15104 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
15105 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
15106 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
15107
15108 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
15109
15110 [BZ #20384]
15111 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
15112 test-double-libmvec-sincos-avx-main.o,
15113 test-double-libmvec-sincos-avx2-main.o,
15114 test-double-libmvec-sincos-main.o,
15115 test-float-libmvec-sincosf-avx-main.o,
15116 test-float-libmvec-sincosf-avx2-main.o and
15117 test-float-libmvec-sincosf-main.o.
15118 test-float-libmvec-sincosf-avx512-main.o.
15119 ($(objpfx)test-double-libmvec-sincos): Also link with
15120 $(objpfx)test-double-libmvec-sincos-main.o.
15121 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
15122 $(objpfx)test-double-libmvec-sincos-avx-main.o.
15123 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
15124 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
15125 ($(objpfx)test-float-libmvec-sincosf): Also link with
15126 $(objpfx)test-float-libmvec-sincosf-main.o.
15127 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
15128 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
15129 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
15130 test-double-libmvec-sincos-avx512-main.o and
15131 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
15132 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
15133 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
15134 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
15135 (CFLAGS-test-double-libmvec-sincos.c): Removed.
15136 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
15137 (CFLAGS-test-double-libmvec-sincos-main.c): New.
15138 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
15139 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
15140 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
15141 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
15142 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
15143 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
15144 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
15145 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
15146 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
15147 -DREQUIRE_AVX2.
15148 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
15149 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
15150 -DREQUIRE_AVX512F.
15151 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
15152 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
15153 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
15154 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
15155 file.
15156 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
15157 Likewise.
15158 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
15159 Likewise.
15160 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
15161 Likewise.
15162 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
15163 Likewise.
15164 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
15165 Likewise.
15166 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
15167 Likewise.
15168 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
15169 Likewise.
15170
15171 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
15172
15173 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
15174
15175 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
15176
15177 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
15178 and typo in a comment about AT_HWCAP entry.
15179
15180 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
15181
15182 * sysdeps/aarch64/libm-test-ulps: Updated.
15183
15184 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15185
15186 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
15187 of r13 as it is not restored in mvcle case.
15188
15189 2016-07-19 Mike Frysinger <vapier@gentoo.org>
15190
15191 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
15192 Rename "ret" to "__ret".
15193 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
15194 inline_syscall5, inline_syscall6): Likewise.
15195
15196 2016-07-19 Will Newton <will.newton@gmail.com>
15197
15198 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
15199 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
15200 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
15201 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
15202 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
15203
15204 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
15205
15206 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
15207 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
15208 -mfpmath=387 with $(rtld-CFLAGS).
15209 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
15210 $(rtld-CFLAGS).
15211
15212 2016-07-18 Ross Burton <ross.burton@intel.com>
15213 Khem Raj <raj.khem@gmail.com>
15214
15215 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
15216 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
15217 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
15218 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
15219 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
15220 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
15221 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
15222 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
15223 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
15224 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
15225 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
15226 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
15227 R_METAG_TLS_DTPOFF): New.
15228
15229 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
15230 Matt Clay <mclay@lycos.com>
15231
15232 [BZ #20357]
15233 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
15234 to call __mpsin/__mpcos and to negate values.
15235 * math/auto-libm-test-in: Add test.
15236 * math/auto-libm-test-out: Regenerate.
15237
15238 2016-07-18 Zack Weinberg <zackw@panix.com>
15239
15240 * grp/Makefile: Don't install the internal header grp-merge.h.
15241
15242 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
15243
15244 * sysdeps/aarch64/libm-test-ulps: Regenerated.
15245
15246 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
15247
15248 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
15249
15250 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15251
15252 [BZ #15368]
15253 * sysdeps/unix/sysv/linux/nptl-signals.h
15254 (__nptl_clear_internal_signals): New function.
15255 (__libc_signal_block_all): Likewise.
15256 (__libc_signal_block_app): Likewise.
15257 (__libc_signal_restore_set): Likewise.
15258 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
15259 implementation.
15260 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
15261 the cached pid/tid value in pthread structure.
15262
15263 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
15264
15265 [BZ #20347]
15266 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
15267
15268 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
15269
15270 [BZ #20348]
15271 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
15272 preadv64, pwrite64 and pwritev64.
15273
15274 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
15275
15276 [BZ #20350]
15277 * posix/tst-preadwrite.c: Renamed to ...
15278 * posix/tst-preadwrite-common.c: This.
15279 (PREAD): Removed.
15280 (PWRITE): Likewise.
15281 (STRINGIFY): Likewise.
15282 (STRINGIFY2): Likewise.
15283 (do_prepare): Make it static and remove function arguments.
15284 (do_test): Likewise.
15285 (PREPARE): Updated.
15286 (TEST_FUNCTION): New.
15287 (name): Make it static.
15288 (fd): Likewise.
15289 (do_prepare): Use create_temp_file.
15290 (do_test): Renamed to ...
15291 (do_test_with_offset): This. Make it static and accept offset.
15292 Properly check return value of PWRITE and PREAD. Return bytes
15293 read. Don't close fd nor unlink name.
15294 * posix/tst-preadwrite.c: Rewrite.
15295 * posix/tst-preadwrite64.c: Likewise.
15296
15297 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
15298
15299 [BZ #20309]
15300 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
15301 -mtls-dialect=gnu2 works.
15302 * configure: Regenerated.
15303 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
15304 (tests): Add tst-gnu2-tls1.
15305 (modules-names): Add tst-gnu2-tls1mod.
15306 ($(objpfx)tst-gnu2-tls1): New.
15307 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
15308 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
15309 * elf/tst-gnu2-tls1.c: New file.
15310 * elf/tst-gnu2-tls1mod.c: Likewise.
15311 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
15312 bytes for push in the PLT entry to align the stack.
15313
15314 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
15315
15316 [BZ #20349]
15317 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
15318
15319 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
15320
15321 [BZ #18707]
15322 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
15323 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
15324
15325 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15326
15327 * sysdeps/unix/sysv/linux/sysdep.h
15328 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
15329 guards.
15330 * misc/tst-preadvwritev-common.c: New file.
15331 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
15332 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
15333 a check for files larger than 2GB.
15334
15335 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15336 (__ASSUME_OFF_DIFF_OFF64): Remove define.
15337 * sysdeps/unix/sysv/linux/pread.c
15338 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
15339 __OFF_T_MATCHES_OFF64_T.
15340 * sysdeps/unix/sysv/linux/pread64.c
15341 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
15342 * sysdeps/unix/sysv/linux/preadv.c
15343 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
15344 * sysdeps/unix/sysv/linux/preadv64.c
15345 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
15346 * sysdeps/unix/sysv/linux/pwrite.c
15347 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
15348 * sysdeps/unix/sysv/linux/pwrite64.c
15349 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
15350 * sysdeps/unix/sysv/linux/pwritev.c
15351 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
15352 * sysdeps/unix/sysv/linux/pwritev64.c
15353 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
15354
15355 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
15356
15357 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15358 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
15359
15360 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
15361
15362 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
15363
15364 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
15365
15366 [BZ #20240]
15367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
15368 (CFLAGS-s_modf-ppc32.c): New variable.
15369 (CFLAGS-s_modff-ppc32.c): Likewise.
15370 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15371 (CFLAGS-s_modf-ppc64.c): Likewise.
15372 (CFLAGS-s_modff-ppc64.c): Likewise.
15373
15374 2016-07-07 Andreas Schwab <schwab@suse.de>
15375
15376 [BZ #20263]
15377 * nptl/tst-robust10.c: New test.
15378 * nptl/Makefile (tests): Add tst-robust10.
15379
15380 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
15381
15382 [BZ #20263]
15383 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
15384
15385 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
15386
15387 * sysdeps/s390/linkmap.h (struct link_map_machine):
15388 Remove member gotplt and add member jmprel.
15389 * sysdeps/s390/s390-32/dl-machine.h
15390 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
15391 instead of gotplt with &got[3].
15392 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
15393 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15394
15395 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
15396
15397 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
15398
15399 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15400
15401 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
15402 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
15403 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
15404 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
15405 * libio/vtables.c (_IO_vtable_check)
15406 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
15407 * libio/libioP.h (IO_set_accept_foreign_vtables)
15408 [!PTR_MANGLE]: Do not call PTR_MANGLE.
15409
15410 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
15411
15412 [BZ #20314]
15413 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
15414 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
15415 $(common-objpfx)cmath.
15416 ($(common-objpfx)cstdlib): New target.
15417 ($(common-objpfx)cmath): Likewise.
15418
15419 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
15420
15421 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
15422
15423 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15424
15425 [BZ #20327]
15426 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
15427 are not part of the string.
15428
15429 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15430
15431 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
15432 * nptl/tst-cancel4-common.h (fifoname): New variable.
15433 (fifofd): Likewise.
15434 (cl_fifo): New function.
15435 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
15436 SIGINT.
15437 (tf_open): Add early cancel test.
15438
15439 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
15440
15441 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
15442
15443 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
15444
15445 * sysdeps/generic/ldsodefs.h
15446 (dl_symbol_visibility_binds_local_p): New inline function.
15447 * elf/dl-addr.c (determine_info): Treat hidden and internal
15448 symbols as local.
15449 * elf/dl-lookup.c (do_lookup_x): Likewise.
15450 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
15451
15452 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
15453
15454 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
15455 invalid exception for a sNaN input.
15456 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15457 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
15458 (__nearbyint_vis3): Likewise
15459 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
15460 (__nearbyintf_vis3): Likewise
15461 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
15462 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15463 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
15464 Likewise.
15465 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
15466 Likewise.
15467
15468 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
15469
15470 [BZ #20139]
15471 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
15472 (HAVE_AVX512DQ_ASM_SUPPORT): This.
15473 * sysdeps/x86_64/configure.ac: Require assembler from binutils
15474 2.24 or above.
15475 (HAVE_AVX512_ASM_SUPPORT): Removed.
15476 (HAVE_AVX512DQ_ASM_SUPPORT): New.
15477 * sysdeps/x86_64/configure: Regenerated.
15478 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
15479 check unconditional.
15480 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
15481 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15482 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15483 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
15484 Likewise.
15485 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15486 Likewise.
15487 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
15488 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
15489 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15490 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15491 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
15492 Likewise.
15493 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15494 Likewise.
15495 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15496 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15497 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
15498 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
15499 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
15500 Likewise.
15501 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
15502 Likewise.
15503 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
15504 Likewise.
15505 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
15506 Likewise.
15507 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
15508 Likewise.
15509 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
15510 Likewise.
15511 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
15512 Likewise.
15513 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
15514 Likewise.
15515 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
15516 Likewise.
15517 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
15518 Likewise.
15519 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
15520 Likewise.
15521
15522 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
15523
15524 [BZ #20024]
15525 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
15526 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
15527 of this implementation of vector function.
15528 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
15529 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
15530 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
15531 Likewise.
15532 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
15533 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
15534 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
15535 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
15536 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
15537 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
15538 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
15539 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
15540 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
15541 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
15542 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
15543 for testing vector sincos with fixed ABI.
15544 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15545 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15546 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15547 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15548 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15549 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15550 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15551 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
15552 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
15553 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
15554 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
15555 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
15556 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
15557 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
15558 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
15559 * sysdeps/x86_64/fpu/Makefile: Added new tests.
15560
15561 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
15562
15563 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
15564
15565 2016-06-30 Anton Blanchard <anton@samba.org>
15566
15567 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15568 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
15569 s_sinf-ppc64.
15570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
15571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
15572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
15573 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
15574
15575 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15576
15577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15578 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15579 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
15580 e_expf-ppc64.
15581 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
15582 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
15583 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
15584 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
15585
15586 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
15587
15588 [BZ #20277]
15589 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
15590 when SHARED is defined.
15591
15592 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
15593
15594 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
15595 (index_arch_Prefer_ERMS): Likewise.
15596 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
15597 __memcpy_erms for Prefer_ERMS.
15598 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15599 (__memmove_erms): Enabled for libc.a.
15600 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
15601 __memmove_erms or Prefer_ERMS.
15602 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
15603 __mempcpy_erms for Prefer_ERMS.
15604 * sysdeps/x86_64/multiarch/memset.S (memset): Return
15605 __memset_erms for Prefer_ERMS.
15606
15607 2016-06-30 Andreas Schwab <schwab@suse.de>
15608
15609 [BZ #20262]
15610 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
15611 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
15612 of memory.
15613
15614 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
15615
15616 [BZ #18645]
15617 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
15618 (test-extras): Add tst-cleanupx4aux.
15619 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
15620 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
15621 tst-cleanupx4aux.o.
15622 * nptl/tst-cleanupx4aux.c: New file.
15623
15624 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
15625
15626 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
15627
15628 2016-06-29 Andreas Schwab <schwab@suse.de>
15629
15630 [BZ #20260]
15631 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
15632 address before the beginning of the string as an integer to avoid
15633 array-bounds warning.
15634
15635 2016-06-28 Richard Henderson <rth@redhat.com>
15636
15637 * elf/elf.h (EM_BPF): New.
15638 (EM_NUM): Update.
15639 (R_BPF_NONE, R_BPF_MAP_FD): New.
15640
15641 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
15642 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
15643 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
15644 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
15645 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
15646 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
15647 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
15648 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
15649 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
15650 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
15651 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
15652 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
15653 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
15654 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
15655 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
15656 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
15657 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
15658 (EM_NUM): Update.
15659
15660 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
15661
15662 [BZ #18960]
15663 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
15664 Set _nl_current_LC_CATEGORY_used to two instead of one.
15665
15666 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
15667
15668 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
15669 (do_test): ... this.
15670 (TEST_FUNCTION): New macro.
15671 Include test-skeleton.c.
15672 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
15673 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
15674
15675 2016-06-27 Joseph Myers <joseph@codesourcery.com>
15676
15677 [BZ #15479]
15678 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
15679 floating-point environment rather than just control word.
15680 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15681 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
15682 floating-point environment, with "invalid" exceptions merged in,
15683 rather than just control word.
15684 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
15685 * math/libm-test.inc (trunc_test_data): Do not allow spurious
15686 "inexact" exceptions.
15687
15688 [BZ #15479]
15689 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
15690 floating-point environment rather than just control word.
15691 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15692 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
15693 floating-point environment, with "invalid" exceptions merged in,
15694 rather than just control word.
15695 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
15696 * math/libm-test.inc (floor_test_data): Do not allow spurious
15697 "inexact" exceptions.
15698
15699 [BZ #15479]
15700 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
15701 floating-point environment rather than just control word.
15702 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15703 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
15704 floating-point environment, with "invalid" exceptions merged in,
15705 rather than just control word.
15706 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
15707 * math/libm-test.inc (ceil_test_data): Do not allow spurious
15708 "inexact" exceptions.
15709
15710 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
15711
15712 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
15713 __libc_vfork.
15714 (__vfork) [IS_IN (libc)]: Remove alias.
15715 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
15716 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
15717 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
15718
15719 2016-06-24 Torvald Riegel <triegel@redhat.com>
15720
15721 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
15722 of atomic_compare_and_exchange_bool_rel.
15723 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15724 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
15725 catomic_compare_and_exchange_bool_rel): Remove.
15726 * sysdeps/aarch64/atomic-machine.h
15727 (atomic_compare_and_exchange_bool_rel): Likewise.
15728 * sysdeps/alpha/atomic-machine.h
15729 (atomic_compare_and_exchange_bool_rel): Likewise.
15730 * sysdeps/arm/atomic-machine.h
15731 (atomic_compare_and_exchange_bool_rel): Likewise.
15732 * sysdeps/mips/atomic-machine.h
15733 (atomic_compare_and_exchange_bool_rel): Likewise.
15734 * sysdeps/microblaze/atomic-machine.h
15735 ( __arch_compare_and_exchange_bool_8_rel,
15736 __arch_compare_and_exchange_bool_16_rel): Likewise.
15737 * sysdeps/powerpc/atomic-machine.h
15738 ( __arch_compare_and_exchange_bool_8_rel,
15739 __arch_compare_and_exchange_bool_16_rel): Likewise.
15740 * sysdeps/powerpc/powerpc32/atomic-machine.h
15741 ( __arch_compare_and_exchange_bool_32_rel,
15742 __arch_compare_and_exchange_bool_64_rel): Likewise.
15743 * sysdeps/powerpc/powerpc64/atomic-machine.h
15744 ( __arch_compare_and_exchange_bool_32_rel,
15745 __arch_compare_and_exchange_bool_64_rel): Likewise.
15746 * sysdeps/tile/atomic-machine.h
15747 (atomic_compare_and_exchange_bool_rel): Likewise.
15748
15749 2016-06-23 Joseph Myers <joseph@codesourcery.com>
15750
15751 [BZ #20296]
15752 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
15753 when either argument is a NaN.
15754 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15755 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
15756
15757 * math/libm-test.inc (snan_value_ld): New macro.
15758 (isgreater_test_data): Add sNaN tests.
15759 (isgreaterequal_test_data): Likewise.
15760 (isless_test_data): Likewise.
15761 (islessequal_test_data): Likewise.
15762 (islessgreater_test_data): Likewise.
15763 (isunordered_test_data): Likewise.
15764 (nextafter_test_data): Likewise.
15765 (nexttoward_test_data): Likewise.
15766 (remainder_test_data): Likewise.
15767 (remquo_test_data): Likewise.
15768 (significand_test_data): Likewise.
15769 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
15770
15771 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
15772
15773 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
15774 environment macros are defined.
15775 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
15776
15777 2016-06-23 Florian Weimer <fweimer@redhat.com>
15778
15779 [BZ #20191]
15780 Implement vtable verification in libio.
15781 * Makerules (shlib.lds): Place __libc_IO_vtables section.
15782 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
15783 * debug/vdprintf_chk.c (__vdprintf_chk): Call
15784 _IO_new_file_init_internal instead of _IO_file_init.
15785 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
15786 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
15787 * libio/Makefile (routines): Add vtables.
15788 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
15789 (_IO_init): Remove, not for internal use.
15790 (_IO_init_internal): Declare, internal replacement for _IO_init.
15791 (_IO_file_init): Remove, not for internal use.
15792 (_IO_new_file_init): Remove, not for internal use.
15793 (_IO_new_file_init_internal): Declare, internal replacement for
15794 _IO_new_file_init.
15795 (_IO_old_file_init): Remove, not for internal use.
15796 (_IO_old_file_init_internal): Declare, internal replacement for
15797 _IO_old_file_init.
15798 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
15799 internal use.
15800 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
15801 Declare.
15802 (libio_vtable): New macro.
15803 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
15804 functions.
15805 * libio/fileops.c (_IO_new_file_init_internal): Rename from
15806 _IO_new_file_init.
15807 (_IO_new_file_init): New externally visible wrapper which disables
15808 vtable verification.
15809 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
15810 Define as vtables.
15811 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
15812 (_IO_init): New externally visible wrapper which disables
15813 vtable verification.
15814 * libio/iofdopen.c (_IO_new_fdopen): Call
15815 _IO_new_file_init_internal instead of _IO_file_init. Adjust
15816 comment.
15817 * libio/iofopen.c (__fopen_internal): Call
15818 _IO_new_file_init_internal instead of _IO_file_init.
15819 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
15820 Define as vtables.
15821 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
15822 _IO_new_file_init_internal instead of _IO_file_init.
15823 * libio/iopopen.c (_IO_new_popen): Likewise.
15824 (_IO_proc_jumps): Define as vtable.
15825 * libio/iovdprintf.c (_IO_vdprintf): Call
15826 _IO_new_file_init_internal instead of _IO_file_init.
15827 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
15828 (__open_memstream): Call _IO_init_internal instead of _IO_init.
15829 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
15830 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
15831 _IO_old_file_init.
15832 (_IO_old_file_init): New externally visible wrapper which disables
15833 vtable verification.
15834 (_IO_old_file_jumps): Define as vtable.
15835 * libio/oldiofdopen.c (_IO_old_fdopen): Call
15836 _IO_old_file_init_internal instead of _IO_old_file_init.
15837 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15838 * libio/oldiopopen.c (_IO_old_popen): Likewise.
15839 (_IO_old_proc_jumps): Define as vtable.
15840 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
15841 Define as vtables.
15842 * libio/vtables.c: New file.
15843 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
15844 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
15845 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
15846 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
15847 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
15848 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
15849 instead of _IO_init.
15850
15851 2016-06-23 Florian Weimer <fweimer@redhat.com>
15852
15853 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
15854
15855 2016-06-23 Florian Weimer <fweimer@redhat.com>
15856
15857 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
15858 potentially unused.
15859
15860 2016-06-22 Florian Weimer <fweimer@redhat.com>
15861
15862 * test-skeleton.c (write_message): New function.
15863 * malloc/tst-mallocfork2.c (write_message): Remove.
15864 * debug/tst-longjmp_chk2.c (write_indented): New function.
15865 (write_message): Remove.
15866 (stackoverflow_handler): Call write_indented.
15867
15868 2016-06-22 Joseph Myers <joseph@codesourcery.com>
15869
15870 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
15871 "inexact" exceptions after fnstenv.
15872 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15873 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
15874 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
15875
15876 2015-06-22 Zack Weinberg <zackw@panix.com>
15877
15878 * sysdeps/generic/bits/hwcap.h: Moved to ...
15879 * bits/hwcap.h: Here.
15880
15881 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
15882
15883 * sysdeps/aarch64/memcpy.S (memcpy):
15884 Further tuning for performance.
15885
15886 2016-06-21 Florian Weimer <fweimer@redhat.com>
15887
15888 [BZ #20284]
15889 * malloc/arena.c (reused_arena): Do not return NULL if we start
15890 out with a non-corrupted arena.
15891
15892 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15893
15894 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
15895 * misc/tst-preadvwritev.c: New file.
15896 * misc/tst-preadvwritev64.c: Likewise.
15897 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
15898 usage.
15899 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
15900 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
15901 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
15902 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
15903
15904 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
15905
15906 [BZ #19654]
15907 * sysdeps/x86_64/fpu/Makefile: Added new tests.
15908 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
15909 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
15910 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
15911 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
15912 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
15913 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
15914 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
15915 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
15916 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
15917 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
15918 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
15919 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
15920 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
15921 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
15922 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
15923 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
15924 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
15925 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
15926 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
15927 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
15928 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
15929 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
15930 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
15931 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
15932 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
15933
15934 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
15935
15936 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
15937 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
15938
15939 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
15940
15941 * sysdeps/aarch64/memcpy.S (memcpy):
15942 Rewrite of optimized memcpy and memmove.
15943 * sysdeps/aarch64/memmove.S (memmove): Remove
15944 memmove code (merged into memcpy.S).
15945
15946 2016-06-20 Florian Weimer <fweimer@redhat.com>
15947
15948 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
15949 * sysdeps/generic/dl-dtv.h: New file.
15950 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15951 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
15952 (dtv_t): Remove.
15953 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15954 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
15955 (dtv_t): Remove.
15956 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15957 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
15958 (dtv_t): Remove.
15959 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15960 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
15961 (dtv_t): Remove.
15962 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15963 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
15964 (dtv_t): Remove.
15965 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15966 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
15967 (dtv_t): Remove.
15968 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15969 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
15970 (dtv_t): Remove.
15971 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
15972 (dtv_t): Remove.
15973 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15974 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
15975 (dtv_t): Remove.
15976 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15977 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
15978 (dtv_t): Remove.
15979 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15980 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
15981 (dtv_t): Remove.
15982 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15983 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
15984 (dtv_t): Remove.
15985 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15986 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
15987 (dtv_t): Remove.
15988 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15989 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
15990 (dtv_t): Remove.
15991 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15992 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
15993 (dtv_t): Remove.
15994 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15995 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
15996 (dtv_t): Remove.
15997
15998 2016-06-20 Florian Weimer <fweimer@redhat.com>
15999
16000 Revert symbol poisoning of __malloc_initialize_hook.
16001 * include/stdc-predef.h (__malloc_initialize_hook): Remove
16002 poisoning.
16003 * malloc/Makefile: Remove un-poisoning.
16004 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
16005 instead of old__malloc_initialize_hook.
16006 * malloc/malloc-hooks.h: Likewise.
16007 * malloc/malloc.c: Likewise.
16008 * malloc/mcheck-init.c: Likewise.
16009
16010 2016-06-19 Carlos O'Donell <carlos@redhat.com>
16011
16012 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
16013
16014 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
16015
16016 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
16017 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
16018 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
16019 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
16020
16021 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16022
16023 * NEWS: Mention addition of nextup and nextdown.
16024 * manual/arith.texi: Document nextup and nextdown.
16025 * manual/libm-err-tab.pl: Add nextup and nextdown.
16026 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
16027 * math/Versions (libm): Add GLIBC_2.24.
16028 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
16029 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
16030 Add new test.
16031 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
16032 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
16033 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
16034 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
16035 (nextup_test_data): Likewise.
16036 (nextdown_test_data): Likewise.
16037 * math/s_nextdown.c: New file.
16038 * math/s_nextdownf.c: Likewise.
16039 * math/s_nextdownl.c: Likewise.
16040 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
16041 F(nextup): New function.
16042 F(nextdown): Likewise.
16043 * math/tgmath.h: Add nextup and nextdown.
16044 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
16045 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
16046 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16047 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
16048 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
16049 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
16050 Add nextup and nextdown.
16051 (CFLAGS-nldbl-nextup.c): New variable.
16052 (CFLAGS-nldbl-nextdown.c): Likewise.
16053 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
16054 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
16055 * sysdeps/nacl/libm.abilist: Update.
16056 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16057 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16058 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16059 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16060 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16061 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16062 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16063 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16064 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16065 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16066 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16067 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16070 Likewise.
16071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16073 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16074 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16075 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16076 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16077 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
16079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
16080 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16081 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16082 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
16083 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16084
16085 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
16086
16087 * manual/pattern.texi: Fix typos & grammar errors.
16088
16089 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
16090
16091 * manual/search.texi: Fix typos & grammar errors.
16092
16093 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
16094
16095 * manual/message.texi: Fix typos & grammar errors.
16096
16097 2016-06-16 Mike Frysinger <vapier@gentoo.org>
16098
16099 * manual/contrib.texi: Fix spelling typos.
16100 * manual/crypt.texi: Likewise.
16101 * manual/filesys.texi: Likewise.
16102 * manual/locale.texi: Likewise.
16103 * manual/message.texi: Likewise.
16104 * manual/nss.texi: Likewise.
16105 * manual/string.texi: Likewise.
16106
16107 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
16108
16109 * manual/locale.texi: Fix typos & grammar errors.
16110
16111 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
16112
16113 * manual/charset.texi: Fix typos & grammar errors.
16114
16115 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
16116
16117 * manual/string.texi: Fix typos.
16118
16119 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
16120
16121 * manual/ctype.texi: Fix typos.
16122
16123 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
16124
16125 * manual/memory.texi: Fix various typos & grammar errors.
16126
16127 2016-06-14 Joseph Myers <joseph@codesourcery.com>
16128
16129 [BZ #20255]
16130 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
16131 * math/libm-test.inc (fdim_test_data): Add another test.
16132
16133 [BZ #6796]
16134 [BZ #20255]
16135 [BZ #20256]
16136 * math/s_fdim.c: Include <math_private.h>.
16137 (__fdim): Use math_narrow_eval on result.
16138 * math/s_fdimf.c: Include <math_private.h>.
16139 (__fdimf): Use math_narrow_eval on result.
16140 * sysdeps/i386/fpu/s_fdim.S: Remove file.
16141 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
16142 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
16143 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
16144 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
16145 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
16146 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
16147 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
16148 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
16149 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
16150 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
16151 * math/libm-test.inc (fdim_test_data): Expect errno setting on
16152 overflow. Add sNaN tests.
16153
16154 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
16155 fpclassify.
16156 * math/s_fdimf.c (__fdimf): Likewise.
16157 * math/s_fdiml.c (__fdiml): Likewise.
16158
16159 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16160
16161 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16162 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
16163 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16164 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
16165 ifunc'ed strcasecmp/strncasecmp.
16166 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
16167 [EALIGN]: Removed.
16168 [END]: Likewise.
16169 [__strcasecmp]: Define instead of the above to control symbol name.
16170 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
16171 for __strcasecmp_power8.
16172 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
16173 for __strncasecmp_power8.
16174 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
16175 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
16176 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
16177 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
16178 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
16179 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
16180
16181 2016-06-13 Joseph Myers <joseph@codesourcery.com>
16182
16183 [BZ #20252]
16184 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
16185 arguments when second argument is a NaN.
16186 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
16187 qNaN tests.
16188
16189 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
16190 (conj_test_data): Likewise.
16191 (copysign_test_data): Likewise.
16192 (creal_test_data): Likewise.
16193 (fma_test_data): Likewise.
16194 (fmod_test_data): Likewise.
16195
16196 [BZ #20250]
16197 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
16198 itself.
16199 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
16200 zero input to itself.
16201 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
16202 Likewise.
16203 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
16204 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
16205 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16206 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
16207 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
16208
16209 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16210
16211 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
16212 * nptl/tst-cancel4-common.c: New file.
16213 * nptl/tst-cancel4-common.h: Likewise.
16214 * nptl/tst-cancel4.c: Move common definitions to
16215 tst-cancel4-common.{c,h} file.
16216 * nptl/tst-cancel4_1.c: New test.
16217 * nptl/tst-cancel4_2.c: New test.
16218
16219 2016-06-13 Florian Weimer <fweimer@redhat.com>
16220
16221 [BZ #20248]
16222 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
16223 (write_message): New function.
16224 (stackoverflow_handler): Call it instead of printf, to avoid
16225 excessive stack usage by printf.
16226 (do_test): Restore SIGSEGV, SIGBUS default handlers.
16227
16228 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16229
16230 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
16231 (prio_inherit_missing): Remove define.
16232 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16233 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16234 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
16235 Likewise.
16236 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16237 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16238 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16239 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16240 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16241 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16242
16243 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
16244
16245 [BZ #19670]
16246 [BZ #19672]
16247
16248 * io/test-lfs.c (do_prepare): Use xmalloc.
16249 * io/tst-fcntl.c (do_prepare): Likewise.
16250 * libio/tst-fopenloc.c (do_bz17916): Likewise.
16251 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
16252 * login/tst-utmp.c (do_prepare): Likewise.
16253 * posix/tst-exec.c (do_prepare): Likewise.
16254 * posix/tst-pathconf.c (prepare): Likewise.
16255 * posix/tst-spawn.c (do_prepare): Likewise.
16256 * posix/tst-truncate.c (do_prepare): Likewise.
16257 * rt/tst-aio.c (do_prepare): Likewise.
16258 * rt/tst-aio64.c (do_prepare): Likewise.
16259
16260 2016-06-11 Florian Weimer <fweimer@redhat.com>
16261
16262 [BZ #20237]
16263 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
16264 (get*ent): Set entidx to NULL during initialization. If entidx is
16265 NULL, start iteration from the beginning.
16266
16267 2016-06-11 Florian Weimer <fweimer@redhat.com>
16268
16269 * malloc/malloc.c (musable): Return correct size for dumped fake
16270 mmapped chunk.
16271
16272 2016-06-11 Florian Weimer <fweimer@redhat.com>
16273
16274 [BZ #20222]
16275 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
16276 (_IO_cookie_write): Likewise.
16277 (_IO_cookie_seek): Likewise.
16278 (_IO_cookie_close): Likewise.
16279 (_IO_old_cookie_seek): Likewise.
16280 (set_callbacks): New function.
16281 (_IO_cookie_init): Call set_callbacks to copy callbacks.
16282
16283 2016-06-11 Marko Myllynen <myllynen@redhat.com>
16284
16285 * locale/programs/localedef.c (oldstyle_tables): Remove.
16286 * locale/programs/localedef.h (oldstyle_tables): Likewise.
16287
16288 2016-06-10 Joseph Myers <joseph@codesourcery.com>
16289
16290 [BZ #20240]
16291 * math/Makefile (CFLAGS-s_modf.c): New variable.
16292 (CFLAGS-s_modff.c): Likewise.
16293 (CFLAGS-s_modfl.c): Likewise.
16294 * math/libm-test.inc (modf_test_data): Add sNaN tests.
16295
16296 2016-06-09 Carlos O'Donell <carlos@redhat.com>
16297
16298 [BZ #20215]
16299 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
16300 [!__GNUC_PREREQ (3,2)]: Likewise.
16301
16302 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
16303
16304 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
16305 (msghdr.msg_controllen): Likewise.
16306 (cmsghdr.cmsg_len): Likewise.
16307 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
16308 ptw-oldsendmsg.
16309 (CFLAGS-oldrecvmsg.c): Remove rule.
16310 (CFLAGS-oldsendmsg.c): Likewise.
16311 (CFLAGS-recvmsg.c): Add rule.
16312 (CFLAGS-sendmsg.c): Likewise.
16313 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
16314 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
16315 (CFLAGS-recvmsg.c): Remove rule.
16316 (CFLAGS-sendmsg.c): Likewise.
16317 (CFLAGS-oldrecvmsg.c): Likewise.
16318 (CFLAGS-oldsendmsg.c): Likewise.
16319 (CFLAGS-recvmmsg.c): Likewise.
16320 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
16321 to kernel defined interfaces.
16322 (msghdr.msg_controllen): Likewise.
16323 (cmsghdr.cmsg_len): Likewise.
16324 (msghdr.__glibc_reserved1): Remove member.
16325 (msghdr.__glibc_reserved2): Likewise.
16326 (cmsghdr.__glibc_reserved1): Likewise.
16327 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
16328 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
16329 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
16330 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
16331 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
16332 version.
16333 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
16334 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
16335 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
16336 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
16337 Remove recvmsg and sendmsg.
16338 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
16339 Likewise.
16340 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
16341 Likewise.
16342 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
16343 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
16344 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
16345 Likewise.
16346 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
16347 Likewise.
16348 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
16349 [libc] (GLIBC_2.24): Likewise.
16350 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
16351 Likewise.
16352 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
16353 Likewise.
16354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16355 [libc] (GLIBC_2.24): Likewise.
16356 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
16357 Likewise.
16358 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
16359 Likewise.
16360 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
16361 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
16362 Likewise.
16363 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
16364 Likewise.
16365 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
16366 Likewise.
16367 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
16368 Likewise.
16369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
16370 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
16371 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
16372 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
16373 version for {recv,send,recm,sendm}msg.
16374 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16375 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16376 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16377 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16378 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16379 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16380 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16381 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16382 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16383 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16384 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16385 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16387 Likewise.
16388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16389 Likewise.
16390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16392 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16393 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16394 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16395 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16396 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16397 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16398 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16400 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16401 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16402 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16403
16404 2016-06-10 Florian Weimer <fweimer@redhat.com>
16405
16406 [BZ #19564]
16407 Remove __malloc_initialize_hook from the API.
16408 * malloc/malloc.h (__malloc_initialize_hook): Remove.
16409 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
16410 #pragma GCC poison.
16411 * malloc/malloc-hooks.h: New file.
16412 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
16413 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
16414 (old__malloc_initialize_hook): Rename from
16415 __malloc_initialize_hook to evade poisoning. Turn into compat
16416 symbol.
16417 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
16418 __malloc_initialize_hook.
16419 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
16420 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
16421 * manual/memory.texi (Hooks for Malloc): Remove
16422 __malloc_initialize_hook. Adjust hook example.
16423
16424 2016-06-09 Joseph Myers <joseph@codesourcery.com>
16425
16426 [BZ #20235]
16427 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
16428 itself.
16429 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16430 * math/libm-test.inc (log2_test_data): Add sNaN tests.
16431
16432 [BZ #20234]
16433 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
16434 infinity or NaN input to itself.
16435
16436 [BZ #20233]
16437 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
16438 to itself.
16439
16440 [BZ #20232]
16441 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
16442 itself.
16443
16444 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
16445
16446 * sysdeps/x86_64/start.S (_start): Always indirect branch to
16447 __libc_start_main via GOT.
16448
16449 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
16450
16451 * sysdeps/x86_64/memcopy.h: New file.
16452 * sysdeps/x86_64/wordcopy.c: Likewise.
16453
16454 2016-06-09 Florian Weimer <fweimer@redhat.com>
16455
16456 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
16457 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
16458 <cstdlib>.
16459 (optimization_barrier): New.
16460 (do_test): Use it. Call quick_exit in the global namespace.
16461 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
16462 instead of <cstdlib>, <thread>.
16463 (optimization_barrier): New.
16464 (non_main_thread): Adjust declaration. Call optimization_barrier.
16465 Call quick_exit in the global namespace.
16466 (do_test): Call optimization_barrier. Use pthread_create,
16467 pthread_join instead of std::thread.
16468
16469 2016-06-09 Andreas Schwab <schwab@suse.de>
16470
16471 [BZ #19755]
16472 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
16473 new entries in auto-propagate mode.
16474 * nscd/grpcache.c (cache_addgr): Likewise.
16475
16476 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
16477
16478 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
16479 New functions.
16480 (add_temp_file): Use them.
16481
16482 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
16483
16484 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
16485
16486 2016-06-08 Joseph Myers <joseph@codesourcery.com>
16487
16488 [BZ #20229]
16489 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
16490 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
16491 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
16492
16493 [BZ #20228]
16494 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
16495 itself.
16496 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16497 * math/libm-test.inc (log10_test_data): Add sNaN tests.
16498
16499 [BZ #20227]
16500 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
16501 itself.
16502 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16503 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16504 * math/libm-test.inc (log_test_data): Add sNaN tests.
16505
16506 [BZ #20226]
16507 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
16508 itself.
16509 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16510 * math/libm-test.inc (exp_test_data): Add sNaN tests.
16511 (exp10_test_data): Likewise.
16512 (expm1_test_data): Likewise.
16513
16514 [BZ #20225]
16515 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
16516 itself.
16517 * math/s_ldexpf.c (__ldexpf): Likewise.
16518 * math/s_ldexpl.c (__ldexpl): Likewise.
16519 * math/w_scalbln.c (__w_scalbln): Likewise.
16520 * math/w_scalblnf.c (__w_scalblnf): Likewise.
16521 * math/w_scalblnl.c (__w_scalblnl): Likewise.
16522 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
16523 (scalbln_test_data): Likewise.
16524
16525 [BZ #20224]
16526 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
16527 argument to itself.
16528 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
16529
16530 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
16531
16532 [BZ #19776]
16533 * sysdeps/x86_64/memcpy.S: Make it dummy.
16534 * sysdeps/x86_64/mempcpy.S: Likewise.
16535 * sysdeps/x86_64/memmove.S: New file.
16536 * sysdeps/x86_64/memmove_chk.S: Likewise.
16537 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
16538 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
16539 * sysdeps/x86_64/memmove.c: Removed.
16540 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
16541 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16542 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
16543 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
16544 Likewise.
16545 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16546 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16547 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16548 memcpy-sse2-unaligned, memmove-avx-unaligned,
16549 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
16550 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16551 (__libc_ifunc_impl_list): Replace
16552 __memmove_chk_avx512_unaligned_2 with
16553 __memmove_chk_avx512_unaligned. Remove
16554 __memmove_chk_avx_unaligned_2. Replace
16555 __memmove_chk_sse2_unaligned_2 with
16556 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
16557 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
16558 with __memmove_avx512_unaligned. Replace
16559 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
16560 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
16561 with __memcpy_chk_avx512_unaligned. Remove
16562 __memcpy_chk_avx_unaligned_2. Replace
16563 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
16564 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
16565 Replace __memcpy_avx512_unaligned_2 with
16566 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
16567 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
16568 with __mempcpy_chk_avx512_unaligned. Remove
16569 __mempcpy_chk_avx_unaligned_2. Replace
16570 __mempcpy_chk_sse2_unaligned_2 with
16571 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
16572 Replace __mempcpy_avx512_unaligned_2 with
16573 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
16574 Replace __mempcpy_sse2_unaligned_2 with
16575 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
16576 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
16577 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
16578 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
16579 if processor has ERMS. Default to __memcpy_sse2_unaligned.
16580 (ENTRY): Removed.
16581 (END): Likewise.
16582 (ENTRY_CHK): Likewise.
16583 (libc_hidden_builtin_def): Likewise.
16584 Don't include ../memcpy.S.
16585 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
16586 __memcpy_chk_avx512_unaligned_erms and
16587 __memcpy_chk_avx512_unaligned. Use
16588 __memcpy_chk_avx_unaligned_erms and
16589 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
16590 Default to __memcpy_chk_sse2_unaligned.
16591 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16592 Change function suffix from unaligned_2 to unaligned.
16593 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
16594 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
16595 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
16596 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
16597 (ENTRY): Removed.
16598 (END): Likewise.
16599 (ENTRY_CHK): Likewise.
16600 (libc_hidden_builtin_def): Likewise.
16601 Don't include ../mempcpy.S.
16602 (mempcpy): New. Add a weak alias.
16603 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
16604 __mempcpy_chk_avx512_unaligned_erms and
16605 __mempcpy_chk_avx512_unaligned. Use
16606 __mempcpy_chk_avx_unaligned_erms and
16607 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
16608 Default to __mempcpy_chk_sse2_unaligned.
16609
16610 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
16611
16612 [BZ #19881]
16613 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
16614 into ...
16615 * sysdeps/x86_64/memset.S: This.
16616 (__bzero): Removed.
16617 (__memset_tail): Likewise.
16618 (__memset_chk): Likewise.
16619 (memset): Likewise.
16620 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
16621 defined.
16622 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
16623 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
16624 (__memset_zero_constant_len_parameter): Check SHARED instead of
16625 PIC.
16626 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16627 memset-avx2 and memset-sse2-unaligned-erms.
16628 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16629 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
16630 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
16631 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16632 (__bzero): Enabled.
16633 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
16634 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
16635 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
16636 or __memset_avx2_unaligned_erms if processor has ERMS. Support
16637 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
16638 (memset): Removed.
16639 (__memset_chk): Likewise.
16640 (MEMSET_SYMBOL): New.
16641 (libc_hidden_builtin_def): Replace __memset_sse2 with
16642 __memset_sse2_unaligned.
16643 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
16644 __memset_chk_sse2 and __memset_chk_avx2 with
16645 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
16646 Use __memset_chk_sse2_unaligned_erms or
16647 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
16648 __memset_chk_avx512_unaligned_erms and
16649 __memset_chk_avx512_unaligned.
16650
16651 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16652
16653 * math/gen-auto-libm-test.c (fp_format_desc): remove
16654 suffix member.
16655 (output_generic_value): Remove usage of suffix member,
16656 and the resulting unuse of the fp_format argument.
16657 (output_for_one_input_case): Remove unused fp_format
16658 parameter.
16659
16660 * math/auto-libm-test-out: Regenerate.
16661
16662 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
16663 usage with TEST_COND_ibm128.
16664 (TEST_COND_flt_32): Remove.
16665 (TEST_COND_dbl_64): Remove.
16666 (TEST_COND_ldbl_96_intel): Remove.
16667 (TEST_COND_ldbl_96_m68k): Remove.
16668 (TEST_COND_ldbl_128): Remove.
16669
16670 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16671
16672 * auto-libm-test-in:
16673 Replace flt-32 usage with binary32.
16674 Replace dbl-64 usage with binary64.
16675 Replace ldbl-intel-96 usage with intel96.
16676 Replace ldbl-m68k-96 usage with m68k96.
16677 Replace ldbl-128ibm usage with ibm128.
16678 Replace ldbl-128 usage with binary128.
16679
16680 * auto-libm-test-out: Regenerate.
16681
16682 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16683
16684 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
16685 (parse_ulps): Dynamically generate type name matching
16686 string from all_floats.
16687 (get_ulps): Generate the ulps as an array instead.
16688 (output_ulps): Dynamically compose the type based
16689 on the number of supported formats, and print
16690 the indices as type specific helper macros.
16691
16692 * math/libm-test.inc: Remove comment about CHOOSE.
16693 (ulp_data): Generate the type in libm-test-ulps.h.
16694 (ULP_IDX): New macro.
16695 (find_ulps): Update usage of max_ulp.
16696
16697 * math/test-double-vlen2.h (CHOOSE): Remove.
16698 * math/test-double-vlen4.h (CHOOSE): Likewise.
16699 * math/test-double-vlen8.h (CHOOSE): Likewise.
16700 * math/test-float.c (CHOOSE): Likewise.
16701 * math/test-float-finite.c (CHOOSE): Likewise.
16702 * math/test-double.c (CHOOSE): Likewise.
16703 * math/test-double-finite.c (CHOOSE): Likewise.
16704 * math/test-idouble.c (CHOOSE): Likewise.
16705 * math/test-ifloat.c (CHOOSE): Likewise.
16706 * math/test-ildoubl.c (CHOOSE): Likewise.
16707 * math/test-ldouble-finite.c (CHOOSE): Likewise.
16708 * math/test-ldouble.c (CHOOSE): Likewise.
16709
16710 * math/test-float.h (TEST_FLOAT): Remove.
16711 * math/test-double.h (TEST_DOUBLE): Likewise.
16712 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
16713
16714 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16715
16716 * math/gen-libm-test.pl: (apply_lit): New subroutine.
16717 (parse_args): Strip C suffix from floating point literals
16718 typed with 'f' and wrap them with LIT().
16719
16720 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
16721 (test_ff_f_data_nexttoward): Rename to
16722 (test_fj_f_data): New struct.
16723 (nexttoward_test_data): Relabel tests as
16724 TEST_fj_f instead of TEST_ff_f.
16725
16726 2016-06-08 Florian Weimer <fweimer@redhat.com>
16727
16728 Emacs bug 23726.
16729 * malloc/malloc.c (dumped_main_arena_start): Update comment.
16730 (__libc_realloc): Correct size computation for dumped fake mmapped
16731 chunks.
16732
16733 2016-06-07 Joseph Myers <joseph@codesourcery.com>
16734
16735 [BZ #20219]
16736 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
16737 to itself.
16738 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
16739
16740 [BZ #20218]
16741 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
16742 to itself.
16743 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
16744
16745 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
16746
16747 [BZ #20195]
16748 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
16749 check to ...
16750 (init_cpu_features): Here.
16751
16752 2016-06-07 Carlos O'Donell <carlos@redhat.com>
16753
16754 [BZ #20214]
16755 * sysdeps/unix/sysv/linux/bits/in.h
16756 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
16757 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
16758 Define to 1.
16759 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
16760 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
16761 Define to 0.
16762 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
16763 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
16764
16765 2016-06-06 Carlos O'Donell <carlos@redhat.com>
16766
16767 [BZ #20198]
16768 * stdlib/Makefile (tests): Add tst-quick_exit, and
16769 tst-thread-quick_exit.
16770 [ifeq ($(have-cxx-thread_local),yes)]
16771 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
16772 (CFLAGS-tst-thread-quick_exit.o): Likewise.
16773 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
16774 (LDLIBS-tst-thread-quick_exit): Likewise.
16775 [ifneq ($(have-cxx-thread_local),yes)]
16776 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
16777 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
16778 If run_dtors is true call __call_tls_dtors.
16779 (exit): Call __run_exit_handlers with run_dtors set to true.
16780 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
16781 definition.
16782 * stdlib/quick_exit.c (quick_exit): Remove function.
16783 (__new_quick_exit): New function.
16784 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
16785 function.
16786 * stdlib/tst-quick_exit.cc: New file.
16787 * stdlib/tst-thread-quick_exit.cc: New file.
16788 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
16789 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
16790 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
16791 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
16792 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
16793 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
16794 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
16795 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
16796 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
16797 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
16798 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
16799 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
16800 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
16801 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
16802 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
16803 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
16804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
16805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
16806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
16807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
16808 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
16809 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
16810 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
16811 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
16812 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
16813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
16814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
16815 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
16816 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
16817 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
16818
16819 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
16820
16821 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
16822 a typo in comments.
16823
16824 2016-06-06 Joseph Myers <joseph@codesourcery.com>
16825
16826 [BZ #20213]
16827 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
16828 argument to itself.
16829 * math/libm-test.inc (asin_test_data): Add sNaN tests.
16830
16831 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16832
16833 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
16834 required flags.
16835 (CFLAGS-pwritev64.c): Likewise.
16836 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
16837 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16838 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
16839 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16840 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
16841 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
16842 syscall from auto-generation.
16843 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
16844 [WORDSIZE == 64] (pwritev64): Remove macro.
16845 [!PWRITEV] (PWRITEV): Likewise.
16846 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
16847 [!PWRITEV] (PWRITE): Likewise.
16848 [!PWRITEV] (OFF_T): Likewise.
16849 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
16850 (LO_HI_LONG): Remove macro.
16851 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
16852 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
16853 (PWRITEV): Remove macro.
16854 (PWRITEV_REPLACEMENTE): Likewise.
16855 (PWRITE): Likewise.
16856 (OFF_T): Likewise.
16857 (pwritev64): New function.
16858 * nptl/tst-cancel4.c (tf_writev): Add test.
16859
16860 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
16861 required flags.
16862 (CFLAGS-preadv64.c): Likewise.
16863 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
16864 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16865 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
16866 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
16867 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
16868 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
16869 syscall from auto-generation.
16870 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
16871 [WORDSIZE == 64] (preadv64): Remove macro.
16872 [!PREADV] (PREADV): Likewise.
16873 [!PREADV] (PREADV_REPLACEMENT): Likewise.
16874 [!PREADV] (PREAD): Likewise.
16875 [!PREADV] (OFF_T): Likewise.
16876 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
16877 (LO_HI_LONG): Remove macro.
16878 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
16879 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
16880 (PREADV): Remove macro.
16881 (PREADV_REPLACEMENTE): Likewise.
16882 (PREAD): Likewise.
16883 (OFF_T): Likewise.
16884 (preadv64): New function.
16885 * nptl/tst-cancel4.c (tf_preadv): Add test.
16886
16887 2016-06-06 Joseph Myers <joseph@codesourcery.com>
16888
16889 [BZ #20212]
16890 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
16891 argument to itself.
16892 * math/libm-test.inc (acos_test_data): Add sNaN tests.
16893
16894 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16895
16896 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
16897 New symbol defined as libc_hidden_def.
16898 (strcasestr): Became a weak alias to __strcasestr.
16899 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
16900 according to multi-arch support. Move __stpncpy hidden
16901 definition from here to...
16902 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
16903 symbol stpncpy.
16904 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
16905 libc_hidden_builtin_def.
16906 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
16907 memset symbol to use when multi-arch support is available.
16908
16909 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
16910
16911 * dlfcn/tst-rec-dlopen.c: Include string.h.
16912
16913 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16914
16915 * manual/install.texi: Remove mention of --without-tls
16916 * INSTALL: Regenerate.
16917
16918 2016-06-05 Florian Weimer <fweimer@redhat.com>
16919
16920 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
16921 Remove.
16922 (call_function, interposed_malloc_called): New variables.
16923 (malloc): New function.
16924 (do_test): Do not change malloc hooks. Initialize malloc. Set
16925 and clear call_function as needed.
16926
16927 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
16928
16929 * include/wchar.h (__wmemset): Use __typeof.
16930
16931 2016-06-03 Carlos O'Donell <carlos@redhat.com>
16932
16933 * include/wchar.h (__wmemset): Declare function without typeof.
16934
16935 2016-06-03 Joseph Myers <joseph@codesourcery.com>
16936
16937 [BZ #20205]
16938 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
16939 exponent when incrementing negative subnormal with low mantissa
16940 word zero.
16941 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
16942 Add another test.
16943
16944 2016-06-03 Florian Weimer <fweimer@redhat.com>
16945
16946 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
16947 __wmemset instead of wmemset.
16948
16949 2016-06-02 Carlos O'Donell <carlos@redhat.com>
16950
16951 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
16952 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
16953 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
16954 __USE_KERNEL_IPV6_DEFS to 0.
16955 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
16956 Update comment.
16957
16958 2016-06-01 Florian Weimer <fweimer@redhat.com>
16959
16960 [BZ #19861]
16961 Do not use IFUNC resolver with potentially unrelocated symbol.
16962 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
16963 (DEFINE_FORK): Remove macro and inline definition.
16964 (fork_alias): Renamed from fork_ifunc.
16965 (__fork_alias): Renamed from __fork_ifunc.
16966
16967 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
16968
16969 [BZ 19653]
16970 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
16971 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
16972
16973 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16974
16975 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
16976 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
16977 i386-linux-gnu).
16978 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
16979 Set to no.
16980 * sysdeps/mach/hurd/configure: Refresh.
16981
16982 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16983
16984 [BZ #20178]
16985 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
16986 on failure instead of exit.
16987
16988 2016-05-30 Roland McGrath <roland@hack.frob.com>
16989
16990 [BZ #3629]
16991 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
16992 of POSIX.1-2008.
16993
16994 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16995
16996 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
16997 Use PLT entry for calling _hurd_self_sigstate.
16998
16999 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
17000
17001 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
17002 available logical processors with SMT level type sharing L2
17003 cache for Intel processors.
17004
17005 2016-05-27 Joseph Myers <joseph@codesourcery.com>
17006
17007 [BZ #20160]
17008 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
17009 argument to itself before returning the result.
17010 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
17011 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
17012 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
17013 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
17014 Likewise.
17015 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
17016 Likewise.
17017 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
17018 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
17019 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
17020 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
17021 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
17022 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
17023
17024 [BZ #20160]
17025 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
17026 argument to itself before returning the result.
17027 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
17028 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
17029 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
17030 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
17031 Likewise.
17032 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17033 Likewise.
17034 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
17035 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
17036 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
17037 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
17038 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
17039 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
17040
17041 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17042
17043 * libm-test.inc: Replace usage of M_El with
17044 (lit_e): New macro.
17045
17046 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17047
17048 * libm-test.inc: Replace usage of M_PI_4l with
17049 (lit_pi_4_d): New macro.
17050
17051 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17052
17053 * libm-test.inc: Replace usage of M_PIl with
17054 (lit_pi): New macro.
17055
17056 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17057
17058 * libm-test.inc: Replace usage of M_PI2l with
17059 (lit_pi_2_d): New macro.
17060
17061 * math/test-double.h (LITM): New macro.
17062 * math/test-float.h (LITM): Likewise.
17063 * math/test-ldouble.h (LITM): Likewise.
17064
17065 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17066
17067 * libm-test.inc (M_PI_34l): Rename to
17068 (lit_pi_3_m_4_d): New Macro.
17069 (M_PI_34_LOG10El): Rename to
17070 (lit_pi_3_m_4_ln10_m_d): New Macro.
17071 (M_PI2_LOG10El): Rename to
17072 (lit_pi_2_ln10_m_d): New Macro.
17073 (M_PI4_LOG10El): Rename to
17074 (lit_pi_4_ln10_m_d): New Macro.
17075 (M_PI_LOG10El): Rename to
17076 (lit_pi_ln10_d): New Macro.
17077
17078 2016-05-27 Joseph Myers <joseph@codesourcery.com>
17079
17080 [BZ #20157]
17081 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
17082 determine whether to negate low half if [_ARCH_PPCGR], and integer
17083 comparison otherwise.
17084 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
17085 determine whether to negate low half.
17086
17087 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
17088 (NO_TEST_INLINE_DOUBLE): Likewise.
17089 (TEST_COND_x86_64): Likewise.
17090 (TEST_COND_x86): Likewise.
17091 (M_PI_6l): Likewise.
17092
17093 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17094
17095 * math/libm-test.inc:
17096 (TEST_FLOAT): Change usage to TEST_COND_binary32.
17097 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
17098 (TEST_LDOUBLE): Update usage to evaluate as true if
17099 the guarded tests match the property being tested.
17100 (LDBL_MAX_EXP): Change to MAX_EXP.
17101 (LDBL_MIN_EXP): Change to MIN_EXP.
17102 (LDBL_MANT_DIG): Change to MANT_DIG, except for
17103 nexttoward tests.
17104
17105 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17106
17107 * math/libm-test.inc:
17108 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
17109 (TYPE_MIN): Likewise.
17110 (TYPE_TRUE_MIN): Likewise.
17111 (TYPE_MAX): Likewise.
17112 (MIN_EXP): Likewise.
17113 (MAX_EXP): Likewise.
17114 (MANT_DIG): Likewise.
17115
17116 (FSTR_MAX): New macro.
17117 (__CONCATX): Likewise.
17118 (QTYPE_STR): Likewise.
17119 (TEST_COND_binary32): Likewise.
17120 (TEST_COND_binary64): Likewise.
17121 (TEST_COND_binary128): Likewise.
17122 (TEST_COND_ibm128): Likewise.
17123 (TEST_COND_intel96): Likewise.
17124 (TEST_COND_m68k96): Likewise.
17125
17126 (TEST_COND_flt_32): Redefine as equivalent format test macro.
17127 (TEST_COND_dbl_64): Likewise.
17128 (TEST_COND_ldbl_96_intel): Likewise.
17129 (TEST_COND_ldbl_96_m68k): Likewise.
17130 (TEST_COND_ldbl_128): Likewise.
17131 (TEST_COND_ldbl_128ibm): Likewise.
17132
17133 (plus_zero): Redefine using LIT macro.
17134 (minus_zero): Likewise.
17135 (plus_infty): Redefine as (INF).
17136 (minux_infty): Redefine as (-INF).
17137 (max_value): Redefine as TYPE_MAX.
17138 (min_value): Redefine as TYPE_MIN.
17139 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
17140
17141 (print_float): Refactor to use snprintf to convert FLOAT values
17142 to string. This brings it closer to dropin replacement of strtof
17143 for the TS 18661 defined types.
17144 (update_stats): Likewise.
17145 (print_complex_function_ulps): Likewise.
17146 (print_max_error): Likewise.
17147 (print_complex_max_error): Likewise.
17148 (check_float_internal): Likewise.
17149
17150 * math/test-float.h (PREFIX): New macro.
17151 (LIT): Likewise.
17152 (TYPE_STR): Likewise.
17153 (FTOSTR): Likewise.
17154
17155 * math/test-double.h (PREFIX): New macro.
17156 (LIT): Likewise.
17157 (TYPE_STR): Likewise.
17158 (FTOSTR): Likewise.
17159
17160 * math/test-ldouble.h (PREFIX): New macro.
17161 (LIT): Likewise.
17162 (TYPE_STR): Likewise.
17163 (FTOSTR): Likewise.
17164
17165 2016-05-27 Joseph Myers <joseph@codesourcery.com>
17166
17167 [BZ #20156]
17168 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
17169 to itself when zero or not finite.
17170 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
17171 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17172 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
17173 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
17174
17175 2016-05-26 Joseph Myers <joseph@codesourcery.com>
17176
17177 [BZ #20153]
17178 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
17179 x * x + x for infinities and NaNs.
17180
17181 [BZ #20151]
17182 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
17183 argument to itself before returning result.
17184 (__ieee754_y0l): Likewise.
17185 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17186 (__ieee754_y1l).
17187
17188 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
17189 (atan_test_data): Likewise.
17190 (ceil_test_data): Likewise.
17191 (cos_test_data): Likewise.
17192 (cosh_test_data): Likewise.
17193 (erf_test_data): Likewise.
17194 (exp2_test_data): Likewise.
17195 (fabs_test_data): Likewise.
17196 (floor_test_data): Likewise.
17197 (ilogb_test_data): Likewise.
17198 (j0_test_data): Likewise.
17199 (j1_test_data): Likewise.
17200 (jn_test_data): Likewise.
17201 (lgamma_test_data): Likewise.
17202 (lrint_test_data): Likewise.
17203 (llrint_test_data): Likewise.
17204 (logb_test_data): Likewise.
17205 (lround_test_data): Likewise.
17206 (llround_test_data): Likewise.
17207 (nearbyint_test_data): Likewise.
17208 (rint_test_data): Likewise.
17209 (round_test_data): Likewise.
17210 (sin_test_data): Likewise.
17211 (sincos_test_data): Likewise.
17212 (sinh_test_data): Likewise.
17213 (sqrt_test_data): Likewise.
17214 (tan_test_data): Likewise.
17215 (tanh_test_data): Likewise.
17216 (tgamma_test_data): Likewise.
17217 (trunc_test_data): Likewise.
17218 (y0_test_data): Likewise.
17219 (y1_test_data): Likewise.
17220 (yn_test_data): Likewise.
17221
17222 * math/libm-test.inc: Update comment about NaN testing.
17223 (TEST_SNAN): New macro.
17224 (snan_value): Likewise.
17225 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
17226 (fpclassify_test_data): Add sNaN tests.
17227 (isfinite_test_data): Likewise.
17228 (isinf_test_data): Likewise.
17229 (isnan_test_data): Likewise.
17230 (isnormal_test_data): Likewise.
17231 (issignaling_test_data): Likewise.
17232 (signbit_test_data): Likewise.
17233 * math/gen-libm-test.pl (%beautify): Add snan_value.
17234 (show_exceptions): Add argument $test_snan.
17235 (parse_args): Handle snan_value as non-finite. Update call to
17236 show_exceptions.
17237 * math/Makefile (libm-test-no-inline-cflags): Add
17238 -fsignaling-nans.
17239
17240 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17241
17242 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
17243 (CFLAGS-oldsendmsg.c): Add rule.
17244 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
17245 Correct recvmsg symbol name.
17246 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
17247 Likewise.
17248
17249 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17250
17251 * sysdeps/unix/sysv/linux/Makefile
17252 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
17253 oldsendmmsg.
17254 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
17255 sendmmsg.
17256 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17257 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17258 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17259 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17261 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17262 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17263 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17264 Likewise.
17265 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17266 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
17267 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
17268 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
17269 iovlen and controllen fields to adjust to POSIX specification.
17270 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17271
17272 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
17273 and change to correct expected type.
17274 (msghdr.msg_controllen): Likewise.
17275 (cmsghdr.cmsg_len): Likewise.
17276 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
17277 expected POSIX assumption about the size.
17278 (msghdr.msg_controllen): Likewise.
17279 (msghdr.__glibc_reserved1): Likewise.
17280 (msghdr.__glibc_reserved2): Likewise.
17281 (cmsghdr.cmsg_len): Likewise.
17282 (cmsghdr.__glibc_reserved1): Likewise.
17283 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
17284 Add ptw-oldrecvmsg and ptw-oldsendmsg.
17285 (CFLAGS-sendmsg.c): Remove rule.
17286 (CFLAGS-recvmsg.c): Likewise.
17287 (CFLAGS-oldsendmsg.c): Add rule.
17288 (CFLAGS-oldrecvmsg.c): Likewise.
17289 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
17290 recvmsg and sendmsg.
17291 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
17292 Likewise.
17293 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
17294 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
17295 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
17296 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
17297 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
17298 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
17299 Likewise.
17300 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
17301 Likewise.
17302 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
17303 Likewise.
17304 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
17305 Likewise.
17306 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
17307 Likewise.
17308 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
17309 Likewise.
17310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
17311 (GLIBC_2.24): Likewise.
17312 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
17313 Likewise.
17314 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
17315 Likewise.
17316 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
17317 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
17318 Likewise.
17319 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
17320 Likewise.
17321 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
17322 Likewise.
17323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
17324 (GLIBC_2.24): Likewise.
17325 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
17326 Likewise.
17327 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
17328 Likewise.
17329 * sysdeps/unix/sysv/linux/Makefile
17330 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
17331 (CFLAGS-sendmsg.c): Add rule.
17332 (CFLAGS-recvmsg.c): Likewise.
17333 (CFLAGS-oldsendmsg.c): Likewise.
17334 (CFLAGS-oldrecvmsg.c): Likewise.
17335 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
17336 initialization.
17337 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
17338 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
17339 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
17340 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
17341 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
17342 iovlen and controllen fields to adjust to POSIX specification.
17343 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
17344 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
17345 added recvmsg and sendmsg.
17346 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17347 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17348 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17349 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17350 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17351 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17352 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17353 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17354 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17355 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17356 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17357 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
17358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17359 Likewise.
17360 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
17361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17362 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17363 Likewise.
17364 Likewise.
17365 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17366 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17367 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17368 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17369 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17370 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
17372 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
17374 Likewise.
17375 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17376 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17377
17378 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
17379 from auto-generation.
17380 (sendmsg): Likewise.
17381 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
17382 (sendmsg): Likewise.
17383 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
17384 (sendmsg): Likewise.
17385 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
17386 (sendmsg): Likewise.
17387 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
17388 (sendmsg): Likewise.
17389 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
17390 (sendmsg): Likewise.
17391 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
17392 Likewise.
17393 (sendmsg): Likewise.
17394 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
17395 (sendmsg): Likewise.
17396 * sysdeps/unix/sysv/linux/i386/kernel-features.h
17397 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17398 Remove.
17399 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17400 Likewise.
17401 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17402 Undefine.
17403 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17404 Likewise.
17405 * sysdeps/unix/sysv/linux/kernel-features.h
17406 (__ASSUME_SENDMSG_SYSCALL): Define.
17407 (__ASSUME_RECVMSG_SYSCALL): Likewise.
17408 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17409 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17410 Remove.
17411 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17412 Likewise.
17413 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17414 Undefine.
17415 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17416 Likewise.
17417 * sysdeps/unix/sysv/linux/s390/kernel-features.h
17418 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17419 Remove.
17420 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17421 Likewise.
17422 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17423 Undefine.
17424 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17425 Likewise.
17426 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17427 (__ASSUME_SENDMSG_SYSCALL): Undefine.
17428 (__ASSUME_RECVMSG_SYSCALL): Likewise.
17429 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17430 (__ASSUME_SENDMSG_SYSCALL): Likewise.
17431 (__ASSUME_RECVMSG_SYSCALL): Likewise.
17432 * sysdeps/unix/sysv/linux/sh/kernel-features.h
17433 (__ASSUME_SENDMSG_SYSCALL): Likewise.
17434 (__ASSUME_RECVMSG_SYSCALL): Likewise.
17435
17436 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17437
17438 * stdlib/gen-tst-strtod-round.c: Add backslash to
17439 compile command in comment.
17440 (printfp): Remove the literal suffix, and define an infinite
17441 value as INF to avoid expansion clash with INFINITY.
17442 (round_str): Remove the literal suffix.
17443 (round_for_all): Likewise, remove the now duplicate ldbl-64
17444 entry, and remove some magic constants.
17445
17446 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
17447 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
17448 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
17449 (_CONCAT): New macro.
17450 (CONCAT): Likewise.
17451 (CHOOSE_ld): Likewise.
17452 (CHOOSE_f): Likewise.
17453 (CHOOSE_d): Likewise.
17454 (FTYPE_MEMBER): Likewise.
17455 (BOOL_MEMBER): Likewise.
17456 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
17457 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
17458 (_XNTRY): Likewise.
17459 (XNTRY): Likewise.
17460 (_ENTRY): Likewise.
17461 (ENTRY): Likewise.
17462 (test_exactness): Generate members via macro.
17463 (test_results): Likewise.
17464 (test): Update members.
17465 (TEST): Redefine using new macros.
17466 (INF): New macro.
17467 (fetestmodes): New structure.
17468 (do_test): Refactor to be type generic.
17469 (test_in_one_mode): Refactor duplicate code into
17470 (GEN_ONE_TEST): New macro.
17471
17472 * stdlib/tst-strtod-round-data.h: Regenerate.
17473
17474 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
17475 Extend to pass additional arbitrary parameters to
17476 generators.
17477
17478 2016-05-25 Joseph Myers <joseph@codesourcery.com>
17479
17480 [BZ #15479]
17481 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
17482 floating-point state after first floating-point operation on
17483 input. Restore full floating-point state instead of just rounding
17484 mode.
17485 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
17486 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
17487 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
17488 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
17489 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
17490
17491 [BZ #15479]
17492 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
17493 floating-point state after first floating-point operation on
17494 input. Restore full floating-point state instead of just rounding
17495 mode.
17496 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
17497 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
17498 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
17499 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
17500 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
17501
17502 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17503
17504 [BZ #19727]
17505 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
17506 valid high surrogate.
17507 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
17508 of an utf16 surrogate.
17509 * iconv/gconv_simple.c (BODY): Likewise.
17510 * iconvdata/bug-iconv12.c: New file.
17511 * iconvdata/Makefile (tests): Add bug-iconv12.
17512
17513 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17514
17515 [BZ #19726]
17516 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
17517 outptrp in case of an illegal input.
17518 * iconv/tst-iconv6.c: New file.
17519 * iconv/Makefile (tests): Add tst-iconv6.
17520
17521 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17522
17523 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
17524 an error in case of a value in range of an utf16 low surrogate.
17525
17526 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17527
17528 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
17529 an error in case of a value in range of an utf16 low surrogate.
17530
17531 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17532
17533 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
17534 Move to ...
17535 * sysdeps/s390/Makefile: ... here.
17536 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
17537 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
17538 (BRANCH_ON_COUNT): New define.
17539 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
17540 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
17541 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
17542 run on s390-32, too.
17543 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
17544 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
17545 run on s390-32, too.
17546 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
17547 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
17548 run on s390-32, too.
17549
17550 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17551
17552 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
17553 etf3eh or new vector loop-variant.
17554
17555 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17556
17557 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
17558 etf3eh or new vector loop-variant.
17559
17560 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17561
17562 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
17563 or new vector loop-variant.
17564
17565 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17566
17567 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
17568 Rename to TR_LOOP and usage of tr instead of troo instruction.
17569
17570 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17571
17572 * sysdeps/s390/multiarch/gconv_simple.c: New File.
17573 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
17574
17575 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17576
17577 * sysdeps/s390/multiarch/8bit-generic.c: New File.
17578 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
17579 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
17580 New override define.
17581 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
17582
17583 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17584
17585 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
17586 * sysdeps/s390/configure.ac: Add test for S390 vector register
17587 support in gcc.
17588 * sysdeps/s390/configure: Regenerated.
17589
17590 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17591
17592 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
17593 Install file from $(objpfx)gconv-modules.
17594 ($(objpfx)gconv-modules): Concatenate architecture specific file
17595 in variable sysdeps-gconv-modules and gconv-modules in src dir.
17596 * sysdeps/s390/gconv-modules: New file.
17597 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
17598 Deleted.
17599 ($(objpfx)gconv-modules-s390): Deleted.
17600 (sysdeps-gconv-modules): New variable.
17601
17602 2016-05-24 Joseph Myers <joseph@codesourcery.com>
17603
17604 [BZ #15479]
17605 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
17606 of immediate operand to rounding instruction.
17607 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
17608 Likewise.
17609 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
17610 Likewise.
17611 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
17612 Likewise.
17613
17614 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17615
17616 * math/libm-test.inc (MIN_EXP): Directly define as
17617 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
17618
17619 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17620
17621 * math/libm-test.inc (MANT_DIG): Directly define as
17622 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
17623
17624 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17625
17626 * stdlib/gen-tst-strtod-round.c (main):
17627 Change usage to more closely match the generated
17628 output. Add usage and compilation instructions.
17629 (string_to_fp): Add and use FILE* parameter as
17630 output target.
17631 (print_fp): Likewise.
17632 (round_str): Likewise.
17633 (round_for_all): Likewise.
17634 * stdlib/tst-strtod-round.c (tests): Move into
17635 * stdlib/tst-strtod-round-data.h: New file.
17636
17637 2016-05-24 Joseph Myers <joseph@codesourcery.com>
17638
17639 [BZ #15479]
17640 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
17641 (__round): Do not force "inexact" exception.
17642 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
17643 variable.
17644 (__round): Do not force "inexact" exception.
17645 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
17646 (__roundf): Do not force "inexact" exception.
17647 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
17648 (__roundl): Do not force "inexact" exception.
17649 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
17650 (__roundl): Do not force "inexact" exception.
17651 * math/libm-test.inc (round_test_data): Do not allow spurious
17652 "inexact" exceptions.
17653
17654 [BZ #15479]
17655 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
17656 exception in comment.
17657 (huge): Remove variable.
17658 (__floor): Do not force "inexact" exception.
17659 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
17660 "inexact" exception in comment.
17661 (huge): Remove variable.
17662 (__floor): Do not force "inexact" exception.
17663 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
17664 exception in comment.
17665 (huge): Remove variable.
17666 (__floorf): Do not force "inexact" exception.
17667 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
17668 exception in comment.
17669 (huge): Remove variable.
17670 (__floorl): Do not force "inexact" exception.
17671
17672 [BZ #15479]
17673 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
17674 exception in comment.
17675 (huge): Remove variable.
17676 (__ceil): Do not force "inexact" exception.
17677 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
17678 "inexact" exception in comment.
17679 (huge): Remove variable.
17680 (__ceil): Do not force "inexact" exception.
17681 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
17682 (__ceilf): Do not force "inexact" exception.
17683 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
17684 exception in comment.
17685 (huge): Remove variable.
17686 (__ceill): Do not force "inexact" exception.
17687
17688 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
17689
17690 * config.h.in (BIND_NOW): New.
17691 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
17692 * configure: Regenerated.
17693 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
17694 indirect branch via the GOT slot.
17695
17696 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17697
17698 [BZ #19765]
17699 * sysdeps/s390/mempcpy.S: New File.
17700 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
17701 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
17702 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17703 Add mempcpy variants.
17704 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
17705 (memcpy): Adjust to be usable from mempcpy entry point.
17706 (__memcpy_mvcle): Likewise.
17707 * sysdeps/s390/s390-64/memcpy.S: Likewise.
17708 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
17709 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
17710 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
17711 (__memcpy_z10): Likewise.
17712 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
17713
17714 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17715
17716 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
17717 Remove __GI_ symbol.
17718 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
17719 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
17720 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
17721 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
17722 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
17723 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
17724
17725 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17726
17727 * sysdeps/s390/s390-64/memcpy.S (memcpy):
17728 Use cghi instead of chi to compare 64bit value.
17729
17730 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17731
17732 * sysdeps/s390/s390-32/memcpy.S (memcpy):
17733 Jump to 1MB check before executing mvc-loop.
17734
17735 2016-05-24 Florian Weimer <fweimer@redhat.com>
17736
17737 [BZ #6527]
17738 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
17739 unconditionally.
17740 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
17741
17742 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17743
17744 * stdlib/tst-strtod6.c (do_test): Use new type generic
17745 invocation of the test function.
17746 (test): Refactor into ...
17747 (TEST_STRTOD): New macro base function.
17748
17749 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17750
17751 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
17752 (TEST_STRTOD): New macro.
17753 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
17754
17755 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17756
17757 * stdlib/tst-strtod6.c (do_test): Use new type generic
17758 invocation of the test function.
17759 (test): Refactor into ...
17760 (TEST_STRTOD): New macro base function.
17761
17762 2016-05-23 Florian Weimer <fweimer@redhat.com>
17763
17764 CVE-2016-4429
17765 [BZ #20112]
17766 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
17767 payload.
17768
17769 2016-05-23 Florian Weimer <fweimer@redhat.com>
17770
17771 [BZ #20111]
17772 * bits/sockaddr.h (_SS_SIZE): Define.
17773 * bits/socket.h (_SS_SIZE): Remove.
17774 (_SS_PADSIZE): Adjust to account for all padding.
17775 (struct sockaddr_storage): Update comment. Avoid implicit
17776 padding.
17777 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
17778 (_SS_PADSIZE): Adjust to account for all padding.
17779 (struct sockaddr_storage): Update comment. Avoid implicit
17780 padding.
17781 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
17782 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
17783 (_SS_PADSIZE): Adjust to account for all padding.
17784 (struct sockaddr_storage): Update comment. Avoid implicit
17785 padding.
17786 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
17787 __SS_SIZE is 126 in this version.
17788 * inet/tst-sockaddr.c: New file.
17789 * inet/Makefile (tests): Add tst-sockaddr.c
17790 (tst-sockaddr.c): Compile with non-strict aliasing.
17791
17792 2016-05-23 Joseph Myers <joseph@codesourcery.com>
17793
17794 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
17795 [XPG3 || XPG4].
17796 (NL_ARGMAX): Also expect for [XPG3].
17797 (NL_LANGMAX): Likewise.
17798 (NL_MSGMAX): Likewise.
17799 (NL_NMAX): Likewise.
17800 (NL_SETMAX): Likewise.
17801 (NL_TEXTMAX): Likewise.
17802 (NZERO): Likewise.
17803 (TMP_MAX): Likewise.
17804 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
17805 variable.
17806
17807 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
17808 (PF_MAX): Update value.
17809 (AF_KCM): New macro.
17810 (SOL_NETBEUI): Likewise.
17811 (SOL_LLC): Likewise.
17812 (SOL_DCCP): Likewise.
17813 (SOL_NETLINK): Likewise.
17814 (SOL_TIPC): Likewise.
17815 (SOL_RXRPC): Likewise.
17816 (SOL_PPPOL2TP): Likewise.
17817 (SOL_BLUETOOTH): Likewise.
17818 (SOL_PNPIPE): Likewise.
17819 (SOL_RDS): Likewise.
17820 (SOL_IUCV): Likewise.
17821 (SOL_CAIF): Likewise.
17822 (SOL_ALG): Likewise.
17823 (SOL_NFC): Likewise.
17824 (SOL_KCM): Likewise.
17825 (MSG_BATCH): New enum value and macro.
17826
17827 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
17828
17829 [BZ #18185]
17830 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
17831 sharing L2 cache to 2 for Knights Landing.
17832
17833 2016-05-20 Joseph Myers <joseph@codesourcery.com>
17834
17835 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
17836 (FTW_DP): Do not expect for [XPG3 || XPG4].
17837 (FTW_SL): Do not expect for [XPG3].
17838 (FTW_SLN): Likewise.
17839 (FTW_PHYS): Likewise.
17840 (FTW_MOUNT): Likewise.
17841 (FTW_DEPTH): Likewise.
17842 (FTW_CHDIR): Likewise.
17843 (nftw): Likewise.
17844 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
17845 variable.
17846
17847 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
17848
17849 * manual/errno.texi: Fix various typos & grammar errors.
17850
17851 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
17852
17853 * manual/intro.texi: Fix duplicated typo.
17854
17855 2016-05-19 Joseph Myers <joseph@codesourcery.com>
17856
17857 [BZ #13304]
17858 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
17859 <float.h>, <math_private.h> and <stdlib.h>.
17860 (add_split): New function.
17861 (mul_split): Likewise.
17862 (ext_val): New typedef.
17863 (store_ext_val): New function.
17864 (mul_ext_val): New function.
17865 (compare): New function.
17866 (add_split_ext): New function.
17867 (__fmal): After checking for Inf, NaN and zero, compute result as
17868 an exact sum of scaled double values in round-to-nearest before
17869 adding those up and adjusting for other rounding modes.
17870 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
17871 tests of fma.
17872 * math/auto-libm-test-out: Regenerated.
17873
17874 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
17875
17876 [BZ #20119]
17877 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
17878 processor level type mask for CPUID with EAX == 11.
17879
17880 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
17881
17882 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
17883 logical threads if the HTT bit is 0.
17884 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
17885 (index_cpu_HTT): Likewise.
17886 (reg_HTT): Likewise.
17887
17888 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
17889
17890 [BZ #20115]
17891 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
17892 Remove alignments on jump targets.
17893
17894 2016-05-19 Joseph Myers <joseph@codesourcery.com>
17895
17896 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
17897 (getpwent): Likewise.
17898 (setpwent): Likewise.
17899 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
17900 variable.
17901
17902 * conform/data/search.h-data (insque): Do not expect for [XPG3].
17903 (remque): Likewise.
17904 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
17905 variable.
17906
17907 2016-05-18 Joseph Myers <joseph@codesourcery.com>
17908
17909 * math/libm-test.inc: Update comment not to refer to signs of NaNs
17910 not being tested.
17911
17912 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
17913
17914 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
17915 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
17916 call.
17917 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
17918 (__condvar_cleanup1): Likewise.
17919
17920 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
17921
17922 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
17923 New
17924 (__pthread_unwind): Renamed to ...
17925 (PTHREAD_UNWIND): This.
17926 (__pthread_enable_asynccancel): Replace
17927 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
17928
17929 2016-05-18 Joseph Myers <joseph@codesourcery.com>
17930
17931 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
17932 (CLONE_NEWCGROUP): New macro.
17933
17934 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
17935 (Q_GETNEXTQUOTA): New macro.
17936
17937 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
17938
17939 [BZ #19907]
17940 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
17941 buffer updated by the previous run.
17942 * string/test-memcpy.c (do_one_test): Likewise.
17943 * benchtests/bench-memmove.c (do_one_test): Add a comment.
17944 * string/test-memmove.c (do_one_test): Likewise.
17945
17946 2016-05-17 Joseph Myers <joseph@codesourcery.com>
17947
17948 [BZ #20094]
17949 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
17950 not [__USE_XOPEN].
17951 (unlockpt): Likewise.
17952 (ptsname): Likewise.
17953 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
17954 variable.
17955
17956 [BZ #20076]
17957 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
17958 instead of [__USE_UNIX98].
17959 (S_ISSOCK): Likewise.
17960 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
17961 variable.
17962
17963 [BZ #20074]
17964 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
17965 [__USE_POSIX].
17966 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
17967 variable.
17968
17969 [BZ #20051]
17970 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
17971 (ttyslot): Do not declare.
17972 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
17973 (ttyslot): New prototype.
17974 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
17975 variable.
17976 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17977
17978 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
17979
17980 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
17981
17982 2016-05-13 Florian Weimer <fweimer@redhat.com>
17983
17984 Fix race condition in tst-mallocfork2, use fewer resources.
17985 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
17986 to current process group.
17987 (signal_sender): Yield in the non-sleeping case.
17988
17989 2016-05-13 Joseph Myers <joseph@codesourcery.com>
17990
17991 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
17992 (ecvt): Likewise.
17993 (fcvt): Likewise.
17994 (gcvt): Likewise.
17995 (getsubopt): Likewise.
17996 (grantpt): Likewise.
17997 (initstate): Likewise.
17998 (l64a): Likewise.
17999 (mktemp): Likewise.
18000 (mkstemp): Likewise.
18001 (ptsname): Likewise.
18002 (random): Likewise.
18003 (realpath): Likewise.
18004 (setstate): Likewise.
18005 (srandom): Likewise.
18006 (ttyslot): Likewise.
18007 (unlockpt): Likewise.
18008 (valloc): Likewise.
18009
18010 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
18011 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
18012 variable.
18013
18014 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
18015
18016 [BZ #20072]
18017 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
18018 init_cpu_features only if SHARED is defined.
18019 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
18020
18021 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
18022
18023 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
18024 non-inclusive caches on Intel processors.
18025
18026 2016-05-13 Florian Weimer <fweimer@redhat.com>
18027
18028 * malloc/malloc.c (dumped_main_arena_start)
18029 (dumped_main_arena_end): New variables.
18030 (DUMPED_MAIN_ARENA_CHUNK): New macro.
18031 (do_check_chunk): Skip dumped fake mmapped chunks.
18032 (munmap_chunk): Likewise.
18033 (__libc_free): Do not adjust statistics for fake mmapped chunks.
18034 (__libc_realloc): Adjust hardening check. Always copy dumped fake
18035 mmapped chunks.
18036 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
18037 Mark dumped chunks as using mmap. Update dumped_main_arena_start
18038 and dumped_main_arena_end to cover the dumped heap.
18039
18040 2016-05-12 Joseph Myers <joseph@codesourcery.com>
18041
18042 * conform/data/time.h-data (getdate_err): Do not expect for
18043 [XPG3].
18044 (getdate): Likewise.
18045 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
18046 variable.
18047
18048 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
18049 (F_ULOCK): Likewise.
18050 (F_TEST): Likewise.
18051 (F_TLOCK): Likewise.
18052 (useconds_t): Likewise.
18053 (intptr_t): Do not expect for [XPG3] or [XPG4].
18054 (brk): Do not expect for [XPG3]
18055 (fchown): Likewise.
18056 (fchdir): Likewise.
18057 (ftruncate): Likewise.
18058 (getdtablesize): Likewise.
18059 (gethostid): Likewise.
18060 (getpagesize): Likewise.
18061 (getpgid): Likewise.
18062 (getsid): Likewise.
18063 (getwd): Likewise.
18064 (lchown): Likewise.
18065 (lockf): Likewise.
18066 (readlink): Likewise.
18067 (sbrk): Likewise.
18068 (setpgrp): Likewise.
18069 (setregid): Likewise.
18070 (setreuid): Likewise.
18071 (symlink): Likewise.
18072 (sync): Likewise.
18073 (truncate): Likewise.
18074 (ualarm): Likewise.
18075 (usleep): Likewise.
18076 (vfork): Likewise.
18077 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
18078 variable.
18079
18080 [BZ #20054]
18081 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
18082 not [__USE_UNIX98].
18083 * conform/data/unistd.h-data (gethostname): Do not expect for
18084 [XPG3].
18085
18086 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
18087 [!POSIX] (S_IFBLK): Likewise.
18088 [!POSIX] (S_IFCHR): Likewise.
18089 [!POSIX] (S_IFIFO): Likewise.
18090 [!POSIX] (S_IFREG): Likewise.
18091 [!POSIX] (S_IFDIR): Likewise.
18092 [!POSIX] (S_IFLNK): Likewise.
18093 [!POSIX] (S_IFSOCK): Likewise.
18094 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
18095 variable.
18096 (test-xfail-XPG4/fcntl.h/conform): Likewise.
18097
18098 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
18099
18100 * sysdeps/aarch64/memset.S (__memset):
18101 Rewrite of optimized memset.
18102
18103 2016-05-12 Florian Weimer <fweimer@redhat.com>
18104
18105 [BZ #19703]
18106 Partially async-signal-safe fork for single-threaded processes.
18107 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
18108 variable. Do not acquire and reset/release malloc and libio locks
18109 in single-threaded processes.
18110 * malloc/tst-mallocfork2.c: New file.
18111 * malloc/Makefile (tests): Add it.
18112
18113 2016-05-12 Florian Weimer <fweimer@redhat.com>
18114
18115 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
18116 argument. Use scratch buffer instead of extend_alloca.
18117 (gethosts): Use scratch buffer instead of extend_alloca.
18118 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
18119 extend_alloca.
18120 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
18121
18122 2016-05-11 Joseph Myers <joseph@codesourcery.com>
18123
18124 [BZ #20055]
18125 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
18126 instead of [__USE_UNIX98].
18127 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
18128 [__USE_UNIX98].
18129 * conform/data/termios.h-data (tcgetsid): Do not expect for
18130 [XPG3].
18131 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
18132 variable.
18133 (test-xfail-XPG4/termios.h/conform): Likewise.
18134
18135 2016-05-11 Florian Weimer <fweimer@redhat.com>
18136
18137 Do not use mcheck in localedef.
18138 * locale/programs/localedef.c (turn_on_mcheck)
18139 (__malloc_initialize_hook): Remove.
18140
18141 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18142
18143 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
18144 * sysdeps/s390/s390-64/Makefile: Likewise.
18145
18146 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
18147
18148 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
18149 Remove ifunc-defines.sym.
18150 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
18151 Likewise.
18152 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
18153 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
18154 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
18155 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
18156 rtld-global-offsets.sym.
18157 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
18158 * sysdeps/x86/cpu-features-offsets.sym: This.
18159 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
18160 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
18161
18162 2016-05-10 Joseph Myers <joseph@codesourcery.com>
18163
18164 [BZ #20073]
18165 * io/sys/stat.h (fchmod): Declare for
18166 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
18167 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
18168 variable.
18169
18170 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
18171 [XPG3] (S_IFSOCK): Likewise.
18172 [XPG3] (S_ISVTX): Likewise.
18173 [XPG3] (S_ISLNK): Likewise.
18174 [XPG3] (S_ISSOCK): Likewise.
18175 [XPG3] (fchmod): Likewise.
18176 [XPG3] (lstat): Likewise.
18177 [XPG3] (mknod): Likewise.
18178
18179 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
18180 [XPG3]. Expect type long and XFAIL for [XPG4].
18181 (st_blocks): Likewise.
18182
18183 [BZ #20044]
18184 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
18185 (pthread_atfork): New prototype.
18186 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
18187 variable.
18188
18189 [BZ #20043]
18190 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
18191 prototype.
18192
18193 2016-05-10 Florian Weimer <fweimer@redhat.com>
18194
18195 [BZ #20017]
18196 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
18197 gmtime.
18198
18199 2016-05-10 Florian Weimer <fweimer@redhat.com>
18200
18201 [BZ #19994]
18202 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
18203 flag in _res.options.
18204
18205 2016-05-09 Joseph Myers <joseph@codesourcery.com>
18206
18207 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
18208 [XPG3 || XPG4].
18209 (blksize_t): Likewise.
18210 (clockid_t): Likewise.
18211 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
18212 variable.
18213 (test-xfail-XPG4/sys/types.h/conform): Likewise.
18214
18215 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
18216
18217 * sysdeps/unix/sysv/linux/s390/init-first.c:
18218 Add VDSO_SYMBOL(getcpu).
18219 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
18220 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
18221 Add VDSO_SYMBOL(getcpu).
18222 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
18223 New define HAVE_GETCPU_VSYSCALL.
18224 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18225
18226 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
18227
18228 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
18229 instead of <sysdeps/x86_64/cacheinfo.c>.
18230 * sysdeps/x86_64/cacheinfo.c: Moved to ...
18231 * sysdeps/x86/cacheinfo.c: Here.
18232
18233 2016-05-04 Florian Weimer <fweimer@redhat.com>
18234
18235 * malloc/malloc-internal.h: Adjust header file guard.
18236
18237 2016-05-04 Florian Weimer <fweimer@redhat.com>
18238
18239 [BZ #19787]
18240 * inet/getnameinfo.c (check_sprintf_result): New function.
18241 (CHECKED_SNPRINTF): New macro.
18242 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
18243 to the host buffer.
18244 (gni_host_local): Use checked_copy to copy the host name.
18245 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
18246 (gni_serv_local): Use checked_copy to copy the service name.
18247 (getnameinfo): Remove unnecessary truncation of result buffers.
18248
18249 2016-05-04 Florian Weimer <fweimer@redhat.com>
18250
18251 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
18252 in case of inet_ntop failure.
18253
18254 2016-05-04 Florian Weimer <fweimer@redhat.com>
18255
18256 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
18257 avoid long lines.
18258 (gni_host_inet_numeric): Likewise. Reduce scope of local
18259 variables.
18260 (gni_host_inet, gni_host_local): Add comment.
18261 (gni_host): Add comment. Use temporary to avoid long lines.
18262
18263 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
18264
18265 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
18266 registers specifiers where general purpose registers specifiers should
18267 have been used.
18268
18269 2016-05-04 Florian Weimer <fweimer@redhat.com>
18270
18271 [BZ #19779]
18272 CVE-2016-1234
18273 Avoid copying names of directory entries.
18274 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
18275 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
18276 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
18277 (struct readdir_result): New type.
18278 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
18279 (GL_READDIR): New macros.
18280 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
18281 (convert_dirent, convert_dirent64): New functions.
18282 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
18283 convert_dirent64. Adjust references to the readdir result.
18284 * sysdeps/unix/sysv/linux/i386/glob64.c:
18285 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
18286 * posix/bug-glob2.c (LONG_NAME): Define.
18287 (filesystem): Add LONG_NAME.
18288 (my_DIR): Increase the size of room_for_dirent.
18289
18290 2016-05-03 Joseph Myers <joseph@codesourcery.com>
18291
18292 [BZ #20041]
18293 * misc/sys/select.h (__need_timespec): Only define if
18294 [__USE_XOPEN2K].
18295 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
18296 variable.
18297 (test-xfail-XPG4/utmpx.h/conform): Likewise.
18298 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
18299 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
18300
18301 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18302 Segher Boessenkool <segher@gcc.gnu.org>
18303
18304 [BZ #20004]
18305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
18306 (__novec_swapcontext): Add missing load.
18307
18308 2016-05-02 Joseph Myers <joseph@codesourcery.com>
18309
18310 [BZ #20023]
18311 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
18312 <time.h>.
18313 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
18314 variable.
18315 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
18316
18317 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18318
18319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
18320 flags CLONE_VM compare.
18321
18322 2016-05-02 Florian Weimer <fweimer@redhat.com>
18323
18324 [BZ #20031]
18325 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
18326 completely empty.
18327
18328 2016-05-02 Florian Weimer <fweimer@redhat.com>
18329
18330 [BZ #19573]
18331 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
18332 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
18333 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
18334 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
18335 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
18336 (hesiod_free_list): Mark as hidden.
18337 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
18338 res_set, res_get.
18339 * hesiod/hesiod.c: Remove unnecessary forward declarations.
18340 (init, __hesiod_res_get, __hesiod_res_set): Remove.
18341 (hesiod_init): Remove obsolete res_ninit call.
18342 (hesiod_end): Do not free resolver state. Do not invoke callback.
18343 (hesiod_bind): Do not call init.
18344 (get_txt_records): Use res_mkquery, res_send instead of
18345 res_nmkquery, res_nsend.
18346 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
18347 instead of _nss_hesiod_init.
18348 (_nss_hesiod_initgroups_dyn): Likewise.
18349 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
18350 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
18351 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
18352
18353 2016-05-02 Florian Weimer <fweimer@redhat.com>
18354
18355 * hesiod/hesiod_p.h (DEF_RHS): Remove.
18356 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
18357
18358 2016-05-02 Florian Weimer <fweimer@redhat.com>
18359
18360 * hesiod/hesiod.h: Remove RCS keyword.
18361 * hesiod/hesiod_p.h: Likewise.
18362
18363 * hesiod/hesiod.c: Likewise.
18364
18365 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
18366
18367 [BZ #12450]
18368 * locale/iso-639.def: Add Samogitian/sgs.
18369
18370 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
18371
18372 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
18373
18374 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
18375
18376 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
18377 Carlos O'Donell <carlos@redhat.com>
18378
18379 [BZ #19072]
18380 * grp/Makefile (headers): Add grp-merge.h
18381 (routines): Add grp-merge.
18382 * grp/getgrgid_r.c: Include grp-merge.h.
18383 (DEEPCOPY_FN): Define.
18384 (MERGE_FN): Define.
18385 * grp/getgrname_r.c: Include grp-merge.h.
18386 (DEEPCOPY_FN): Define.
18387 (MERGE_FN): Define.
18388 * grp/grp-merge.c: New file.
18389 * grp/grp-merge.h: New file.
18390 * include/grp-merge.h: New file.
18391 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
18392 __copy_grp@GLIBC_PRIVATE.
18393 * manual/nss.texi (Actions in the NSS configuration): Describe
18394 return, continue, and merge.
18395 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
18396 (DEEPCOPY_FN): Define.
18397 (MERGE_FN): Define.
18398 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
18399 (DEEPCOPY_FN): Define.
18400 (MERGE_FN): Define.
18401 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
18402 [!MERGE_FN]: Define __merge_einval.
18403 (CHECK_MERGE): Define.
18404 (REENTRANT_NAME): Process merge if do_merge is true.
18405 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
18406 (__nss_getent_r): Likewise.
18407 * nss/nsswitch.c (nss_parse_service_list): Likewise.
18408 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
18409
18410 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18411
18412 [BZ #20012]
18413 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
18414 length to calculate the buffer to read.
18415 (fmemopen_write): Set the buffer position based on bytes written.
18416 (fmemopen_seek): Return EINVAL for invalid whence modes.
18417
18418 [BZ #19957]
18419 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
18420 tst-getpid2.
18421 (test): Add tst-clone2.
18422 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
18423 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
18424 pid/tid fields for CLONE_VM.
18425 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
18426 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
18427 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
18428 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
18429 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
18430 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
18431 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
18432 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
18433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
18434 Likewise.
18435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18436 Likewise.
18437 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
18438 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
18439 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
18440 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
18441 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
18442 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
18443 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
18444 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
18445
18446 2016-04-29 Florian Weimer <fweimer@redhat.com>
18447
18448 [BZ #19642]
18449 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
18450 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
18451 (gni_serv_local, gni_serv): New functions extracted from
18452 getnameinfo.
18453 (getnameinfo): Call gni_host and gni_serv to perform the
18454 processing. Always free scratch buffer.
18455
18456 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
18457
18458 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
18459 remaining bytes in the dest string, with zeros.
18460
18461 2016-04-29 Florian Weimer <fweimer@redhat.com>
18462
18463 [BZ #20010]
18464 CVE-2016-3706
18465 * sysdeps/posix/getaddrinfo.c
18466 (convert_hostent_to_gaih_addrtuple): New function.
18467 (gethosts): Call convert_hostent_to_gaih_addrtuple.
18468 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
18469 AF_INET data.
18470
18471 2016-04-29 Florian Weimer <fweimer@redhat.com>
18472
18473 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
18474 callback function gl_readdir.
18475 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
18476 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
18477 (glob_in_dir): Remove len. Use strdup instead of malloc and
18478 memcpy to copy the name.
18479 * manual/pattern.texi (Calling Glob): Document requirements for
18480 implementations of the gl_readdir callback function.
18481 * manual/examples/mkdirent.c: New example.
18482 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
18483 per the manual guidance.
18484 * posix/tst-gnuglob.c (my_readdir): Likewise.
18485
18486 2016-04-28 Joseph Myers <joseph@codesourcery.com>
18487
18488 [BZ #20014]
18489 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
18490 not [__USE_POSIX].
18491 (getchar_unlocked): Likewise.
18492 (putc_unlocked): Likewise.
18493 (putchar_unlocked): Likewise.
18494 (flockfile): Likewise.
18495 (ftrylockfile): Likewise.
18496 (funlockfile): Likewise.
18497 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
18498 variable.
18499 (test-xfail-XPG4/stdio.h/conform): Likewise.
18500
18501 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
18502 Expect constant.
18503 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
18504 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
18505 variable.
18506 (test-xfail-XPG4/langinfo.h/conform): Likewise.
18507 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
18508
18509 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
18510 [__USE_LARGEFILE64] (off64_t): Likewise.
18511 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
18512 variable.
18513
18514 2016-04-28 Florian Weimer <fweimer@redhat.com>
18515
18516 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
18517
18518 2016-04-28 Florian Weimer <fweimer@redhat.com>
18519
18520 * resolv/inet_addr.c: Reindent preprocessor conditionals.
18521 * resolv/res_init.c: Likewise.
18522 * resolv/res_mkquery.c: Likewise.
18523
18524 2016-04-28 Florian Weimer <fweimer@redhat.com>
18525
18526 * resolv/res_init.c (isascii): Do not define. Use definition in
18527 <ctype.h>.
18528 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
18529 (LOG_AUTH): Remove.
18530 (SPRINTF): Remove, adjust caller.
18531 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
18532
18533 2016-04-28 Florian Weimer <fweimer@redhat.com>
18534
18535 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
18536 SUNSECURITY conditional.
18537 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
18538
18539 2016-04-28 Florian Weimer <fweimer@redhat.com>
18540
18541 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
18542 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
18543 Remove BSD-related preprocessor conditionals.
18544 * conf/portability.h: Remove.
18545
18546 2016-04-28 Florian Weimer <fweimer@redhat.com>
18547
18548 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
18549 * resolv/res_data.c: Likewise.
18550
18551 2016-04-28 Florian Weimer <fweimer@redhat.com>
18552
18553 * resolv/res_comp.c: Remove code conditional on __ultrix__.
18554 * resolv/res_data.c: Remove code conditional on ultrix.
18555
18556 2016-04-28 Florian Weimer <fweimer@redhat.com>
18557
18558 * resolv/res_init.c (RFC1535): Do not define. Remove
18559 RFC1535 preprocessor conditionals.
18560 * resolv/README: Update. Do not claim strict RFC 1535 compliance
18561 because there configuration options which make the resolver
18562 behavior different.
18563
18564 2016-04-28 Florian Weimer <fweimer@redhat.com>
18565
18566 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
18567 RESOLVSORT preprocessor conditionals.
18568 * resolv/nss_dns/dns-host.c: Likewise.
18569 * resolv/res_init.c: Likewise.
18570
18571 2016-04-28 Florian Weimer <fweimer@redhat.com>
18572
18573 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
18574 is never defined.
18575
18576 2016-04-28 Florian Weimer <fweimer@redhat.com>
18577
18578 * inet/inet_lnaof.c: Remove SCSS keyword.
18579 * inet/inet_mkadr.c: Likewise.
18580 * inet/inet_net.c: Likewise.
18581 * inet/inet_netof.c: Likewise.
18582 * inet/rcmd.c: Likewise.
18583 * inet/rexec.c: Likewise.
18584 * inet/ruserpass.c: Likewise.
18585
18586 2016-04-28 Florian Weimer <fweimer@redhat.com>
18587
18588 * resolv/inet_addr.c: Remove _LIBC conditionals.
18589 * resolv/res_data.c: Likewise.
18590 * resolv/res_init.c: Likewise.
18591 * resolv/res_mkquery.c: Likewise.
18592 * resolv/res_libc.c: Update comment.
18593 * resolv/README: Update.
18594
18595 2016-04-28 Florian Weimer <fweimer@redhat.com>
18596
18597 * resolv/gethnamaddr.c: Remove SCSS keyword.
18598 * resolv/herror.c: Likewise.
18599 * resolv/inet_addr.c: Likewise.
18600 * resolv/inet_net_ntop.c: Likewise.
18601 * resolv/inet_net_pton.c: Likewise.
18602 * resolv/inet_neta.c: Likewise.
18603 * resolv/inet_ntop.c: Likewise.
18604 * resolv/inet_pton.c: Likewise.
18605 * resolv/ns_date.c: Remove RCS keyword.
18606 * resolv/ns_name.c: Likewise.
18607 * resolv/ns_netint.c: Likewise.
18608 * resolv/ns_parse.c: Likewise.
18609 * resolv/ns_print.c: Likewise.
18610 * resolv/ns_samedomain.c: Likewise.
18611 * resolv/ns_ttl.c: Likewise.
18612 * resolv/nsap_addr.c: Likewise.
18613 * resolv/res_comp.c: Remove SCSS and RCS keyword.
18614 * resolv/res_data.c: Remove RCS keyword.
18615 * resolv/res_debug.c: Remove SCSS and RCS keyword.
18616 * resolv/res_init.c: Likewise.
18617 * resolv/res_mkquery.c: Likewise.
18618 * resolv/res_query.c: Likewise.
18619 * resolv/res_send.c: Likewise.
18620
18621 2016-04-27 Joseph Myers <joseph@codesourcery.com>
18622
18623 * conform/data/stdio.h-data (fdopen): Expect also for
18624 [XPG3 || XPG4].
18625
18626 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
18627 (fseeko): Likewise.
18628 (ftello): Likewise.
18629 (ftrylockfile): Likewise.
18630 (funlockfile): Likewise.
18631 (getc_unlocked): Likewise.
18632 (getchar_unlocked): Likewise.
18633 (putc_unlocked): Likewise.
18634 (putchar_unlocked): Likewise.
18635
18636 2016-04-27 Florian Weimer <fweimer@redhat.com>
18637
18638 [BZ #19868]
18639 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
18640 DNS packet syntax checks (which were not needed before). Skip
18641 over non-PTR records.
18642
18643 2016-04-27 Florian Weimer <fweimer@redhat.com>
18644
18645 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
18646 definition. Include <stddef.h> instead.
18647
18648 2016-04-27 Florian Weimer <fweimer@redhat.com>
18649
18650 [BZ #19831]
18651 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
18652 function.
18653 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
18654 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
18655
18656 2016-04-27 Florian Weimer <fweimer@redhat.com>
18657
18658 [BZ #19862]
18659 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
18660 (getanswer_r): Do not call syslog.
18661 (gaih_getanswer_slice): Likewise.
18662 * resolv/gethnamaddr.c (AskedForGot): Remove.
18663 (getanswer): Do not call syslog.
18664 (gethostbyaddr): Likewise.
18665
18666 2016-04-27 Joseph Myers <joseph@codesourcery.com>
18667
18668 * conform/data/signal.h-data (union sigval): Expect also if
18669 [XOPEN2K].
18670 (struct sigevent): Likewise.
18671 (SIGEV_NONE): Likewise.
18672 (SIGEV_SIGNAL): Likewise.
18673 (SIGEV_THREAD): Likewise.
18674 (SIGRTMIN): Likewise.
18675 (SIGRTMAX): Likewise.
18676 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
18677 variable.
18678 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
18679
18680 2016-04-27 Florian Weimer <fweimer@redhat.com>
18681
18682 [BZ #19830]
18683 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
18684 (gaih_getanswer_slice): Likewise.
18685 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
18686 Also check for availability of RR metadata.
18687
18688 2016-04-27 Florian Weimer <fweimer@redhat.com>
18689
18690 [BZ #19825]
18691 * resolv/res_send.c (send_vc): Remove early *resplen2
18692 initialization. Set *resplen2 on socket error. Call
18693 close_and_return_error for other errors.
18694
18695 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
18696
18697 * sysdeps/unix/sysv/linux/netiucv/iucv.h
18698 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
18699 (SCM_IUCV_TRGCLS): New define.
18700
18701 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18702
18703 [BZ #20005]
18704 * libio/fmemopen.c (fmemopen_write): Update internal position after
18705 write.
18706 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
18707 * stdio-common/tst-fmemopen4.c: New file..
18708
18709 2016-04-26 Joseph Myers <joseph@codesourcery.com>
18710
18711 [BZ #19996]
18712 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
18713 not [__USE_XOPEN2K].
18714 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
18715 variable.
18716
18717 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
18718 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
18719 variable.
18720
18721 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
18722 [__USE_XOPEN2K8].
18723 [__USE_LARGEFILE64] (off64_t): Likewise.
18724 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
18725 variable.
18726
18727 2016-04-25 Joseph Myers <joseph@codesourcery.com>
18728
18729 [BZ #19989]
18730 * libio/stdio.h (cuserid): Do not declare if
18731 [__USE_XOPEN2K && !__USE_GNU].
18732 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
18733 variable.
18734
18735 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18736
18737 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18738 (sysdep_routines): Add P8 and PPC64 strcspn targets.
18739 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18740 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
18741 ifunc'ed strcspn.
18742 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
18743 [EALIGN]: Removed.
18744 [END]: Likewise
18745 [STRSPN]: Define instead of the above to control symbol name.
18746 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
18747 New file.
18748 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
18749 Likewise.
18750 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
18751 Likewise.
18752 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
18753 Likewise.
18754 * sysdeps/powerpc/powerpc64/power8/strspn.S:
18755 [INITIAL_MASK]: New macro.
18756 [STRCSPN]: Likewise.
18757 [UPDATE_MASK]: Likewise.
18758 [USE_AS_STRCSPN]: Likewise.
18759
18760 2016-04-25 Florian Weimer <fweimer@redhat.com>
18761
18762 [BZ #19931]
18763 * stdio-common/tst-vfprintf-width-prec.c: New file.
18764 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
18765 (tests-special): Add tst-vfprintf-width-prec-mem.out.
18766 (generated): Add mtrace-related files.
18767 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
18768 (tst-%-mem.out): New pattern rule, replaces
18769 tst-printf-bz18872-mem.out.
18770 * stdio-common/vfprintf.c (vfprintf): When handling a precision
18771 specifier, deallocate any previously allocated work buffer.
18772
18773 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
18774
18775 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
18776 Add nop before __startcontext, add explaining comments.
18777
18778 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
18779
18780 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
18781 any more. Notably since IPV6_PKTINFO has been reintroduced with a
18782 completely different API.
18783
18784 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
18785 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
18786 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
18787 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
18788 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
18789 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
18790 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
18791 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
18792 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
18793 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
18794
18795 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
18796
18797 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
18798
18799 2016-04-23 Mike Frysinger <vapier@gentoo.org>
18800
18801 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
18802 when it is the default of 0.
18803
18804 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18805
18806 * sysdeps/powerpc/locale-defines.sym: Add new macros.
18807 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18808 (sysdep_routines): Add new strcasestr targets.
18809 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18810 (__libc_ifunc_impl_list): Likewise.
18811 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
18812 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
18813 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
18814 * sysdeps/powerpc/powerpc64/power8/Makefile:
18815 New file to add strcasestr-ppc64 to sysdep_routines.
18816 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
18817 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
18818
18819 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
18820
18821 * benchtests/Makefile (wcsmbs-benchset): Include only for
18822 native builds and runs.
18823 (LOCALES): Likewise.
18824 (bench-build): Build timing-type here instead of the bench
18825 target. Generate locale only for native builds.
18826 * benchtests/README: Add note for cross-building.
18827
18828 * benchtests/Makefile (bench-clean): Clean up extra-objs.
18829
18830 * benchtests/README: Update README to include instructions on
18831 using bench-build.
18832
18833 * Makefile.in (bench-build): New target.
18834 * Rules (PHONY): Add bench-build target.
18835 * benchtests/Makefile (bench): Depend on bench-build.
18836 (bench-build): New target.
18837
18838 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18839
18840 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
18841 profil_reply_port.
18842 (profile_waiter): Do not initialize profil_reply_port.
18843 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
18844 frequency instead of tick length in us.
18845
18846 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
18847
18848 [BZ #18712]
18849 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
18850 (__old_mempcpy_small): Likewise.
18851 (__old_strcpy_small): Likewise.
18852 (__old_stpcpy_small): Likewise.
18853 (__old_strpbrk_c2): Fix compat symbol name.
18854 (__old_strpbrk_c3): Likewise.
18855 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
18856 (__mempcpy_small): Remove.
18857 (__strcpy_small): Remove.
18858 (__stpcpy_small): Remove.
18859
18860 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
18861
18862 [BZ #19400]
18863 * locale/iso-639.def: Add the Talossan/tzl language.
18864
18865 2016-04-16 Mike Frysinger <vapier@gentoo.org>
18866
18867 [BZ #16983]
18868 * locale/programs/ld-address.c (address_finish): Update postal_fmt
18869 comment. Add "ln" to strchr check on postal_fmt.
18870
18871 2016-04-16 Mike Frysinger <vapier@gentoo.org>
18872
18873 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
18874 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
18875 tel_dom_fmt.
18876
18877 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
18878
18879 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18880 (sysdep_routines): Added __strlen_power8.
18881 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
18882 __strlen_power8 entry.
18883 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
18884 Implementation for POWER8.
18885 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
18886 for __strlen_power8.
18887 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
18888 Implementation for POWER8.
18889
18890 2016-04-15 Mike Frysinger <vapier@gentoo.org>
18891
18892 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
18893
18894 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
18895
18896 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
18897 Goldmont and Airmont processors.
18898
18899 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
18900
18901 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
18902 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
18903 (__STRING2_SMALL_GET32): Remove.
18904 (memset): Remove.
18905 (__memset_1): Remove.
18906 (__memset_gc): Remove.
18907 (__mempcpy): Remove.
18908 (mempcpy): Remove.
18909 (__mempcpy_args): Remove.
18910 (strchr): Remove.
18911 (strcpy): Remove.
18912 (strcpy_args): Remove.
18913 (__stpcpy_args): Remove.
18914 (__strcmp_cc): Remove.
18915 (__strcmp_gc): Remove.
18916 (strstr): Remove.
18917
18918 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
18919
18920 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
18921 * nis/nis_call.c (nis_server_cache_add): Likewise.
18922
18923 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18924
18925 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
18926
18927 2016-04-14 Florian Weimer <fweimer@redhat.com>
18928
18929 * malloc/arena.c (__malloc_fork_lock_parent)
18930 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
18931 internal_function attribute.
18932
18933 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
18934
18935 * stdio-common/printf_fp.c (__printf_fp_l):
18936 Rename ___printf_fp_l to __printf_fp_l and
18937 remove strong alias. Use libc_hidden_def instead
18938 of ldbl_hidden_def macro.
18939
18940 2016-04-14 Florian Weimer <fweimer@redhat.com>
18941
18942 Remove malloc hooks from fork handler. They are no longer needed
18943 because malloc runs right before fork, and no malloc calls from
18944 other fork handlers are not possible anymore.
18945 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
18946 declarations.
18947 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
18948 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
18949 (atfork_recursive_cntr): Remove.
18950 (__malloc_fork_lock_parent): Do not override malloc hooks and
18951 thread_arena.
18952 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
18953 thread_arena.
18954 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
18955 thread_arena instead of save_arena.
18956
18957 2016-04-14 Florian Weimer <fweimer@redhat.com>
18958
18959 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
18960 (thread_atfork, thread_atfork_static): Remove.
18961 * sysdeps/mach/hurd/malloc-machine.h:
18962 (thread_atfork, thread_atfork_static): Remove.
18963
18964 2016-04-14 Florian Weimer <fweimer@redhat.com>
18965
18966 [BZ #19431]
18967 Run the malloc fork handler as late as possible to avoid deadlocks.
18968 * malloc/malloc-internal.h: New file.
18969 * malloc/malloc.c: Include it.
18970 * malloc/arena.c (ATFORK_MEM): Remove.
18971 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
18972 Update comment.
18973 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
18974 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
18975 Remove outdated comment.
18976 (ptmalloc_init): Do not call thread_atfork. Remove
18977 thread_atfork_static.
18978 * malloc/tst-malloc-fork-deadlock.c: New file.
18979 * Makefile (tests): Add tst-malloc-fork-deadlock.
18980 (tst-malloc-fork-deadlock): Link against libpthread.
18981 * manual/memory.texi (Aligned Memory Blocks): Update safety
18982 annotation comments.
18983 * sysdeps/nptl/fork.c (__libc_fork): Call
18984 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
18985 __malloc_fork_unlock_child.
18986 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
18987
18988 2016-04-14 Florian Weimer <fweimer@redhat.com>
18989
18990 [BZ #19613]
18991 Remove union wait.
18992 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
18993 (w_stopsig, w_stopval): Remove.
18994 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
18995 stat_loc argument.
18996 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
18997 (__WAIT_STATUS_DEFN): Remove.
18998 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
18999 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
19000 (wait, wait3, wait4): Use int * for the stat_loc argument.
19001 * posix/wait.c (__wait): Likewise.
19002 * posix/wait3.c (__wait3): Likewise.
19003 * posix/wait4.c (__wait4): Likewise.
19004 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
19005 (__WAIT_STATUS_DEFN): Remove.
19006 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
19007 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
19008 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
19009 argument.
19010 * sysdeps/posix/wait.c (__libc_wait): Likewise.
19011 * sysdeps/posix/wait3.c (__wait3): Likewise.
19012 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
19013 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
19014 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
19015 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
19016 stat_loc argument.
19017 * manual/process.texi (BSD Wait Functions): Remove union wait.
19018
19019 2016-04-13 Andreas Schwab <schwab@suse.de>
19020
19021 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
19022 (test-extras): Add tst-tlsalign-vars.
19023 * math/Makefile: Wrap long lines.
19024 (libm-vec-test-wrappers): Define.
19025 (test-extras): Add $(libm-vec-test-wrappers).
19026 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
19027 * nss/Makefile (extra-test-objs): Add nss_test1.os.
19028 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
19029 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
19030 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
19031 (extra-test-objs): Add corresponding objects.
19032
19033 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
19034
19035 [BZ #19928]
19036 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
19037 New.
19038 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
19039 times of shared cache size.
19040 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
19041 (VMOVNT): New.
19042 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
19043 (VMOVNT): Likewise.
19044 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
19045 (VMOVNT): Likewise.
19046 (VMOVU): Changed to movups for smaller code sizes.
19047 (VMOVA): Changed to movaps for smaller code sizes.
19048 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
19049 comments.
19050 (PREFETCH): New.
19051 (PREFETCH_SIZE): Likewise.
19052 (PREFETCHED_LOAD_SIZE): Likewise.
19053 (PREFETCH_ONE_SET): Likewise.
19054 Rewrite to use forward and backward loops, which move 4 vector
19055 registers at a time, to support overlapping addresses and use
19056 non temporal store if size is above the threshold and there is
19057 no overlap between destination and source.
19058
19059 2016-04-12 Alex Smith <alex.smith@imgtec.com>
19060
19061 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
19062 Include dl-vdso.
19063 * sysdeps/unix/sysv/linux/mips/Versions: Add
19064 __vdso_clock_gettime.
19065 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
19066 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
19067 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
19068 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
19069 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
19070 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
19071 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
19072 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
19073 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
19074
19075 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19076
19077 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
19078 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
19079 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
19080 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
19081 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
19082 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
19083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
19084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
19085 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
19086 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
19087 syscalls generation.
19088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19089 [__NR_pwrite64] (__NR_write): Remove define.
19090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19091 [__NR_pwrite64] (__NR_write): Remove define.
19092 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
19093 Remove define.
19094 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
19095 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
19096 Remove define.
19097 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
19098 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
19099 Linux implementation as base.
19100 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
19101
19102 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
19103 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
19104 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
19105 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
19106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
19107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
19108 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
19109 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
19110 syscall generation.
19111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19112 [__NR_pread64] (__NR_pread): Remove define.
19113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19114 [__NR_pread64] (__NR_pread): Likewise.
19115 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
19116 define.
19117 (__libc_pread): Use SYSCALL_LL macro on offset argument.
19118 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
19119 Remove define.
19120 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
19121 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
19122 Linux implementation as base.
19123 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
19124 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
19125 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
19126
19127 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
19128 definition.
19129 (__ALIGNMENT_COUNT): Likewise.
19130 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
19131 (__ALIGNMENT_COUNT): Likewise.
19132 (SYSCALL_LL): New define.
19133 (SYSCALL_LL64): Likewise.
19134 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
19135 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
19136 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
19137 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
19138
19139 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19140 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
19141 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19142 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
19143 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19144 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
19145
19146 2016-04-11 Florian Weimer <fweimer@redhat.com>
19147
19148 [BZ #19865]
19149 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
19150 original buffer before retry.
19151
19152 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19153
19154 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
19155 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
19156 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
19157 GLRO(dl_auxv) list.
19158 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
19159 including <ldsodefs.h>.
19160 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
19161
19162 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
19163
19164 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
19165 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
19166 $(CPPFLAGS).
19167
19168 2016-04-09 Khem Raj <raj.khem@gmail.com>
19169
19170 [BZ #17950]
19171 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
19172 Add -mfpmath=387.
19173
19174 2016-04-09 Mike Frysinger <vapier@gentoo.org>
19175
19176 * sysdeps/i386/configure.ac: Change == to = when calling test.
19177 * sysdeps/x86_64/configure.ac: Likewise.
19178 * sysdeps/i386/configure: Regenerated.
19179 * sysdeps/x86_64/configure: Likewise.
19180
19181 2016-04-08 Mike Frysinger <vapier@gentoo.org>
19182
19183 [BZ #16137]
19184 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
19185 * benchtests/bench-strcoll.c (input_files): Likewise.
19186 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
19187 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
19188 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
19189
19190 2016-04-08 Joseph Myers <joseph@codesourcery.com>
19191
19192 [BZ #19929]
19193 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
19194 [__USE_XOPEN2K8 && !__USE_GNU].
19195 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
19196 variable.
19197
19198 [BZ #19925]
19199 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
19200 define if [!__USE_MISC && __USE_XOPEN2K].
19201 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
19202 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
19203 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
19204 Likewise.
19205 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
19206 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
19207 variable.
19208 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19209
19210 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19211
19212 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19213 (sysdep_routines): Add new strspn targets.
19214 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19215 (__libc_ifunc_impl_list): Add strspn.
19216 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
19217 New file.
19218 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
19219 Likewise.
19220 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
19221 Likewise.
19222 * sysdeps/powerpc/powerpc64/power8/strspn.S:
19223 Likewise.
19224
19225 2016-04-07 Florian Weimer <fweimer@redhat.com>
19226
19227 * misc/hsearch_r.c: Include <limits.h>.
19228
19229 2016-04-07 Florian Weimer <fweimer@redhat.com>
19230
19231 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
19232
19233 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
19234
19235 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19236 (MEMCPY_SYMBOL): New.
19237 (MEMPCPY_SYMBOL): Likewise.
19238 (MEMMOVE_CHK_SYMBOL): Likewise.
19239 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
19240 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
19241 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
19242 Provide alias for memcpy in libc.a and ld.so.
19243
19244 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
19245
19246 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
19247 (MEMSET_CHK_SYMBOL): New. Define if not defined.
19248 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
19249 Disabled fro now.
19250 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
19251 symbols. Properly check USE_MULTIARCH on __memset symbols.
19252
19253 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
19254
19255 * benchtests/Makefile (string-benchset): Add memcpy-large,
19256 memmove-large and memset-large.
19257 * benchtests/bench-memcpy-large.c: New file.
19258 * benchtests/bench-memmove-large.c: Likewise.
19259 * benchtests/bench-memmove-large.c: Likewise.
19260 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
19261
19262 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
19263
19264 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
19265 32-bit displacement to avoid long nop between instructions.
19266
19267 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
19268
19269 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
19270 a comment on VMOVU and VMOVA.
19271
19272 2016-04-04 Florian Weimer <fweimer@redhat.com>
19273
19274 [BZ #19633]
19275 Use specified locale for number formatting in strfmon_l.
19276 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
19277 (__nl_lookup_word): New inline functions.
19278 * include/printf.h (__print_fp_l): Declare.
19279 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
19280 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
19281 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
19282 (___printf_fp): New function.
19283 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
19284 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
19285 * stdlib/tst-strfmon_l.c (do_test): New test.
19286 * stdlib/Makefile (tests): Add kt.
19287 (LOCALES): Build additional locales.
19288 (tst-strfmon_l.out): Require locales.
19289
19290 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
19291
19292 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
19293 if not in libc.
19294 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19295 Likewise.
19296 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
19297 Likewise.
19298 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19299 Likewise.
19300
19301 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
19302
19303 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
19304 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
19305 with unaligned_erms.
19306 (__memmove_erms): Skip if source == destination.
19307 (__memmove_unaligned_erms): Don't check source == destination
19308 first.
19309
19310 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
19311
19312 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
19313 bit_arch_Fast_Copy_Backward for Intel Core proessors.
19314
19315 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19316
19317 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
19318 * string/strspn.c (strspn): Likewise.
19319
19320 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
19321
19322 * benchtests/bench-memset.c (do_test): Support 64-byte
19323 alignment.
19324 (test_main): Test 64-byte alignment.
19325
19326 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
19327
19328 * benchtests/bench-memmove.c (test_main): Test 64-byte
19329 alignment.
19330
19331 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
19332
19333 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
19334
19335 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19336
19337 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
19338 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
19339 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
19340
19341 * string/strpbrk.c (strpbrk): Rewrite function.
19342 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
19343 (__strpbrk_c2): Likewise.
19344 (__strpbrk_c3): Likewise.
19345 * string/string-inlines.c
19346 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
19347 Likewise.
19348 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
19349 Likewise.
19350
19351 * string/strspn.c (strcspn): Rewrite function.
19352 * string/bits/string2.h (strspn): Use __builtin_strcspn.
19353 (__strspn_c1): Remove inline function.
19354 (__strspn_c2): Likewise.
19355 (__strspn_c3): Likewise.
19356 * string/string-inlines.c
19357 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
19358 compatibility symbol.
19359 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
19360 Likewise.
19361 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
19362 Likewise.
19363 * string/string-inlines.c: Include generic version.
19364
19365 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
19366 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19367
19368 * string/Version (libc): Add GLIBC_2.24.
19369 * string/strcspn.c (strcspn): Rewrite function.
19370 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
19371 (__strcspn_c1): Remove inline function.
19372 (__strcspn_c2): Likewise.
19373 (__strcspn_c3): Likewise.
19374 * string/string-inline.c
19375 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
19376 compatibility symbol.
19377 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
19378 Likewise.
19379 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
19380 Likewise.
19381 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
19382
19383 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
19384
19385 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19386 Use ahi instead of aghi to adjust stack pointer.
19387
19388 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19389
19390 [BZ #19853]
19391 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
19392 TEST to take significant digits as second parameter.
19393 [TEST]: Redefine in terms of TEST_N taking 30
19394 significant digits.
19395 (do_test): Add test case to demonstrate precision
19396 failure in the ldbl-128ibm printf.
19397 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
19398 (__mpn_extract_long_double): Carry 7 extra intermediate
19399 bits of precision to aide computing difference when
19400 signs differ.
19401
19402 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
19403
19404 [BZ #19881]
19405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19406 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
19407 memset-avx512-unaligned-erms.
19408 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19409 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
19410 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
19411 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
19412 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
19413 __memset_sse2_unaligned_erms, __memset_erms,
19414 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
19415 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
19416 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
19417 file.
19418 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19419 Likewise.
19420 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
19421 Likewise.
19422 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
19423 Likewise.
19424
19425 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
19426
19427 [BZ #19776]
19428 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19429 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
19430 memmove-avx512-unaligned-erms.
19431 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19432 (__libc_ifunc_impl_list): Test
19433 __memmove_chk_avx512_unaligned_2,
19434 __memmove_chk_avx512_unaligned_erms,
19435 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
19436 __memmove_chk_sse2_unaligned_2,
19437 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
19438 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
19439 __memmove_avx512_unaligned_erms, __memmove_erms,
19440 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
19441 __memcpy_chk_avx512_unaligned_2,
19442 __memcpy_chk_avx512_unaligned_erms,
19443 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
19444 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
19445 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
19446 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
19447 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
19448 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
19449 __mempcpy_chk_avx512_unaligned_erms,
19450 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
19451 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
19452 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
19453 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
19454 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
19455 __mempcpy_erms.
19456 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
19457 file.
19458 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19459 Likewise.
19460 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
19461 Likewise.
19462 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
19463 Likewise.
19464
19465 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
19466
19467 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
19468 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
19469 (La_s390_64_regs): Likewise.
19470 (La_s390_32_retval): Append vector register lrv_v24.
19471 (La_s390_64_retval): Likeweise.
19472 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
19473 Handle extended structs La_s390_32_regs and La_s390_32_retval.
19474 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
19475 Handle extended structs La_s390_64_regs and La_s390_64_retval.
19476
19477 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
19478
19479 [BZ #19916]
19480 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
19481 to create a non-vector/vector version for _dl_runtime_resolve and
19482 _dl_runtime_profile. Move implementation to ...
19483 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
19484 (_dl_runtime_resolve) Save and restore fpr/vrs.
19485 (_dl_runtime_profile) Save and restore vrs and fix some issues
19486 if _dl_call_pltexit is called.
19487 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
19488 Choose the correct resolver function if running on a machine with vx.
19489 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
19490 to create a non-vector/vector version for _dl_runtime_resolve and
19491 _dl_runtime_profile. Move implementation to ...
19492 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
19493 (_dl_runtime_resolve) Save and restore fpr/vrs.
19494 (_dl_runtime_profile) Save and restore vrs and fix some issues
19495 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
19496 Choose the correct resolver function if running on a machine with vx.
19497
19498 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19499
19500 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
19501
19502 2016-03-31 Florian Weimer <fweimer@redhat.com>
19503
19504 [BZ #19509]
19505 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
19506 skip_map != NULL.
19507 * elf/tst-dlsym-error.c: New file.
19508 * elf/Makefile (tests): Add tst-dlsym-error.
19509 (tst-dlsym-error): Link against libdl.
19510
19511 2016-03-29 Joseph Myers <joseph@codesourcery.com>
19512
19513 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19514 (__ASSUME_FUTIMESAT): Remove macro.
19515 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
19516
19517 2016-03-29 Florian Weimer <fweimer@redhat.com>
19518
19519 [BZ #19879]
19520 CVE-2016-3075
19521 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
19522 copy name.
19523
19524 2016-03-29 Florian Weimer <fweimer@redhat.com>
19525
19526 [BZ #19837]
19527 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
19528 error if parse_line fails.
19529
19530 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
19531
19532 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
19533 (index_cpu_ERMS): Likewise.
19534 (reg_ERMS): Likewise.
19535
19536 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
19537
19538 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
19539 PER_LINUX_FDPIC): Add.
19540
19541 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
19542
19543 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19544 memcpy-avx512-no-vzeroupper.
19545 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
19546 to ...
19547 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
19548 (MEMCPY): Don't define.
19549 (MEMCPY_CHK): Likewise.
19550 (MEMPCPY): Likewise.
19551 (MEMPCPY_CHK): Likewise.
19552 (MEMPCPY_CHK): Renamed to ...
19553 (__mempcpy_chk_avx512_no_vzeroupper): This.
19554 (MEMPCPY_CHK): Renamed to ...
19555 (__mempcpy_chk_avx512_no_vzeroupper): This.
19556 (MEMCPY_CHK): Renamed to ...
19557 (__memmove_chk_avx512_no_vzeroupper): This.
19558 (MEMCPY): Renamed to ...
19559 (__memmove_avx512_no_vzeroupper): This.
19560 (__memcpy_avx512_no_vzeroupper): New alias.
19561 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
19562
19563 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
19564
19565 [BZ #18858]
19566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19567 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
19568 and mempcpy-avx512-no-vzeroupper.
19569 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
19570 New.
19571 (MEMPCPY): Likewise.
19572 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
19573 (MEMPCPY_CHK): New.
19574 (MEMPCPY): Likewise.
19575 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
19576 (MEMPCPY): Likewise.
19577 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
19578 (MEMPCPY): Likewise.
19579 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
19580 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
19581 Likewise.
19582 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
19583 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
19584
19585 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
19586 Amit Pawar <Amit.Pawar@amd.com>
19587
19588 [BZ #19583]
19589 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
19590 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
19591 processors. Set Fast_Copy_Backward for AMD Excavator
19592 processors.
19593 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
19594 New.
19595 (index_arch_Fast_Unaligned_Copy): Likewise.
19596 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
19597 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
19598
19599 2016-03-25 Florian Weimer <fweimer@redhat.com>
19600
19601 [BZ #19791]
19602 * resolv/res_send.c (close_and_return_error): New function.
19603 (send_dg): Initialize *resplen2 after reopen failure. Call
19604 close_and_return_error for error returns. On error paths without
19605 __res_iclose, initialze *resplen2 explicitly. Update comment for
19606 successful return.
19607
19608 2016-03-25 Florian Weimer <fweimer@redhat.com>
19609
19610 [BZ #19860]
19611 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
19612 zero if the compiler does not provide the AVX512F bit.
19613
19614 2016-03-24 Joseph Myers <joseph@codesourcery.com>
19615
19616 [BZ #19848]
19617 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
19618 from 8 to 4.
19619 (__ieee754_powl): Compare integer exponent against 4 not 8.
19620 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
19621 from 8 to 4.
19622 (__ieee754_powl): Compare integer exponent against 4 not 8.
19623 * math/auto-libm-test-in: Add more tests of pow.
19624 * math/auto-libm-test-out: Regenerated.
19625 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
19626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19627
19628 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
19629
19630 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
19631 Make code unconditional.
19632 [!__NR_utimensat]: Remove conditional code.
19633 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
19634 Make code unconditional.
19635 [!__NR_utimensat]: Remove conditional code.
19636 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
19637 Make code unconditional.
19638 [!__NR_utimensat]: Remove conditional code.
19639
19640 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
19641
19642 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
19643 Make code unconditional.
19644
19645 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
19646
19647 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
19648 call-clobbered %eax on retry path.
19649 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
19650
19651 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
19652
19653 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
19654 Don't set %rcx twice before "rep movsb".
19655
19656 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
19657
19658 [BZ #19583]
19659 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
19660 inline. Check family before setting family, model and
19661 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
19662 bits here.
19663 (init_cpu_features): Replace HAS_CPU_FEATURE and
19664 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
19665 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
19666 for Intel processors with usable AVX2. Call get_common_indeces
19667 for other processors with family == NULL.
19668 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
19669 (CPU_FEATURES_ARCH_P): Likewise.
19670 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
19671 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
19672
19673 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19674
19675 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
19676 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
19677 $(shared-thread-library) instead of hardcoding the path to libpthread.
19678
19679 2016-03-22 Joseph Myers <joseph@codesourcery.com>
19680
19681 * sysdeps/unix/sysv/linux/kernel-features.h
19682 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
19683 * sysdeps/unix/sysv/linux/getdents.c
19684 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
19685 [!have_no_getdents64_defined]: Likewise.
19686 (__GETDENTS): Remove __have_no_getdents64 conditional.
19687
19688 2016-03-21 Joseph Myers <joseph@codesourcery.com>
19689
19690 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
19691 Remove macro.
19692 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
19693 <kernel-features.h>.
19694 (signalfd) [__NR_signalfd4]: Make code unconditional.
19695 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
19696
19697 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19698
19699 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
19700 style.
19701
19702 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
19703
19704 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
19705 (__pthread_enable_asynccancel): Use JUMPTARGET to call
19706 __pthread_unwind.
19707 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19708 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
19709 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19710 (__condvar_cleanup1): Likewise.
19711
19712 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
19713
19714 [BZ #19822]
19715 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
19716 move it to the final $@ location.
19717
19718 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19719
19720 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
19721 access where posix_spawn success and pid argument is null.
19722 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
19723 success case.
19724
19725 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
19726
19727 * sysdeps/mach/hurd/i386/c++-types.data: New file.
19728
19729 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
19730
19731 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
19732 and __fcntl.
19733 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
19734 __fcntl only.
19735 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
19736 adding attribute_hidden to __open and __fcntl.
19737
19738 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
19739 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
19740 depend on libc-modules.h,
19741 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
19742
19743 2016-03-17 Joseph Myers <joseph@codesourcery.com>
19744
19745 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
19746 Remove macro.
19747 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
19748 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
19749 entry.
19750
19751 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
19752 Remove macro.
19753 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
19754 include <kernel-features.h>.
19755 [!__ASSUME_FALLOCATE]: Remove conditional code.
19756 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
19757
19758 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
19759
19760 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
19761 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
19762 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
19763 (_ZGVdN4v_cos_avx2): Likewise.
19764 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
19765 (_ZGVdN4v_cos): Likewise.
19766 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
19767 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
19768 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
19769 (_ZGVdN4v_exp_avx2): Likewise.
19770 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
19771 (_ZGVdN4v_exp): Likewise.
19772 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
19773 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
19774 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
19775 (_ZGVdN4v_log_avx2): Likewise.
19776 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
19777 (_ZGVdN4v_log): Likewise.
19778 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
19779 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
19780 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
19781 (_ZGVdN4vv_pow_avx2): Likewise.
19782 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
19783 (_ZGVdN4vv_pow): Likewise.
19784 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
19785 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
19786 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
19787 (_ZGVdN4v_sin_avx2): Likewise.
19788 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
19789 (_ZGVdN4v_sin): Likewise.
19790 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
19791 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
19792 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
19793 (_ZGVdN4vvv_sincos_avx2): Likewise.
19794 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
19795 (_ZGVdN4vvv_sincos): Likewise.
19796 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
19797 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
19798 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
19799 (_ZGVbN4v_cosf_sse4): Likewise.
19800 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
19801 (_ZGVdN8v_cosf_avx2): Likewise.
19802 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
19803 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
19804 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
19805 (_ZGVbN4v_expf_sse4): Likewise.
19806 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
19807 (_ZGVdN8v_expf_avx2): Likewise.
19808 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
19809 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
19810 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
19811 (_ZGVbN4v_logf_sse4): Likewise.
19812 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
19813 (_ZGVdN8v_logf_avx2): Likewise.
19814 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
19815 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
19816 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
19817 (_ZGVbN4vv_powf_sse4): Likewise.
19818 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
19819 (_ZGVdN8vv_powf_avx2): Likewise.
19820 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19821 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
19822 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19823 (_ZGVbN4vvv_sincosf_sse4): Likewise.
19824 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19825 (_ZGVdN8vvv_sincosf_avx2): Likewise.
19826 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
19827 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
19828 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
19829 (_ZGVbN4v_sinf_sse4): Likewise.
19830 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
19831 (_ZGVdN8v_sinf_avx2): Likewise.
19832 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
19833 Use JUMPTARGET to call callee.
19834 (WRAPPER_IMPL_SSE2_ff): Likewise.
19835 (WRAPPER_IMPL_SSE2_fFF): Likewise.
19836 (WRAPPER_IMPL_AVX): Likewise.
19837 (WRAPPER_IMPL_AVX_ff): Likewise.
19838 (WRAPPER_IMPL_AVX_fFF): Likewise.
19839 (WRAPPER_IMPL_AVX512): Likewise.
19840 (WRAPPER_IMPL_AVX512_ff): Likewise.
19841 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
19842 Likewise.
19843 (WRAPPER_IMPL_SSE2_ff): Likewise.
19844 (WRAPPER_IMPL_SSE2_fFF): Likewise.
19845 (WRAPPER_IMPL_AVX): Likewise.
19846 (WRAPPER_IMPL_AVX_ff): Likewise.
19847 (WRAPPER_IMPL_AVX_fFF): Likewise.
19848 (WRAPPER_IMPL_AVX512): Likewise.
19849 (WRAPPER_IMPL_AVX512_ff): Likewise.
19850 (WRAPPER_IMPL_AVX512_fFF): Likewise.
19851
19852 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19853
19854 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
19855 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
19856 qualifier.
19857 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
19858 internal_function qualifiers.
19859
19860 2016-03-15 Carlos O'Donell <carlos@redhat.com>
19861
19862 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
19863 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
19864 * math/atest-exp.c (exp_mpn): Mark chk unused.
19865 * math/atest-exp2.c (exp_mpn): Likewise.
19866 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
19867 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
19868
19869 2016-03-15 Joseph Myers <joseph@codesourcery.com>
19870
19871 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
19872 Remove macro.
19873 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
19874 <kernel-features.h>.
19875 [__NR_ppoll]: Make code unconditional.
19876 [!__ASSUME_PPOLL]: Remove conditional code.
19877
19878 * sysdeps/unix/sysv/linux/kernel-features.h
19879 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
19880 (__ASSUME_ACCEPT4): Likewise.
19881 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19882 Define.
19883 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
19884 Likewise.
19885 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19886 Likewise.
19887 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
19888 Likewise.
19889 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
19890 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
19891 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19892 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
19893 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19894 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19895 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19896 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19897 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19898 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19899 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19900 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19901 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19902 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19903 * sysdeps/unix/sysv/linux/i386/kernel-features.h
19904 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19905 Likewise.
19906 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19907 Likewise.
19908 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19909 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
19910 0x040300].
19911 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19912 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
19913 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19914 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19915 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
19916 0x030300].
19917 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
19918 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19919 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19920 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
19921 0x040300].
19922 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19923 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19924 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19925 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19926 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19927 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19928 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
19929 0x030300].
19930 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19931 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19932 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19933 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19934 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19935 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19936 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19937 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19938 * sysdeps/unix/sysv/linux/s390/kernel-features.h
19939 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19940 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
19941 0x040300].
19942 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19943 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19944 * sysdeps/unix/sysv/linux/sh/kernel-features.h
19945 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19946 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19947 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19948 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19949 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19950 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19951 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19952 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19953 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19954 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19955 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19956 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
19957 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19958 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19959 Likewise.
19960 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19961 Likewise.
19962
19963 2016-03-15 Andreas Schwab <schwab@suse.de>
19964
19965 [BZ #19257]
19966 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
19967 statp->_u._ext.nscount as loop count.
19968
19969 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
19970
19971 * math/test-signgam-finite-c99.c: Also #undef
19972 __LIBC_INTERNAL_MATH_INLINES.
19973 * math/test-signgam-main.c: Likewise.
19974
19975 2016-03-14 Joseph Myers <joseph@codesourcery.com>
19976
19977 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
19978 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
19979 (MADV_FREE): Likewise.
19980 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
19981 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
19982 EPOLLEXCLUSIVE.
19983
19984 2016-03-14 Carlos O'Donell <carlos@redhat.com>
19985
19986 * timezone/README: Remove mention of checktab.awk. Mention wiki
19987 SharedSourceFiles.
19988
19989 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
19990
19991 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
19992 WUNTRACED.
19993
19994 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19995
19996 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
19997 order to match the type of p when calling atomic_exchange_acq().
19998
19999 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20000
20001 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
20002 cfi_offset calls.
20003 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
20004 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
20005 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
20006 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
20007 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
20008
20009 2016-03-10 Carlos O'Donell <carlos@redhat.com>
20010
20011 * timezone/checktab.awk: Removed.
20012
20013 2016-03-10 Joseph Myers <joseph@codesourcery.com>
20014
20015 * manual/math.texi (Errors in Math Functions): Document relaxed
20016 accuracy goals for IBM long double.
20017 * math/libm-test.inc (test_exceptions): Always allow spurious
20018 "underflow" and "inexact" exceptions for IBM long double.
20019
20020 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
20021
20022 [BZ #19762]
20023 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
20024 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
20025 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
20026 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
20027 (bit_arch_*): This for feature array.
20028 (bit_*): Renamed to ...
20029 (bit_cpu_*): This for cpu array.
20030 (index_*): Renamed to ...
20031 (index_arch_*): This for feature array.
20032 (index_*): Renamed to ...
20033 (index_cpu_*): This for cpu array.
20034 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
20035 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
20036 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
20037 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
20038 bit_##name with index_cpu_##name and bit_cpu_##name.
20039 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
20040 bit_##name with index_arch_##name and bit_arch_##name.
20041
20042 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
20043
20044 [BZ #19792]
20045 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
20046 Terminate FDE before return label.
20047
20048 2016-03-09 Joseph Myers <joseph@codesourcery.com>
20049
20050 [BZ #19790]
20051 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
20052 (rintl): Define as macro.
20053 [USE_AS_NEARBYINTL] (__rintl): Likewise.
20054 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
20055 of fesetround. Ensure results are evaluated before end of scope.
20056 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
20057 USE_AS_NEARBYINTL and include s_rintl.c.
20058 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
20059 Disable exception traps in new environment.
20060 (libc_feholdsetround_ppc_ctx): Likewise.
20061
20062 2016-03-08 Roland McGrath <roland@hack.frob.com>
20063
20064 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
20065 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
20066 (tst_audit10_aux) [__AVX512F__]: ... here.
20067
20068 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
20069
20070 * include/sys/auxv.h: New file.
20071
20072 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
20073
20074 [BZ #19759]
20075 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
20076
20077 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
20078
20079 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
20080 operand modifier.
20081 (feclearexcept): Likewise.
20082
20083 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
20084
20085 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
20086 to reflect the entire 32-bit HWCAP.
20087 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
20088 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
20089
20090 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
20091
20092 [BZ #19783]
20093 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
20094 $(test-via-rtld-prefix).
20095 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
20096
20097 2016-03-08 Florian Weimer <fweimer@redhat.com>
20098
20099 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
20100 union wait. Report any non-zero exit status as error.
20101
20102 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20103
20104 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
20105 configured with --enable-hardcoded-path-in-tests.
20106
20107 2016-03-08 Joseph Myers <joseph@codesourcery.com>
20108
20109 [BZ #19677]
20110 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
20111 (__ieee754_remainderl): Put zero low parts in canonical form.
20112 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
20113 file. Based on
20114 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
20115 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
20116 with wrapper round test-fmodrem-ldbl-128ibm.c.
20117 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
20118 file.
20119 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
20120 Likewise.
20121 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
20122 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
20123
20124 2016-03-07 Florian Weimer <fweimer@redhat.com>
20125
20126 [BZ #19610]
20127 * elf/ldconfig.c (opt_link): Update comment.
20128 (options): Update help string for option -X.
20129 (search_dir): Unlink stale symbolic link only if updating symbolic
20130 links.
20131 * elf/tst-ldconfig-X.sh: New file.
20132 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
20133 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
20134
20135 2016-03-07 Andreas Schwab <schwab@suse.de>
20136
20137 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
20138 needed arguments.
20139
20140 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
20141
20142 [BZ #15333]
20143 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
20144 to lstat64.
20145
20146 2016-03-07 Florian Weimer <fweimer@redhat.com>
20147
20148 * libio/filedoalloc.c (isatty): Remove.
20149 (local_isatty): Add comment. Call __isatty directly.
20150 (_IO_file_doallocate): Update comment. Assume _LIBC.
20151 * libio/wfiledoalloc.c (isatty): Remove.
20152 (_IO_wfile_doallocate): Update comment.
20153
20154 2016-03-07 Florian Weimer <fweimer@redhat.com>
20155
20156 [BZ #19269]
20157 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
20158 tst-audit4-aux.o.
20159 (tst-audit10): Depend on tst-audit10-aux.o.
20160 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
20161 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
20162 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
20163 instead of inline AVX code.
20164 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
20165 instead of inline AVX512 code.
20166 * sysdeps/x86_64/tst-audit4-aux.c: New file
20167 * sysdeps/x86_64/tst-audit10-aux.c: New file
20168
20169 [BZ #19648]
20170 * test-skeleton.c (main): Do not set RLIMIT_DATA.
20171
20172 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20173
20174 [BZ #14750]
20175 [BZ #10354]
20176 [BZ #18433]
20177 * include/sched.h (__clone): Add hidden prototype.
20178 (__clone2): Likewise.
20179 * include/unistd.h (__dup): Likewise.
20180 * posix/Makefile (tests): Add tst-spawn2.
20181 * posix/tst-spawn2.c: New file.
20182 * sysdeps/posix/dup.c (__dup): Add hidden definition.
20183 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
20184 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
20185 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
20186 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
20187 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
20188 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
20189 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
20190 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
20191 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
20192 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
20193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
20194 Likewise.
20195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20196 Likewise.
20197 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
20198 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
20199 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
20200 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
20201 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
20202 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
20203 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
20204 * sysdeps/unix/sysv/linux/nptl-signals.h
20205 (____nptl_is_internal_signal): New function.
20206 * sysdeps/unix/sysv/linux/spawni.c: New file.
20207
20208 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
20209 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
20210 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
20211 * posix/tst-execvp2.c (do_test): Likewise.
20212 * posix/tst-execvp3.c (do_test): Likewise.
20213 * posix/tst-execvp4.c (do_test): Likewise.
20214 * posix/tst-execvpe1.c: New file.
20215 * posix/tst-execvpe2.c: Likewise.
20216 * posix/tst-execvpe3.c: Likewise.
20217 * posix/tst-execvpe4.c: Likewise.
20218 * posix/tst-execvpe5.c: Likewise.
20219 * posix/tst-execvpe6.c: Likewise.
20220
20221 [BZ #19534]
20222 * posix/execl.c (execl): Remove dynamic memory allocation.
20223 * posix/execle.c (execle): Likewise.
20224 * posix/execlp.c (execlp): Likewise.
20225
20226 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
20227
20228 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
20229 Replace .text with .text.avx512.
20230 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
20231 Likewise.
20232
20233 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
20234
20235 * sysdeps/generic/libnsl.abilist: New file.
20236 * sysdeps/generic/libutil.abilist: New file.
20237
20238 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
20239
20240 [BZ #19762]
20241 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
20242 HAS_ARCH_FEATURE with Fast_Rep_String.
20243 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
20244 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
20245 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
20246 Likewise.
20247 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
20248 Likewise.
20249 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
20250 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
20251 Likewise.
20252 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
20253 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
20254 Likewise.
20255
20256 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
20257
20258 [BZ #19745]
20259 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
20260 with *%rax in call.
20261
20262 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
20263
20264 [BZ #19745]
20265 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
20266 with *__libc_start_main@GOTPCREL(%rip) in call.
20267
20268 2016-03-04 Roland McGrath <roland@hack.frob.com>
20269
20270 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
20271 inside conditional for nonempty $(CXX).
20272
20273 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
20274 nonempty.
20275
20276 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
20277 to test for empty $(CXX) rather than $(CXX) of "no".
20278
20279 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
20280
20281 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
20282
20283 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
20284 H.J. Lu <hongjiu.lu@intel.com>
20285
20286 [BZ #18880]
20287 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
20288 instead of Slow_BSF, and also check for Fast_Copy_Backward to
20289 enable __memcpy_ssse3_back.
20290
20291 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
20292
20293 [BZ #19758]
20294 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
20295 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
20296
20297 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
20298
20299 [BZ #19490]
20300 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
20301 (__fentry__): Likewise.
20302
20303 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
20304
20305 * gmon/Makefile (noprof): Add $(sysdep_noprof).
20306 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
20307
20308 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
20309
20310 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
20311 __mcount_internal directly.
20312 (C_LABEL(__fentry__)): Likewise.
20313 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
20314 directly.
20315
20316 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
20317
20318 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20319 (__start_context): Call __setcontext directly.
20320
20321 2016-02-26 Joseph Myers <joseph@codesourcery.com>
20322
20323 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20324 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20325 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
20326 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
20327 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20328 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20329 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
20330 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20331 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20332 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
20333 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
20334 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
20335 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20336 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20337 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20338 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20339 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
20340 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20341 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20342 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
20343 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
20344 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20345 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20346 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
20347 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
20348 Remove conditional code.
20349 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20350 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
20351 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20352 * sysdeps/unix/sysv/linux/sh/kernel-features.h
20353 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
20354 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20355 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
20356 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20357 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20358 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20359 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20360 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20361
20362 2016-02-24 Marko Myllynen <myllynen@redhat.com>
20363
20364 * NEWS (2.23): Fix typo in bug 19048 text.
20365
20366 2016-02-24 Carlos O'Donell <carlos@redhat.com>
20367
20368 [BZ #14259]
20369 * Makeconfig: Rename msgcatdir to localedir.
20370 Rename inst_msgcatdir to inst_localedir.
20371 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
20372 * config.make.in: Add localedir.
20373 * elf/Makefile ($(objpfx)sotruss): Use localedir.
20374 (ldd-rewrite): Likewise.
20375 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
20376 (install-others): Use inst_localedir.
20377 (CPPFLAGS): Use localedir.
20378 * locale/Makefile (locale-CPPFLAGS): Likewise.
20379 * po/Makefile (mo-installed): Use inst_localedir.
20380
20381 [BZ #19575]
20382 * localedata/charmaps/GB18030: Update comments regarding PAU to
20383 non-PUA mappings.
20384
20385 2016-02-24 Joseph Myers <joseph@codesourcery.com>
20386
20387 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
20388 test for header.
20389 * sysdeps/unix/sysv/linux/configure: Regenerated.
20390 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
20391 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
20392 Remove conditional code.
20393 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
20394
20395 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20396 Define to 3.2.0.
20397 (arch_minimum_kernel): Likewise.
20398 * sysdeps/unix/sysv/linux/configure: Regenerated.
20399 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
20400 Define to 2.6.32.
20401 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
20402 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
20403 (arch_minimum_kernel): Define to 2.6.32.
20404 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
20405 * README: Document Linux 3.2 requirement.
20406 * manual/install.texi (Linux): Document Linux 3.2 headers
20407 requirement.
20408 * INSTALL: Regenerated.
20409
20410 2016-02-24 Andreas Schwab <schwab@suse.de>
20411
20412 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
20413 if !NO_LONG_DOUBLE.
20414
20415 2016-02-22 Roland McGrath <roland@hack.frob.com>
20416
20417 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
20418 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
20419
20420 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
20421
20422 [BZ #19512]
20423 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
20424
20425 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
20426
20427 * posix/tst-dir.c: Include libc-internal.h.
20428
20429 2016-02-20 Florian Weimer <fweimer@redhat.com>
20430
20431 [BZ #19056]
20432 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
20433 * manual/filesys.texi (Reading/Closing Directory): Mention
20434 deprecaion.
20435 * posix/tst-dir.c (main): Disable deprecation warning in test.
20436
20437 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
20438
20439 [BZ #19679]
20440 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
20441 Renamed to ...
20442 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
20443 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20444 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
20445 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20446 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
20447 * sysdeps/x86_64/dl-trampoline.h
20448 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20449 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
20450
20451 2016-02-19 Mark Wielaard <mjw@redhat.com>
20452
20453 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
20454
20455 2016-02-19 Mark Wielaard <mjw@redhat.com>
20456
20457 * elf/elf.h (R_386_GOT32X): New.
20458 (R_386_NUM): Update.
20459 (R_X86_64_GOTPCRELX: New.
20460 (R_X86_64_REX_GOTPCRELX): New.
20461 (R_X86_64_NUM): Update.
20462
20463 2016-02-19 Mike Frysinger <vapier@gentoo.org>
20464
20465 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
20466
20467 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
20468
20469 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
20470 assign attr->stackaddr to it, and adjust it down when
20471 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
20472 [_STACK_GROWS_UP]: Delete assert.
20473 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
20474 Implement stack grows up logic.
20475 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
20476 stack grows up logic.
20477
20478 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20479
20480 * NEWS: Update with 2.24 template.
20481
20482 2016-02-19 Joseph Myers <joseph@codesourcery.com>
20483
20484 [BZ #19678]
20485 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20486 Ensure +0.0 is returned when taking the next value below the least
20487 positive value.
20488
20489 2016-02-19 Florian Weimer <fweimer@redhat.com>
20490
20491 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
20492 available. Do not define NO_THREADS.
20493 * malloc/malloc.c: Do not check NO_THREADS.
20494 * malloc/arena.c: Likewise.
20495
20496 2016-02-19 Florian Weimer <fweimer@redhat.com>
20497
20498 * malloc/malloc.c (__libc_mallinfo): Update comment.
20499 (struct malloc_par): Remove max_total_mem member, it was always 0.
20500 (int_mallinfo): Store 0 into usmblks (no functional change).
20501 * malloc/hooks.c (struct malloc_state): Document that
20502 max_total_mem is always 0.
20503 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
20504 always 0.
20505 * manual/memory.texi (Statistics of Malloc): Likewise.
20506
20507 2016-02-19 Florian Weimer <fweimer@redhat.com>
20508
20509 * malloc/malloc.c (sysmalloc): Do not update arena_max.
20510 * malloc/arena.c (arena_max): Remove.
20511 (heap_trim, _int_new_arena): Do not update arena_max.
20512
20513 2016-02-19 Florian Weimer <fweimer@redhat.com>
20514
20515 * resolv/res_init.c (res_ninit): Update comment.
20516
20517 2016-02-19 Florian Weimer <fweimer@redhat.com>
20518
20519 [BZ #19505]
20520 * posix/spawn_int.h: Add headers and include guard.
20521 (__spawn_valid_fd): New function.
20522 * posix/spawn_faction_addopen.c
20523 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
20524 * posix/spawn_faction_addclose.c
20525 (posix_spawn_file_actions_addclose): Likewise.
20526 * posix/spawn_faction_adddup2.c
20527 (posix_spawn_file_actions_adddup2): Likewise. Add check for
20528 second file descriptor.
20529 * posix/spawn_valid_fd.c: New file.
20530 * posix/tst-posix_spawn-fd.c: New file.
20531 * posix/Makefile (routines): Add spawn_valid_fd.
20532 (tests): Add tst-posix_spawn-fd.
20533
20534 2016-02-19 Florian Weimer <fweimer@redhat.com>
20535
20536 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
20537 (do_test): Limit the number of arenas, so that we can use fewer
20538 outer threads. Limit timeout to 3 seconds, in preparation for a
20539 larger TIMEOUT value.
20540
20541 2016-02-19 Joseph Myers <joseph@codesourcery.com>
20542
20543 [BZ #19674]
20544 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
20545 sign in overflowing and underflowing results when overflow or
20546 underflow is detected early. Include sign in result before rather
20547 than after scaling.
20548
20549 [BZ #19603]
20550 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
20551 (__ieee754_remainderl): Adjust sign of integer version of low part
20552 when taking absolute value of high part.
20553 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20554 * math/libm-test.inc (remainder_test_data): Add another test.
20555 (remquo_test_data): Likewise.
20556
20557 2016-02-18 Joseph Myers <joseph@codesourcery.com>
20558
20559 [BZ #19602]
20560 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
20561 equal high parts and both low parts zero specially.
20562 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
20563 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
20564 Add test-fmodl-ldbl-128ibm.
20565
20566 [BZ #19595]
20567 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
20568 common logic for all cases of shifting subnormal results. Do not
20569 insert sign bit in shifted mantissa. Always pass -1023 as biased
20570 exponent to ldbl_insert_mantissa in subnormal case.
20571
20572 [BZ #19594]
20573 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
20574 on high and low parts then adjust result and use
20575 ldbl_canonicalize_int if needed.
20576
20577 [BZ #19593]
20578 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
20579 on high part and __floor or __ceil on low part then use
20580 ldbl_canonicalize_int if needed.
20581
20582 [BZ #19592]
20583 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
20584 high and low parts then use ldbl_canonicalize_int if needed.
20585
20586 [BZ #17899]
20587 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
20588 New function.
20589 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
20590 on high and low parts then use ldbl_canonicalize_int if needed.
20591
20592 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20593
20594 * configure: Regenerated.
20595
20596 * po/libc.pot: Regenerated.
20597
20598 * po/be.po: Updated translation.
20599 * po/bg.po: Likewise.
20600 * po/ca.po: Likewise.
20601 * po/cs.po: Likewise.
20602 * po/da.po: Likewise.
20603 * po/el.po: Likewise.
20604 * po/eo.po: Likewise.
20605 * po/es.po: Likewise.
20606 * po/fi.po: Likewise.
20607 * po/fr.po: Likewise.
20608 * po/gl.po: Likewise.
20609 * po/hr.po: Likewise.
20610 * po/hu.po: Likewise.
20611 * po/ia.po: Likewise.
20612 * po/id.po: Likewise.
20613 * po/it.po: Likewise.
20614 * po/ja.po: Likewise.
20615 * po/lt.po: Likewise.
20616 * po/nb.po: Likewise.
20617 * po/nl.po: Likewise.
20618 * po/pt_BR.po: Likewise.
20619 * po/rw.po: Likewise.
20620 * po/sk.po: Likewise.
20621 * po/sl.po: Likewise.
20622 * po/sv.po: Likewise.
20623 * po/tr.po: Likewise.
20624 * po/zh_CN.po: Likewise.
20625 * po/zh_TW.po: Likewise.
20626
20627 * version.h (RELEAES): Set to "development".
20628 (VERSION): Set to 2.23.90.
20629
20630 * version.h (RELEASE): Set to "stable".
20631 (VERSION): Set to 2.23.
20632 * include/feature.h (__GLIBC_MINOR__): Set to 23.
20633
20634 * NEWS: Updated fixed bugs.
20635
20636 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
20637 Wilco Dijkstra <wdijkstr@arm.com>
20638
20639 [BZ #19462]
20640 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
20641 (_STRING_INLINE_unaligned): This.
20642 * include/string.h: Include <string_private.h>.
20643 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
20644 _STRING_INLINE_unaligned.
20645 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
20646 (_STRING_INLINE_unaligned): New.
20647 * sysdeps/aarch64/string_private.h: New file.
20648 * sysdeps/generic/string_private.h: Likewise.
20649 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
20650 * sysdeps/s390/string_private.h: Likewise.
20651 * sysdeps/x86/string_private.h: Likewise.
20652 * sysdeps/m68k/m680x0/m68020/bits/string.h
20653 (_STRING_ARCH_unaligned): Renamed to ...
20654 (_STRING_INLINE_unaligned): This.
20655 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
20656 to ...
20657 (_STRING_INLINE_unaligned): This.
20658 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
20659 to ...
20660 (_STRING_INLINE_unaligned): This.
20661 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
20662 to ...
20663 (_STRING_INLINE_unaligned): This.
20664
20665 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
20666 H.J. Lu <hongjiu.lu@intel.com>
20667
20668 [BZ #19590]
20669 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
20670 relocation.
20671
20672 2016-02-15 Carlos O'Donell <carlos@redhat.com>
20673
20674 [BZ #18665]
20675 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
20676 *herrno_p.
20677 (gaih_getanswer): Document functional behviour. Return tryagain
20678 if any result is tryagain.
20679 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
20680 when freed.
20681 * resolv/res_send.c: Add copyright text.
20682 (__libc_res_nsend): Document that MAXPACKET is expected.
20683 (send_vc): Document. Remove buffer reuse.
20684 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
20685 size of the buffer. Add Dprint for truncated UDP buffer.
20686
20687 2016-02-14 Carlos O'Donell <carlos@redhat.com>
20688
20689 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
20690 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
20691 * INSTALL: Regenerate.
20692
20693 2016-02-14 Jakub Jelinek <jakub@redhat.com>
20694 Jonathan Wakely <jwakely@redhat.com>
20695 Carlos O'Donell <carlos@redhat.com>
20696
20697 [BZ 19439]
20698 * math/Makefile (tests): Add test-math-isinff.
20699 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
20700 * math/bits/mathcalls.h [__USE_MISC]: Use
20701 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
20702 functions not in C++11 and which don't conflict e.g. isinff,
20703 isinfl etc.
20704 * math/test-math-isinff.cc: New file.
20705
20706 2016-02-12 Florian Weimer <fweimer@redhat.com>
20707
20708 * misc/bug18240.c (do_test): Set RLIMIT_AS.
20709
20710 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
20711
20712 [BZ #19529]
20713 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
20714
20715 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20716
20717 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
20718
20719 2016-02-01 Joseph Myers <joseph@codesourcery.com>
20720
20721 [BZ #19550]
20722 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
20723 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
20724 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
20725 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
20726 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
20727 New syscall entry.
20728 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
20729 New syscall entry.
20730 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
20731 syscall entry.
20732
20733 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
20734
20735 [BZ #18240]
20736 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
20737 unsigned int wraparound.
20738
20739 2016-01-27 Florian Weimer <fweimer@redhat.com>
20740
20741 [BZ #18240]
20742 * misc/bug18240.c: New test.
20743 * misc/Makefile (tests): Add it.
20744
20745 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
20746 Joseph Myers <joseph@codesourcery.com>
20747
20748 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
20749 load in branch delay slot when less than a word of input left.
20750
20751 2016-01-27 Andreas Schwab <schwab@suse.de>
20752
20753 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
20754 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
20755 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
20756 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
20757
20758 2016-01-26 David S. Miller <davem@davemloft.net>
20759
20760 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
20761
20762 2016-01-25 David S. Miller <davem@davemloft.net>
20763
20764 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
20765 __sqrtl_finite.
20766 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
20767 instead using versioned_symbol.
20768 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
20769 of entries.
20770
20771 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
20772 __sqrtl_finite to GLIBC_2.23
20773
20774 2016-01-25 Ricchard Henderson <rth@redhat.com>
20775
20776 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20777
20778 2016-01-25 Andreas Schwab <schwab@suse.de>
20779
20780 [BZ #17514]
20781 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
20782 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
20783 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
20784 * nptl/tst-mutex-errorcheck.c: New file.
20785
20786 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20787
20788 [BZ #18560]
20789 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
20790 (IPCOP_semop): Likewise.
20791 (IPCOP_semget): Likewise.
20792 (IPCOP_semctl): Likewise.
20793 (IPCOP_msgsnd): Likewise.
20794 (IPCOP_msgrcv): Likewise.
20795 (IPCOP_msgget): Likewise.
20796 (IPCOP_msgctl): Likewise.
20797 (IPCOP_shmat): Likewise.
20798 (IPCOP_shmdt): Likewise.
20799 (IPCOP_shmget): Likewise.
20800 (IPCOP_shmctl): Likewise.
20801
20802 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
20803
20804 * string/tst-endian.c: Include <libc-internal.h>.
20805 (do_test): Ignore tautological-compare warnings around
20806 "htobeXX (beXXtoh (i)) != i" and
20807 "htoleXX (leXXtoh (i)) != i" if-statements.
20808
20809 2016-01-24 David S. Miller <davem@davemloft.net>
20810
20811 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
20812 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
20813 alias.
20814 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
20815 __sqrtl_finite.
20816
20817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20818
20819 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
20820
20821 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
20822 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
20823 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20824
20825 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20826
20827 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
20828 (thread_func): Use new function to simplify barrier check.
20829 (do_test): Use new function to simplify checking barrier exit
20830 code, and actually join the child thread.
20831
20832 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20833
20834 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
20835 semicolon.
20836 (__libc_tend): Likewise.
20837 (__libc_tabort): Likewise.
20838
20839 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
20840
20841 * sysdeps/nios2/libm-test-ulps: Update.
20842 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
20843 (__gtsf2): Likewise.
20844 (__unorddf2): Likewise.
20845 (__unordsf2): Likewise.
20846 (__ledf2): Likewise.
20847
20848 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
20849
20850 * nis/nis_table.c (__follow_path): Disable diagnostic for
20851 uninitialized variable that is a false positive for gcc 4.7.
20852 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
20853
20854 2016-01-20 Roland McGrath <roland@hack.frob.com>
20855
20856 * sysdeps/nacl/lowlevellock-futex.h
20857 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
20858 Always evaluate PRIVATE argument.
20859
20860 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
20861
20862 [BZ #19490]
20863 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
20864 (pthread_cond_broadcast): Use ENTRY/END
20865 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
20866 (pthread_cond_signal): Likewise.
20867 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
20868 Likewise.
20869 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
20870 Likewise.
20871 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
20872 Likewise.
20873
20874 2016-01-20 Joseph Myers <joseph@codesourcery.com>
20875
20876 * sysdeps/ieee754/dbl-64/s_finite.c
20877 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
20878 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
20879 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
20880 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
20881 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
20882
20883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
20884 (__gtsf2): Add as optional for libc.so.
20885 (__unordsf2): Likewise.
20886 (__signbit): Remove for libc.so.
20887 (__signbitl): Likewise.
20888
20889 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
20890
20891 * iconvdata/bug-iconv11.c (test_ibm93x):
20892 Use %zu printf format specifier for size_t argument.
20893
20894 2016-01-19 Joseph Myers <joseph@codesourcery.com>
20895
20896 * math/gen-libm-test.pl (parse_ulps): Do not reduce
20897 already-recorded ulps.
20898 * sysdeps/arm/libm-test-ulps: Regenerated.
20899 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20900 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20901 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
20902
20903 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
20904 Paul Pluzhnikov <ppluzhnikov@google.com>
20905
20906 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
20907 assembler not supporting AVX-512.
20908
20909 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
20910
20911 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20912
20913 2016-01-18 Joseph Myers <joseph@codesourcery.com>
20914
20915 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20916 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20917
20918 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20919
20920 * sysdeps/arm/libm-test-ulps: Regenerated.
20921
20922 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20923
20924 [BZ #19451]
20925 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
20926
20927 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
20928
20929 [BZ #19486]
20930 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
20931 * sysdeps/generic/fix-fp-int-convert-overflow.h
20932 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
20933 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
20934 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
20935 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
20936 Likewise.
20937 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
20938 Avoid conversions to long int where inexact exceptions
20939 could be raised.
20940 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
20941 Likewise.
20942 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
20943 Avoid conversions to long long int where inexact exceptions
20944 could be raised.
20945 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
20946 Likewise.
20947
20948 2016-01-17 Mike Frysinger <vapier@gentoo.org>
20949
20950 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
20951 * configure: Regenerated.
20952
20953 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
20954
20955 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
20956
20957 2016-01-16 Mike Frysinger <vapier@gentoo.org>
20958
20959 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
20960 outside of comment.
20961
20962 2016-01-15 Torvald Riegel <triegel@redhat.com>
20963
20964 * nptl/tst-barrier1.c: Add description on first line.
20965 * nptl/tst-barrier2.c: Likewise.
20966 * nptl/tst-barrier3.c: Likewise.
20967 * nptl/tst-barrier4.c: Likewise.
20968 * nptl/tst-barrier5.c: Likewise.
20969
20970 2016-01-15 Torvald Riegel <triegel@redhat.com>
20971
20972 [BZ #18868]
20973 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
20974
20975 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
20976
20977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
20978 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
20979 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
20980 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
20981 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
20982 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
20983 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20984 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20985 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20986 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20987 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20988
20989 2016-01-15 Torvald Riegel <triegel@redhat.com>
20990
20991 [BZ #13065]
20992 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
20993 new implementation.
20994 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
20995 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
20996 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
20997 (BARRIER_IN_THRESHOLD): New macro.
20998 * nptl/pthread_barrierattr_setpshared.c
20999 (pthread_barrierattr_setpshared): Clean up.
21000 * nptl/tst-barrier4.c: Correct comment.
21001 * nptl/tst-barrier5.c: New file.
21002 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
21003 (gen-as-const-headers): Remove lowlevelbarrier.sym.
21004 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
21005 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
21006 * nptl/lowlevelbarrier.sym: Remove.
21007 * nptl/DESIGN-barrier.txt: Remove.
21008 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
21009 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
21010 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
21011 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
21012 error.
21013 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
21014 implementation.
21015
21016 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21017
21018 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
21019 (do_child): Mask SIGRTMIN while thr is running.
21020
21021 2016-01-15 Martin Sebor <msebor@redhat.com>
21022
21023 [BZ #19432]
21024 * iconvdata/Makefile: Add bug-iconv11.
21025 * iconvdata/bug-iconv11.c: New test.
21026 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
21027 * iconvdata/ibm933.c: Same.
21028 * iconvdata/ibm935.c: Same.
21029 * iconvdata/ibm937.c: Same.
21030 * iconvdata/ibm939.c: Same.
21031
21032 2016-01-15 Martin Sebor <msebor@redhat.com>
21033
21034 [BZ #19443]
21035 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
21036 [DEBUG] (_ufc_set_bits): Declare used.
21037 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
21038 [DEBUG] (print_all): Declare used.
21039 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
21040 operands of the ternary ?: expression to target type.
21041 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
21042 calling the undeclared abort.
21043 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
21044
21045 2016-01-15 Martin Sebor <msebor@redhat.com>
21046
21047 [BZ #18755]
21048 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
21049 warnings.
21050 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
21051 (__gai_create_helper_thread): Same.
21052 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
21053 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
21054 to suppress -Wmaybe-uninitialized warnings.
21055
21056 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
21057
21058 [BZ #19465]
21059 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
21060 inside if.
21061 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21062 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21063 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21064
21065 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
21066
21067 [BZ #19466]
21068 * time/tst-mktime2.c (time_t_max): Removed.
21069 (time_t_min): Likewise.
21070 (TYPE_SIGNED): New.
21071 (TYPE_MINIMUM): Likewise.
21072 (TYPE_MAXIMUM): Likewise.
21073 (TIME_T_MIN): Likewise.
21074 (TIME_T_MAX): Likewise.
21075 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
21076 and TIME_T_MIN.
21077 (do_test): Likewise.
21078
21079 2016-01-14 Amit Pawar <amit.pawar@amd.com>
21080
21081 [BZ #19467]
21082 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
21083 index_Fast_Unaligned_Load flag for Excavator family CPUs.
21084
21085 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
21086
21087 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
21088
21089 2016-01-13 Carlos O'Donell <carlos@redhat.com>
21090
21091 * benchtests/Makefile (PYTHON): Define.
21092 (bench-func): Use $(PYTHON) to run python scripts.
21093 ($(objpfx)bench-%.c): Likewise.
21094
21095 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
21096
21097 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
21098 leading slash when `file_name' is "/".
21099
21100 2016-01-12 Joseph Myers <joseph@codesourcery.com>
21101
21102 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
21103 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
21104 Likewise.
21105 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
21106 Likewise.
21107 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
21108 Likewise.
21109 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
21110 enum constant and macro.
21111 (PTRACE_SETSIGMASK): Likewise.
21112 (PTRACE_SECCOMP_GET_FILTER): Likewise.
21113 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
21114 (PTRACE_GETSIGMASK): Likewise.
21115 (PTRACE_SETSIGMASK): Likewise.
21116 (PTRACE_SECCOMP_GET_FILTER): Likewise.
21117 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
21118 Likewise.
21119 (PTRACE_SETSIGMASK): Likewise.
21120 (PTRACE_SECCOMP_GET_FILTER): Likewise.
21121 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
21122 (PTRACE_GETSIGMASK): Likewise.
21123 (PTRACE_SETSIGMASK): Likewise.
21124 (PTRACE_SECCOMP_GET_FILTER): Likewise.
21125 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
21126 Likewise.
21127 (PTRACE_SETSIGMASK): Likewise.
21128 (PTRACE_SECCOMP_GET_FILTER): Likewise.
21129 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
21130 Likewise.
21131 (PTRACE_SETSIGMASK): Likewise.
21132 (PTRACE_SECCOMP_GET_FILTER): Likewise.
21133 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
21134 Likewise.
21135 (PTRACE_SETSIGMASK): Likewise.
21136 (PTRACE_SECCOMP_GET_FILTER): Likewise.
21137
21138 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
21139 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21140
21141 [BZ #19439]
21142 * math/bits/mathcalls.h
21143 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
21144 prototype.
21145 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
21146
21147 2016-01-11 Andreas Schwab <schwab@suse.de>
21148
21149 [BZ #19253]
21150 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
21151 cache when TZDEFRULES was used.
21152 * time/tst-tzname.c: New file.
21153 * time/Makefile (test): Add tst-tzname.
21154 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
21155 * timezone/Makefile (test-zones): Add $(posixrules-file).
21156 ($(testdata)/$(posixrules-file)): New rule.
21157
21158 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
21159
21160 Fix doc quoting problems with Texinfo 5
21161 Without this change, in the info file output, Texinfo 5 quotes code
21162 in text with undirected single quotes 'like this' and generates
21163 code examples that with many PDF readers cannot be cut out of PDFs
21164 and pasted into code.
21165 * manual/libc.texinfo: Configure the libc manual like the GNU
21166 Emacs manual, by using @documentencoding and setting
21167 txicodequoteundirected and txicodequotebacktick. This way,
21168 Texinfo 5 quotes code in text with directed single quotes ‘like
21169 this’ and produces examples that can be cut out of PDFs. This
21170 change causes Texinfo 5 to generate info files that contain UTF-8
21171 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
21172 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
21173
21174 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21175
21176 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
21177 __libc_tabort, __libc_tend): New wrappers that enforce compiler
21178 barriers to their respective compiler built-ins.
21179 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
21180 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
21181 * sysdeps/powerpc/sysdep.h: Likewise.
21182 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
21183 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
21184 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
21185
21186 2016-01-08 Marko Myllynen <myllynen@redhat.com>
21187
21188 * scripts/config.guess: Revert previous shebang change.
21189 * scripts/config.sub: Likewise.
21190 * scripts/mkinstalldirs: Likewise.
21191
21192 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21193
21194 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
21195 PPC_FEATURE2_HAS_IEEE128.
21196 * sysdeps/powerpc/dl-procinfo.c:
21197 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
21198
21199 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
21200
21201 [BZ #19415]
21202 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
21203 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
21204 (_dl_lookup_address): Rewrite using function resolver trampoline.
21205 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
21206 two bits in address.
21207
21208 2016-01-07 Mike Frysinger <vapier@gentoo.org>
21209
21210 * longlong.h: Change !__SHMEDIA__ to
21211 (!defined (__SHMEDIA__) || !__SHMEDIA__).
21212 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
21213
21214 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
21215 Joseph Myers <joseph@codesourcery.com>
21216 Mark Shinwell <shinwell@codesourcery.com>
21217 Andrew Stubbs <ams@codesourcery.com>
21218 Rich Felker <dalias@libc.org>
21219
21220 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
21221
21222 2016-01-07 Richard Henderson <rth@redhat.com>
21223
21224 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
21225
21226 2016-01-07 Mike Frysinger <vapier@gentoo.org>
21227
21228 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
21229 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
21230 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21231 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21232 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
21233
21234 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
21235 Joseph Myers <joseph@codesourcery.com>
21236
21237 * timezone/private.h: Update from tzcode 2015g.
21238 * timezone/tzfile.h: Likewise.
21239 * timezone/tzselect.ksh: Likewise.
21240 * timezone/zdump.c: Likewise.
21241 * timezone/zic.c: Likewise.
21242 * timezone/ialloc.c: Remove file.
21243 * timezone/scheck.c: Likewise.
21244 * timezone/Makefile (extra-objs): Remove variable.
21245 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
21246 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
21247 -Wno-maybe-uninitialized.
21248 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
21249 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
21250 (CFLAGS-ialloc.c): Remove variable.
21251 (CFLAGS-scheck.c): Likewise.
21252 * timezone/README: Update list of files from tzcode.
21253
21254 2016-01-07 Khem Raj <raj.khem@gmail.com>
21255
21256 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
21257 instead of __fxprintf when _LIBC is undefined.
21258
21259 2016-01-07 Marko Myllynen <myllynen@redhat.com>
21260
21261 * catgets/test-gencat.sh: Remove space after shebang.
21262 * conform/GlibcConform.pm: Likewise.
21263 * conform/check-header-lists.sh: Likewise.
21264 * conform/conformtest.pl: Likewise.
21265 * conform/linknamespace.pl: Likewise.
21266 * conform/list-header-symbols.pl: Likewise.
21267 * debug/catchsegv.sh: Likewise.
21268 * elf/genrtldtbl.awk: Likewise.
21269 * elf/tst-pathopt.sh: Likewise.
21270 * elf/tst-rtld-load-self.sh: Likewise.
21271 * grp/tst_fgetgrent.sh: Likewise.
21272 * iconvdata/gen-8bit-gap-1.sh: Likewise.
21273 * iconvdata/gen-8bit-gap.sh: Likewise.
21274 * iconvdata/gen-8bit.sh: Likewise.
21275 * iconvdata/run-iconv-test.sh: Likewise.
21276 * intl/tst-gettext.sh: Likewise.
21277 * intl/tst-gettext2.sh: Likewise.
21278 * intl/tst-gettext4.sh: Likewise.
21279 * intl/tst-gettext6.sh: Likewise.
21280 * intl/tst-translit.sh: Likewise.
21281 * io/ftwtest-sh: Likewise.
21282 * libio/test-freopen.sh: Likewise.
21283 * locale/gen-translit.pl: Likewise.
21284 * malloc/tst-mtrace.sh: Likewise.
21285 * manual/check-safety.sh: Likewise.
21286 * manual/libc-texinfo.sh: Likewise.
21287 * manual/tsort.awk: Likewise.
21288 * manual/xtract-typefun.awk: Likewise.
21289 * nptl/tst-cancel-wrappers.sh: Likewise.
21290 * nptl/tst-tls6.sh: Likewise.
21291 * posix/globtest.sh: Likewise.
21292 * posix/tst-getconf.sh: Likewise.
21293 * posix/wordexp-tst.sh: Likewise.
21294 * scripts/check-c++-types.sh: Likewise.
21295 * scripts/check-local-headers.sh: Likewise.
21296 * scripts/config.guess: Likewise.
21297 * scripts/config.sub: Likewise.
21298 * scripts/cpp: Likewise.
21299 * scripts/cross-test-ssh.sh: Likewise.
21300 * scripts/documented.sh: Likewise.
21301 * scripts/evaluate-test.sh: Likewise.
21302 * scripts/gen-libc-abis: Likewise.
21303 * scripts/gen-sorted.awk: Likewise.
21304 * scripts/list-fixed-bugs.py: Likewise.
21305 * scripts/merge-test-results.sh: Likewise.
21306 * scripts/mkinstalldirs: Likewise.
21307 * scripts/rellns-sh: Likewise.
21308 * scripts/test-installation.pl: Likewise.
21309 * scripts/update-copyrights: Likewise.
21310 * stdio-common/tst-printf.sh: Likewise.
21311 * stdio-common/tst-unbputc.sh: Likewise.
21312 * stdlib/tst-fmtmsg.sh: Likewise.
21313 * stdlib/tst-setcontext3.sh: Likewise.
21314 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
21315 * sysdeps/unix/make-syscalls.sh: Likewise.
21316
21317 2016-01-06 John David Anglin <dave.anglin@bell.net>
21318
21319 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
21320 asm stw with atomic_exchange_rel. Add explanatory comment.
21321 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
21322 Likewise.
21323
21324 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
21325
21326 [BZ #19122]
21327 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
21328 * sysdeps/generic/dl-unistd.h: New file.
21329 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
21330
21331 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
21332
21333 [BZ #19122]
21334 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
21335 * sysdeps/generic/dl-mman.h: New file.
21336 * sysdeps/mach/hurd/dl-mman.h: Likewise.
21337
21338 2016-01-05 Joseph Myers <joseph@codesourcery.com>
21339
21340 * manual/texinfo.tex: Update to version 2016-01-04.21 with
21341 trailing whitespace removed.
21342 * scripts/config.guess: Update to version 2016-01-01.
21343 * scripts/config.sub: Update to version 2016-01-01.
21344 * scripts/move-if-change: Update from gnulib.
21345
21346 2016-01-04 Anton Blanchard <anton@samba.org>
21347
21348 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
21349 for array indices.
21350 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
21351
21352 2016-01-04 Joseph Myers <joseph@codesourcery.com>
21353
21354 * NEWS: Update copyright dates.
21355 * catgets/gencat.c (print_version): Likewise.
21356 * csu/version.c (banner): Likewise.
21357 * debug/catchsegv.sh: Likewise.
21358 * debug/pcprofiledump.c (print_version): Likewise.
21359 * debug/xtrace.sh (do_version): Likewise.
21360 * elf/ldconfig.c (print_version): Likewise.
21361 * elf/ldd.bash.in: Likewise.
21362 * elf/pldd.c (print_version): Likewise.
21363 * elf/sotruss.sh: Likewise.
21364 * elf/sprof.c (print_version): Likewise.
21365 * iconv/iconv_prog.c (print_version): Likewise.
21366 * iconv/iconvconfig.c (print_version): Likewise.
21367 * locale/programs/locale.c (print_version): Likewise.
21368 * locale/programs/localedef.c (print_version): Likewise.
21369 * login/programs/pt_chown.c (print_version): Likewise.
21370 * malloc/memusage.sh (do_version): Likewise.
21371 * malloc/memusagestat.c (print_version): Likewise.
21372 * malloc/mtrace.pl: Likewise.
21373 * manual/libc.texinfo: Likewise.
21374 * nptl/version.c (banner): Likewise.
21375 * nscd/nscd.c (print_version): Likewise.
21376 * nss/getent.c (print_version): Likewise.
21377 * nss/makedb.c (print_version): Likewise.
21378 * posix/getconf.c (main): Likewise.
21379 * scripts/test-installation.pl: Likewise.
21380 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21381
21382 * All files with FSF copyright notices: Update copyright dates
21383 using scripts/update-copyrights.
21384 * intl/plural.c: Regenerated.
21385 * locale/programs/charmap-kw.h: Likewise.
21386 * locale/programs/locfile-kw.h: Likewise.
21387
21388 2016-01-02 Helge Deller <deller@gmx.de>
21389
21390 [BZ #19285]
21391 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
21392 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
21393 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
21394 (MADV_xxK_PAGES): Remove.
21395
21396 2016-01-01 Mike Frysinger <vapier@gentoo.org>
21397
21398 [BZ #15421]
21399 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
21400 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
21401 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
21402 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
21403
21404 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
21405
21406 [BZ #19408]
21407 * sysdeps/unix/sysv/linux/personality.c: New file.
21408 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
21409 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
21410 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
21411 (sysdep_routines): Add personality.
21412 (tests): Add tst-personality.
21413 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
21414 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
21415 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
21416 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
21417 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
21418 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
21419 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
21420 Likewise.
21421 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
21422 Likewise.
21423 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
21424 Likewise.
21425 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
21426 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
21427 Likewise.
21428
21429 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
21430
21431 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
21432 (PATH_ARM_SYSTYPE): Remove.
21433 (PATH_CPUINFO): Likewise.
21434 (IO_BASE_FOOTBRIDGE): Likewise.
21435 (IO_SHIFT_FOOTBRIDGE): Likewise.
21436 (struct platform): Likewise.
21437 (init_iosys): Remove compatibility code for 2.4 kernels.
21438 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
21439
21440 2015-12-29 Florian Weimer <fweimer@redhat.com>
21441
21442 * malloc/tst-malloc-thread-fail.c: New file.
21443 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
21444 (tst-malloc-thread-fail): Link against libpthread.
21445
21446 2015-12-29 Mike Frysinger <vapier@gentoo.org>
21447
21448 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
21449 (get_parser): New function.
21450 (main): New function.
21451
21452 2015-12-29 Rob Wu <rob@robwu.nl>
21453
21454 [BZ #19369]
21455 * resolv/res_init.c (__res_vinit): Reset defdname before use.
21456
21457 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
21458
21459 [BZ #19270]
21460 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
21461
21462 2015-12-28 Mike Frysinger <vapier@gentoo.org>
21463
21464 [BZ #15421]
21465 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
21466
21467 2015-12-23 Torvald Riegel <triegel@redhat.com>
21468
21469 [BZ #13690]
21470 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
21471 after releasing it.
21472 (__lll_robust_unlock): Likewise.
21473 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
21474 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
21475 (lll_robust_unlock): Likewise.
21476 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
21477 Prevent warnings in callers.
21478
21479 2015-12-23 Florian Weimer <fweimer@redhat.com>
21480
21481 * malloc/arena.c (list_lock): Update comment.
21482
21483 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21484
21485 * sysdeps/powerpc/hwcapinfo.c: Export symbol
21486 __parse_hwcap_and_convert_at_platform to libc.a.
21487
21488 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21489
21490 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
21491 platform and feature support for POWER9.
21492 * sysdeps/powerpc/dl-procinfo.h: Likewise.
21493 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
21494 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
21495 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
21496 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
21497 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
21498 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
21499 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
21500
21501 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21502
21503 Harmonize generic stdio-lock support with nptl
21504
21505 This fixes build when _IO_funlockfile is a macro, fixes build where
21506 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
21507 stack unwind.
21508
21509 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
21510 _IO_release_lock ): Use cleanup attribute on new
21511 _IO_acquire_lock_file variable instead of assuming that
21512 _IO_release_lock will be called.
21513 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
21514 _IO_acquire_lock_needs_exceptions_enabled.
21515 (_IO_acquire_lock_clear_flags2): New macro.
21516
21517 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21518
21519 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
21520
21521 2015-12-21 Florian Weimer <fweimer@redhat.com>
21522
21523 [BZ #19182]
21524 * malloc/arena.c (list_lock): Document lock ordering requirements.
21525 (free_list_lock): New lock.
21526 (ptmalloc_lock_all): Comment on free_list_lock.
21527 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
21528 (detach_arena): Update comment. free_list_lock is now needed.
21529 (_int_new_arena): Use free_list_lock around detach_arena call.
21530 Acquire arena lock after list_lock. Add comment, including FIXME
21531 about incorrect synchronization.
21532 (get_free_list): Switch to free_list_lock.
21533 (reused_arena): Acquire free_list_lock around detach_arena call
21534 and attached threads counter update. Add two FIXMEs about
21535 incorrect synchronization.
21536 (arena_thread_freeres): Switch to free_list_lock.
21537 * malloc/malloc.c (struct malloc_state): Update comments to
21538 mention free_list_lock.
21539
21540 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
21541
21542 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
21543 Remove functions.
21544 (sloww, sloww1): Accept argument to offset quadrant.
21545 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
21546 quadrant.
21547 (__sin, __cos): Consolidate common code into new functions.
21548 (reduce_sincos_1, do_sincos_1): New functions.
21549 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
21550
21551 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
21552 code to new functions.
21553 (reduce_sincos_2, do_sincos_2): New functions.
21554 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
21555
21556 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
21557 common code for sincos.
21558 (__cos) [!IN_SINCOS]: Likewise.
21559 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
21560 New function.
21561 (__sincos): Use it.
21562
21563 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
21564
21565 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
21566 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
21567 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21568
21569 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
21570
21571 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
21572 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
21573 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
21574 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
21575 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21576 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
21577 index_Prefer_No_VZEROUPPER): New feature.
21578 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
21579 Prefer_No_VZEROUPPER for Knights Landing.
21580
21581 015-12-18 Torvald Riegel <triegel@redhat.com>
21582
21583 * math/atest-exp2.c (mp_exp_m1): Remove.
21584
21585 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21586
21587 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
21588 syscalls.
21589 (__SYSCALL0): New macro.
21590 (__SYSCALL1): Likewise.
21591 (__SYSCALL2): Likewise.
21592 (__SYSCALL3): Likewise.
21593 (__SYSCALL4): Likewise.
21594 (__SYSCALL5): Likewise.
21595 (__SYSCALL6): Likewise.
21596 (__SYSCALL_CONCAT_X): Likewise.
21597 (__SYSCALL_CONCAT): Likewise.
21598 (__SYSCALL_DIST): Likewise.
21599 (__SYSCALL_CALL): Likewise.
21600
21601 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
21602
21603 [BZ #19363]
21604 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
21605
21606 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21607
21608 [BZ #19375]
21609 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
21610 negative subnormals.
21611
21612 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
21613
21614 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
21615 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
21616 (INTERNAL_SYSCALL_NCS): Use it.
21617 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21618
21619 2015-12-16 Florian Weimer <fweimer@redhat.com>
21620
21621 [BZ #19243]
21622 * malloc/arena.c (get_free_list): Remove assert and adjust
21623 reference count handling. Add comment about reused_arena
21624 interaction.
21625 (reused_arena): Add comments abount get_free_list interaction.
21626 * malloc/tst-malloc-thread-exit.c: New file.
21627 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
21628 (tst-malloc-thread-exit): Link against libpthread.
21629
21630 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
21631
21632 [BZ #19367]
21633 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
21634 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
21635 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
21636 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
21637 (index_Prefer_MAP_32BIT_EXEC): Likewise.
21638
21639 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
21640
21641 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
21642 Silvermont optimizations for Knights Landing.
21643
21644 2015-12-15 Andreas Schwab <schwab@suse.de>
21645
21646 [BZ #17197]
21647 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
21648 immediately after emitting SI.
21649 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
21650 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
21651 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
21652 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
21653 * iconvdata/bug-iconv10.c: New file.
21654 * iconvdata/Makefile (tests): Add bug-iconv10.
21655 ($(objpfx)bug-iconv10.out): New rule.
21656
21657 2015-12-15 Florian Weimer <fweimer@redhat.com>
21658
21659 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
21660 aliasing violation.
21661
21662 2015-12-14 Joseph Myers <joseph@codesourcery.com>
21663
21664 [BZ #18472]
21665 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
21666 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
21667 conditionals for them.
21668 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
21669 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
21670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
21671 sys/kdaemon.h.
21672 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
21673 compat-only syscall, obsoleted in glibc 2.23.
21674 (create_module): Likewise.
21675 (get_kernel_syms): Likewise.
21676 (query_module): Likewise.
21677 (uselib): Likewise.
21678 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
21679
21680 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
21681
21682 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
21683 <linux/version.h>.
21684 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
21685 conditional code.
21686 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
21687 and ioshift_name initialization.
21688
21689 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
21690
21691 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
21692 Fix indentation.
21693
21694 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
21695
21696 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
21697
21698 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
21699
21700 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
21701
21702 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
21703 Jakub Wilk <jwilk@debian.org>
21704
21705 [BZ #19347]
21706 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
21707 to change the group of the device to the tty group.
21708
21709 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
21710
21711 Split large string section; add truncation advice
21712 * manual/examples/strncat.c: Remove.
21713 This example was misleading, as the code would have undefined
21714 behavior if "hello" was longer than SIZE. Anyway, the manual
21715 shouldn't encourage strncpy+strncat for this sort of thing.
21716 * manual/string.texi (Copying Strings and Arrays): Split into
21717 three sections Copying Strings and Arrays, Concatenating Strings,
21718 and Truncating Strings, as this section was way too long. All
21719 cross-referenced changed. Add advice about string-truncation
21720 functions. Remove misleading strncat example.
21721
21722 2015-12-10 Carlos O'Donell <carlos@redhat.com>
21723
21724 * manual/nss.texi (NSS Modules Interface): Document
21725 NSS_STATUS_NOTFOUND and SUCCESS.
21726
21727 2015-12-09 Mike FABIAN <mfabian@redhat.com>
21728
21729 [BZ 18568]
21730 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
21731 201505L, for Unicode 8.
21732
21733 2015-12-09 Carlos O'Donell <carlos@redhat.com>
21734
21735 * locale/C-translit.h: Regenerate.
21736
21737 2015-12-09 Mike FABIAN <mfabian@redhat.com>
21738
21739 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
21740 and U+0153.
21741
21742 2015-12-09 Joseph Myers <joseph@codesourcery.com>
21743
21744 [BZ #19351]
21745 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
21746 expanding log(1+z), compare z rather than its square with epsilon
21747 to determine when to avoid evaluating the expansion.
21748
21749 [BZ #19350]
21750 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
21751 Increase overflow threshold.
21752
21753 [BZ #19349]
21754 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
21755 when small.
21756
21757 * sysdeps/unix/sysv/linux/i386/kernel-features.h
21758 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
21759 New macro.
21760 [__LINUX_KERNEL_VERSION >= 0x040300]
21761 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21762 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
21763 Likewise.
21764 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
21765 Likewise.
21766 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
21767 Likewise.
21768 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
21769 Likewise.
21770 [__LINUX_KERNEL_VERSION >= 0x040300]
21771 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
21772 [__LINUX_KERNEL_VERSION >= 0x040300]
21773 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21774 [__LINUX_KERNEL_VERSION >= 0x040300]
21775 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21776 [__LINUX_KERNEL_VERSION >= 0x040300]
21777 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21778 [__LINUX_KERNEL_VERSION >= 0x040300]
21779 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21780 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
21781 Likewise.
21782 [__LINUX_KERNEL_VERSION >= 0x040300]
21783 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
21784 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21785 Likewise.
21786 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
21787 Likewise.
21788 [__LINUX_KERNEL_VERSION >= 0x040300]
21789 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
21790 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21791 Likewise.
21792 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
21793 Likewise.
21794 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21795 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
21796 Likewise.
21797 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
21798 Likewise.
21799 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
21800 Likewise.
21801 [__LINUX_KERNEL_VERSION >= 0x040300]
21802 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21803 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
21804 Likewise.
21805 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
21806 Likewise.
21807 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
21808 Likewise.
21809 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
21810 Likewise.
21811 [__LINUX_KERNEL_VERSION >= 0x040300]
21812 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
21813 [__LINUX_KERNEL_VERSION >= 0x040300]
21814 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21815 [__LINUX_KERNEL_VERSION >= 0x040300]
21816 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21817 [__LINUX_KERNEL_VERSION >= 0x040300]
21818 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21819 [__LINUX_KERNEL_VERSION >= 0x040300]
21820 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21821 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
21822 Likewise.
21823 [__LINUX_KERNEL_VERSION >= 0x040300]
21824 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
21825 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21826 Likewise.
21827 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
21828 Likewise.
21829 [__LINUX_KERNEL_VERSION >= 0x040300]
21830 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
21831 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21832 Likewise.
21833 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
21834 Likewise.
21835 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21836 (__ASSUME_SOCKET_SYSCALL): Likewise.
21837 (__ASSUME_BIND_SYSCALL): Likewise.
21838 (__ASSUME_CONNECT_SYSCALL): Likewise.
21839 (__ASSUME_LISTEN_SYSCALL): Likewise.
21840 (__ASSUME_ACCEPT_SYSCALL): Likewise.
21841 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21842 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21843 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21844 (__ASSUME_SEND_SYSCALL): Likewise.
21845 (__ASSUME_SENDTO_SYSCALL): Likewise.
21846 (__ASSUME_RECV_SYSCALL): Likewise.
21847 (__ASSUME_RECVFROM_SYSCALL): Likewise.
21848 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
21849 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21850 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21851 (__ASSUME_SENDMSG_SYSCALL): Likewise.
21852 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21853 * sysdeps/unix/sysv/linux/sh/kernel-features.h
21854 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
21855 Likewise.
21856 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
21857 Likewise.
21858 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
21859 Likewise.
21860 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
21861 Likewise.
21862 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
21863 Likewise.
21864 [__LINUX_KERNEL_VERSION >= 0x020625]
21865 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21866 [__LINUX_KERNEL_VERSION >= 0x020625]
21867 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21868 [__LINUX_KERNEL_VERSION >= 0x020625]
21869 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21870 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
21871 Likewise.
21872 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
21873 Likewise.
21874 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
21875 Likewise.
21876 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
21877 Likewise.
21878 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
21879 Likewise.
21880 [__LINUX_KERNEL_VERSION >= 0x020625]
21881 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21882 [__LINUX_KERNEL_VERSION >= 0x020625]
21883 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21884 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
21885 Likewise.
21886 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
21887 Likewise.
21888
21889 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
21890
21891 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
21892 record the current if the current ABI and CPU support the FP64
21893 extension.
21894 (has-modd-spreg): Define to record the current if the current ABI and
21895 CPU support 32-bit floating point values in odd FPU registers.
21896 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21897 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
21898 $(has-modd-spreg) equals yes.
21899 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
21900 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
21901 $(has-modd-spreg) equal yes.
21902
21903 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
21904
21905 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
21906 basename.
21907
21908 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
21909
21910 * benchtests/Makefile (bench-math): Move ffs and ffsll...
21911 (bench-string): ... here.
21912 (bench): Add bench-string.
21913 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
21914 to *-benchset to reflect what they are.
21915 (benchset): Adjust.
21916
21917 * benchtests/sincos-inputs: Add inputs from sin-inputs and
21918 cos-inputs.
21919
21920 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
21921
21922 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
21923 __attribute__ ((__simd__)) for vector math function declarations.
21924
21925 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
21926
21927 Fix typo in strncat, wcsncat manual entries
21928 * manual/string.texi (Copying and Concatenation): Fix typos in
21929 sample implementations of strncat and wcsncat, by having them use
21930 the old value of the destination length, not the new one.
21931
21932 2015-12-04 Joseph Myers <joseph@codesourcery.com>
21933
21934 [BZ #16961]
21935 [BZ #16962]
21936 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
21937 string on the stack for strtod.
21938 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
21939 a string on the stack for strtof.
21940 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
21941 constructing a string on the stack for strtold.
21942 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
21943 __strtold_nan to GLIBC_PRIVATE.
21944 * math/test-nan-overflow.c: New file.
21945 * math/test-nan-payload.c: Likewise.
21946 * math/Makefile (tests): Add test-nan-overflow and
21947 test-nan-payload.
21948
21949 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
21950
21951 Consistency about byte vs character in string.texi
21952 * manual/string.texi (String and Array Utilities):
21953 Distinguish more carefully among bytes, multibyte characters,
21954 and wide characters. Use "byte" when talking about C 'char',
21955 to distinguish it more clearly from multibyte characters.
21956 Say "wide character" or "multibyte character" instead of
21957 "character", when a wide or multibyte character is intended.
21958 Similarly for "multibyte string" versus "string".
21959 Define these terms more carefully.
21960
21961 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
21962
21963 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
21964 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
21965 Likewise.
21966 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
21967 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
21968 * sysdeps/sh/math_private.h: New file.
21969 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
21970 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
21971 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
21972 long double function name.
21973 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21974 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21975 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21976 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21977 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21979 Remove __finitel, __isinfl, and __isnanl.
21980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21981 Likewise.
21982 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21984 Remove __finitel.
21985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21986 Likewise.
21987 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21988
21989 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
21990
21991 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
21992 installed libmvec_nonshared.a.
21993
21994 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21995
21996 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
21997 (sysdep_routines): Likewise.
21998 (sysdep-rtld-routines): Likewise.
21999 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
22000 [$(subdir) = nptl](tests-static): test-get_hwcap-static
22001 * sysdeps/powerpc/Versions: Added new
22002 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
22003 * sysdeps/powerpc/hwcapinfo.c: New file.
22004 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
22005 and parse hwcap, hwcap2 and platform number information.
22006 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
22007 to store HWCAP+HWCAP2 and platform number.
22008 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
22009 for HWCAP+HWCAP2 and platform number in the TCB.
22010 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
22011 the HWCAP, HWCAP2 and platform number in the TCB.
22012 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
22013 (TLS_INIT_TP): Included calls to add the hwcap and
22014 at_platform values in the TCB in TP initialization.
22015 (TLS_DEFINE_INIT_TP): Likewise.
22016 (THREAD_GET_HWCAP): New macro.
22017 (THREAD_SET_HWCAP): Likewise.
22018 (THREAD_GET_AT_PLATFORM): Likewise.
22019 (THREAD_SET_AT_PLATFORM): Likewise.
22020 * sysdeps/powerpc/powerpc32/dl-machine.h:
22021 (dl_platform_init): New function that calls
22022 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
22023 powerpc32.
22024 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
22025 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
22026 this functionality, static linking case.
22027 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
22028 linking case.
22029 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
22030 __parse_hwcap_and_convert_at_platform for the static linking case.
22031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
22032 Included the new __parse_hwcap_and_convert_at_platform symbol in the
22033 ABI list for GLIBC 2.23.
22034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
22035 Likewise.
22036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
22037 Likewise.
22038
22039 2015-12-02 Ludovic Courtès <ludo@gnu.org>
22040
22041 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
22042 * configure: Regenerate.
22043 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
22044 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
22045
22046 2015-12-02 Carlos O'Donell <carlos@redhat.com>
22047
22048 * iconvdata/ibm930.c: Add comment explaining encoding uses.
22049 * iconvdata/ibm933.c: Likewise.
22050 * iconvdata/ibm935.c: Likewise.
22051 * iconvdata/ibm937.c: Likewise.
22052 * iconvdata/ibm939.c: Likewise.
22053
22054 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22055
22056 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
22057 pthread_join.
22058 * nptl/tst-cancel21.c (tf): Likewise.
22059
22060 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
22061
22062 [BZ #19313]
22063 * bits/typesizes.h (__CPU_MASK_TYPE): New.
22064 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
22065 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
22066 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
22067 Likewise.
22068 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
22069 Likewise.
22070 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
22071 Likewise.
22072 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
22073 Likewise.
22074 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
22075 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
22076 unsigned long int with __CPU_MASK_TYPE.
22077
22078 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
22079
22080 * sysdeps/aarch64/libm-test-ulps: Regenerated.
22081
22082 2015-12-01 Joseph Myers <joseph@codesourcery.com>
22083
22084 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
22085 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
22086 t512.x.
22087 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
22088
22089 2015-11-30 Amit Pawar <amit.pawar@amd.com>
22090
22091 [BZ #19214]
22092 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
22093 argument to return extended model. Update family and model
22094 with extended family and model when family == 0x0f.
22095 (init_cpu_features): Updated.
22096
22097 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22098
22099 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
22100 signed off_t, so 32bit bigger than 2GiB values are fine actually.
22101
22102 * sysdeps/mach/hurd/mmap64.c: New file.
22103
22104 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
22105
22106 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
22107 rights for its main user thread in NEWTASK.
22108
22109 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
22110
22111 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
22112 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
22113
22114 2015-11-27 Carlos O'Donell <carlos@redhat.com>
22115
22116 [BZ #14259]
22117 * Makeconfig: Rename localedir to complocaledir.
22118 Rename inst_localedir to inst_complocaledir.
22119 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
22120 * config.make.in: Use complocaledir and libc_cv_complocaledir.
22121 * configure.ac: Use libc_cv_complocaledir.
22122 * configure: Regenerate.
22123 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
22124 -DCOMPLOCALEDIR.
22125 * locale/findlocale.c: Use COMPLOCALEDIR.
22126 * locale/loadarchive.c: Likewise.
22127 * locale/programs/locale.c: Likewise.
22128 * locale/programs/localedef.c: Likewise.
22129 * locale/programs/locarchive.c: Likewise.
22130 * localedata/Makefile: Use inst_complocaledir.
22131 * sysdeps/gnu/configure: Regenerate.
22132 * sysdeps/hppa/configure: Regenerate.
22133 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22134 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22136 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22137 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22138 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22139 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22140
22141 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
22142
22143 [BZ #19058]
22144 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
22145 AS_NEEDED.
22146 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
22147 workaround.
22148 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
22149 libmvec-static-only-routines): Added new file.
22150 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
22151
22152 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
22153
22154 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
22155 of interrupted RPC instead of restoring it.
22156
22157 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
22158 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
22159 libc_hidden_def.
22160 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
22161 into initialized data instead of common. Define rtld_hidden_data_def.
22162 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
22163 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
22164 libc_hidden_def.
22165 (if_freenameindex): Add libc_hidden_weak.
22166 (if_nameindex): Add libc_hidden_weak.
22167 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
22168 __open64.
22169 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
22170 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
22171 * sysdeps/mach/nanosleep.c: Include <time.h>
22172 (__nanosleep): Rename to __libc_nanosleep.
22173 (__nanosleep): Add weak_alias.
22174 (nanosleep): Update alias.
22175
22176 2015-11-24 Joseph Myers <joseph@codesourcery.com>
22177
22178 * stdlib/strtod_nan.c: New file.
22179 * stdlib/strtod_nan_double.h: Likewise.
22180 * stdlib/strtod_nan_float.h: Likewise.
22181 * stdlib/strtod_nan_main.c: Likewise.
22182 * stdlib/strtod_nan_narrow.h: Likewise.
22183 * stdlib/strtod_nan_wide.h: Likewise.
22184 * stdlib/strtof_nan.c: Likewise.
22185 * stdlib/strtold_nan.c: Likewise.
22186 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
22187 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
22188 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
22189 * wcsmbs/wcstod_nan.c: Likewise.
22190 * wcsmbs/wcstof_nan.c: Likewise.
22191 * wcsmbs/wcstold_nan.c: Likewise.
22192 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
22193 strtold_nan.
22194 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
22195 wcstof_nan.
22196 * include/stdlib.h (__strtof_nan): Declare and use
22197 libc_hidden_proto.
22198 (__strtod_nan): Likewise.
22199 (__strtold_nan): Likewise.
22200 (__wcstof_nan): Likewise.
22201 (__wcstod_nan): Likewise.
22202 (__wcstold_nan): Likewise.
22203 * include/wchar.h (____wcstoull_l_internal): Declare.
22204 * stdlib/strtod_l.c: Do not include <ieee754.h>.
22205 (____strtoull_l_internal): Remove declaration.
22206 (STRTOF_NAN): Define macro.
22207 (SET_MANTISSA): Remove macro.
22208 (STRTOULL): Likewise.
22209 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
22210 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
22211 (STRTOF_NAN): Define macro.
22212 (SET_MANTISSA): Remove macro.
22213 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
22214 (SET_MANTISSA): Remove macro.
22215 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
22216 macro.
22217 (SET_MANTISSA): Remove macro.
22218 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
22219 macro.
22220 (SET_MANTISSA): Remove macro.
22221 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
22222 (SET_MANTISSA): Remove macro.
22223 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
22224 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
22225 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
22226
22227 [BZ #19266]
22228 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
22229 upper case and lower case letters inside NAN(), not using TOLOWER.
22230 * stdlib/tst-strtod-nan-locale-main.c: New file.
22231 * stdlib/tst-strtod-nan-locale.c: Likewise.
22232 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
22233 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
22234 Depend on $(gen-locales).
22235 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
22236 * wcsmbs/tst-wcstod-nan-locale.c: New file.
22237 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
22238 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
22239 Depend on $(gen-locales).
22240 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
22241
22242 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
22243
22244 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
22245
22246 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
22247 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
22248 __finitel, __isinfl, and __isnanl.
22249 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22250 Likewise.
22251 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22252 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
22253 __finitel.
22254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22255 Likewise.
22256 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22257
22258 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
22259
22260 * malloc/memusage.c (me): Remove redundant getenv call.
22261
22262 2015-10-24 Florian Weimer <fweimer@redhat.com>
22263
22264 [BZ #19143]
22265 [BZ #19164]
22266 * nptl/check-cpuset.h: Remove.
22267 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
22268 Remove CPU set size check.
22269 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
22270 Likewise.
22271 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
22272 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22273 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
22274 (__pthread_setaffinity_new): Remove CPU set size check.
22275 * sysdeps/unix/sysv/linux/sched_setaffinity.c
22276 (__kernel_cpumask_size): Remove.
22277 (__sched_setaffinity_new): Remove CPU set size check.
22278 * manual/threads.texi (Default Thread Attributes): Remove stale
22279 reference to check_cpuset_attr, determine_cpumask_size in comment.
22280 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
22281 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
22282 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
22283 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
22284 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
22285 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
22286 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
22287 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
22288 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
22289 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
22290 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
22291 skeleton test file.
22292 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
22293 tst-affinity-pid.
22294
22295 2015-11-24 Florian Weimer <fweimer@redhat.com>
22296
22297 * scripts/update-abilist.sh: New file.
22298 * Makefile (+subdir_targets): Add subdir_update-all-abi.
22299 * Makerules (update-all-abi-%, update-all-abi)
22300 (subdir_update-all-abi): New targets.
22301 * elf/Makefile (update-all-abi): New target.
22302
22303 2015-11-24 Florian Weimer <fweimer@redhat.com>
22304
22305 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
22306 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
22307 (__libc_lock_define_initialized): Use it.
22308 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
22309 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
22310 * malloc/malloc.c (main_arena): Likewise.
22311 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
22312 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
22313
22314 2015-11-23 Joseph Myers <joseph@codesourcery.com>
22315
22316 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
22317 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
22318 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
22319 (PTRACE_O_MASK): Update value.
22320 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
22321 New value in enum __ptrace_setoptions.
22322 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
22323 (PTRACE_O_MASK): Update value.
22324 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
22325 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
22326 (PTRACE_O_MASK): Update value.
22327 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
22328 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
22329 (PTRACE_O_MASK): Update value.
22330 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
22331 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
22332 (PTRACE_O_MASK): Update value.
22333 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
22334 New value in enum __ptrace_setoptions.
22335 (PTRACE_O_MASK): Update value.
22336 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
22337 New value in enum __ptrace_setoptions.
22338 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
22339 (PTRACE_O_MASK): Update value.
22340
22341 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
22342 New macro.
22343 (PACKET_AUXDATA): Likewise.
22344 (PACKET_ORIGDEV): Likewise.
22345 (PACKET_VERSION): Likewise.
22346 (PACKET_HDRLEN): Likewise.
22347 (PACKET_RESERVE): Likewise.
22348 (PACKET_TX_RING): Likewise.
22349 (PACKET_LOSS): Likewise.
22350 (PACKET_VNET_HDR): Likewise.
22351 (PACKET_TX_TIMESTAMP): Likewise.
22352 (PACKET_TIMESTAMP): Likewise.
22353 (PACKET_FANOUT): Likewise.
22354 (PACKET_TX_HAS_OFF): Likewise.
22355 (PACKET_QDISC_BYPASS): Likewise.
22356 (PACKET_ROLLOVER_STATS): Likewise.
22357 (PACKET_FANOUT_DATA): Likewise.
22358 (PACKET_MR_UNICAST): Likewise.
22359
22360 [BZ #19242]
22361 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
22362 (TOUPPER): Likewise.
22363 * stdlib/tst-strtol-locale-main.c: New file.
22364 * stdlib/tst-strtol-locale.c: Likewise.
22365 * stdlib/Makefile (tests): Add tst-strtol-locale.
22366 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
22367 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
22368 Depend on $(gen-locales).
22369 * wcsmbs/tst-wcstol-locale.c: New file.
22370 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
22371 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
22372 tr_TR.ISO-8859-9.
22373 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
22374 Depend on $(gen-locales).
22375
22376 2015-11-20 Roland McGrath <roland@hack.frob.com>
22377
22378 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
22379 __glibc_likely instead of __builtin_expect. After falling back to
22380 dyncode_create in a non-ET_DYN case, use the allocate_code_data
22381 system interface to register the code pages as occupied.
22382
22383 2015-11-20 Joseph Myers <joseph@codesourcery.com>
22384
22385 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22386 [!ARM_MATH_PRIVATE_H].
22387 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
22388 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22389 [!HPPA_MATH_PRIVATE_H].
22390 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
22391 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
22392 to [!I386_MATH_PRIVATE_H].
22393 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
22394 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
22395 Change guard to [!M68K_MATH_PRIVATE_H].
22396 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
22397 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
22398 guard to [!MICROBLAZE_MATH_PRIVATE_H].
22399 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
22400 macro.
22401 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22402 [!MIPS_MATH_PRIVATE_H].
22403 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
22404 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22405 [!NIO2_MATH_PRIVATE_H].
22406 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
22407 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22408 [!TILE_MATH_PRIVATE_H].
22409 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
22410
22411 [BZ #15421]
22412 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
22413 initialize with 0 and define as weak alias of __signgam.
22414 * include/math.h [!_ISOMAC] (__signgam): Declare.
22415 * math/Makefile (libm-calls): Add w_lgamma_compat.
22416 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
22417 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
22418 test-signgam-ullong-init.
22419 (tests-static): Add test-signgam-uchar-static,
22420 test-signgam-uchar-init-static, test-signgam-uint-static,
22421 test-signgam-uint-init-static, test-signgam-ullong-static and
22422 test-signgam-ullong-init-static.
22423 (CFLAGS-test-signgam-uchar.c): New variable.
22424 (CFLAGS-test-signgam-uchar-init.c): Likewise.
22425 (CFLAGS-test-signgam-uchar-static.c): Likewise.
22426 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
22427 (CFLAGS-test-signgam-uint.c): Likewise.
22428 (CFLAGS-test-signgam-uint-init.c): Likewise.
22429 (CFLAGS-test-signgam-uint-static.c): Likewise.
22430 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
22431 (CFLAGS-test-signgam-ullong.c): Likewise.
22432 (CFLAGS-test-signgam-ullong-init.c): Likewise.
22433 (CFLAGS-test-signgam-ullong-static.c): Likewise.
22434 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
22435 * math/Versions (libm): Add GLIBC_2.23.
22436 * math/lgamma-compat.h: New file.
22437 * math/test-signgam-main.c: Likewise.
22438 * math/test-signgam-uchar-init-static.c: Likewise.
22439 * math/test-signgam-uchar-init.c: Likewise.
22440 * math/test-signgam-uchar-static.c: Likewise.
22441 * math/test-signgam-uchar.c: Likewise.
22442 * math/test-signgam-uint-init-static.c: Likewise.
22443 * math/test-signgam-uint-init.c: Likewise.
22444 * math/test-signgam-uint-static.c: Likewise.
22445 * math/test-signgam-uint.c: Likewise.
22446 * math/test-signgam-ullong-init-static.c: Likewise.
22447 * math/test-signgam-ullong-init.c: Likewise.
22448 * math/test-signgam-ullong-static.c: Likewise.
22449 * math/test-signgam-ullong.c: Likewise.
22450 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
22451 wrapper of w_lgamma_main.c.
22452 * math/w_lgamma_compat.c: New file.
22453 * math/w_lgamma_compatf.c: Likewise.
22454 * math/w_lgamma_compatl.c: Likewise.
22455 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
22456 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
22457 defining compatibility symbols.
22458 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
22459 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
22460 wrapper of w_lgammaf_main.c.
22461 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
22462 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
22463 defining compatibility symbols.
22464 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
22465 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
22466 wrapper of w_lgammal_main.c.
22467 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
22468 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
22469 defining compatibility symbols.
22470 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
22471 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
22472 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
22473 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
22474 <lgamma-compat.h>.
22475 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
22476 (__ieee754_gamma): Define as alias.
22477 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
22478 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
22479 <lgamma-compat.h>.
22480 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
22481 (__ieee754_gammaf): Define as alias.
22482 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
22483 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
22484 <lgamma-compat.h>.
22485 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
22486 (__ieee754_gammal): Define as alias.
22487 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
22488 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
22489 <math/w_lgamma_compat.c>.
22490 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
22491 Define as alias of __lgamma_compat and use in defining lgammal.
22492 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
22493 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
22494 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
22495 (USE_AS_COMPAT): New macro.
22496 (LGAMMA_OLD_VER): Undefine and redefine.
22497 (lgammal): Do not define here.
22498 (gammal): Only define here if [GAMMA_ALIAS].
22499 * conform/linknamespace.pl (@whitelist): Remove signgam.
22500 * sysdeps/nacl/libm.abilist: Update.
22501 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22502 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22503 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22504 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22505 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22506 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22507 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22508 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22509 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22510 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22511 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22512 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22514 Likewise.
22515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22516 Likewise.
22517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22518 Likewise.
22519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22520 Likewise.
22521 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22522 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22523 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22524 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22525 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22527 Likewise.
22528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22529 Likewise.
22530 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22531 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22532 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22533
22534 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22535
22536 [BZ #16364]
22537 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
22538 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
22539
22540 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
22541
22542 * sysdeps/s390/fpu/bits/mathinline.h:
22543 Use __asm__ [__volatile__] instead of asm [volatile].
22544 * sysdeps/s390/abort-instr.h: Likewise.
22545 * sysdeps/s390/atomic-machine.h: Likewise.
22546 * sysdeps/s390/bits/string.h: Likewise.
22547 * sysdeps/s390/dl-tls.h: Likewise.
22548 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22549 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22550 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22551 * sysdeps/s390/fpu/fesetround.c: Likewise.
22552 * sysdeps/s390/fpu/fpu_control.h: Likewise.
22553 * sysdeps/s390/fpu/s_fma.c: Likewise.
22554 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
22555 * sysdeps/s390/memusage.h: Likewise.
22556 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
22557 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
22558 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
22559 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
22560 * sysdeps/s390/nptl/tls.h: Likewise.
22561 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
22562 * sysdeps/s390/s390-32/backtrace.c: Likewise.
22563 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22564 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
22565 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22566 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22567 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
22568 * sysdeps/s390/s390-64/backtrace.c: Likewise.
22569 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22570 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
22571 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
22572 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22573 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22574 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
22575 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22576 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22577 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
22578 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
22579 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
22580 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22581 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
22582 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22583 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
22584
22585 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22586 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22587
22588 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
22589 Add lwarx hint, and use macro for acquire instruction.
22590 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22591 Likewise.
22592 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
22593 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
22594 update to use new atomic macros.
22595
22596 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22597
22598 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
22599 (__lll_trylock_elision): Fix setting of adapt_count.
22600 * sysdeps/unix/sysv/linux/powerpc/htm.h
22601 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
22602 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
22603 (_ABORT_SYSCALL): Renumber, and clarify definition.
22604 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
22605
22606 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22607
22608 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
22609 after system headers to prevent MIN/MAX redefinition. Define
22610 HAVE_ALLOCA to preserve builtin alloca usage.
22611
22612 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
22613
22614 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
22615 static and don't set or restore rounding.
22616 (__cos)[IN_SINCOS]: Likewise.
22617 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
22618 (__sincos): Set and restore rounding mode. Remove check for infinite
22619 or NaN input.
22620
22621 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
22622
22623 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
22624 as used.
22625
22626 2015-11-16 Florian Weimer <fweimer@redhat.com>
22627
22628 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
22629
22630 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
22631
22632 * config.make.in (have-glob-dat-reloc): New.
22633 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
22634 target supports GLOB_DAT relocaton. AC_SUBST.
22635 * configure: Regenerated.
22636 * elf/Makefile (tests): Add tst-prelink.
22637 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
22638 (tst-prelink-ENV): New.
22639 ($(objpfx)tst-prelink-conflict.out): Likewise.
22640 ($(objpfx)tst-prelink-cmp.out): Likewise.
22641 * sysdeps/x86/tst-prelink.c: Moved to ...
22642 * elf/tst-prelink.c: Here.
22643 * sysdeps/x86/tst-prelink.exp: Moved to ...
22644 * elf/tst-prelink.exp: Here.
22645 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
22646 (tst-prelink-ENV): Removed.
22647 ($(objpfx)tst-prelink-conflict.out): Likewise.
22648 ($(objpfx)tst-prelink-cmp.out): Likewise.
22649 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
22650
22651 2015-11-13 Joseph Myers <joseph@codesourcery.com>
22652
22653 [BZ #14551]
22654 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
22655 (__mpn_construct_long_double): If high part overflows to infinity,
22656 set errno and recompute overflowed result of the correct sign.
22657 * sysdeps/ieee754/ldbl-128ibm/Makefile
22658 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
22659 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
22660 $(libm).
22661 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
22662
22663 2015-11-12 Joseph Myers <joseph@codesourcery.com>
22664
22665 [BZ #15479]
22666 [BZ #19238]
22667 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
22668 floating-point state after first operation on input. Restore full
22669 state rather than just rounding mode.
22670 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
22671 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
22672 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
22673
22674 [BZ #19235]
22675 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
22676 add 0.5 to integer arguments.
22677 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
22678 Likewise.
22679 (.LC2): New object.
22680
22681 2015-11-11 Mike Frysinger <vapier@gentoo.org>
22682
22683 * scripts/pylintrc (reports): Set to no.
22684
22685 2015-11-10 Roland McGrath <roland@hack.frob.com>
22686
22687 * elf/dl-load.c (open_verify): Take new argument FD.
22688 Skip __open call if passed FD is not -1.
22689 (_dl_map_object, open_path): Update callers.
22690 * elf/dl-sysdep-open.h: New file.
22691 * elf/dl-load.c: Include it.
22692 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
22693 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
22694 * sysdeps/nacl/dl-sysdep-open.h: New file.
22695 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
22696 from libc to rtld.
22697
22698 2015-11-10 Joseph Myers <joseph@codesourcery.com>
22699
22700 [BZ #19228]
22701 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
22702 and restore full floating-point state.
22703 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
22704 Likewise.
22705 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
22706 Likewise.
22707 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
22708 Likewise.
22709 * math/test-nearbyint-except-2.c: New file.
22710 * math/Makefile (tests): Add test-nearbyint-except-2.
22711
22712 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
22713
22714 [BZ #19178]
22715 * sysdeps/x86/Makefile (tests): Add tst-prelink.
22716 (tst-prelink-ENV): New.
22717 ($(objpfx)tst-prelink-conflict.out): Likewise.
22718 ($(objpfx)tst-prelink-cmp.out): Likewise.
22719 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
22720 * sysdeps/x86/tst-prelink.c: New file.
22721 * sysdeps/x86/tst-prelink.exp: Likewise.
22722
22723 2015-11-10 Joseph Myers <joseph@codesourcery.com>
22724
22725 * math/auto-libm-test-in: Add another test of pow.
22726 * math/auto-libm-test-out: Regenerated.
22727 * math/libm-test.inc (pow_test_data): Add another test.
22728
22729 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22730
22731 [BZ #19219]
22732 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
22733 weak_alias to nearbyintl.
22734
22735 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
22736
22737 * sysdeps/aarch64/bits/string.h: New file.
22738 (_STRING_ARCH_unaligned): Define.
22739
22740 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
22741
22742 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
22743 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
22744 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
22745 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
22746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
22747
22748 2015-11-09 Ulrich Drepper <drepper@gmail.com>
22749
22750 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
22751 for original name of the DSO. Add it to the name list of the DSO
22752 if it is actually given.
22753 (_dl_map_object): Keep track of whether an audit module rewrote
22754 the file name. If yes, pass the original name to
22755 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
22756 debugging is enabled, log the change of the file name.
22757 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
22758 _dl_map_object_from_fd.
22759 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
22760 * elf/tst-audit11.c: New file
22761 * elf/tst-auditmod11.c: New file.
22762 * elf/tst-audit11mod1.c: New file.
22763 * elf/tst-audit11mod2.c: New file.
22764 * elf/tst-audit11mod2.map: New file.
22765 * elf/tst-audit12.c: New file
22766 * elf/tst-auditmod12.c: New file.
22767 * elf/tst-audit12mod1.c: New file.
22768 * elf/tst-audit12mod2.c: New file.
22769 * elf/tst-audit12mod2.map: New file.
22770 * elf/tst-audit12mod3.c: New file.
22771
22772 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
22773
22774 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
22775 Don't create weak aliases,
22776 because versioned symbols are created later.
22777 * sysdeps/s390/s390-32/setjmp.S
22778 (setjmp, _setjmp): Remove weak and rename to an unique name
22779 in SHARED case due to existing versioned symbols.
22780 * sysdeps/s390/s390-64/setjmp.S: Likewise.
22781 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
22782 (getcontext): Create weak alias only in non SHARED case.
22783 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22784
22785 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
22786
22787 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
22788 (__ASSUME_*_SYSCALL) Define new macros.
22789 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
22790 Remove socketcall syscalls.
22791 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
22792 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
22793 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
22794 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
22795 * sysdeps/unix/sysv/linux/send.c (__libc_send):
22796 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
22797
22798 2015-11-09 Florian Weimer <fweimer@redhat.com>
22799
22800 [BZ #12926]
22801 Terminate process on invalid netlink response.
22802 * sysdeps/unix/sysv/linux/netlinkaccess.h
22803 (__netlink_assert_response): Declare.
22804 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
22805 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
22806 (sysdep_routines): Add netlink_assert_response.
22807 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
22808 __netlink_assert_response.
22809 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
22810 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
22811 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
22812 __netlink_assert_response.
22813
22814 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
22815
22816 [BZ #19178]
22817 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
22818 (RTYPE_CLASS_PLT): Likewise.
22819 (RTYPE_CLASS_COPY): Likewise.
22820 (RTYPE_CLASS_TLS): Likewise.
22821 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
22822 to set relocation type class for DL_DEBUG_PRELINK. Keep only
22823 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
22824 DL_DEBUG_PRELINK.
22825
22826 2015-11-06 Joseph Myers <joseph@codesourcery.com>
22827
22828 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
22829 calls with argument -0.5.
22830 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
22831
22832 * configure.ac (libc_cv_z_nodelete): Remove configure test.
22833 (libc_cv_z_nodlopen): Likewise.
22834 (libc_cv_z_initfirst): Likewise.
22835 * configure: Regenerated.
22836
22837 2015-11-06 Florian Weimer <fweimer@redhat.com>
22838
22839 Simplify abilist format to be line-based.
22840 * scripts/abilist.awk: Collect descriptors in the descs variable.
22841 (emit): Write descs variable and sort it
22842 externally, with sort.
22843 * sysdeps/**/*.abilist: Convert to new format.
22844
22845 2015-11-06 Mark Wielaard <mjw@redhat.com>
22846
22847 [BZ #11460]
22848 * io/Makefile (routines): Add fts64.
22849 (tests): Add tst-fts and tst-fts-lfs.
22850 (CFLAGS-fts64.c): New.
22851 * io/Versions (GLIBC_2.23): New.
22852 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
22853 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
22854 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
22855 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
22856 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
22857 (FTSENT64): Likewise.
22858 (fts64_children): Likewise.
22859 (fts64_close): Likewise.
22860 (fts64_open): Likewise.
22861 (fts64_read): Likewise.
22862 (fts64_set): Likewise.
22863 * io/fts64.c: New file.
22864 * io/tst-fts.c: New test.
22865 * io/tst-fts-lfs.c: Likewise.
22866 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
22867 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
22868 fts64_set.
22869 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22870 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22871 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22872 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22873 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22874 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22875 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22876 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22877 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22878 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
22879 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22880 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22881 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22883 Likewise.
22884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22885 Likewise.
22886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
22887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
22888 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22889 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22890 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22891 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22892 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
22894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
22895 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22896 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22897 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22898 * sysdeps/wordsize-64/fts.c: New file.
22899 * sysdeps/wordsize-64/fts64.c: Likewise.
22900 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
22901 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
22902 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
22903 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
22904
22905 2015-11-05 Joseph Myers <joseph@codesourcery.com>
22906
22907 * math/libm-test.inc (NON_FINITE): New macro.
22908 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
22909 * math/gen-libm-test.pl (show_exceptions): Add argument
22910 $non_finite.
22911 (parse_args): Update call to show_exceptions.
22912 * math/test-math-finite.h: New file.
22913 * math/test-math-no-finite.h: Likewise.
22914 * math/test-double-finite.c: Likewise.
22915 * math/test-float-finite.c: Likewise.
22916 * math/test-ldouble-finite.c: Likewise.
22917 * math/test-double.c: Include "test-math-no-finite.h".
22918 * math/test-float.c: Include "test-math-no-finite.h".
22919 * math/test-ldouble.c: Include "test-math-no-finite.h".
22920 * math/test-math-inline.h (TEST_FINITE): New macro.
22921 * math/test-math-vector.h (TEST_FINITE): Likewise.
22922 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
22923 (libm-tests): Add test-float-finite and test-double-finite.
22924 ($(objpfx)test-float-finite.o): New dependency on
22925 $(objpfx)libm-test.stmp.
22926 ($(objpfx)test-double-finite.o): Likewise.
22927 ($(objpfx)test-ldouble-finite.o): Likewise.
22928 (libm-test-no-inline-cflags): New variable.
22929 (libm-test-finite-cflags): Likewise.
22930 (CFLAGS-test-float-finite.c): Likewise.
22931 (CFLAGS-test-double-finite.c): Likewise.
22932 (CFLAGS-test-ldouble-finite.c): Likewise.
22933 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
22934 (CFLAGS-test-double.c): Likewise.
22935 (CFLAGS-test-ldouble.c): Likewise.
22936
22937 2015-11-05 Roland McGrath <roland@hack.frob.com>
22938
22939 * io/fcntl.c (__fcntl): Add ... to prototype.
22940 * misc/ioctl.c (__ioctl): Likewise.
22941 * misc/syscall.c (syscall): Likewise.
22942
22943 2015-11-05 Joseph Myers <joseph@codesourcery.com>
22944
22945 * scripts/list-fixed-bugs.py: New file.
22946
22947 [BZ #19213]
22948 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
22949 returned for argument 1.
22950 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
22951 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
22952 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
22953 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
22954 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
22955 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
22956
22957 [BZ #19211]
22958 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
22959 __USE_XOPEN], not if [!__USE_ISOC99].
22960 (lgammaf): Likewise.
22961 (lgammal): Likewise.
22962 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
22963 (gammaf): Likewise.
22964 (gammal): Likewise.
22965 * math/test-signgam-finite-c11.c: New file.
22966 * math/test-signgam-finite-c99.c: Likewise.
22967 * math/test-signgam-finite.c: Likewise.
22968 * math/Makefile (tests): Add test-signgam-finite,
22969 test-signgam-finite-c99 and test-signgam-finite-c11.
22970 (CFLAGS-test-signgam-finite.c): New variable.
22971 (CFLAGS-test-signgam-finite-c99.c): Likewise.
22972 (CFLAGS-test-signgam-finite-c11.c): Likewise.
22973
22974 [BZ #19212]
22975 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
22976 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
22977 500].
22978 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
22979 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
22980 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
22981 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
22982 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
22983 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
22984 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
22985 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
22986 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
22987 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
22988
22989 [BZ #19209]
22990 * math/bits/math-finite.h (ldexp): Remove declaration.
22991 (ldexpf): Likewise.
22992 (ldexpl): Likewise.
22993
22994 [BZ #19205]
22995 * math/bits/math-finite.h (acosf): Condition declaration on
22996 [__USE_ISOC99].
22997 (acosl): Likewise.
22998 (acoshf): Likewise.
22999 (acoshl): Likewise.
23000 (asinf): Likewise.
23001 (asinl): Likewise.
23002 (atan2f): Likewise.
23003 (atan2l): Likewise.
23004 (atanhf): Likewise.
23005 (atanhl): Likewise.
23006 (coshf): Likewise.
23007 (coshl): Likewise.
23008 (expf): Likewise.
23009 (expl): Likewise.
23010 (fmodf): Likewise.
23011 (fmodl): Likewise.
23012 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
23013 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
23014 (j0l): Likewise.
23015 (y0f): Likewise.
23016 (y0l): Likewise.
23017 (j1f): Likewise.
23018 (j1l): Likewise.
23019 (y1f): Likewise.
23020 (y1l): Likewise.
23021 (jnf): Likewise.
23022 (jnl): Likewise.
23023 (ynf): Likewise.
23024 (ynl): Likewise.
23025 (lgammaf_r): Condition declaration on [__USE_ISOC99].
23026 (lgammal_r): Likewise.
23027 (__lgamma_r_finite): New declaration.
23028 (__lgammaf_r_finite): Likewise.
23029 (__lgammal_r_finite): Likewise.
23030 (lgamma): Use __lgamma_r_finite.
23031 (lgammaf): Condition definition on [__USE_ISOC99]. Use
23032 __lgammaf_r_finite.
23033 (lgammal): Condition definition on [__USE_ISOC99]. Use
23034 __lgammal_r_finite.
23035 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
23036 __lgamma_r_finite.
23037 (gammaf): Condition definition on [__USE_ISOC99]. Use
23038 __lgammaf_r_finite.
23039 (gammal): Condition definition on [__USE_ISOC99]. Use
23040 __lgammal_r_finite.
23041 (logf): Condition declaration on [__USE_ISOC99].
23042 (logl): Likewise.
23043 (log10f): Likewise.
23044 (log10l): Likewise.
23045 (ldexpf): Likewise.
23046 (ldexpl): Likewise.
23047 (powf): Likewise.
23048 (powl): Likewise.
23049 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
23050 __USE_ISOC99].
23051 (remainderf): Condition declaration on [__USE_ISOC99].
23052 (remainderl): Likewise.
23053 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
23054 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
23055 (scalbl): Likewise.
23056 (sinhf): Condition declaration on [__USE_ISOC99].
23057 (sinhl): Likewise.
23058 (sqrtf): Likewise.
23059 (sqrtl): Likewise.
23060
23061 2015-11-04 Joseph Myers <joseph@codesourcery.com>
23062
23063 * sysdeps/arm/atomic-machine.h
23064 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
23065 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
23066 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
23067 Remove conditional code.
23068 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
23069 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
23070 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
23071 Change conditional to [__ASSEMBLER__].
23072 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
23073 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
23074 [!__ASSEMBLER__].
23075 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
23076 code.
23077 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
23078 conditional macro definitions.
23079 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
23080 (__arch_compare_and_exchange_val_16_acq): Likewise.
23081 (__arch_compare_and_exchange_val_32_acq): Likewise.
23082 (atomic_exchange_and_add): Likewise.
23083 (atomic_add): Likewise.
23084 (atomic_add_negative): Likewise.
23085 (atomic_add_zero): Likewise.
23086 (atomic_bit_set): Likewise.
23087 (atomic_bit_test_set): Likewise.
23088 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
23089 code unconditional.
23090 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23091
23092 * math/test-math-errno.h: New file.
23093 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
23094 empty.
23095 (TEST_ERRNO): New macro.
23096 (TEST_EXCEPTIONS): Likewise.
23097 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
23098 (TEST_EXCEPTIONS): Likewise.
23099 * math/test-math-vector.h (TEST_ERRNO): Likewise.
23100 * math/test-double.c: Include "test-math-errno.h".
23101 * math/test-float.c: Likewise.
23102 * math/test-ldouble.c: Likewise.
23103 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
23104 code unconditional.
23105 (test_exceptions): Only run code if TEST_EXCEPTIONS.
23106 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
23107 unconditional.
23108 (test_errno): Only run code if TEST_ERRNO.
23109 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
23110
23111 2015-11-04 Florian Weimer <fweimer@redhat.com>
23112
23113 * nptl/tst-once5.cc: Remove attribution.
23114
23115 2015-11-04 Joseph Myers <joseph@codesourcery.com>
23116
23117 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
23118 sqrt, tan, tanh, y0, y1 and yn.
23119 * math/auto-libm-test-out: Regenerated.
23120 * math/libm-test.inc (scalb_test_data): Add more tests.
23121 (scalbn_test_data): Likewise.
23122 (scalbln_test_data): Likewise.
23123 (signbit_test_data): Likewise.
23124 (sin_test_data): Likewise.
23125 (sincos_test_data): Likewise.
23126 (sinh_test_data): Likewise.
23127 (sqrt_test_data): Likewise.
23128 (tan_test_data): Likewise.
23129 (tanh_test_data): Likewise.
23130 (tgamma_test_data): Likewise.
23131 (y0_test_data): Likewise.
23132 (y1_test_data): Likewise.
23133 (yn_test_data): Likewise.
23134 (significand_test_data): Likewise.
23135 * sysdeps/i386/fpu/libm-test-ulps: Update.
23136
23137 2015-11-03 David Kastrup <dak@gnu.org>
23138
23139 [BZ #18604]
23140 * assert/assert.h (assert): Don't macro-expand failed assertion
23141 expression in error message.
23142 * malloc/malloc.c (assert): Likewise.
23143
23144 2015-11-03 Joseph Myers <joseph@codesourcery.com>
23145
23146 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
23147 test.
23148 * configure: Regenerated.
23149
23150 2015-11-02 Joseph Myers <joseph@codesourcery.com>
23151
23152 * math/libm-test.inc (modf_test_data): Add more tests.
23153 (nearbyint_test_data): Likewise.
23154 (nextafter_test_data): Likewise.
23155 (nexttoward_test_data): Likewise.
23156 (pow_test_data): Likewise.
23157 (remainder_test_data): Likewise.
23158 (remquo_test_data): Likewise.
23159 (rint_test_data): Likewise.
23160
23161 [BZ #19201]
23162 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23163 Check for zero remainder in case of large exponents and ensure
23164 correct sign of result in that case.
23165 * math/libm-test.inc (remainder_test_data): Add more tests.
23166
23167 [BZ #6799]
23168 * math/s_nextafter.c: Include <errno.h>.
23169 (__nextafter): Set errno on overflow and underflow.
23170 * math/s_nexttowardf.c: Include <errno.h>.
23171 (__nexttowardf): Set errno on overflow and underflow.
23172 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
23173 (__nextafterl): Set errno on overflow and underflow.
23174 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
23175 (__nexttoward): Set errno on overflow and underflow.
23176 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
23177 (__nexttowardf): Set errno on overflow and underflow.
23178 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
23179 (__nextafterf): Set errno on overflow and underflow.
23180 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
23181 (__nextafterl): Set errno on overflow and underflow.
23182 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
23183 (__nexttoward): Set errno on overflow and underflow.
23184 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
23185 (__nexttowardf): Set errno on overflow and underflow.
23186 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
23187 (__nextafterl): Set errno on overflow and underflow.
23188 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
23189 (__nexttoward): Set errno on overflow and underflow.
23190 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
23191 (__nexttowardf): Set errno on overflow and underflow.
23192 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
23193 (__nexttoward): Set errno on overflow and underflow.
23194 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
23195 (__nexttowardf): Set errno on overflow and underflow.
23196 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
23197 (__nldbl_nexttowardf): Set errno on overflow and underflow.
23198 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
23199 (__nextafterl): Set errno on overflow and underflow.
23200 * math/libm-test.inc (nextafter_test_data): Do not allow errno
23201 setting to be missing on overflow. Add more tests.
23202 (nexttoward_test_data): Likewise.
23203
23204 * configure.ac (libc_cv_initfini_array): Remove configure test.
23205 * configure: Regenerated.
23206
23207 2015-10-29 Joseph Myers <joseph@codesourcery.com>
23208
23209 [BZ #19189]
23210 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
23211 non-finite argument handle arguments with negative sign.
23212
23213 * math/libm-test.inc (j0_test_data): Do not test sign of zero
23214 result from infinite argument.
23215 (j1_test_data): Likewise.
23216 (jn_test_data): Likewise.
23217 (y0_test_data): Likewise.
23218 (y1_test_data): Likewise.
23219 (yn_test_data): Likewise.
23220
23221 [BZ #16171]
23222 * math/w_remainder.c (drem): Define as weak alias of __remainder.
23223 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
23224 * math/w_remainderf.c (dremf): Define as weak alias of
23225 __remainderf.
23226 * math/w_remainderl.c (dreml): Define as weak alias of
23227 __remainderl.
23228 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
23229 __remainder.
23230 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
23231 __remainderf.
23232 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
23233 __remainderl.
23234 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
23235 weak alias of remainderl.
23236 * sysdeps/ieee754/ldbl-opt/w_remainder.c
23237 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
23238 alias of __remainder.
23239 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
23240 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
23241 strong alias of __remainderl.
23242 (dreml): Use long_double_symbol.
23243 * math/Makefile (libm-calls): Remove w_drem.
23244 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
23245 (CFLAGS-nldbl-drem.c): Remove variable.
23246 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
23247 * math/w_drem.c: Remove file.
23248 * math/w_dremf.c: Likewise.
23249 * math/w_dreml.c: Likewise.
23250 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
23251 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
23252 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
23253
23254 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
23255 * sysdeps/i386/configure: Regenerated.
23256 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
23257 * sysdeps/x86_64/configure: Regenerated.
23258
23259 * configure.ac (libc_cv_asm_protected_directive): Remove configure
23260 test.
23261 (libc_cv_visibility_attribute): Likewise.
23262 (libc_cv_protected_data): Test unconditionally.
23263 (libc_cv_broken_visibility_attribute): Remove configure test.
23264 (libc_cv_have_sdata_section): Test unconditionally.
23265 * configure: Regenerated.
23266
23267 * include/libc-internal.h (libc_max_align_t): Remove typedef.
23268 * include/scratch_buffer.h: Include <stddef.h> instead of
23269 <libc-internal.h>.
23270 (struct scratch_buffer): Use max_align_t instead of
23271 libc_max_align_t.
23272
23273 2015-10-29 Florian Weimer <fweimer@redhat.com>
23274
23275 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
23276 instead of extend_alloca. Change control flow to avoid a goto.
23277 Remove assert which is trivially always true.
23278
23279 2015-10-28 Joseph Myers <joseph@codesourcery.com>
23280
23281 [BZ #16068]
23282 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
23283 (FE_ALL_EXCEPT_X86): New macro.
23284 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
23285 FE_ALL_EXCEPT. Ensure precision control is included in
23286 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
23287 handle "denormal operand exception" and clear FZ and DAZ bits.
23288 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
23289 (FE_ALL_EXCEPT_X86): New macro.
23290 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
23291 FE_ALL_EXCEPT. Ensure precision control is included in
23292 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
23293 handle "denormal operand exception" and clear FZ and DAZ bits.
23294 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
23295 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
23296 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
23297 test-fenv-x87 and test-fenv-sse-2.
23298 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
23299
23300 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
23301 * math/test-double.h (BUILD_COMPLEX): New macro.
23302 * math/test-float.h (BUILD_COMPLEX): Likewise.
23303 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
23304
23305 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
23306 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
23307 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
23308 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
23309 instead of DBL_DENORM_MIN in comment.
23310 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
23311 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
23312 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
23313 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
23314 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
23315 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
23316
23317 2015-10-28 Florian Weimer <fweimer@redhat.com>
23318
23319 [BZ #19048]
23320 * malloc/malloc.c (struct malloc_state): Update comment. Add
23321 attached_threads member.
23322 (main_arena): Initialize attached_threads.
23323 * malloc/arena.c (list_lock): Update comment.
23324 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
23325 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
23326 (deattach_arena): New function.
23327 (_int_new_arena): Initialize arena reference count and deattach
23328 replaced arena.
23329 (get_free_list, reused_arena): Update reference count and deattach
23330 replaced arena.
23331 (arena_thread_freeres): Update arena reference count and only put
23332 unreferenced arenas on the free list.
23333
23334 2015-10-28 Joseph Myers <joseph@codesourcery.com>
23335
23336 [BZ #19181]
23337 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
23338 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
23339 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
23340 * math/test-fenv-clear-main.c: New file.
23341 * math/test-fenv-clear.c: Likewise.
23342 * math/Makefile (tests): Add test-fenv-clear.
23343 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
23344 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
23345 test-fenv-clear-sse.
23346 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
23347
23348 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
23349 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
23350 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
23351
23352 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
23353
23354 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
23355 static libc.
23356
23357 2015-10-28 Joseph Myers <joseph@codesourcery.com>
23358
23359 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
23360 test.
23361 * sysdeps/i386/configure: Regenerated.
23362 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
23363 test.
23364 * sysdeps/x86_64/configure: Regenerated.
23365 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
23366 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23367 memset-avx2 unconditionally instead of conditionally on
23368 [$(config-cflags-avx2) = yes].
23369 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23370 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
23371 unconditional.
23372 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
23373 * sysdeps/x86_64/multiarch/memset_chk.S
23374 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
23375 to [IS_IN (libc) && SHARED].
23376
23377 2015-10-27 Joseph Myers <joseph@codesourcery.com>
23378
23379 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
23380 configure test.
23381 * sysdeps/arm/configure: Regenerated.
23382 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
23383 Define variable if not already defined.
23384
23385 [BZ #17404]
23386 * sysdeps/mips/atomic-machine.h
23387 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
23388 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
23389 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
23390
23391 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
23392 unconditional.
23393 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
23394 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23395 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
23396 unconditional.
23397 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23398 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
23399 unconditional.
23400 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23401 * stdlib/setenv.c
23402 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
23403 code unconditional.
23404 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
23405 Remove conditional code.
23406 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
23407 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
23408 unconditional.
23409 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
23410 code.
23411 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
23412 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
23413 unconditional.
23414 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
23415 code.
23416 * sysdeps/ieee754/ldbl-128/k_tanl.c
23417 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
23418 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23419 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
23420 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
23421 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23422 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
23423 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
23424 unconditional.
23425 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
23426 code.
23427 * sysdeps/ieee754/ldbl-96/k_tanl.c
23428 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
23429 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23430
23431 * nptl/tst-initializers1-c11.c: New file.
23432 * nptl/tst-initializers1-gnu11.c: Likewise.
23433 * nptl/Makefile (tests): Add these new tests.
23434 (CFLAGS-tst-initializers1-c11.c): New variable.
23435 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
23436
23437 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
23438 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
23439 instead of -std=gnu99.
23440 * configure.ac (systemtap): Test with -std=gnu11 instead of
23441 -std=gnu99.
23442 * configure: Regenerated.
23443 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
23444 in compilation command in comment.
23445
23446 * sysdeps/nptl/configure.ac: Remove file.
23447 * sysdeps/nptl/configure: Remove generated file.
23448 * configure.ac (libc_cv_forced_unwind): Do not substitute.
23449 * configure: Regenerated.
23450 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
23451 * config.make.in (have-forced-unwind): Remove variable.
23452 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
23453 unconditional.
23454 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
23455 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
23456 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
23457 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
23458 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
23459 unconditional.
23460
23461 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23462
23463 [BZ #19174]
23464 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
23465 .skip_lock_out_of_tbegin_retries.
23466 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23467 (__lll_lock_elision): Likewise, and respect a value of
23468 try_tbegin <= 0.
23469
23470 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
23471
23472 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
23473 statement.
23474
23475 2015-10-27 Joseph Myers <joseph@codesourcery.com>
23476
23477 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
23478 variable.
23479 (test-xfail-ISO11/stdalign.h/conform): Likewise.
23480 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23481
23482 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
23483 of -std=c1x -D_ISOC11_SOURCE.
23484
23485 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
23486 * configure: Regenerated.
23487 * manual/install.texi (Tools for Compilation): Document
23488 requirement for GCC 4.7 or later.
23489 * INSTALL: Regenerated.
23490
23491 2015-10-27 Ludovic Courtès <ludo@gnu.org>
23492
23493 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
23494 on CNT to a conditional jump to 'puntdata'.
23495
23496 2015-10-27 Joseph Myers <joseph@codesourcery.com>
23497
23498 * configure.ac (libc_cv_gcc___thread): Remove configure test.
23499 (libc_cv_gcc_tls_model_attr): Likewise.
23500 * configure: Regenerated.
23501
23502 * configure.ac (libc_cv_need_minus_P): Remove configure test.
23503 * configure: Regenerated.
23504 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
23505
23506 2015-10-26 Joseph Myers <joseph@codesourcery.com>
23507
23508 * configure.ac (old_glibc_headers): Remove configure test.
23509 * configure: Regenerated.
23510 * config.make.in (old-glibc-headers): Remove variable.
23511 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
23512 (install): Remove dependency on remove-old-headers.
23513 (headers2_0): Remove variable.
23514 (remove-old-headers): Remove rule.
23515
23516 * configure.ac (libc_cv_dot_text): Remove configure test.
23517 (libc_cv_asm_set_directive): Use .text instead of
23518 ${libc_cv_dot_text} in configure test.
23519 * configure: Regenerated.
23520
23521 2015-10-26 Florian Weimer <fweimer@redhat.com>
23522
23523 [BZ #19168]
23524 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23525
23526 2015-10-26 Florian Weimer <fweimer@redhat.com>
23527
23528 * configure.ac (CXX): Clear the variable if the C++ toolchain does
23529 not support static linking.
23530 * configure: Regenerate.
23531
23532 2015-10-23 Joseph Myers <joseph@codesourcery.com>
23533
23534 * math/libm-test.inc (check_float_internal): Do not special-case
23535 errors up to 0.5 ulp.
23536
23537 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
23538 log2.
23539 * math/auto-libm-test-out: Regenerated.
23540 * math/libm-test.inc (MAX_EXP): New macro.
23541 (ilogb_test_data): Add more tests.
23542 (isfinite_test_data): Likewise.
23543 (isgreater_test_data): Likewise.
23544 (isgreaterequal_test_data): Likewise.
23545 (isinf_test_data): Likewise.
23546 (isless_test_data): Likewise.
23547 (islessequal_test_data): Likewise.
23548 (islessgreater_test_data): Likewise.
23549 (isnan_test_data): Likewise.
23550 (isnormal_test_data): Likewise.
23551 (issignaling_test_data): Likewise.
23552 (isunordered_test_data): Likewise.
23553 (j0_test_data): Likewise.
23554 (j1_test_data): Likewise.
23555 (jn_test_data): Likewise.
23556 (lgamma_test_data): Likewise.
23557 (log_test_data): Likewise.
23558 (log10_test_data): Likewise.
23559 (log1p_test_data): Likewise.
23560 (log2_test_data): Likewise.
23561 (logb_test_data): Likewise.
23562 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23563
23564 [BZ #18611]
23565 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
23566 avoid excess range and precision on underflow.
23567 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23568 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
23569 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23570 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
23571 underflow.
23572 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23573 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23574 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
23575 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23576 * math/auto-libm-test-in: Do not allow missing errno setting for
23577 tests of j1 and jn.
23578 * math/auto-libm-test-out: Regenerated.
23579
23580 2015-10-22 Joseph Myers <joseph@codesourcery.com>
23581
23582 [BZ #15491]
23583 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
23584 floating-point environment instead of clearing all exceptions.
23585 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
23586 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
23587 merging in "invalid" exceptions from frndint.
23588 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
23589 * math/test-nearbyint-except.c: New file.
23590 * math/Makefile (tests): Add test-nearbyint-except.
23591
23592 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
23593
23594 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
23595
23596 * sysdeps/tile/libm-test-ulps: Regenerated.
23597
23598 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23599
23600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
23601 (__NR_sync_file_range2): Assume it is always defined.
23602 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
23603 (__NR_sync_file_range): Assume it is always defined.
23604
23605 2015-10-22 Andreas Schwab <schwab@suse.de>
23606
23607 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
23608 INTERNAL_SYSCALL_ERRNO.
23609 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23610 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
23611 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23612 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
23613 Likewise.
23614 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23615
23616 2015-10-21 Joseph Myers <joseph@codesourcery.com>
23617
23618 * io/tst-fcntl.c (fd): New static variable.
23619 (do_prepare): Open temporary file here....
23620 (do_test): ...not here.
23621
23622 * io/ftwtest-sh: Also trap on exit to remove temporary files.
23623
23624 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
23625
23626 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
23627 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
23628 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
23629 Moved before "#ifdef __ASSEMBLER__".
23630
23631 2015-10-21 Joseph Myers <joseph@codesourcery.com>
23632
23633 [BZ #19156]
23634 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
23635 arguments very close to 0.
23636
23637 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
23638
23639 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
23640 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
23641
23642 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
23643
23644 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
23645 New. Defined for GCC 5 and above when not compiling for
23646 profiling.
23647 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
23648
23649 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
23650 Renamed to ...
23651 (CFLAGS-epoll_pwait.o): This.
23652 (CFLAGS-mmap.c): Renamed to ...
23653 (CFLAGS-mmap.o): This.
23654 (CFLAGS-mmap64.c): Renamed to ...
23655 (CFLAGS-mmap64.o): This.
23656 (CFLAGS-epoll_pwait.os): New.
23657 (CFLAGS-mmap.os): Likewise.
23658 (CFLAGS-mmap64.os): Likewise.
23659 (CFLAGS-semtimedop.os): Likewise.
23660 (CFLAGS-semtimedop.c): Renamed to ...
23661 (CFLAGS-semtimedop.o): This.
23662
23663 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23664
23665 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
23666 warning message.
23667
23668 2015-10-21 Joseph Myers <joseph@codesourcery.com>
23669
23670 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
23671 * Makefile ($(objpfx)c++-types-check.out): Filter out
23672 $(+gccwarn-c) instead of -Wstrict-prototypes.
23673
23674 * io/fts.c (fts_open): Convert to prototype-style function
23675 definition.
23676 * malloc/mcheck.c (mcheck): Likewise.
23677 (mcheck_pedantic): Likewise.
23678 * posix/regexec.c (re_search_2_stub): Likewise. Use
23679 internal_function.
23680 (re_search_internal): Likewise.
23681 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
23682 prototype-style function definition.
23683 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
23684 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
23685 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
23686 (xdr_utmpptr): Likewise.
23687 (xdr_utmparr): Likewise.
23688 (xdr_utmpidle): Likewise.
23689 (xdr_utmpidleptr): Likewise.
23690 (xdr_utmpidlearr): Likewise.
23691
23692 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
23693 log, log10 and log2.
23694 * math/auto-libm-test-out: Regenerated.
23695 * math/libm-test.inc (fmod_test_data): Add more tests.
23696 (fpclassify_test_data): Likewise.
23697 (frexp_test_data): Likewise.
23698 (hypot_test_data): Likewise.
23699 (ilogb_test_data): Likewise.
23700
23701 2015-10-20 Joseph Myers <joseph@codesourcery.com>
23702
23703 * debug/fortify_fail.c (__fortify_fail): Convert to
23704 prototype-style function definition. Use internal_function.
23705 * libio/genops.c (save_for_backup): Convert to prototype-style
23706 function definition.
23707 * libio/wgenops.c (save_for_wbackup): Likewise.
23708 * login/grantpt.c (grantpt): Likewise.
23709 * login/ptsname.c (ptsname): Likewise.
23710 (__ptsname_r): Likewise.
23711 * login/unlockpt.c (unlockpt): Likewise.
23712 * mach/msgserver.c (__mach_msg_server): Likewise.
23713 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
23714 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
23715 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
23716 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
23717 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
23718 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
23719 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
23720 Likewise.
23721 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
23722 internal_function.
23723 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
23724 prototype-style function definition.
23725 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
23726 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
23727 (__pthread_create_2_0): Likewise.
23728 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
23729 * nptl/register-atfork.c (__register_atfork): Likewise.
23730 * posix/glob.c (glob): Likewise.
23731 * posix/regcomp.c (re_comp): Likewise.
23732 * posix/regexec.c (re_exec): Likewise.
23733 * stdlib/add_n.c [__STDC__]: Make code unconditional.
23734 [!__STDC__]: Remove conditional code.
23735 * stdlib/cmp.c [__STDC__]: Make code unconditional.
23736 [!__STDC__]: Remove conditional code.
23737 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
23738 [!__STDC__]: Remove conditional code.
23739 * stdlib/divrem.c [__STDC__]: Make code unconditional.
23740 [!__STDC__]: Remove conditional code.
23741 * stdlib/lshift.c [__STDC__]: Make code unconditional.
23742 [!__STDC__]: Remove conditional code.
23743 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
23744 [!__STDC__]: Remove conditional code.
23745 * stdlib/mul.c [__STDC__]: Make code unconditional.
23746 [!__STDC__]: Remove conditional code.
23747 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
23748 [!__STDC__]: Remove conditional code.
23749 * stdlib/rshift.c [__STDC__]: Make code unconditional.
23750 [!__STDC__]: Remove conditional code.
23751 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
23752 function definition.
23753 (STRTOF): Likewise.
23754 * stdlib/strtod_l.c (__STRTOF): Likewise.
23755 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
23756 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
23757 (__strtol_l): Likewise.
23758 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
23759 [!__STDC__]: Remove conditional code.
23760 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
23761 definition.
23762 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
23763 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23764 type.
23765 (__strcasecmp): Convert to prototype-style function definition.
23766 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
23767 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23768 type.
23769 (__strncasecmp): Convert to prototype-style function definition.
23770 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
23771 * sunrpc/xdr.c (xdr_union): Likewise.
23772 * sunrpc/xdr_array.c (xdr_array): Likewise.
23773 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
23774 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
23775 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
23776 Likewise.
23777 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
23778 Likewise.
23779 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
23780 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23781 Likewise.
23782 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
23783 (LOCALE_PARAM_PROTO): Likewise.
23784 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
23785 argument type.
23786 (ut_argument_spec): Remove macro.
23787 (ut_argument_spec_iso): Rename to ut_argument_spec.
23788 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
23789 prototype-style function definition.
23790 (memcpy_uppcase): Likewise.
23791 (__strftime_internal): Likewise.
23792 (my_strftime): Likewise.
23793 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
23794 (LOCALE_PARAM_DECL): Likewise.
23795 [_LIBC] (LOCALE_PARAM): Include argument type.
23796 (__strptime_internal): Convert to prototype-style function
23797 definition.
23798 (strptime): Likewise.
23799 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
23800 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23801 type.
23802 (__wcscasecmp): Convert to prototype-style function definition.
23803 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
23804 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23805 type.
23806 (__wcsncasecmp): Convert to prototype-style function definition.
23807
23808 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
23809 function definition.
23810 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23811 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23812 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
23813 * elf/dl-minimal.c (_itoa): Likewise.
23814 * hurd/hurdmalloc.c (malloc): Likewise.
23815 (free): Likewise.
23816 (realloc): Likewise.
23817 * inet/inet6_option.c (inet6_option_space): Likewise.
23818 (inet6_option_init): Likewise.
23819 (inet6_option_append): Likewise.
23820 (inet6_option_alloc): Likewise.
23821 (inet6_option_next): Likewise.
23822 (inet6_option_find): Likewise.
23823 * io/ftw.c (FTW_NAME): Likewise.
23824 (NFTW_NAME): Likewise.
23825 (NFTW_NEW_NAME): Likewise.
23826 (NFTW_OLD_NAME): Likewise.
23827 * libio/iofwide.c (_IO_fwide): Likewise.
23828 * libio/strops.c (_IO_str_init_static_internal): Likewise.
23829 (_IO_str_init_static): Likewise.
23830 (_IO_str_init_readonly): Likewise.
23831 (_IO_str_overflow): Likewise.
23832 (_IO_str_underflow): Likewise.
23833 (_IO_str_count): Likewise.
23834 (_IO_str_seekoff): Likewise.
23835 (_IO_str_pbackfail): Likewise.
23836 (_IO_str_finish): Likewise.
23837 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
23838 (_IO_wstr_overflow): Likewise.
23839 (_IO_wstr_underflow): Likewise.
23840 (_IO_wstr_count): Likewise.
23841 (_IO_wstr_seekoff): Likewise.
23842 (_IO_wstr_pbackfail): Likewise.
23843 (_IO_wstr_finish): Likewise.
23844 * locale/programs/localedef.c (normalize_codeset): Likewise.
23845 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23846 (add_locales_to_archive): Likewise.
23847 (delete_locales_from_archive): Likewise.
23848 * malloc/malloc.c (__libc_mallinfo): Likewise.
23849 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
23850 * misc/tsearch.c (__tfind): Likewise.
23851 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
23852 * nptl/pthread_attr_getdetachstate.c
23853 (__pthread_attr_getdetachstate): Likewise.
23854 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23855 Likewise.
23856 * nptl/pthread_attr_getinheritsched.c
23857 (__pthread_attr_getinheritsched): Likewise.
23858 * nptl/pthread_attr_getschedparam.c
23859 (__pthread_attr_getschedparam): Likewise.
23860 * nptl/pthread_attr_getschedpolicy.c
23861 (__pthread_attr_getschedpolicy): Likewise.
23862 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
23863 Likewise.
23864 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
23865 Likewise.
23866 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23867 Likewise.
23868 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23869 Likewise.
23870 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
23871 (__pthread_attr_init_2_0): Likewise.
23872 * nptl/pthread_attr_setdetachstate.c
23873 (__pthread_attr_setdetachstate): Likewise.
23874 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23875 Likewise.
23876 * nptl/pthread_attr_setinheritsched.c
23877 (__pthread_attr_setinheritsched): Likewise.
23878 * nptl/pthread_attr_setschedparam.c
23879 (__pthread_attr_setschedparam): Likewise.
23880 * nptl/pthread_attr_setschedpolicy.c
23881 (__pthread_attr_setschedpolicy): Likewise.
23882 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
23883 Likewise.
23884 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
23885 Likewise.
23886 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23887 Likewise.
23888 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23889 Likewise.
23890 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
23891 Likewise.
23892 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
23893 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23894 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
23895 use internal_function.
23896 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
23897 prototype-style function definition.
23898 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23899 (__pthread_mutex_cond_lock_adjust): Likewise. Use
23900 internal_function.
23901 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
23902 Convert to prototype-style function definition.
23903 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
23904 Likewise.
23905 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
23906 Likewise.
23907 (__pthread_mutex_unlock): Likewise.
23908 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
23909 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
23910 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
23911 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
23912 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
23913 * nss/makedb.c (process_input): Likewise.
23914 * posix/fnmatch.c (__strchrnul): Likewise.
23915 (__wcschrnul): Likewise.
23916 (fnmatch): Likewise.
23917 * posix/fnmatch_loop.c (FCT): Likewise.
23918 * posix/glob.c (globfree): Likewise.
23919 (__glob_pattern_type): Likewise.
23920 (__glob_pattern_p): Likewise.
23921 * posix/regcomp.c (re_compile_pattern): Likewise.
23922 (re_set_syntax): Likewise.
23923 (re_compile_fastmap): Likewise.
23924 (regcomp): Likewise.
23925 (regerror): Likewise.
23926 (regfree): Likewise.
23927 * posix/regexec.c (regexec): Likewise.
23928 (re_match): Likewise.
23929 (re_search): Likewise.
23930 (re_match_2): Likewise.
23931 (re_search_2): Likewise.
23932 (re_search_stub): Likewise. Use internal_function
23933 (re_copy_regs): Likewise.
23934 (re_set_registers): Convert to prototype-style function
23935 definition.
23936 (prune_impossible_nodes): Likewise. Use internal_function.
23937 * resolv/inet_net_pton.c (inet_net_pton): Convert to
23938 prototype-style function definition.
23939 (inet_net_pton_ipv4): Likewise.
23940 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23941 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
23942 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
23943 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
23944 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23945 Make variadic.
23946 * time/strptime_l.c (localtime_r): Convert to prototype-style
23947 function definition.
23948 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
23949 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
23950 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
23951 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
23952
23953 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
23954 definition.
23955 (_ufc_doit_r): Likewise.
23956 * crypt/crypt_util.c (_ufc_copymem): Likewise.
23957 (_ufc_output_conversion_r): Likewise.
23958 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
23959 * inet/rcmd.c (rcmd_af): Likewise.
23960 (rcmd): Likewise.
23961 (ruserok_af): Likewise.
23962 (ruserok): Likewise.
23963 (ruserok2_sa): Likewise.
23964 (ruserok_sa): Likewise.
23965 (iruserok_af): Likewise.
23966 (iruserok): Likewise.
23967 (__ivaliduser): Likewise.
23968 (__validuser2_sa): Likewise.
23969 * inet/rexec.c (rexec_af): Likewise.
23970 (rexec): Likewise.
23971 * inet/ruserpass.c (ruserpass): Likewise.
23972 * locale/programs/xmalloc.c (xcalloc): Likewise.
23973 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
23974 * math/w_drem.c (__drem): Likewise.
23975 * math/w_dremf.c (__dremf): Likewise.
23976 * math/w_dreml.c (__dreml): Likewise.
23977 * misc/daemon.c (daemon): Likewise.
23978 * resolv/res_debug.c (p_fqnname): Likewise.
23979 * stdlib/div.c (div): Likewise.
23980 * string/memcmp.c (memcmp_bytes): Likewise.
23981 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
23982 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
23983
23984 * crypt/cert.c (main): Convert to prototype-style function
23985 definition.
23986 * io/pipe.c (__pipe): Likewise.
23987 * io/pipe2.c (__pipe2): Likewise.
23988 * misc/futimesat.c (futimesat): Likewise.
23989 * misc/utimes.c (__utimes): Likewise.
23990 * posix/execve.c (__execve): Likewise.
23991 * posix/execvp.c (execvp): Likewise.
23992 * posix/execvpe.c (__execvpe): Likewise.
23993 * posix/fexecve.c (fexecve): Likewise.
23994 * socket/socketpair.c (socketpair): Likewise.
23995 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23996 * stdlib/erand48.c (erand48): Likewise.
23997 * stdlib/erand48_r.c (__erand48_r): Likewise.
23998 * stdlib/jrand48.c (jrand48): Likewise.
23999 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
24000 * stdlib/lcong48.c (lcong48): Likewise.
24001 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
24002 * stdlib/nrand48.c (nrand48): Likewise.
24003 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
24004 * stdlib/seed48.c (seed48): Likewise.
24005 * stdlib/seed48_r.c (__seed48_r): Likewise.
24006 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
24007 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
24008 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
24009
24010 2015-10-19 Joseph Myers <joseph@codesourcery.com>
24011
24012 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
24013 * configure: Regenerated.
24014 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
24015 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
24016 unconditional.
24017 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24018 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24019 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24020 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
24021 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
24022 unconditional.
24023 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24024
24025 * posix/Makefile (CFLAGS-regex.c): Remove variable.
24026 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
24027
24028 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
24029 function definition.
24030 * crypt/crypt_util.c (__encrypt_r): Likewise.
24031 * libio/genops.c (_IO_no_init): Likewise.
24032 * libio/iofopncook.c (_IO_fopencookie): Likewise.
24033 (_IO_old_fopencookie): Likewise.
24034 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24035 * libio/iogetline.c (_IO_getline): Likewise.
24036 (_IO_getline_info): Likewise.
24037 * libio/iogetwline.c (_IO_getwline): Likewise.
24038 (_IO_getwline_info): Likewise.
24039 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
24040 * libio/vswprintf.c (_IO_vswprintf): Likewise.
24041 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
24042 (find_entry): Likewise.
24043 (iterate_table): Likewise.
24044 (lookup): Likewise.
24045 * login/forkpty.c (forkpty): Likewise.
24046 * misc/hsearch_r.c (__hsearch_r): Likewise.
24047 * misc/select.c (__select): Likewise.
24048 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
24049 Likewise.
24050 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
24051 Likewise.
24052 * nptl/old_pthread_cond_timedwait.c
24053 (__pthread_cond_timedwait_2_0): Likewise.
24054 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24055 * nptl/pthread_barrierattr_getpshared.c
24056 (pthread_barrierattr_getpshared): Likewise.
24057 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
24058 Likewise.
24059 * nptl/pthread_mutex_setprioceiling.c
24060 (pthread_mutex_setprioceiling): Likewise.
24061 * nptl/pthread_mutexattr_getprioceiling.c
24062 (pthread_mutexattr_getprioceiling): Likewise.
24063 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24064 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24065 Likewise.
24066 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24067 Likewise.
24068 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
24069 Likewise.
24070 * socket/recvfrom.c (__recvfrom): Likewise.
24071 * socket/sendto.c (__sendto): Likewise.
24072 * socket/setsockopt.c (__setsockopt): Likewise.
24073 * stdio-common/_itoa.c (_itoa): Likewise.
24074 * stdio-common/_itowa.c (_itowa): Likewise.
24075 * stdio-common/reg-printf.c (__register_printf_specifier):
24076 Likewise.
24077 (__register_printf_function): Likewise.
24078 * stdio-common/tempname.c (__path_search): Likewise.
24079 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
24080 * stdlib/mul_1.c (mpn_mul_1): Likewise.
24081 * stdlib/random_r.c (__initstate_r): Likewise.
24082 * stdlib/setenv.c (__add_to_environ): Likewise.
24083 * stdlib/submul_1.c (mpn_submul_1): Likewise.
24084 * streams/getpmsg.c (getpmsg): Likewise.
24085 * streams/putmsg.c (putmsg): Likewise.
24086 * streams/putpmsg.c (putpmsg): Likewise.
24087 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
24088 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
24089 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
24090 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
24091 * sunrpc/pm_getport.c (pmap_getport): Likewise.
24092 * sunrpc/svc_udp.c (cache_get): Likewise.
24093 * sunrpc/xdr_array.c (xdr_vector): Likewise.
24094 * sysdeps/mach/hurd/getcwd.c
24095 (__canonicalize_directory_name_internal): Likewise.
24096 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
24097 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
24098 * sysdeps/mach/hurd/select.c (__select): Likewise.
24099 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
24100 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
24101 * sysdeps/sparc/nptl/pthread_barrier_init.c
24102 (__pthread_barrier_init): Likewise.
24103 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
24104 (__pthread_cond_timedwait): Likewise.
24105 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
24106 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
24107 Likewise.
24108 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
24109 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
24110 Likewise.
24111 * sysvipc/semtimedop.c (semtimedop): Likewise.
24112 * time/setitimer.c (__setitimer): Likewise.
24113 * time/strftime_l.c (emacs_strftime): Likewise.
24114
24115 2015-10-19 Mike Frysinger <vapier@gentoo.org>
24116
24117 * config.make.in (have-ssp): Delete.
24118 (stack-protector): New variable.
24119 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
24120 cache test for -fstack-protector-strong. Export stack_protector to
24121 the best ssp flag.
24122 * configure: Regenerated.
24123 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
24124 * nscd/Makefile (CFLAGS-nscd): Likewise.
24125 * resolv/Makefile (CFLAGS-libresolv): Likewise.
24126
24127 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
24128
24129 [BZ #19122]
24130 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
24131 attribute_hidden.
24132
24133 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24134
24135 [BZ #18743]
24136 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
24137 code to...
24138 (ELIDE_LOCK): ...here.
24139 (__get_new_count): New function with part of the code from
24140 __elide_lock that updates the value of adapt_count after a
24141 transaction abort.
24142 (__elided_trylock): Moved this code to...
24143 (ELIDE_TRYLOCK): ...here.
24144
24145 2015-10-19 Mike Frysinger <vapier@gentoo.org>
24146
24147 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
24148 * configure: Regenerate.
24149 * INSTALL: Regenerate.
24150 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
24151 and tweak grammar.
24152
24153 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
24154
24155 * login/programs/pt_chown.c: Include signal.h
24156 (main): Clear any signal mask from the parent process.
24157
24158 2015-10-19 Joseph Myers <joseph@codesourcery.com>
24159
24160 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
24161 * configure: Regenerated.
24162 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
24163 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
24164 $(gnu89-inline-CFLAGS).
24165
24166 * configure.ac (libc_cv_asm_weak_directive): Remove configure
24167 test.
24168 (libc_cv_asm_weakext_directive): Likewise.
24169 * configure: Regenerated.
24170 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
24171 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
24172 * include/libc-symbols.h
24173 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
24174 #error.
24175 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
24176 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
24177
24178 * sysdeps/arm/backtrace.c (__backtrace): Convert to
24179 prototype-style function definition.
24180 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
24181 * sysdeps/i386/ffs.c (__ffs): Likewise.
24182 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24183 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
24184 Likewise.
24185 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24186 Likewise.
24187 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
24188 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
24189 Likewise.
24190 * sysdeps/m68k/ffs.c (__ffs): Likewise.
24191 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
24192 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
24193 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
24194 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
24195 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
24196 * sysdeps/mach/hurd/access.c (__access): Likewise.
24197 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
24198 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
24199 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
24200 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
24201 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
24202 (cthread_getspecific): Likewise.
24203 (cthread_setspecific): Likewise.
24204 (__libc_getspecific): Likewise.
24205 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
24206 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
24207 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
24208 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
24209 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
24210 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
24211 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
24212 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
24213 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
24214 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
24215 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
24216 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
24217 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
24218 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
24219 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
24220 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
24221 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
24222 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
24223 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
24224 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
24225 * sysdeps/mach/hurd/link.c (__link): Likewise.
24226 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
24227 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
24228 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
24229 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
24230 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
24231 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
24232 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
24233 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
24234 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
24235 * sysdeps/mach/hurd/rename.c (rename): Likewise.
24236 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
24237 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
24238 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
24239 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
24240 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
24241 * sysdeps/mach/hurd/send.c (__send): Likewise.
24242 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
24243 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
24244 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
24245 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
24246 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
24247 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
24248 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
24249 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
24250 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
24251 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
24252 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
24253 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
24254 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
24255 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
24256 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
24257 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
24258 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
24259 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
24260 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
24261 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
24262 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
24263 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
24264 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
24265 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
24266 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
24267 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
24268 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
24269 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
24270 * sysdeps/posix/alarm.c (alarm): Likewise.
24271 * sysdeps/posix/cuserid.c (cuserid): Likewise.
24272 * sysdeps/posix/dirfd.c (dirfd): Likewise.
24273 * sysdeps/posix/dup.c (__dup): Likewise.
24274 * sysdeps/posix/dup2.c (__dup2): Likewise.
24275 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
24276 (main): Likewise.
24277 * sysdeps/posix/flock.c (__flock): Likewise.
24278 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
24279 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
24280 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
24281 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
24282 * sysdeps/posix/isatty.c (__isatty): Likewise.
24283 * sysdeps/posix/killpg.c (killpg): Likewise.
24284 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
24285 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
24286 * sysdeps/posix/raise.c (raise): Likewise.
24287 * sysdeps/posix/remove.c (remove): Likewise.
24288 * sysdeps/posix/rename.c (rename): Likewise.
24289 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
24290 * sysdeps/posix/seekdir.c (seekdir): Likewise.
24291 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
24292 * sysdeps/posix/sigignore.c (sigignore): Likewise.
24293 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
24294 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
24295 * sysdeps/posix/sigset.c (sigset): Likewise.
24296 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
24297 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
24298 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
24299 * sysdeps/posix/time.c (time): Likewise.
24300 * sysdeps/posix/ttyname.c (getttyname): Likewise.
24301 (ttyname): Likewise.
24302 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
24303 * sysdeps/posix/utime.c (utime): Likewise.
24304 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
24305 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
24306 Likewise.
24307 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
24308 (pthread_spin_trylock): Likewise.
24309 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
24310 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
24311 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
24312 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
24313 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
24314 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
24315 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
24316 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
24317 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
24318 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
24319 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
24320 * sysdeps/s390/ffs.c (__ffs): Likewise.
24321 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
24322 Likewise.
24323 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24324 Likewise.
24325 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
24326 Likewise.
24327 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
24328 (pthread_barrier_destroy): Likewise.
24329 * sysdeps/sparc/nptl/pthread_barrier_wait.c
24330 (__pthread_barrier_wait): Likewise.
24331 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
24332 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
24333 (__pthread_barrier_wait): Likewise.
24334 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
24335 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
24336 (memcmp_not_common_alignment): Likewise.
24337 (MEMCMP): Likewise.
24338 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
24339 (_wordcopy_fwd_dest_aligned): Likewise.
24340 (_wordcopy_bwd_aligned): Likewise.
24341 (_wordcopy_bwd_dest_aligned): Likewise.
24342 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
24343 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
24344 * sysdeps/unix/bsd/stty.c (stty): Likewise.
24345 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
24346 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
24347 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
24348 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
24349 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
24350 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
24351 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
24352 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
24353 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
24354 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
24355 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
24356 * sysdeps/unix/stime.c (stime): Likewise.
24357 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
24358 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
24359 Likewise. Use internal_function.
24360 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
24361 Convert to prototype-style function definition.
24362 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24363 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24364 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
24365 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24366 Likewise. Use internal_function.
24367 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
24368 prototype-style function definition
24369 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24370 Likewise.
24371 (__getlogin_r): Likewise.
24372 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
24373 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
24374 (__pthread_cond_broadcast): Likewise.
24375 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
24376 (__pthread_cond_destroy): Likewise.
24377 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
24378 (__pthread_cond_init): Likewise.
24379 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
24380 (__pthread_cond_signal): Likewise.
24381 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
24382 (__pthread_cond_wait): Likewise.
24383 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
24384 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
24385 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
24386 Likewise.
24387 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
24388 Likewise.
24389 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
24390 Likewise.
24391 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
24392 Likewise.
24393 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
24394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
24395 (__ftruncate64): Likewise.
24396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
24397 (truncate64): Likewise.
24398 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
24399 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
24400 (pthread_getcpuclockid): Likewise.
24401 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
24402 Likewise.
24403 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
24404 Likewise.
24405 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
24406 Likewise.
24407 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
24408 Likewise.
24409 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
24410 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
24411 (__libc_sigaction): Likewise.
24412 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
24413 Likewise.
24414 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
24415 (__sigprocmask): Likewise.
24416 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
24417 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
24418 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
24419 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
24420 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24421 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
24422 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24423 Likewise.
24424 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
24425 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
24426 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24427 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
24428 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
24429 Likewise.
24430 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
24431 (__sigprocmask): Likewise.
24432 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
24433 (cfgetispeed): Likewise.
24434 (cfsetospeed): Likewise.
24435 (cfsetispeed): Likewise.
24436 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
24437 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
24438 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24439 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
24440 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
24441 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
24442 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
24443 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
24444 Likewise.
24445 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
24446 Likewise.
24447 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
24448 Likewise.
24449 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
24450 Likewise.
24451 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
24452
24453 2015-10-17 Florian Weimer <fweimer@redhat.com>
24454
24455 sunrpc: Rewrite with explicit TLS access using __thread.
24456 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
24457 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
24458 directly.
24459 (__rpc_thread_variables): Access thread_rpc_vars directly.
24460 Eliminate redundant assignment of the tvp variable.
24461
24462 2015-10-17 Florian Weimer <fweimer@redhat.com>
24463
24464 malloc: Rewrite with explicit TLS access using __thread.
24465 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
24466 (tsd_setspecific, tsd_getspecific): Remove.
24467 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
24468 (tsd_setspecific, tsd_getspecific): Likewise.
24469 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
24470 (tsd_setspecific, tsd_getspecific): Likewise.
24471 * malloc/arena.c (thread_arena): New TLS variable.
24472 (arena_key): Remove variable.
24473 (arena_get): Use thread_arena.
24474 (arena_lookup): Remove macro.
24475 (malloc_atfork, free_atfork, ptmalloc_lock_all)
24476 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
24477 (_int_new_arena, get_free_list, reused_arena)
24478 (arena_thread_freeres): Use thread_arena.
24479 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
24480 tsd_getspecific, tsd_setspecific from safety annotations.
24481 (Allocating Cleared Space): Remove arena_lookup from safety
24482 annotations.
24483
24484 2015-10-17 Florian Weimer <fweimer@redhat.com>
24485
24486 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
24487 struct scratch_buffer instead of extend_alloca.
24488
24489 2015-10-17 Florian Weimer <fweimer@redhat.com>
24490
24491 * sysdeps/unix/sysv/linux/kernel-features.h
24492 (__ASSUME_SOCK_CLOEXEC): Remove.
24493 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
24494 (__have_paccept): Remove unused macro.
24495 * include/unistd.h (__have_sock_cloexec): Remove declaration.
24496 * misc/syslog.c (openlog_internal): Remove fallback code for
24497 !__ASSUME_SOCK_CLOEXEC.
24498 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
24499 missing SOCK_CLOEXEC.
24500 * nscd/connections.c (have_sock_cloexec): Remove definition.
24501 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
24502 * nscd/nscd_helper.c (open_socket): Remove fallback code for
24503 !__ASSUME_SOCK_CLOEXEC.
24504 * resolv/res_send.c (__have_o_nonblock): Remove definition.
24505 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
24506 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
24507 definition.
24508 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
24509 code for !__ASSUME_SOCK_CLOEXEC.
24510
24511 2015-10-17 Florian Weimer <fweimer@redhat.com>
24512
24513 [BZ #18982]
24514 * manual/stdio.texi (Variable Arguments Output): Add portability
24515 note, explaining that vfprintf clobbers the va_list pointer.
24516
24517 2015-10-16 Joseph Myers <joseph@codesourcery.com>
24518
24519 * math/libm-test.inc (fabs_test_data): Add more tests.
24520 (fdim_test_data): Likewise.
24521 (fma_test_data): Likewise.
24522 (fmax_test_data): Likewise.
24523 (fmin_test_data): Likewise.
24524 (fmod_test_data): Likewise.
24525
24526 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
24527
24528 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
24529 data.
24530
24531 2015-10-16 Joseph Myers <joseph@codesourcery.com>
24532
24533 * math/libm-test.inc (ceil_test_data): Add more tests and more
24534 expectations for "inexact".
24535 (floor_test_data): Add more tests.
24536 (round_test_data): Likewise.
24537 (trunc_test_data): Likewise.
24538
24539 * crypt/cert.c (good_bye): Convert to prototype-style function
24540 definition.
24541 (get8): Likewise.
24542 (put8): Likewise.
24543 * crypt/crypt-entry.c (crypt): Likewise.
24544 (__fcrypt): Likewise.
24545 * crypt/crypt_util.c (_ufc_prbits): Likewise.
24546 (_ufc_set_bits): Likewise.
24547 (_ufc_clearmem): Likewise.
24548 (__init_des_r): Likewise.
24549 (shuffle_sb): Likewise.
24550 (shuffle_sb): Likewise.
24551 (_ufc_setup_salt_r): Likewise.
24552 (_ufc_mk_keytab_r): Likewise.
24553 (_ufc_dofinalperm_r): Likewise.
24554 (encrypt): Likewise.
24555 (__setkey_r): Likewise.
24556 (setkey): Likewise.
24557 * crypt/md5.c (md5_init_ctx): Likewise.
24558 (md5_read_ctx): Likewise.
24559 (md5_finish_ctx): Likewise.
24560 (md5_stream): Likewise.
24561 (md5_buffer): Likewise.
24562 (md5_process_bytes): Likewise.
24563 * crypt/sha256.c (__sha256_init_ctx): Likewise.
24564 (__sha256_finish_ctx): Likewise.
24565 (__sha256_process_bytes): Likewise.
24566 * crypt/sha512.c (__sha512_init_ctx): Likewise.
24567 (__sha512_finish_ctx): Likewise.
24568 (__sha512_process_bytes): Likewise.
24569 * ctype/isctype.c (__isctype): Likewise.
24570 * debug/backtrace.c (__backtrace): Likewise.
24571 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
24572 * debug/fgets_chk.c (__fgets_chk): Likewise.
24573 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
24574 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
24575 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24576 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24577 * debug/memset_chk.c (__memset_chk): Likewise.
24578 * debug/strcat_chk.c (__strcat_chk): Likewise.
24579 * debug/strncat_chk.c (__strncat_chk): Likewise.
24580 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
24581 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
24582 * dirent/dirfd.c (dirfd): Likewise.
24583 * dirent/getdents.c (__getdirentries): Likewise.
24584 * dirent/getdents64.c (getdirentries64): Likewise.
24585 * dirent/rewinddir.c (__rewinddir): Likewise.
24586 * dirent/seekdir.c (seekdir): Likewise.
24587 * dirent/telldir.c (telldir): Likewise.
24588 * elf/sln.c (makesymlinks): Likewise.
24589 (makesymlink): Likewise.
24590 * gmon/gmon.c (__moncontrol): Likewise.
24591 (__monstartup): Likewise.
24592 (write_hist): Likewise.
24593 (write_call_graph): Likewise.
24594 (write_bb_counts): Likewise.
24595 * grp/setgroups.c (setgroups): Likewise.
24596 * inet/inet_lnaof.c (inet_lnaof): Likewise.
24597 * inet/inet_net.c (inet_network): Likewise.
24598 * inet/inet_netof.c (inet_netof): Likewise.
24599 * inet/rcmd.c (rresvport_af): Likewise.
24600 (rresvport): Likewise.
24601 * io/access.c (__access): Likewise.
24602 * io/chdir.c (__chdir): Likewise.
24603 * io/chmod.c (__chmod): Likewise.
24604 * io/chown.c (__chown): Likewise.
24605 * io/close.c (__close): Likewise.
24606 * io/creat.c (creat): Likewise.
24607 * io/creat64.c (creat64): Likewise.
24608 * io/dup.c (__dup): Likewise.
24609 * io/dup2.c (__dup2): Likewise.
24610 * io/dup3.c (__dup3): Likewise.
24611 * io/euidaccess.c (__euidaccess): Likewise.
24612 * io/faccessat.c (faccessat): Likewise.
24613 * io/fchmod.c (__fchmod): Likewise.
24614 * io/fchmodat.c (fchmodat): Likewise.
24615 * io/fchown.c (__fchown): Likewise.
24616 * io/fchownat.c (fchownat): Likewise.
24617 * io/fcntl.c (__fcntl): Likewise.
24618 * io/flock.c (__flock): Likewise.
24619 * io/fts.c (fts_load): Likewise.
24620 (fts_close): Likewise.
24621 (fts_read): Likewise.
24622 (fts_set): Likewise.
24623 (fts_children): Likewise.
24624 (fts_build): Likewise.
24625 (fts_stat): Likewise.
24626 (fts_sort): Likewise.
24627 (fts_alloc): Likewise.
24628 (fts_lfree): Likewise.
24629 (fts_palloc): Likewise.
24630 (fts_padjust): Likewise.
24631 (fts_maxarglen): Likewise.
24632 (fts_safe_changedir): Likewise.
24633 * io/getwd.c (getwd): Likewise.
24634 * io/isatty.c (__isatty): Likewise.
24635 * io/lchown.c (__lchown): Likewise.
24636 * io/link.c (__link): Likewise.
24637 * io/linkat.c (linkat): Likewise.
24638 * io/lseek.c (__libc_lseek): Likewise.
24639 * io/mkdir.c (__mkdir): Likewise.
24640 * io/mkdirat.c (mkdirat): Likewise.
24641 * io/mkfifo.c (mkfifo): Likewise.
24642 * io/mkfifoat.c (mkfifoat): Likewise.
24643 * io/open.c (__libc_open): Likewise.
24644 * io/open64.c (__libc_open64): Likewise.
24645 * io/readlink.c (__readlink): Likewise.
24646 * io/readlinkat.c (readlinkat): Likewise.
24647 * io/rmdir.c (__rmdir): Likewise.
24648 * io/symlink.c (__symlink): Likewise.
24649 * io/symlinkat.c (symlinkat): Likewise.
24650 * io/ttyname.c (ttyname): Likewise.
24651 * io/ttyname_r.c (__ttyname_r): Likewise.
24652 * io/umask.c (__umask): Likewise.
24653 * io/unlink.c (__unlink): Likewise.
24654 * io/unlinkat.c (unlinkat): Likewise.
24655 * io/utime.c (utime): Likewise.
24656 * libio/clearerr.c (clearerr): Likewise.
24657 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
24658 * libio/feof.c (_IO_feof): Likewise.
24659 * libio/feof_u.c (feof_unlocked): Likewise.
24660 * libio/ferror.c (_IO_ferror): Likewise.
24661 * libio/ferror_u.c (ferror_unlocked): Likewise.
24662 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24663 * libio/fileno.c (__fileno): Likewise.
24664 * libio/fputc.c (fputc): Likewise.
24665 * libio/fputc_u.c (fputc_unlocked): Likewise.
24666 * libio/fputwc.c (fputwc): Likewise.
24667 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
24668 * libio/freopen.c (freopen): Likewise.
24669 * libio/freopen64.c (freopen64): Likewise.
24670 * libio/fseek.c (fseek): Likewise.
24671 * libio/fseeko.c (fseeko): Likewise.
24672 * libio/fseeko64.c (fseeko64): Likewise.
24673 * libio/ftello.c (__ftello): Likewise.
24674 * libio/ftello64.c (ftello64): Likewise.
24675 * libio/fwide.c (fwide): Likewise.
24676 * libio/genops.c (_IO_un_link): Likewise.
24677 (_IO_link_in): Likewise.
24678 (_IO_least_marker): Likewise.
24679 (_IO_switch_to_main_get_area): Likewise.
24680 (_IO_switch_to_backup_area): Likewise.
24681 (_IO_switch_to_get_mode): Likewise.
24682 (_IO_free_backup_area): Likewise.
24683 (_IO_switch_to_put_mode): Likewise.
24684 (__overflow): Likewise.
24685 (__underflow): Likewise.
24686 (__uflow): Likewise.
24687 (_IO_setb): Likewise.
24688 (_IO_doallocbuf): Likewise.
24689 (_IO_default_underflow): Likewise.
24690 (_IO_default_uflow): Likewise.
24691 (_IO_default_xsputn): Likewise.
24692 (_IO_sgetn): Likewise.
24693 (_IO_default_xsgetn): Likewise.
24694 (_IO_sync): Likewise.
24695 (_IO_default_setbuf): Likewise.
24696 (_IO_default_seekpos): Likewise.
24697 (_IO_default_doallocate): Likewise.
24698 (_IO_init): Likewise.
24699 (_IO_old_init): Likewise.
24700 (_IO_default_sync): Likewise.
24701 (_IO_default_finish): Likewise.
24702 (_IO_default_seekoff): Likewise.
24703 (_IO_sputbackc): Likewise.
24704 (_IO_sungetc): Likewise.
24705 (_IO_set_column): Likewise.
24706 (_IO_set_column): Likewise.
24707 (_IO_adjust_column): Likewise.
24708 (_IO_get_column): Likewise.
24709 (_IO_init_marker): Likewise.
24710 (_IO_remove_marker): Likewise.
24711 (_IO_marker_difference): Likewise.
24712 (_IO_marker_delta): Likewise.
24713 (_IO_seekmark): Likewise.
24714 (_IO_unsave_markers): Likewise.
24715 (_IO_nobackup_pbackfail): Likewise.
24716 (_IO_default_pbackfail): Likewise.
24717 (_IO_default_seek): Likewise.
24718 (_IO_default_stat): Likewise.
24719 (_IO_default_read): Likewise.
24720 (_IO_default_write): Likewise.
24721 (_IO_default_showmanyc): Likewise.
24722 (_IO_default_imbue): Likewise.
24723 (_IO_iter_next): Likewise.
24724 (_IO_iter_file): Likewise.
24725 * libio/getc.c (_IO_getc): Likewise.
24726 * libio/getwc.c (_IO_getwc): Likewise.
24727 * libio/iofclose.c (_IO_new_fclose): Likewise.
24728 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24729 * libio/iofflush.c (_IO_fflush): Likewise.
24730 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
24731 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
24732 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
24733 * libio/iofgets.c (_IO_fgets): Likewise.
24734 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
24735 * libio/iofgetws.c (fgetws): Likewise.
24736 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24737 * libio/iofopen64.c (_IO_fopen64): Likewise.
24738 * libio/iofopncook.c (_IO_cookie_read): Likewise.
24739 (_IO_cookie_write): Likewise.
24740 (_IO_cookie_seek): Likewise.
24741 (_IO_cookie_close): Likewise.
24742 (_IO_cookie_seekoff): Likewise.
24743 (_IO_old_cookie_seek): Likewise.
24744 * libio/iofputs.c (_IO_fputs): Likewise.
24745 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
24746 * libio/iofputws.c (fputws): Likewise.
24747 * libio/iofputws_u.c (fputws_unlocked): Likewise.
24748 * libio/iofread.c (_IO_fread): Likewise.
24749 * libio/iofread_u.c (__fread_unlocked): Likewise.
24750 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
24751 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
24752 * libio/ioftell.c (_IO_ftell): Likewise.
24753 * libio/iofwrite.c (_IO_fwrite): Likewise.
24754 * libio/iogetdelim.c (_IO_getdelim): Likewise.
24755 * libio/iogets.c (_IO_gets): Likewise.
24756 * libio/iopadn.c (_IO_padn): Likewise.
24757 * libio/iopopen.c (_IO_new_proc_open): Likewise.
24758 (_IO_new_popen): Likewise.
24759 (_IO_new_proc_close): Likewise.
24760 * libio/ioputs.c (_IO_puts): Likewise.
24761 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
24762 (_IO_seekoff): Likewise.
24763 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
24764 (_IO_seekpos): Likewise.
24765 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
24766 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
24767 * libio/ioungetc.c (_IO_ungetc): Likewise.
24768 * libio/ioungetwc.c (ungetwc): Likewise.
24769 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24770 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
24771 * libio/iowpadn.c (_IO_wpadn): Likewise.
24772 * libio/libc_fatal.c (__libc_fatal): Likewise.
24773 * libio/memstream.c (__open_memstream): Likewise.
24774 (_IO_mem_sync): Likewise.
24775 (_IO_mem_finish): Likewise.
24776 * libio/oldfileops.c (_IO_old_file_init): Likewise.
24777 (_IO_old_file_close_it): Likewise.
24778 (_IO_old_file_finish): Likewise.
24779 (_IO_old_file_fopen): Likewise.
24780 (_IO_old_file_attach): Likewise.
24781 (_IO_old_file_setbuf): Likewise.
24782 (_IO_old_do_write): Likewise.
24783 (old_do_write): Likewise.
24784 (_IO_old_file_underflow): Likewise.
24785 (_IO_old_file_overflow): Likewise.
24786 (_IO_old_file_sync): Likewise.
24787 (_IO_old_file_seekoff): Likewise.
24788 (_IO_old_file_write): Likewise.
24789 (_IO_old_file_xsputn): Likewise.
24790 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
24791 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24792 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
24793 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
24794 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
24795 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
24796 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
24797 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
24798 (_IO_old_popen): Likewise.
24799 (_IO_old_proc_close): Likewise.
24800 * libio/oldpclose.c (__old_pclose): Likewise.
24801 * libio/pclose.c (__new_pclose): Likewise.
24802 * libio/peekc.c (_IO_peekc_locked): Likewise.
24803 * libio/putc.c (_IO_putc): Likewise.
24804 * libio/putc_u.c (putc_unlocked): Likewise.
24805 * libio/putchar.c (putchar): Likewise.
24806 * libio/putchar_u.c (putchar_unlocked): Likewise.
24807 * libio/putwc.c (putwc): Likewise.
24808 * libio/putwc_u.c (putwc_unlocked): Likewise.
24809 * libio/putwchar.c (putwchar): Likewise.
24810 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
24811 * libio/rewind.c (rewind): Likewise.
24812 * libio/setbuf.c (setbuf): Likewise.
24813 * libio/setlinebuf.c (setlinebuf): Likewise.
24814 * libio/vasprintf.c (_IO_vasprintf): Likewise.
24815 * libio/vscanf.c (_IO_vscanf): Likewise.
24816 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
24817 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
24818 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
24819 * libio/wgenops.c (_IO_least_wmarker): Likewise.
24820 (_IO_switch_to_main_wget_area): Likewise.
24821 (_IO_switch_to_wbackup_area): Likewise.
24822 (_IO_wsetb): Likewise.
24823 (_IO_wdefault_pbackfail): Likewise.
24824 (_IO_wdefault_finish): Likewise.
24825 (_IO_wdefault_uflow): Likewise.
24826 (__woverflow): Likewise.
24827 (__wuflow): Likewise.
24828 (__wunderflow): Likewise.
24829 (_IO_wdefault_xsputn): Likewise.
24830 (_IO_wdefault_xsgetn): Likewise.
24831 (_IO_wdoallocbuf): Likewise.
24832 (_IO_wdefault_doallocate): Likewise.
24833 (_IO_switch_to_wget_mode): Likewise.
24834 (_IO_free_wbackup_area): Likewise.
24835 (_IO_switch_to_wput_mode): Likewise.
24836 (_IO_sputbackwc): Likewise.
24837 (_IO_sungetwc): Likewise.
24838 (_IO_adjust_wcolumn): Likewise.
24839 (_IO_init_wmarker): Likewise.
24840 (_IO_wmarker_delta): Likewise.
24841 (_IO_seekwmark): Likewise.
24842 (_IO_unsave_wmarkers): Likewise.
24843 * libio/wmemstream.c (open_wmemstream): Likewise.
24844 (_IO_wmem_sync): Likewise.
24845 (_IO_wmem_finish): Likewise.
24846 * locale/nl_langinfo.c (nl_langinfo): Likewise.
24847 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
24848 * locale/programs/simple-hash.c (init_hash): Likewise.
24849 (delete_hash): Likewise.
24850 (insert_entry): Likewise.
24851 (set_entry): Likewise.
24852 (next_prime): Likewise.
24853 (is_prime): Likewise.
24854 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
24855 (xmalloc): Likewise.
24856 (xrealloc): Likewise.
24857 * locale/programs/xstrdup.c (xstrdup): Likewise.
24858 * localedata/collate-test.c (xstrcoll): Likewise.
24859 * localedata/xfrm-test.c (xstrcmp): Likewise.
24860 * login/getlogin_r.c (__getlogin_r): Likewise.
24861 * login/getpt.c (__posix_openpt): Likewise.
24862 * login/login_tty.c (login_tty): Likewise.
24863 * login/setlogin.c (setlogin): Likewise.
24864 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
24865 (mach_msg_destroy_port): Likewise.
24866 (mach_msg_destroy_memory): Likewise.
24867 * malloc/mcheck.c (flood): Likewise.
24868 * misc/acct.c (acct): Likewise.
24869 * misc/brk.c (__brk): Likewise.
24870 * misc/chflags.c (chflags): Likewise.
24871 * misc/chroot.c (chroot): Likewise.
24872 * misc/fchflags.c (fchflags): Likewise.
24873 * misc/fstab.c (getfsspec): Likewise.
24874 (getfsfile): Likewise.
24875 * misc/fsync.c (fsync): Likewise.
24876 * misc/ftruncate.c (__ftruncate): Likewise.
24877 * misc/ftruncate64.c (__ftruncate64): Likewise.
24878 * misc/getdomain.c (getdomainname): Likewise.
24879 (getdomainname): Likewise.
24880 * misc/gethostname.c (__gethostname): Likewise.
24881 * misc/getpass.c (getpass): Likewise.
24882 * misc/getttyent.c (skip): Likewise.
24883 (value): Likewise.
24884 * misc/gtty.c (gtty): Likewise.
24885 * misc/hsearch.c (hsearch): Likewise.
24886 (hcreate): Likewise.
24887 * misc/hsearch_r.c (__hcreate_r): Likewise.
24888 (__hdestroy_r): Likewise.
24889 * misc/ioctl.c (__ioctl): Likewise.
24890 * misc/mkdtemp.c (mkdtemp): Likewise.
24891 * misc/mkostemp.c (mkostemp): Likewise.
24892 * misc/mkostemp64.c (mkostemp64): Likewise.
24893 * misc/mkostemps.c (mkostemps): Likewise.
24894 * misc/mkostemps64.c (mkostemps64): Likewise.
24895 * misc/mkstemp.c (mkstemp): Likewise.
24896 * misc/mkstemp64.c (mkstemp64): Likewise.
24897 * misc/mkstemps.c (mkstemps): Likewise.
24898 * misc/mkstemps64.c (mkstemps64): Likewise.
24899 * misc/mktemp.c (__mktemp): Likewise.
24900 * misc/preadv.c (preadv): Likewise.
24901 * misc/preadv64.c (preadv64): Likewise.
24902 * misc/pwritev.c (pwritev): Likewise.
24903 * misc/pwritev64.c (pwritev64): Likewise.
24904 * misc/readv.c (__readv): Likewise.
24905 * misc/revoke.c (revoke): Likewise.
24906 * misc/setdomain.c (setdomainname): Likewise.
24907 * misc/setegid.c (setegid): Likewise.
24908 * misc/seteuid.c (seteuid): Likewise.
24909 * misc/sethostid.c (sethostid): Likewise.
24910 * misc/sethostname.c (sethostname): Likewise.
24911 * misc/setregid.c (__setregid): Likewise.
24912 * misc/setreuid.c (__setreuid): Likewise.
24913 * misc/sstk.c (sstk): Likewise.
24914 * misc/stty.c (stty): Likewise.
24915 * misc/syscall.c (syscall): Likewise.
24916 * misc/syslog.c (setlogmask): Likewise.
24917 * misc/truncate.c (__truncate): Likewise.
24918 * misc/truncate64.c (truncate64): Likewise.
24919 * misc/ualarm.c (ualarm): Likewise.
24920 * misc/usleep.c (usleep): Likewise.
24921 * misc/ustat.c (ustat): Likewise.
24922 * misc/writev.c (__writev): Likewise.
24923 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
24924 * nptl/old_pthread_cond_broadcast.c
24925 (__pthread_cond_broadcast_2_0): Likewise.
24926 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
24927 Likewise.
24928 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
24929 Likewise.
24930 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
24931 Likewise.
24932 * nptl/pt-raise.c (raise): Likewise.
24933 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
24934 Likewise.
24935 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
24936 * nptl/pthread_barrierattr_destroy.c
24937 (pthread_barrierattr_destroy): Likewise.
24938 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
24939 Likewise.
24940 * nptl/pthread_barrierattr_setpshared.c
24941 (pthread_barrierattr_setpshared): Likewise.
24942 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
24943 Likewise.
24944 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
24945 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24946 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
24947 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
24948 Likewise.
24949 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
24950 Likewise.
24951 * nptl/pthread_condattr_getpshared.c
24952 (pthread_condattr_getpshared): Likewise.
24953 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
24954 Likewise.
24955 * nptl/pthread_condattr_setpshared.c
24956 (pthread_condattr_setpshared): Likewise.
24957 * nptl/pthread_detach.c (pthread_detach): Likewise.
24958 * nptl/pthread_equal.c (__pthread_equal): Likewise.
24959 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
24960 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
24961 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
24962 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
24963 Likewise.
24964 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
24965 Likewise.
24966 * nptl/pthread_mutex_getprioceiling.c
24967 (pthread_mutex_getprioceiling): Likewise.
24968 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
24969 Likewise.
24970 * nptl/pthread_mutexattr_getprotocol.c
24971 (pthread_mutexattr_getprotocol): Likewise.
24972 * nptl/pthread_mutexattr_getpshared.c
24973 (pthread_mutexattr_getpshared): Likewise.
24974 * nptl/pthread_mutexattr_getrobust.c
24975 (pthread_mutexattr_getrobust): Likewise.
24976 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
24977 Likewise.
24978 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
24979 Likewise.
24980 * nptl/pthread_mutexattr_setprioceiling.c
24981 (pthread_mutexattr_setprioceiling): Likewise.
24982 * nptl/pthread_mutexattr_setprotocol.c
24983 (pthread_mutexattr_setprotocol): Likewise.
24984 * nptl/pthread_mutexattr_setpshared.c
24985 (pthread_mutexattr_setpshared): Likewise.
24986 * nptl/pthread_mutexattr_setrobust.c
24987 (pthread_mutexattr_setrobust): Likewise.
24988 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
24989 Likewise.
24990 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
24991 Likewise.
24992 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
24993 Likewise.
24994 * nptl/pthread_rwlockattr_getkind_np.c
24995 (pthread_rwlockattr_getkind_np): Likewise.
24996 * nptl/pthread_rwlockattr_getpshared.c
24997 (pthread_rwlockattr_getpshared): Likewise.
24998 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
24999 Likewise.
25000 * nptl/pthread_rwlockattr_setkind_np.c
25001 (pthread_rwlockattr_setkind_np): Likewise.
25002 * nptl/pthread_rwlockattr_setpshared.c
25003 (pthread_rwlockattr_setpshared): Likewise.
25004 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
25005 Likewise.
25006 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
25007 Likewise.
25008 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
25009 Likewise.
25010 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
25011 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
25012 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
25013 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
25014 * nptl/sem_close.c (sem_close): Likewise.
25015 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
25016 * nptl/sem_init.c (__old_sem_init): Likewise.
25017 * nptl/sigaction.c (__sigaction): Likewise.
25018 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
25019 * posix/_exit.c (_exit): Likewise.
25020 * posix/alarm.c (alarm): Likewise.
25021 * posix/confstr.c (confstr): Likewise.
25022 * posix/fpathconf.c (__fpathconf): Likewise.
25023 * posix/getgroups.c (__getgroups): Likewise.
25024 * posix/getpgid.c (__getpgid): Likewise.
25025 * posix/group_member.c (__group_member): Likewise.
25026 * posix/pathconf.c (__pathconf): Likewise.
25027 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
25028 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
25029 * posix/setgid.c (__setgid): Likewise.
25030 * posix/setpgid.c (__setpgid): Likewise.
25031 * posix/setuid.c (__setuid): Likewise.
25032 * posix/sleep.c (__sleep): Likewise.
25033 * posix/sysconf.c (__sysconf): Likewise.
25034 * posix/times.c (__times): Likewise.
25035 * posix/uname.c (__uname): Likewise.
25036 * posix/waitid.c (__waitid): Likewise.
25037 * pwd/getpw.c (__getpw): Likewise.
25038 * resolv/base64.c (b64_pton): Likewise.
25039 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
25040 * resolv/gethnamaddr.c (Dprintf): Likewise.
25041 (gethostbyname): Likewise.
25042 (gethostbyname2): Likewise.
25043 (gethostbyaddr): Likewise.
25044 (_sethtent): Likewise.
25045 (_gethtbyname): Likewise.
25046 (_gethtbyname2): Likewise.
25047 (_gethtbyaddr): Likewise.
25048 (map_v4v6_address): Likewise.
25049 (map_v4v6_hostent): Likewise.
25050 (addrsort): Likewise.
25051 (ht_sethostent): Likewise.
25052 (ht_gethostbyname): Likewise.
25053 (ht_gethostbyaddr): Likewise.
25054 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
25055 (inet_net_ntop_ipv4): Likewise.
25056 * resolv/inet_neta.c (inet_neta): Likewise.
25057 * resolv/inet_ntop.c (inet_ntop): Likewise.
25058 (inet_ntop4): Likewise.
25059 (inet_ntop6): Likewise.
25060 * resolv/inet_pton.c (__inet_pton): Likewise.
25061 (inet_pton4): Likewise.
25062 (inet_pton6): Likewise.
25063 * resolv/res_debug.c (loc_aton): Likewise.
25064 (loc_ntoa): Likewise.
25065 * resource/getpriority.c (__getpriority): Likewise.
25066 * resource/getrusage.c (__getrusage): Likewise.
25067 * resource/nice.c (nice): Likewise.
25068 * resource/setpriority.c (__setpriority): Likewise.
25069 * resource/setrlimit64.c (setrlimit64): Likewise.
25070 * resource/vlimit.c (vlimit): Likewise.
25071 * resource/vtimes.c (vtimes): Likewise.
25072 * rt/aio_error.c (aio_error): Likewise.
25073 * rt/aio_return.c (aio_return): Likewise.
25074 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
25075 * signal/kill.c (__kill): Likewise.
25076 * signal/killpg.c (killpg): Likewise.
25077 * signal/raise.c (raise): Likewise.
25078 * signal/sigaction.c (__sigaction): Likewise.
25079 * signal/sigaddset.c (sigaddset): Likewise.
25080 * signal/sigaltstack.c (sigaltstack): Likewise.
25081 * signal/sigandset.c (sigandset): Likewise.
25082 * signal/sigblock.c (__sigblock): Likewise.
25083 * signal/sigdelset.c (sigdelset): Likewise.
25084 * signal/sigempty.c (sigemptyset): Likewise.
25085 * signal/sigfillset.c (sigfillset): Likewise.
25086 * signal/sighold.c (sighold): Likewise.
25087 * signal/sigignore.c (sigignore): Likewise.
25088 * signal/sigintr.c (siginterrupt): Likewise.
25089 * signal/sigisempty.c (sigisemptyset): Likewise.
25090 * signal/sigismem.c (sigismember): Likewise.
25091 * signal/signal.c (signal): Likewise.
25092 * signal/sigorset.c (sigorset): Likewise.
25093 * signal/sigpause.c (__sigpause): Likewise.
25094 * signal/sigpending.c (sigpending): Likewise.
25095 * signal/sigprocmask.c (__sigprocmask): Likewise.
25096 * signal/sigrelse.c (sigrelse): Likewise.
25097 * signal/sigreturn.c (__sigreturn): Likewise.
25098 * signal/sigset.c (sigset): Likewise.
25099 * signal/sigsetmask.c (__sigsetmask): Likewise.
25100 * signal/sigstack.c (sigstack): Likewise.
25101 * signal/sigsuspend.c (__sigsuspend): Likewise.
25102 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
25103 * signal/sysv_signal.c (__sysv_signal): Likewise.
25104 * socket/accept.c (accept): Likewise.
25105 * socket/accept4.c (__libc_accept4): Likewise.
25106 * socket/bind.c (__bind): Likewise.
25107 * socket/connect.c (__connect): Likewise.
25108 * socket/getpeername.c (getpeername): Likewise.
25109 * socket/getsockname.c (__getsockname): Likewise.
25110 * socket/getsockopt.c (getsockopt): Likewise.
25111 * socket/listen.c (__listen): Likewise.
25112 * socket/recv.c (__recv): Likewise.
25113 * socket/recvmsg.c (__recvmsg): Likewise.
25114 * socket/send.c (__send): Likewise.
25115 * socket/sendmsg.c (__sendmsg): Likewise.
25116 * socket/shutdown.c (shutdown): Likewise.
25117 * socket/sockatmark.c (sockatmark): Likewise.
25118 * socket/socket.c (__socket): Likewise.
25119 * stdio-common/ctermid.c (ctermid): Likewise.
25120 * stdio-common/cuserid.c (cuserid): Likewise.
25121 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
25122 * stdio-common/remove.c (remove): Likewise.
25123 * stdio-common/rename.c (rename): Likewise.
25124 * stdio-common/renameat.c (renameat): Likewise.
25125 * stdio-common/tempname.c (__gen_tempname): Likewise.
25126 * stdio-common/xbug.c (InitBuffer): Likewise.
25127 (AppendToBuffer): Likewise.
25128 (ReadFile): Likewise.
25129 * stdlib/a64l.c (a64l): Likewise.
25130 * stdlib/drand48_r.c (drand48_r): Likewise.
25131 * stdlib/getcontext.c (getcontext): Likewise.
25132 * stdlib/getenv.c (getenv): Likewise.
25133 * stdlib/l64a.c (l64a): Likewise.
25134 * stdlib/llabs.c (llabs): Likewise.
25135 * stdlib/lldiv.c (lldiv): Likewise.
25136 * stdlib/lrand48_r.c (lrand48_r): Likewise.
25137 * stdlib/mrand48_r.c (mrand48_r): Likewise.
25138 * stdlib/putenv.c (putenv): Likewise.
25139 * stdlib/random.c (__srandom): Likewise.
25140 (__initstate): Likewise.
25141 (__setstate): Likewise.
25142 * stdlib/random_r.c (__srandom_r): Likewise.
25143 (__setstate_r): Likewise.
25144 (__random_r): Likewise.
25145 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
25146 * stdlib/setcontext.c (setcontext): Likewise.
25147 * stdlib/setenv.c (setenv): Likewise.
25148 (unsetenv): Likewise.
25149 * stdlib/srand48.c (srand48): Likewise.
25150 * stdlib/srand48_r.c (__srand48_r): Likewise.
25151 * stdlib/swapcontext.c (swapcontext): Likewise.
25152 * stdlib/system.c (__libc_system): Likewise.
25153 * stdlib/tst-strtod.c (expand): Likewise.
25154 * stdlib/tst-strtol.c (expand): Likewise.
25155 * stdlib/tst-strtoll.c (expand): Likewise.
25156 * streams/fattach.c (fattach): Likewise.
25157 * streams/fdetach.c (fdetach): Likewise.
25158 * streams/getmsg.c (getmsg): Likewise.
25159 * streams/isastream.c (isastream): Likewise.
25160 * string/ffs.c (__ffs): Likewise.
25161 * string/ffsll.c (ffsll): Likewise.
25162 * string/memcmp.c (memcmp_common_alignment): Likewise.
25163 (memcmp_not_common_alignment): Likewise.
25164 (MEMCMP): Likewise.
25165 * string/memcpy.c (memcpy): Likewise.
25166 * string/memmove.c (MEMMOVE): Likewise.
25167 * string/memset.c (memset): Likewise.
25168 * string/rawmemchr.c (RAWMEMCHR): Likewise.
25169 * string/strchrnul.c (STRCHRNUL): Likewise.
25170 * string/strerror.c (strerror): Likewise.
25171 * string/strndup.c (__strndup): Likewise.
25172 * string/strverscmp.c (__strverscmp): Likewise.
25173 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
25174 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
25175 (clnttcp_freeres): Likewise.
25176 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
25177 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
25178 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
25179 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
25180 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
25181 (xdr_callhdr): Likewise.
25182 * sunrpc/rpcinfo.c (udpping): Likewise.
25183 (tcpping): Likewise.
25184 (pstatus): Likewise.
25185 (pmapdump): Likewise.
25186 (brdcst): Likewise.
25187 (deletereg): Likewise.
25188 (getprognum): Likewise.
25189 (getvers): Likewise.
25190 (get_inet_address): Likewise.
25191 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
25192 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25193 (svcudp_stat): Likewise.
25194 (svcudp_recv): Likewise.
25195 (svcudp_reply): Likewise.
25196 (svcudp_getargs): Likewise.
25197 (svcudp_freeargs): Likewise.
25198 (svcudp_destroy): Likewise.
25199 * sunrpc/xdr.c (xdr_bytes): Likewise.
25200 (xdr_netobj): Likewise.
25201 (xdr_string): Likewise.
25202 (xdr_wrapstring): Likewise.
25203 * sunrpc/xdr_float.c (xdr_float): Likewise.
25204 (xdr_double): Likewise.
25205 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
25206 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
25207 * sysvipc/ftok.c (ftok): Likewise.
25208 * sysvipc/msgctl.c (msgctl): Likewise.
25209 * sysvipc/msgget.c (msgget): Likewise.
25210 * sysvipc/msgrcv.c (msgrcv): Likewise.
25211 * sysvipc/msgsnd.c (msgsnd): Likewise.
25212 * sysvipc/semget.c (semget): Likewise.
25213 * sysvipc/semop.c (semop): Likewise.
25214 * sysvipc/shmat.c (shmat): Likewise.
25215 * sysvipc/shmctl.c (shmctl): Likewise.
25216 * sysvipc/shmdt.c (shmdt): Likewise.
25217 * sysvipc/shmget.c (shmget): Likewise.
25218 * termios/cfmakeraw.c (cfmakeraw): Likewise.
25219 * termios/speed.c (cfgetospeed): Likewise.
25220 (cfgetispeed): Likewise.
25221 (cfsetospeed): Likewise.
25222 (cfsetispeed): Likewise.
25223 * termios/tcflow.c (tcflow): Likewise.
25224 * termios/tcflush.c (tcflush): Likewise.
25225 * termios/tcgetattr.c (__tcgetattr): Likewise.
25226 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
25227 * termios/tcgetsid.c (tcgetsid): Likewise.
25228 * termios/tcsendbrk.c (tcsendbreak): Likewise.
25229 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
25230 * time/adjtime.c (__adjtime): Likewise.
25231 * time/dysize.c (dysize): Likewise.
25232 * time/ftime.c (ftime): Likewise.
25233 * time/getitimer.c (__getitimer): Likewise.
25234 * time/gettimeofday.c (__gettimeofday): Likewise.
25235 * time/gmtime.c (__gmtime_r): Likewise.
25236 (gmtime): Likewise.
25237 * time/localtime.c (__localtime_r): Likewise.
25238 (localtime): Likewise.
25239 * time/offtime.c (__offtime): Likewise.
25240 * time/settimeofday.c (__settimeofday): Likewise.
25241 * time/stime.c (stime): Likewise.
25242 * time/strftime_l.c (tm_diff): Likewise.
25243 (iso_week_days): Likewise.
25244 * time/strptime.c (strptime): Likewise.
25245 * time/time.c (time): Likewise.
25246 * time/timespec_get.c (timespec_get): Likewise.
25247 * time/tzset.c (tzset_internal): Likewise.
25248 (compute_change): Likewise.
25249 (__tz_compute): Likewise.
25250 * wcsmbs/btowc.c (__btowc): Likewise.
25251 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
25252 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
25253 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
25254 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
25255 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
25256 * wcsmbs/wcscat.c (__wcscat): Likewise.
25257 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25258 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
25259 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
25260 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25261 * wcsmbs/wcsdup.c (wcsdup): Likewise.
25262 * wcsmbs/wcslen.c (__wcslen): Likewise.
25263 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
25264 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
25265 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
25266 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
25267 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25268 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
25269 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25270 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25271 * wcsmbs/wcstok.c (wcstok): Likewise.
25272 * wcsmbs/wctob.c (wctob): Likewise.
25273 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
25274 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25275 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
25276 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
25277 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
25278 * wcsmbs/wmemset.c (__wmemset): Likewise.
25279 * wctype/wcfuncs.c (__towlower): Likewise.
25280 (__towupper): Likewise.
25281
25282 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
25283 (lll_unlock_elision): Add adapt_count parameter.
25284
25285 2015-10-15 Joseph Myers <joseph@codesourcery.com>
25286
25287 * sysdeps/nptl/configure.ac: Do not give errors based on the
25288 results of top-level configure tests.
25289 * sysdeps/nptl/configure: Regenerated.
25290
25291 * configure.ac (libc_cv_Bgroup): Remove configure test.
25292 * configure: Regenerated.
25293 * config.make.in (have-Bgroup): Remove variable.
25294
25295 * configure.ac (sizeof_long_double): Remove configure test.
25296 * configure: Regenerated.
25297 * config.make.in (sizeof-long-double): Remove variable.
25298
25299 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
25300 * configure: Regenerated.
25301 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
25302 variable.
25303 (exceptions): Likewise.
25304 * sysdeps/arm/configure: Regenerated.
25305 * config.make.in (exceptions): Remove variable.
25306 * Makeconfig (uses-callbacks): Use -fexceptions instead of
25307 $(exceptions).
25308 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
25309 (CFLAGS-vdprintf_chk.c): Likewise.
25310 (CFLAGS-printf_chk.c): Likewise.
25311 (CFLAGS-fprintf_chk.c): Likewise.
25312 (CFLAGS-vprintf_chk.c): Likewise.
25313 (CFLAGS-vfprintf_chk.c): Likewise.
25314 (CFLAGS-gets_chk.c): Likewise.
25315 (CFLAGS-fgets_chk.c): Likewise.
25316 (CFLAGS-fgets_u_chk.c): Likewise.
25317 (CFLAGS-fread_chk.c): Likewise.
25318 (CFLAGS-fread_u_chk.c): Likewise.
25319 (CFLAGS-wprintf_chk.c): Likewise.
25320 (CFLAGS-fwprintf_chk.c): Likewise.
25321 (CFLAGS-vwprintf_chk.c): Likewise.
25322 (CFLAGS-vfwprintf_chk.c): Likewise.
25323 (CFLAGS-fgetws_chk.c): Likewise.
25324 (CFLAGS-fgetws_u_chk.c): Likewise.
25325 * libio/Makefile (CFLAGS-fileops.c): Likewise.
25326 (CFLAGS-fputc.c): Likewise.
25327 (CFLAGS-fputwc.c): Likewise.
25328 (CFLAGS-freopen64.c): Likewise.
25329 (CFLAGS-freopen.c): Likewise.
25330 (CFLAGS-fseek.c): Likewise.
25331 (CFLAGS-fseeko64.c): Likewise.
25332 (CFLAGS-fseeko.c): Likewise.
25333 (CFLAGS-ftello64.c): Likewise.
25334 (CFLAGS-ftello.c): Likewise.
25335 (CFLAGS-fwide.c): Likewise.
25336 (CFLAGS-genops.c): Likewise.
25337 (CFLAGS-getc.c): Likewise.
25338 (CFLAGS-getchar.c): Likewise.
25339 (CFLAGS-getwc.c): Likewise.
25340 (CFLAGS-getwchar.c): Likewise.
25341 (CFLAGS-iofclose.c): Likewise.
25342 (CFLAGS-iofflush.c): Likewise.
25343 (CFLAGS-iofgetpos64.c): Likewise.
25344 (CFLAGS-iofgetpos.c): Likewise.
25345 (CFLAGS-iofgets.c): Likewise.
25346 (CFLAGS-iofgetws.c): Likewise.
25347 (CFLAGS-iofputs.c): Likewise.
25348 (CFLAGS-iofputws.c): Likewise.
25349 (CFLAGS-iofread.c): Likewise.
25350 (CFLAGS-iofsetpos64.c): Likewise.
25351 (CFLAGS-iofsetpos.c): Likewise.
25352 (CFLAGS-ioftell.c): Likewise.
25353 (CFLAGS-iofwrite.c): Likewise.
25354 (CFLAGS-iogetdelim.c): Likewise.
25355 (CFLAGS-iogetline.c): Likewise.
25356 (CFLAGS-iogets.c): Likewise.
25357 (CFLAGS-iogetwline.c): Likewise.
25358 (CFLAGS-ioputs.c): Likewise.
25359 (CFLAGS-ioseekoff.c): Likewise.
25360 (CFLAGS-ioseekpos.c): Likewise.
25361 (CFLAGS-iosetbuffer.c): Likewise.
25362 (CFLAGS-iosetvbuf.c): Likewise.
25363 (CFLAGS-ioungetc.c): Likewise.
25364 (CFLAGS-ioungetwc.c): Likewise.
25365 (CFLAGS-oldfileops.c): Likewise.
25366 (CFLAGS-oldiofclose.c): Likewise.
25367 (CFLAGS-oldiofgetpos64.c): Likewise.
25368 (CFLAGS-oldiofgetpos.c): Likewise.
25369 (CFLAGS-oldiofsetpos64.c): Likewise.
25370 (CFLAGS-oldiofsetpos.c): Likewise.
25371 (CFLAGS-peekc.c): Likewise.
25372 (CFLAGS-putc.c): Likewise.
25373 (CFLAGS-putchar.c): Likewise.
25374 (CFLAGS-putwc.c): Likewise.
25375 (CFLAGS-putwchar.c): Likewise.
25376 (CFLAGS-rewind.c): Likewise.
25377 (CFLAGS-wfileops.c): Likewise.
25378 (CFLAGS-wgenops.c): Likewise.
25379 (CFLAGS-oldiofopen.c): Likewise.
25380 (CFLAGS-iofopen.c): Likewise.
25381 (CFLAGS-iofopen64.c): Likewise.
25382 (CFLAGS-oldtmpfile.c): Likewise.
25383 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
25384 (CFLAGS-fprintf.c): Likewise.
25385 (CFLAGS-printf.c): Likewise.
25386 (CFLAGS-vfwprintf.c): Likewise.
25387 (CFLAGS-vfscanf.c): Likewise.
25388 (CFLAGS-vfwscanf.c): Likewise.
25389 (CFLAGS-fscanf.c): Likewise.
25390 (CFLAGS-scanf.c): Likewise.
25391 (CFLAGS-isoc99_vfscanf.c): Likewise.
25392 (CFLAGS-isoc99_vscanf.c): Likewise.
25393 (CFLAGS-isoc99_fscanf.c): Likewise.
25394 (CFLAGS-isoc99_scanf.c): Likewise.
25395 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
25396 (CFLAGS-isoc99_fwscanf.c): Likewise.
25397 (CFLAGS-isoc99_vwscanf.c): Likewise.
25398 (CFLAGS-isoc99_vfwscanf.c): Likewise.
25399
25400 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
25401 after mkstemp64.
25402 * login/tst-utmp.c (do_prepare): Likewise.
25403 * rt/tst-aio.c (do_prepare): Likewise.
25404 * rt/tst-aio64.c (do_prepare): Likewise.
25405
25406 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25407
25408 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25409 (__lll_lock_elision): Remove adapt_count decrement...
25410 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
25411 (__lll_trylock_elision): Likewise.
25412 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
25413 (__lll_unlock_elision): ... to here. And utilize
25414 new adapt_count parameter.
25415 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
25416 (__lll_unlock_elision): Update to include adapt_count
25417 parameter.
25418 (lll_unlock_elision): Pass pointer to adapt_count
25419 variable.
25420
25421 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25422
25423 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
25424 Add elision adapt_count parameter to list of arguments.
25425 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
25426 (lll_unlock_elision): Update with new parameter list
25427 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
25428 (lll_unlock_elision): Likewise.
25429 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
25430 (lll_unlock_elision): Likewise.
25431
25432 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
25433
25434 [BZ #19122]
25435 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
25436 attribute_hidden.
25437
25438 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
25439 attribute_hidden.
25440 [IS_IN (rtld)] (__strdup): Likewise.
25441 [IS_IN (rtld)] (__strerror_r): Likewise.
25442 [IS_IN (rtld)] (__strsep_g): Likewise.
25443 [IS_IN (rtld)] (memchr): Likewise.
25444 [IS_IN (rtld)] (memcmp): Likewise.
25445 [IS_IN (rtld)] (memcpy): Likewise.
25446 [IS_IN (rtld)] (memmove): Likewise.
25447 [IS_IN (rtld)] (memset): Likewise.
25448 [IS_IN (rtld)] (rawmemchr): Likewise.
25449 [IS_IN (rtld)] (stpcpy): Likewise.
25450 [IS_IN (rtld)] (strchr): Likewise.
25451 [IS_IN (rtld)] (strcmp): Likewise.
25452 [IS_IN (rtld)] (strlen): Likewise.
25453 [IS_IN (rtld)] (strnlen): Likewise.
25454 [IS_IN (rtld)] (strsep): Likewise.
25455
25456 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
25457 attribute_hidden.
25458 [IS_IN (rtld)] (__strtoul_internal): Likewise.
25459
25460 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
25461 attribute_hidden.
25462 [IS_IN (rtld)] (__libc_sigaction): Likewise.
25463
25464 * include/setjmp.h (__longjmp): Add attribute_hidden.
25465 [IS_IN (rtld)] (__sigsetjmp): Likewise.
25466
25467 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
25468 Add attribute_hidden.
25469
25470 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
25471 [IS_IN (rtld)] (__open): Likewise.
25472 [IS_IN (rtld)] (__fcntl): Likewise.
25473
25474 * include/dirent.h (__opendirat): Add attribute_hidden.
25475 (__getdents): Likewise.
25476 (__getdents64): Likewise.
25477 (__alloc_dir): Likewise.
25478 [IS_IN (rtld)] (__closedir): Likewise.
25479 [IS_IN (rtld)] (__fdopendir): Likewise.
25480 [IS_IN (rtld)] (__readdir): Likewise.
25481 [IS_IN (rtld)] (__readdir64): Likewise.
25482 [IS_IN (rtld)] (__rewinddir): Likewise.
25483
25484 * include/dlfcn.h (_dl_catch_error): Moved to ...
25485 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
25486 attribute_hidden.
25487
25488 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
25489 (_itoa_word): Likewise.
25490
25491 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
25492 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
25493 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
25494 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
25495 (_dl_higher_prime_number): Likewise.
25496 (_dl_debug_printf_c): Likewise.
25497 (_dl_signal_cerror): Likewise.
25498 (_dl_receive_error): Likewise.
25499 (_dl_reloc_bad_type): Likewise.
25500 (_dl_resolve_conflicts): Likewise.
25501 (_dl_check_all_versions): Likewise.
25502 (_dl_check_map_versions): Likewise.
25503 (_dl_sort_fini): Likewise.
25504 (_dl_debug_initialize): Likewise.
25505 (_dl_init_paths): Likewise.
25506 (_dl_show_auxv): Likewise.
25507 (_dl_next_ld_env_entry): Likewise.
25508 (_dl_important_hwcaps): Likewise.
25509 (_dl_load_cache_lookup): Likewise.
25510 (_dl_update_slotinfo): Likewise.
25511 (_dl_show_scope): Likewise.
25512
25513 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
25514 attribute_hidden.
25515 (_wordcopy_fwd_dest_aligned): Likewise.
25516 (_wordcopy_bwd_aligned): Likewise.
25517 (_wordcopy_bwd_dest_aligned): Likewise.
25518
25519 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
25520 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
25521 Likewise.
25522 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
25523 Likewise.
25524 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
25525
25526 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
25527
25528 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
25529 GCC 5 requirement.
25530
25531 2015-10-15 Joseph Myers <joseph@codesourcery.com>
25532
25533 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
25534 test.
25535 * sysdeps/i386/configure: Regenerated.
25536 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
25537 code unconditional.
25538
25539 * configure.ac (libc_cv_asm_previous_directive): Remove configure
25540 test.
25541 (libc_cv_asm_popsection_directive): Likewise.
25542 * configure: Regenerated.
25543 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
25544 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
25545 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
25546 (__make_section_unallocated): Make definition unconditional.
25547 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
25548 Remove conditional definition.
25549 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
25550 (__make_section_unallocated): Likewise.
25551
25552 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
25553 * configure: Regenerated.
25554 * config.make.in (static-libgcc): Remove variable.
25555 * Makerules (build-shlib-helper): Use -static-libgcc instead of
25556 $(static-libgcc).
25557 (build-module-helper): Likewise.
25558
25559 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
25560 * configure: Regenerated.
25561
25562 2015-10-15 Florian Weimer <fweimer@redhat.com>
25563
25564 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
25565 (struct char_buffer): New type.
25566 (char_buffer_start, char_buffer_size, char_buffer_error)
25567 (char_buffer_rewind, char_buffer_add): New functions.
25568 (ADDW): Remove macro, replaced by the char_buffer_add function.
25569 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
25570 of extend_alloca. Make control flow more explicit.
25571
25572 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
25573
25574 [BZ #19137]
25575 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
25576 Add -fomit-frame-pointer.
25577 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
25578
25579 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
25580
25581 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
25582 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
25583 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
25584 only if !__GNUC_PREREQ (5,0).
25585 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
25586 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
25587 (INTERNAL_SYSCALL_NCS): Likewise.
25588 (LOADREGS_0): New macro for GCC 5.
25589 (ASMARGS_0): Likewise.
25590 (LOADREGS_1): Likewise.
25591 (ASMARGS_1): Likewise.
25592 (LOADREGS_2): Likewise.
25593 (ASMARGS_2): Likewise.
25594 (LOADREGS_3): Likewise.
25595 (ASMARGS_3): Likewise.
25596 (LOADREGS_4): Likewise.
25597 (ASMARGS_4): Likewise.
25598 (LOADREGS_5): Likewise.
25599 (ASMARGS_5): Likewise.
25600 (LOADREGS_6): Likewise.
25601 (ASMARGS_6): Likewise.
25602
25603 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
25604
25605 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
25606 -fomit-frame-pointer.
25607 (CFLAGS-mmap64.c): Likewise.
25608 (CFLAGS-semtimedop.c): Likewise.
25609 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
25610 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
25611 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25612 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25613
25614 2015-10-15 Florian Weimer <fweimer@redhat.com>
25615
25616 [BZ #18928]
25617 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
25618 _dl_pointer_guard member.
25619 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
25620 initializer.
25621 (security_init): Always set up pointer guard.
25622 (process_envvars): Do not process LD_POINTER_GUARD.
25623
25624 2015-10-14 Joseph Myers <joseph@codesourcery.com>
25625
25626 [BZ #19134]
25627 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
25628 (.LC2): Likewise.
25629 (.LC3): Likewise.
25630 (__lround): Do not add 0.5 to integer or out-of-range arguments.
25631
25632 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
25633
25634 [BZ #19129]
25635 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
25636 r0 and r1.
25637
25638 2015-10-14 Namhyung Kim <namhyung@gmail.com>
25639
25640 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
25641
25642 2015-10-14 Carlos O'Donell <carlos@redhat.com>
25643
25644 * include/stap-probe.h: Fix macro definition formatting.
25645
25646 2015-10-14 Florian Weimer <fweimer@redhat.com>
25647
25648 [BZ #19074]
25649 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
25650 load and store num_ifs.
25651
25652 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
25653
25654 [BZ #18822]
25655 * sysdeps/unix/sysv/linux/sched_getaffinity.c
25656 (__sched_getaffinity_new): Add libc_hidden_proto and
25657 libc_hidden_def.
25658
25659 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
25660
25661 [BZ #19007]
25662 * scripts/localplt.awk: Also allow GOT references.
25663 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
25664 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
25665 with "+ REL R_386_GLOB_DAT".
25666 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
25667 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
25668
25669 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
25670
25671 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
25672 INLINE_SYSCALL_ERROR_RETURN_VALUE.
25673 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
25674 Likewise.
25675 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
25676 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
25677 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
25678 INTERNAL_SYSCALLINTERNAL_SYSCALL and
25679 INLINE_SYSCALL_ERROR_RETURN_VALUE.
25680 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
25681 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25682 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
25683 Likewise.
25684 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25685
25686 2015-10-13 Joseph Myers <joseph@codesourcery.com>
25687
25688 [BZ #19125]
25689 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
25690 <math_private.h> and <stdint.h>.
25691 (__llround): Avoid conversions to and from long long int, and
25692 subtractions, where those might raise spurious exceptions.
25693 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25694 <math_private.h> and <stdint.h>.
25695 (__llroundf): Avoid conversions to and from long long int, and
25696 subtractions, where those might raise spurious exceptions.
25697
25698 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
25699
25700 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
25701 INLINE_SYSCALL_ERROR_RETURN_VALUE.
25702 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
25703 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
25704 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25705 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25706 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
25707 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
25708 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
25709 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25710 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25711 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25712 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
25713 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25714 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25715 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
25716 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
25717 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25718 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
25719 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
25720 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
25721 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
25722 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
25723 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
25724 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
25725 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25726 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
25727 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25728 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25729 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
25730 (__xstat64_conv): Likewise.
25731 (__xstat32_conv): Likewise.
25732
25733 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
25734
25735 * sysdeps/unix/sysv/linux/sysdep.h: New file.
25736 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
25737 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
25738 <sysdeps/unix/sysv/linux/sysdep.h>.
25739 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
25740 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
25741 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
25742 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25743 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
25744 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
25745 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
25746 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
25747 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
25748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25750 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25751 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25752 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25753 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25754 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25755 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
25756 (sysdep-dl-routines): Add sysdep.
25757 [$(subdir) == nptl] (libpthread-routines): Likewise.
25758 [$(subdir) == rt] (librt-routines): Likewise.
25759 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
25760 PIC when branching to SYSCALL_ERROR_LABEL.
25761 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
25762 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
25763 <sysdeps/unix/sysv/linux/sysdep.h>.
25764 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
25765 (SYSCALL_ERROR_ERRNO): Removed.
25766 (SYSCALL_ERROR_HANDLER): Changed to empty.
25767 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
25768 (__syscall_error): New prototype.
25769 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
25770 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
25771
25772 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
25773
25774 [BZ #19124]
25775 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
25776 (_dl_runtime_resolve_avx512): Make it a hidden alias of
25777 _dl_runtime_resolve_avx.
25778 (_dl_runtime_profile_avx512): Make it a hidden alias of
25779 _dl_runtime_profile_avx.
25780
25781 2015-10-13 Joseph Myers <joseph@codesourcery.com>
25782
25783 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
25784 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
25785 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
25786 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
25787
25788 [BZ #16422]
25789 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
25790 New configure test.
25791 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
25792 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
25793 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
25794 <math_private.h> and <stdint.h>.
25795 (__llrint): Avoid conversions to long long int where those might
25796 raise spurious exceptions.
25797 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25798 <math_private.h> and <stdint.h>.
25799 (__llrintf): Avoid conversions to long long int where those might
25800 raise spurious exceptions.
25801
25802 2015-10-12 Andreas Schwab <schwab@suse.de>
25803
25804 [BZ #18969]
25805 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
25806 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
25807 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
25808 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
25809 $(gen-locales).
25810 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
25811 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
25812 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
25813 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
25814 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
25815 $(gen-locales).
25816 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
25817 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
25818 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
25819 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
25820 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
25821 ($(objpfx)tst-ftell-active-handler.out)
25822 ($(objpfx)tst-ftell-append.out)
25823 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
25824 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
25825 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
25826 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
25827 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
25828 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
25829 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
25830 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
25831 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
25832 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
25833 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
25834 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
25835 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
25836 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
25837 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
25838 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
25839 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
25840 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
25841 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
25842 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
25843 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
25844 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
25845 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
25846 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
25847 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
25848 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
25849 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
25850 $(gen-locales).
25851 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
25852 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
25853 $(gen-locales).
25854 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
25855 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
25856 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
25857 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
25858 $(gen-locales).
25859 * libio/tst_wprintf2.c (main): Use explicit locale.
25860 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
25861
25862 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25863
25864 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
25865 __msg_sig_post.
25866 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
25867
25868 2015-10-09 Joseph Myers <joseph@codesourcery.com>
25869
25870 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
25871 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25872
25873 * sysdeps/arm/libm-test-ulps: Regenerated.
25874
25875 [BZ #15470]
25876 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
25877
25878 [BZ #16399]
25879 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
25880 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
25881 and <fix-fp-int-convert-overflow.h>.
25882 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
25883 FIX_DBL_LLONG_CONVERT_OVERFLOW.
25884 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
25885 and <fix-fp-int-convert-overflow.h>.
25886 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
25887 FIX_DBL_LLONG_CONVERT_OVERFLOW.
25888 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
25889 <fix-fp-int-convert-overflow.h>.
25890 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
25891 FIX_DBL_LLONG_CONVERT_OVERFLOW.
25892 * sysdeps/ieee754/dbl-64/s_lround.c: Include
25893 <fix-fp-int-convert-overflow.h>.
25894 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
25895 FIX_DBL_LLONG_CONVERT_OVERFLOW.
25896 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
25897 and <fix-fp-int-convert-overflow.h>.
25898 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
25899 FIX_DBL_LLONG_CONVERT_OVERFLOW.
25900 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
25901 <limits.h> and <fix-fp-int-convert-overflow.h>.
25902 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
25903 FIX_DBL_LLONG_CONVERT_OVERFLOW.
25904 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
25905 and <fix-fp-int-convert-overflow.h>.
25906 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
25907 FIX_DBL_LLONG_CONVERT_OVERFLOW.
25908 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
25909 and <fix-fp-int-convert-overflow.h>.
25910 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
25911 FIX_DBL_LLONG_CONVERT_OVERFLOW.
25912 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
25913
25914 2015-10-09 Carlos O'Donell <carlos@redhat.com>
25915
25916 [BZ #18589]
25917 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
25918 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
25919 $(gen-locales).
25920
25921 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25922 Phil Blundell <pb@pbcl.net>
25923
25924 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
25925 * nptl/tst-cancel26.c: New file.
25926 * nptl/tst-cancel27.c: Likewise.
25927
25928 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
25929
25930 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
25931 __ILP32__ isn't defined.
25932 (lrint): Likewise.
25933 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
25934 (lrintf): Likewise.
25935 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
25936 (lrintl): Likewise.
25937 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
25938 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
25939 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
25940
25941 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25942
25943 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
25944 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
25945
25946 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
25947 file.
25948 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
25949 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
25950
25951 2015-10-09 Joseph Myers <joseph@codesourcery.com>
25952
25953 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
25954 configure test.
25955 * sysdeps/i386/configure: Regenerated.
25956 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
25957 configure test.
25958 * sysdeps/x86_64/configure: Regenerated.
25959 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
25960 Make code unconditional.
25961
25962 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
25963 test.
25964 * sysdeps/i386/configure: Regenerated.
25965 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
25966 test.
25967 * sysdeps/x86_64/configure: Regenerated.
25968 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
25969 Make code unconditional.
25970 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
25971 Likewise.
25972 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
25973 Likewise.
25974 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25975 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
25976 code unconditional.
25977 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25978 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
25979 code unconditional.
25980 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25981 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
25982 code unconditional.
25983 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
25984 code unconditional.
25985 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25986 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
25987 code unconditional.
25988 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25989 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
25990 code unconditional.
25991 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25992 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
25993 code unconditional.
25994 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25995 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
25996 code unconditional.
25997 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25998 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
25999
26000 [BZ #19095]
26001 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
26002 mantissa to long int before shifting left.
26003
26004 2015-10-08 Joseph Myers <joseph@codesourcery.com>
26005
26006 [BZ #19094]
26007 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
26008 <limits.h>.
26009 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26010 when result overflows but exception would not result from cast.
26011 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
26012 <limits.h>.
26013 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26014 when result overflows but exception would not result from cast.
26015 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
26016 <limits.h>.
26017 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26018 when result overflows but exception would not result from cast.
26019 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
26020 <limits.h>.
26021 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26022 when result overflows but exception would not result from cast.
26023 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
26024 <limits.h>.
26025 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26026 when result overflows but exception would not result from cast.
26027 * math/libm-test.inc (lrint_test_data): Add more tests.
26028 (llrint_test_data): Likewise.
26029
26030 2015-10-08 Roland McGrath <roland@hack.frob.com>
26031
26032 [BZ #18872]
26033 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
26034 Move out from under [$(run-built-tests) = yes] conditional.
26035 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
26036 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
26037
26038 2015-10-08 Carlos O'Donell <carlos@redhat.com>
26039
26040 [BZ #18589]
26041 * string/Makefile (tests): Add bug-strcoll2.
26042 (LOCALES): Add cs_CZ.UTF-8.
26043 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
26044
26045 [BZ #18589]
26046 * string/bug-strcoll2.c: New file.
26047 * locale/categories.def: Revert commit
26048 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
26049 * locale/langinfo.h: Likewise.
26050 * locale/localeinfo.h: Likewise.
26051 * locale/C-collate.c: Likewise.
26052 * locale/programs/ld-collate.c (collate_output): Likewise.
26053 * string/strcoll_l.c (STRDIFF): Likewise.
26054 (STRCOLL): Likewise.
26055 * wcsmbs/wcscoll_l.c: Likewise.
26056
26057 2015-10-08 Joseph Myers <joseph@codesourcery.com>
26058
26059 * math/libm-test.inc (lround_test_data): Do not expect the absence
26060 of "inexact" for some tests with non-integer arguments.
26061 (llround_test_data): Likewise.
26062
26063 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
26064 test.
26065 (libc_cv_cc_sse2avx): Likewise.
26066 * sysdeps/i386/configure: Regenerated.
26067 * sysdeps/i386/i686/multiarch/Makefile
26068 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
26069 [$(subdir) = math].
26070 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
26071 code unconditional.
26072 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
26073 Likewise.
26074 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
26075 Likewise.
26076 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
26077 Likewise.
26078 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
26079 test.
26080 (libc_cv_cc_sse2avx): Likewise.
26081 * sysdeps/x86_64/configure: Regenerated.
26082 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
26083 unconditional.
26084 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
26085 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
26086 unconditional.
26087 (_dl_runtime_profile)
26088 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
26089 conditional code.
26090 * sysdeps/x86_64/fpu/multiarch/Makefile
26091 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
26092 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
26093 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26094 * sysdeps/x86_64/fpu/multiarch/e_exp.c
26095 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26096 * sysdeps/x86_64/fpu/multiarch/e_log.c
26097 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26098 * sysdeps/x86_64/fpu/multiarch/s_atan.c
26099 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26100 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
26101 Likewise.
26102 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
26103 Likewise.
26104 * sysdeps/x86_64/fpu/multiarch/s_sin.c
26105 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26106 * sysdeps/x86_64/fpu/multiarch/s_tan.c
26107 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26108 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
26109 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
26110 (HAVE_SSE2AVX_SUPPORT): Likewise.
26111
26112 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
26113
26114 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
26115 instead of #pragma optimize.
26116
26117 2015-10-07 Carlos O'Donell <carlos@redhat.com>
26118
26119 [BZ #17195]
26120 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
26121 as is similarly done in systrim and _int_free already.
26122
26123 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
26124
26125 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
26126
26127 2015-10-07 Joseph Myers <joseph@codesourcery.com>
26128
26129 [BZ #19088]
26130 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
26131 <limits.h>.
26132 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
26133 overflows but exception would not result from cast.
26134 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
26135 and <limits.h>.
26136 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
26137 overflows but exception would not result from cast.
26138 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
26139 <limits.h>.
26140 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
26141 overflows but exception would not result from cast.
26142 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
26143 <limits.h>.
26144 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
26145 overflows but exception would not result from cast.
26146 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
26147 <limits.h>.
26148 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
26149 overflows but exception would not result from cast.
26150 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
26151 <limits.h>.
26152 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
26153 overflows but exception would not result from cast.
26154 * math/libm-test.inc (lround_test_data): Add more tests.
26155 (llround_test_data): Likewise.
26156
26157 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
26158
26159 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
26160 (CFLAGS-ialloc.c): Ditto.
26161 (CFLAGS-scheck.c): Ditto.
26162
26163 2015-10-07 Carlos O'Donell <carlos@redhat.com>
26164
26165 [BZ #19086]
26166 * manual/filesys.texi (Storage Allocation): Fix argument order for
26167 posix_fallocate64.
26168
26169 2015-10-07 Joseph Myers <joseph@codesourcery.com>
26170
26171 [BZ #19085]
26172 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
26173 exponent below 48 inside case for non-overflowing exponent.
26174 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
26175
26176 2015-10-07 Florian Weimer <fweimer@redhat.com>
26177
26178 * iconvdata/cp737.h (from_idx): Add const.
26179 * iconvdata/cp775.h (from_idx): Likewise.
26180
26181 2015-10-07 Joseph Myers <joseph@codesourcery.com>
26182
26183 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
26184 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
26185 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
26186
26187 [BZ #19079]
26188 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
26189 file, conditioned on [!_LP64].
26190 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
26191 [!_LP64] (__lround): Do not define as function or alias.
26192 [!_LP64] (lround): Likewise.
26193 [!_LP64] (__lroundl): Likewise.
26194 [!_LP64] (lroundl): Likewise.
26195 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
26196 macro.
26197 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
26198 Likewise.
26199
26200 2015-10-06 Joseph Myers <joseph@codesourcery.com>
26201
26202 * math/libm-test.inc (lrint_test_data): Add more tests.
26203 (llrint_test_data): Likewise.
26204 (lround_test_data): Likewise.
26205 (llround_test_data): Likewise.
26206
26207 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
26208 (llrint_test_data): Add tests used for lrint.
26209
26210 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
26211 test.
26212 * sysdeps/i386/configure: Regenerated.
26213 * sysdeps/i386/i686/multiarch/Makefile
26214 [$(config-cflags-sse4) = yes]: Make code unconditional.
26215 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
26216 Likewise.
26217 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
26218 Likewise.
26219 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
26220 test.
26221 * sysdeps/x86_64/configure: Regenerated.
26222 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
26223 Make code unconditional.
26224 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
26225 Likewise.
26226 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
26227 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
26228
26229 * scripts/rpm2dynsym.sh: Remove file.
26230
26231 2015-10-06 Florian Weimer <fweimer@redhat.com>
26232
26233 * configure.ac (libc_cv_cxx_thread_local): Define.
26234 * configure: Regenerate.
26235 * config.make.in (have-cxx-thread_local): Define.
26236 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
26237 (LDLIBS-tst-thread_local1): Define.
26238 (tests): Add tst-thread_local1.
26239 [have-cxx-thread_local != yes] (tests-unsupported): Add
26240 tst-thread_local1.
26241 * nptl/tst-thread_local1.cc: New file.
26242
26243 2015-10-06 Joseph Myers <joseph@codesourcery.com>
26244
26245 [BZ #19078]
26246 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
26247 (u_thres): Likewise.
26248 (__expl): Determine whether to call __kernel_standard_l based on
26249 value of result, not argument.
26250
26251 * math/libm-test.inc (scalb_test_data): Add more expectations for
26252 the "inexact" exception.
26253
26254 [BZ #19077]
26255 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
26256 0.0L for argument 1.0L.
26257
26258 [BZ #19076]
26259 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
26260 constant 0.0L when computing infinite result.
26261
26262 2015-10-06 Florian Weimer <fweimer@redhat.com>
26263
26264 [BZ #10432]
26265 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
26266 malloc_usable_size.
26267
26268 2015-10-06 Florian Weimer <fweimer@redhat.com>
26269
26270 [BZ #19018]
26271 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26272 Mangle function pointer before storing it.
26273 (__call_tls_dtors): Demangle function pointer before calling it.
26274
26275 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26276
26277 [BZ #19012]
26278 * iconv/gconv_db.c (gen_steps): Check for additional errors.
26279 Clean up on failure.
26280
26281 2015-10-05 Joseph Myers <joseph@codesourcery.com>
26282
26283 [BZ #19071]
26284 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
26285 long int variable to store possibly incremented high part of
26286 mantissa.
26287 * math/libm-test.inc (lround_test_data): Add tests used for
26288 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
26289 for tests requiring 64-bit long. Do not condition tests on
26290 [TEST_FLOAT] unnecessarily.
26291 (llround_test_data): Add tests used for lround. Add another
26292 expectation for the "inexact" exception. Do not condition tests
26293 on [TEST_FLOAT] unnecessarily.
26294
26295 [BZ #887]
26296 [BZ #19049]
26297 [BZ #19050]
26298 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
26299 * sysdeps/ieee754/dbl-64/e_log10.c: Include
26300 <fix-int-fp-convert-zero.h>.
26301 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26302 * sysdeps/ieee754/dbl-64/e_log2.c: Include
26303 <fix-int-fp-convert-zero.h>.
26304 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26305 * sysdeps/ieee754/dbl-64/s_erf.c: Include
26306 <fix-int-fp-convert-zero.h>.
26307 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26308 * sysdeps/ieee754/dbl-64/s_logb.c: Include
26309 <fix-int-fp-convert-zero.h>.
26310 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26311 * sysdeps/ieee754/flt-32/e_log10f.c: Include
26312 <fix-int-fp-convert-zero.h>.
26313 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26314 * sysdeps/ieee754/flt-32/e_log2f.c: Include
26315 <fix-int-fp-convert-zero.h>.
26316 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26317 * sysdeps/ieee754/flt-32/s_erff.c: Include
26318 <fix-int-fp-convert-zero.h>.
26319 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26320 * sysdeps/ieee754/flt-32/s_logbf.c: Include
26321 <fix-int-fp-convert-zero.h>.
26322 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26323 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
26324 <fix-int-fp-convert-zero.h>.
26325 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26326 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
26327 <fix-int-fp-convert-zero.h>.
26328 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26329 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
26330 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
26331 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
26332 file.
26333 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
26334
26335 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
26336
26337 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26338
26339 2015-10-02 Joseph Myers <joseph@codesourcery.com>
26340
26341 [BZ #19059]
26342 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
26343 overflowing computation.
26344 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26345 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
26346 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26347 Likewise.
26348 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26349 Likewise.
26350 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
26351 Likewise.
26352 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26353 Likewise.
26354 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26355 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26356 Likewise.
26357 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26358 Likewise.
26359 * math/libm-test.inc (nexttoward_test_data): Add more tests.
26360
26361 * nss/rewrite_field.c (__nss_rewrite_field): Use
26362 internal_function.
26363 * nss/valid_field.c (__nss_valid_field): Likewise.
26364 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
26365
26366 2015-10-02 Florian Weimer <fweimer@redhat.com>
26367
26368 [BZ #18724]
26369 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
26370 (__nss_invalid_field_characters, __nss_valid_field)
26371 (__nss_valid_list_field, __nss_rewrite_field): Declare.
26372 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
26373 tst-field.c: New file.
26374 * nss/Makefile (routines): Add valid_field, rewrite_field.
26375 (tests-static): Define unconditionally.
26376 (tests): Include tests-static.
26377 [build-static-nss] (tests-static): Use append.
26378 [build-static-nss] (tests): Remove modification.
26379 * nss/getent.c (print_group): Call putgrent. Report error.
26380 (print_gshadow): Call putsgent. Report error.
26381 (print_passwd): Call putpwent. Report error.
26382 (print_shadow): Call putspent. Report error.
26383 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
26384 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
26385 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
26386 name, password, directory, shell fields for valid syntax. Rewrite
26387 GECOS field to match syntax.
26388 * pwd/Makefile (tests): Add tst-putpwent.
26389 * pwd/tst-putpwent.c: New file.
26390 * grp/putgrent.c (putgrent): Convert to ISO function definition.
26391 Check grName, grpasswd, gr_mem fields for valid syntax.
26392 Change loop variable i to size_t.
26393 * grp/Makefile (tests): Add tst-putgrent.
26394 * grp/tst-putgrent.c: New file.
26395 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
26396 valid syntax.
26397 * shadow/Makefile (tests): Add tst-putspent.
26398 * shadow/tst-putspent.c: New file.
26399 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
26400 sg_mem fields for valid syntax.
26401 * gshadow/Makefile (tests): Add tst-putsgent.
26402 * gshadow/tst-putsgent.c: New file.
26403
26404 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26405
26406 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
26407 assembly instructions.
26408
26409 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26410
26411 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
26412 prefix from operands.
26413
26414 2015-10-01 Joseph Myers <joseph@codesourcery.com>
26415
26416 [BZ #16347]
26417 [BZ #19046]
26418 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
26419 <libc-internal.h>.
26420 (MAXLGM): Do not use diagnostic control macros.
26421 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
26422 threshold for ldbl-128ibm.
26423 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
26424 instead of multiplying by log then subtracting.
26425 * math/auto-libm-test-in: Add more tests of lgamma.
26426 * math/auto-libm-test-out: Regenerated.
26427
26428 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
26429 (TYPE_HEX_DIG): Likewise.
26430 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
26431 precisions when printing floating-point numbers.
26432 (check_float_internal): Likewise.
26433
26434 2015-09-30 Joseph Myers <joseph@codesourcery.com>
26435
26436 [BZ #16620]
26437 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
26438 of log (10) rounded downward to 48 bits.
26439 (log10_low): Use corresponding low part of log (10).
26440
26441 [BZ #19032]
26442 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
26443 compute result as (x - x) / (x - x) not as 0 / 0.
26444 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
26445 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
26446
26447 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26448 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
26449 and expm1.
26450 * math/auto-libm-test-out: Regenerated.
26451 * math/libm-test.inc (acos_test_data): Add more tests.
26452 (asin_test_data): Likewise.
26453 (asinh_test_data): Likewise.
26454 (atan_test_data): Likewise.
26455 (atanh_test_data): Likewise.
26456 (atan2_test_data): Likewise.
26457 (cbrt_test_data): Likewise.
26458 (ceil_test_data): Likewise.
26459 (copysign_test_data): Likewise.
26460 (cos_test_data): Likewise.
26461 (cosh_test_data): Likewise.
26462 (erf_test_data): Likewise.
26463 (erfc_test_data): Likewise.
26464 (exp_test_data): Likewise.
26465 (exp10_test_data): Likewise.
26466 (exp2_test_data): Likewise.
26467 (expm1_test_data): Likewise.
26468 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26469
26470 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
26471
26472 [BZ #19006]
26473 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
26474 to ...
26475 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
26476 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
26477 to ...
26478 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
26479 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
26480 to ...
26481 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
26482 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
26483 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
26484 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
26485 to ...
26486 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
26487 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
26488 Moved to ...
26489 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
26490 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
26491 Moved to ...
26492 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
26493 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
26494 to ...
26495 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
26496 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
26497 Moved to ...
26498 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
26499 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
26500 to ...
26501 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
26502 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
26503 Removed.
26504 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
26505 Likewise.
26506 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
26507 Likewise.
26508 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
26509 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
26510 Likewise.
26511 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
26512 Likewise.
26513 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
26514 Likewise.
26515 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
26516 Likewise.
26517 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
26518 Likewise.
26519 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
26520 Likewise.
26521 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
26522 Likewise.
26523 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
26524 Likewise.
26525 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
26526 Likewise.
26527 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
26528 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
26529 Likewise.
26530 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
26531 Likewise.
26532 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
26533 Likewise.
26534 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
26535 Likewise.
26536 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
26537 Likewise.
26538 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
26539 Replace ../i486/pthread_cond_timedwait.S with
26540 ../pthread_cond_timedwait.S.
26541
26542 2015-09-30 Joseph Myers <joseph@codesourcery.com>
26543
26544 * math/libm-test.inc (acos_test_data): Refine expectations for
26545 errno and "inexact" exceptions.
26546 (acosh_test_data): Likewise.
26547 (asin_test_data): Likewise.
26548 (asinh_test_data): Likewise.
26549 (atan_test_data): Likewise.
26550 (atanh_test_data): Likewise.
26551 (atan2_test_data): Likewise.
26552 (cbrt_test_data): Likewise.
26553 (ceil_test_data): Likewise.
26554 (copysign_test_data): Likewise.
26555 (cosh_test_data): Likewise.
26556 (erf_test_data): Likewise.
26557 (erfc_test_data): Likewise.
26558 (exp_test_data): Likewise.
26559 (exp10_test_data): Likewise.
26560 (exp2_test_data): Likewise.
26561 (expm1_test_data): Likewise.
26562 (fabs_test_data): Likewise.
26563 (floor_test_data): Likewise.
26564 (fma_test_data): Likewise.
26565 (fmax_test_data): Likewise.
26566 (fmin_test_data): Likewise.
26567 (fmod_test_data): Likewise.
26568 (fpclassify_test_data): Likewise.
26569 (frexp_test_data): Likewise.
26570 (hypot_test_data): Likewise.
26571 (ilogb_test_data): Likewise.
26572 (isgreater_test_data): Likewise.
26573 (isgreaterequal_test_data): Likewise.
26574 (isinf_test_data): Likewise.
26575 (isless_test_data): Likewise.
26576 (islessequal_test_data): Likewise.
26577 (islessgreater_test_data): Likewise.
26578 (isnan_test_data): Likewise.
26579 (isnormal_test_data): Likewise.
26580 (issignaling_test_data): Likewise.
26581 (isunordered_test_data): Likewise.
26582 (j0_test_data): Likewise.
26583 (j1_test_data): Likewise.
26584 (jn_test_data): Likewise.
26585 (lgamma_test_data): Likewise.
26586 (lrint_test_data): Likewise.
26587 (llrint_test_data): Likewise.
26588 (log_test_data): Likewise.
26589 (log10_test_data): Likewise.
26590 (log1p_test_data): Likewise.
26591 (log2_test_data): Likewise.
26592 (logb_test_data): Likewise.
26593 (lround_test_data): Likewise.
26594 (llround_test_data): Likewise.
26595 (modf_test_data): Likewise.
26596 (nearbyint_test_data): Likewise.
26597 (nextafter_test_data): Likewise.
26598 (nexttoward_test_data): Likewise.
26599 (pow_test_data): Likewise.
26600 (remainder_test_data): Likewise.
26601 (remquo_test_data): Likewise.
26602 (rint_test_data): Likewise.
26603 (round_test_data): Likewise.
26604 (signbit_test_data): Likewise.
26605 (sinh_test_data): Likewise.
26606 (sqrt_test_data): Likewise.
26607 (tanh_test_data): Likewise.
26608 (tgamma_test_data): Likewise.
26609 (trunc_test_data): Likewise.
26610 (y0_test_data): Likewise.
26611 (y1_test_data): Likewise.
26612 (yn_test_data): Likewise.
26613 (significand_test_data): Likewise.
26614
26615 2015-09-29 Carlos O'Donell <carlos@redhat.com>
26616
26617 * manual/filesys.texi (Storage Allocation): Document that
26618 posix_fallocate emulation fails when fd is open with O_WRONLY.
26619
26620 2015-09-28 Joseph Myers <joseph@codesourcery.com>
26621
26622 [BZ #19016]
26623 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
26624 allow more cases with X^2 + Y^2 >= 0.5.
26625 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
26626 normal element in sum instead of special-casing based on values of
26627 arguments.
26628 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
26629 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
26630 -1 as normal element in sum instead of special-casing based on
26631 values of arguments.
26632 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
26633 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
26634 (__x2y2m1): Update comment.
26635 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
26636 as normal element in sum instead of special-casing based on values
26637 of arguments.
26638 * math/s_clog.c (__clog): Handle more cases using log1p without
26639 hypot.
26640 * math/s_clog10.c (__clog10): Likewise.
26641 * math/s_clog10f.c (__clog10f): Likewise.
26642 * math/s_clog10l.c (__clog10l): Likewise.
26643 * math/s_clogf.c (__clogf): Likewise.
26644 * math/s_clogl.c (__clogl): Likewise.
26645 * math/auto-libm-test-in: Add more tests of clog and clog10.
26646 * math/auto-libm-test-out: Regenerated.
26647 * sysdeps/i386/fpu/libm-test-ulps: Update.
26648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26649
26650 2015-09-28 Martin Sebor <msebor@redhat.com>
26651
26652 [BZ #18969]
26653 * string/Makefile (LOCALES): Define.
26654 (gen-locales.mk): Include.
26655 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
26656 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
26657 * string/tst-strxfrm2.c (do_test): Print the name of the locale
26658 on setlocale failure.
26659
26660 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
26661
26662 [BZ #18985]
26663 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
26664 (__strftime_internal): Likewise.
26665 * time/tst-strftime.c (do_bz18985): New test.
26666 (do_test): Call it.
26667
26668 2015-09-26 Joseph Myers <joseph@codesourcery.com>
26669
26670 [BZ #18956]
26671 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
26672 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
26673 extracting high part.
26674 * math/auto-libm-test-in: Add another test of pow.
26675 * math/auto-libm-test-out: Regenerated.
26676 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26677
26678 2015-09-25 Joseph Myers <joseph@codesourcery.com>
26679
26680 [BZ #18825]
26681 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
26682 New macro.
26683 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
26684 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26685 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
26686 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
26687 DBL_NARROW_EVAL, reloading the PIC register as needed.
26688 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
26689 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
26690 FLT_NARROW_EVAL. Use separate return path for case when first
26691 argument is NaN.
26692 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
26693 DEFINE_LDBL_MIN.
26694 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
26695 PIC register.
26696 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
26697 math_check_force_underflow_nonneg.
26698 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
26699 underflow for subnormal result.
26700 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
26701 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
26702 math_check_force_underflow_nonneg.
26703 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
26704 math_check_force_underflow.
26705 * sysdeps/x86_64/fpu/x86_64-math-asm.h
26706 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
26707 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
26708 DEFINE_LDBL_MIN.
26709 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
26710 * math/auto-libm-test-in: Add more tests of pow.
26711 * math/auto-libm-test-out: Regenerated.
26712
26713 2015-09-25 Florian Weimer <fweimer@redhat.com>
26714
26715 * nss/bug17079.c (init_test_items): Add diagnostic for
26716 inconsistent entries.
26717 (test_buffer_size): Skip inconsistent entries.
26718
26719 2015-09-25 Joseph Myers <joseph@codesourcery.com>
26720
26721 [BZ #13304]
26722 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
26723 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
26724 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
26725
26726 [BZ #13304]
26727 * sysdeps/microblaze/s_fma.c: New file.
26728 * sysdeps/microblaze/s_fmaf.c: Likewise.
26729 * sysdeps/microblaze/sfp-machine.h: Likewise.
26730
26731 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
26732
26733 [BZ #17250]
26734 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
26735 member.
26736
26737 2015-09-24 Joseph Myers <joseph@codesourcery.com>
26738
26739 [BZ #18803]
26740 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
26741 (MO): New macro.
26742 (__ieee754_hypot) [PIC]: Load PIC register.
26743 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
26744 DBL_NARROW_EVAL.
26745 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
26746 math_check_force_underflow_nonneg in case where result might be
26747 tiny.
26748 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26749 Likewise.
26750 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26751 Likewise.
26752 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
26753 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
26754 * math/auto-libm-test-in: Add more tests of hypot.
26755 * math/auto-libm-test-out: Regenerated.
26756
26757 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
26758
26759 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
26760
26761 2015-09-24 Joseph Myers <joseph@codesourcery.com>
26762
26763 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
26764 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
26765 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
26766 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
26767 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
26768 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
26769 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
26770
26771 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
26772 LOAD_PIC_REG.
26773
26774 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
26775 (FLT_CHECK_FORCE_UFLOW): Likewise.
26776 (DBL_CHECK_FORCE_UFLOW): Likewise.
26777 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
26778 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
26779 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
26780 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26781 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26782 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
26783 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
26784 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
26785 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
26786 (dbl_min): Replace with use of DEFINE_DBL_MIN.
26787 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
26788 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
26789 (flt_min): Replace with use of DEFINE_FLT_MIN.
26790 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
26791 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
26792 (dbl_min): Replace with use of DEFINE_DBL_MIN.
26793 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
26794 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
26795 (flt_min): Replace with use of DEFINE_FLT_MIN.
26796 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
26797 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
26798 (dbl_min): Replace with use of DEFINE_DBL_MIN.
26799 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
26800 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
26801 (flt_min): Replace with use of DEFINE_FLT_MIN.
26802 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
26803 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
26804 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
26805 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
26806 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
26807 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
26808 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
26809 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
26810 (dbl_min): Replace with use of DEFINE_DBL_MIN.
26811 (__atan): Use DBL_CHECK_FORCE_UFLOW.
26812 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
26813 (flt_min): Replace with use of DEFINE_FLT_MIN.
26814 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
26815 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
26816 (dbl_min): Replace with use of DEFINE_DBL_MIN.
26817 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
26818 main computation.
26819 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
26820 (flt_min): Replace with use of DEFINE_FLT_MIN.
26821 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
26822 main computation.
26823 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
26824 (dbl_min): Replace with use of DEFINE_DBL_MIN.
26825 (MO): New macro.
26826 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
26827 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
26828 (flt_min): Replace with use of DEFINE_FLT_MIN.
26829 (MO): New macro.
26830 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
26831 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
26832 (__log1pl): Use MO.
26833
26834 [BZ #19003]
26835 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
26836 $(config-cflags-nofma).
26837
26838 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
26839
26840 * sysdeps/aarch64/libm-test-ulps: Regenerated.
26841
26842 2015-09-23 Joseph Myers <joseph@codesourcery.com>
26843
26844 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
26845 (TWO127): Likewise.
26846
26847 * sysdeps/generic/math_private.h (fabs_tg): New macro.
26848 (min_of_type): Likewise.
26849 (math_check_force_underflow): Likewise.
26850 (math_check_force_underflow_nonneg): Likewise.
26851 (math_check_force_underflow_complex): Likewise.
26852 * math/e_exp2l.c (__ieee754_exp2l): Use
26853 math_check_force_underflow_nonneg.
26854 * math/k_casinh.c (__kernel_casinh): Likewise.
26855 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26856 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26857 * math/s_catan.c (__catan): Use
26858 math_check_force_underflow_complex.
26859 * math/s_catanf.c (__catanf): Likewise.
26860 * math/s_catanh.c (__catanh): Likewise.
26861 * math/s_catanhf.c (__catanhf): Likewise.
26862 * math/s_catanhl.c (__catanhl): Likewise.
26863 * math/s_catanl.c (__catanl): Likewise.
26864 * math/s_ccosh.c (__ccosh): Likewise.
26865 * math/s_ccoshf.c (__ccoshf): Likewise.
26866 * math/s_ccoshl.c (__ccoshl): Likewise.
26867 * math/s_cexp.c (__cexp): Likewise.
26868 * math/s_cexpf.c (__cexpf): Likewise.
26869 * math/s_cexpl.c (__cexpl): Likewise.
26870 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
26871 * math/s_clog10.c (__clog10): Likewise.
26872 * math/s_clog10f.c (__clog10f): Likewise.
26873 * math/s_clog10l.c (__clog10l): Likewise.
26874 * math/s_clogf.c (__clogf): Likewise.
26875 * math/s_clogl.c (__clogl): Likewise.
26876 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
26877 * math/s_csinf.c (__csinf): Likewise.
26878 * math/s_csinh.c (__csinh): Likewise.
26879 * math/s_csinhf.c (__csinhf): Likewise.
26880 * math/s_csinhl.c (__csinhl): Likewise.
26881 * math/s_csinl.c (__csinl): Likewise.
26882 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
26883 * math/s_csqrtf.c (__csqrtf): Likewise.
26884 * math/s_csqrtl.c (__csqrtl): Likewise.
26885 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
26886 * math/s_ctanf.c (__ctanf): Likewise.
26887 * math/s_ctanh.c (__ctanh): Likewise.
26888 * math/s_ctanhf.c (__ctanhf): Likewise.
26889 * math/s_ctanhl.c (__ctanhl): Likewise.
26890 * math/s_ctanl.c (__ctanl): Likewise.
26891 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
26892 instead of volatile.
26893 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
26894 math_check_force_underflow.
26895 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
26896 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
26897 volatile when forcing underflow.
26898 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26899 math_check_force_underflow_nonneg.
26900 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
26901 Likewise.
26902 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
26903 math_check_force_underflow.
26904 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
26905 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26906 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
26907 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
26908 math_check_force_underflow_nonneg.
26909 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
26910 math_check_force_underflow.
26911 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
26912 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
26913 instead of volatile.
26914 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
26915 math_check_force_underflow.
26916 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26917 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26918 math_check_force_underflow_nonneg.
26919 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
26920 math_check_force_underflow.
26921 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
26922 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
26923 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
26924 math_check_force_underflow_nonneg.
26925 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
26926 Likewise.
26927 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
26928 math_check_force_underflow.
26929 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26930 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
26931 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
26932 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
26933 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
26934 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
26935 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
26936 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
26937 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
26938 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
26939 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
26940 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
26941 Likewise.
26942 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
26943 math_check_force_underflow_nonneg.
26944 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
26945 Likewise.
26946 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
26947 math_check_force_underflow.
26948 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26949 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
26950 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26951 Likewise.
26952 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
26953 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
26954 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
26955 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
26956 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
26957 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
26958 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
26959 instead of volatile.
26960 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
26961 math_check_force_underflow.
26962 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
26963 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
26964 math_check_force_underflow.
26965 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
26966 Likewise.
26967 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26968 Use math_check_force_underflow_nonneg.
26969 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
26970 math_check_force_underflow.
26971 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
26972 Likewise.
26973 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26974 Likewise.
26975 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26976 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26977 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26978 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26979 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
26980 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26981 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
26982 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
26983 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
26984 math_check_force_underflow_nonneg.
26985 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
26986 math_check_force_underflow.
26987 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26988 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
26989 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
26990 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
26991 math_check_force_underflow_nonneg.
26992 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
26993 math_check_force_underflow.
26994 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
26995 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
26996 instead of volatile.
26997 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
26998 math_check_force_underflow.
26999
27000 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
27001 * stdlib/strtod_l.c: Include <math_private.h>.
27002 (overflow_value): Use math_narrow_eval.
27003 (underflow_value): Likewise.
27004 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27005 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
27006 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
27007 (__ieee754_gamma_r): Likewise.
27008 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
27009 Likewise.
27010 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
27011 Likewise.
27012 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
27013 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
27014 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
27015 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
27016 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
27017 (__ieee754_gammaf_r): Likewise.
27018 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
27019 Likewise.
27020 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
27021 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
27022 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
27023 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
27024 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
27025 volatile.
27026 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
27027 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
27028 math_narrow_eval.
27029 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
27030 Likewise.
27031 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27032 Likewise.
27033 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
27034 Likewise.
27035 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
27036 volatile.
27037 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
27038 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
27039 math_narrow_eval.
27040 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27041 Likewise.
27042 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27043 Likewise.
27044
27045 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
27046
27047 * nptl/Versions: Remove ignored symbols.
27048
27049 2015-09-22 Florian Weimer <fweimer@redhat.com>
27050
27051 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
27052 * nss/Makefile (tests): Update.
27053
27054 2015-09-22 Florian Weimer <fweimer@redhat.com>
27055
27056 * nss/bug18287.c: New file.
27057 * nss/Makefile (tests): Add bug18287.
27058
27059 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
27060
27061 * mach/Versions (__mach_host_self_): Add symbol.
27062
27063 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
27064
27065 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
27066 vm_page_size.
27067
27068 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
27069
27070 Really fix sysdeps/i386/fpu/s_scalbn.S build
27071
27072 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
27073 (libc: GLIBC_2_22): Remove unused version set.
27074
27075 2015-09-18 Mike Frysinger <vapier@gentoo.org>
27076
27077 * config.make.in (enable-timezone-tools): New variable.
27078 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
27079 (enable_timezone_tools): Export to generated files.
27080 * configure: Regenerate.
27081 * INSTALL: Regenerate.
27082 * manual/install.texi (--disable-timezone-tools): Document new flag.
27083 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
27084 ifeq ($(enable-timezone-tools),yes) check.
27085
27086 2015-09-18 Joseph Myers <joseph@codesourcery.com>
27087
27088 * timezone/Makefile: Revert previous change.
27089
27090 [BZ #18980]
27091 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
27092 (DEFINE_DBL_MIN): Likewise.
27093 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
27094 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
27095 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
27096 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
27097 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
27098 (dbl_min): Replace with use of DEFINE_DBL_MIN.
27099 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27100 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
27101 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
27102 (dbl_min): Replace with use of DEFINE_DBL_MIN.
27103 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27104 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
27105 (flt_min): Replace with use of DEFINE_FLT_MIN.
27106 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27107 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
27108 (dbl_min): Replace with use of DEFINE_DBL_MIN.
27109 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27110 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
27111 (flt_min): Replace with use of DEFINE_FLT_MIN.
27112 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27113 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
27114 (flt_min): Replace with use of DEFINE_FLT_MIN.
27115 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27116 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
27117 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
27118 (__ieee754_hypot): Use DBL_NARROW_EVAL.
27119 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
27120 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
27121 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
27122 (__ieee754_pow): Use DBL_NARROW_EVAL.
27123 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
27124 (__ieee754_powf): Use FLT_NARROW_EVAL.
27125 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
27126 (__ieee754_expf_sse2): Convert double-precision result to single
27127 precision.
27128 * sysdeps/i386/fpu/libm-test-ulps: Update.
27129
27130 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
27131
27132 * timezone/Makefile: Ignore unused variable errors due to private.h
27133 (time_t_min) and (time_t_max).
27134 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
27135 Likewise.
27136
27137 2015-09-18 Joseph Myers <joseph@codesourcery.com>
27138
27139 [BZ #18981]
27140 * sysdeps/i386/fpu/i386-math-asm.h: New file.
27141 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
27142 (__ieee754_scalb): Use DBL_NARROW_EVAL.
27143 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
27144 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
27145 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
27146 (__scalbn): Use DBL_NARROW_EVAL.
27147 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
27148 (__scalbnf): Use FLT_NARROW_EVAL.
27149
27150 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
27151
27152 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
27153 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
27154 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
27155 * stdio-common/printf_fp.c (___printf_fp):
27156 Use signbit to get the sign. Use isinf macro to allow inlining.
27157 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
27158 * stdio-common/printf_size.c (__printf_size): Likewise.
27159
27160 2015-09-18 Mike Frysinger <vapier@gentoo.org>
27161
27162 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
27163
27164 2015-09-18 Joseph Myers <joseph@codesourcery.com>
27165
27166 [BZ #18980]
27167 * sysdeps/generic/math_private.h: Include <float.h>.
27168 (math_narrow_eval): New macro.
27169 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
27170 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
27171 math_narrow_eval on overflowing return value.
27172 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
27173 Likewise.
27174 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27175 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
27176 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
27177 Likewise.
27178 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
27179
27180 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
27181
27182 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
27183 * math/Makefile: Remove isinf_ns.c.
27184 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
27185 * math/multc3.c (__multc3): Likewise.
27186 * math/s_casin.c (__casin): Likewise.
27187 * math/s_casinf.c (__casinf): Likewise.
27188 * math/s_casinl.c (__casinl): Likewise.
27189 * math/s_cproj.c (__cproj): Likewise.
27190 * math/s_cprojf.c (__cprojf): Likewise.
27191 * math/s_cprojl.c (__cprofl): Likewise.
27192 * math/s_ctan.c (__ctan): Likewise.
27193 * math/s_ctanf.c (__ctanf): Likewise.
27194 * math/s_ctanh.c (__ctanh): Likewise.
27195 * math/s_ctanhf.c (__ctanhf): Likewise.
27196 * math/s_ctanhl.c (__ctanhl): Likewise.
27197 * math/s_ctanl.c (__ctanl): Likewise.
27198 * math/w_fmod.c (__fmod): Likewise.
27199 * math/w_fmodf.c (__fmodf): Likewise.
27200 * math/w_fmodl.c (_fmodl): Likewise.
27201 * math/w_remainder.c (__remainder): Likewise.
27202 * math/w_remainderf.c (__remainderf): Likewise.
27203 * math/w_remainderl.c (__remainderl): Likewise.
27204 * math/w_scalb.c (__scalb): Likewise.
27205 * math/w_scalbf.c (__scalbf): Likewise.
27206 * math/w_scalbl.c (__scalbl): Likewise.
27207 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
27208 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
27209 with isinf.
27210 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
27211 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
27212 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
27213 __isinf_nsf with isinf.
27214 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
27215 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
27216 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
27217 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
27218 with isinf.
27219 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
27220 __isinf_nsl with isinf.
27221 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
27222 with isinf.
27223 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
27224 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
27225 __isinf_nsl with isinf.
27226 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
27227 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
27228 with isinf.
27229
27230 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
27231
27232 * resolv/base64.c (rcsid): Remove unused static.
27233 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
27234 static. (tqpi1): Likewise.
27235 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
27236 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
27237 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
27238 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
27239 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
27240 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
27241 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
27242 * timezone/private.h (time_t_min): Likewise. (time_t_max):
27243 Likewise.
27244
27245 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
27246
27247 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
27248 <nptl/pthreadP.h>.
27249 (_longjmp_unwind): Use __libc_ptf_call.
27250 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
27251
27252 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
27253
27254 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
27255 * sysdeps/arm/__longjmp.S: Likewise.
27256
27257 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
27258
27259 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
27260 Use __builtin_signbit.
27261 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
27262 Use __builtin_signbitf.
27263 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
27264 Use __builtin_signbitl.
27265 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
27266 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
27267
27268 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
27269
27270 [BZ #15367]
27271 [BZ #17441]
27272
27273 * math/Makefile: Build test-snan.c with -fsignaling-nans.
27274 * math/math.h (fpclassify): Use __builtin_fpclassify when
27275 available. (signbit): Use __builtin_signbit(f/l).
27276 (isfinite): Use__builtin_isfinite. (isnormal): Use
27277 __builtin_isnormal. (isnan): Use __builtin_isnan.
27278 (isinf): Use __builtin_isinf_sign.
27279
27280 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
27281
27282 * benchtests/Makefile: Add bench-math-inlines, link with libm.
27283 * benchtests/bench-math-inlines.c: New benchmark.
27284 * benchtests/bench-util.h: New file.
27285 * benchtests/bench-util.c: New file.
27286 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
27287
27288 2015-09-18 Carlos O'Donell <carlos@redhat.com>
27289
27290 * elf/tst-dlmopen1.c: Define TEST_SO.
27291 (do_test): Use TEST_SO.
27292
27293 * elf/dl-load.c: Include libc-internal.h.
27294 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
27295
27296 2015-09-18 Vincent Bernat <vincent@bernat.im>
27297
27298 [BZ #17887]
27299 * time/strptime_l.c (__strptime_internal): Make %z accept
27300 [+-]HH:MM time zones.
27301
27302 2015-09-18 Vincent Bernat <vincent@bernat.im>
27303
27304 [BZ #17886]
27305 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
27306 valid time zone.
27307
27308 2015-09-17 Mike Frysinger <vapier@gentoo.org>
27309
27310 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
27311 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
27312 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27313 (__ASSUME_FDATASYNC): Delete.
27314
27315 2015-09-17 Joseph Myers <joseph@codesourcery.com>
27316
27317 * conform/linknamespace.pl: Require weak undefined symbols to be
27318 in the standard namespace.
27319 (%strong_syms): Rename to %seen_syms.
27320 (%strong_seen): Rename to %seen_where.
27321
27322 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
27323
27324 [BZ #18970]
27325 * misc/error.c (error): Replace pthread_setcancelstate with
27326 __pthread_setcancelstate.
27327 (error_at_line): Likewise.
27328 * posix/wordexp.c (parse_comm): Likewise.
27329 * stdlib/fmtmsg.c (fmtmsg): Likewise.
27330 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
27331 (__pthread_setcancelstate): This.
27332 (pthread_setcancelstate): Add an alias.
27333 * nptl/nptl-init.c (pthread_functions): Replace
27334 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
27335 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
27336 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
27337 hidden_proto.
27338 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
27339 it with hidden_def.
27340 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
27341 (pthread_setcancelstate): Renamed to ...
27342 (__pthread_setcancelstate): This.
27343 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
27344 __libc_ptf_call with __pthread_setcancelstate.
27345
27346 2015-09-17 Joseph Myers <joseph@codesourcery.com>
27347 Andreas Schwab <schwab@suse.de>
27348
27349 [BZ #17118]
27350 * math/s_ctan.c (__ctan): Determine sign of zero real part of
27351 result when imaginary part of argument is infinite using sine and
27352 cosine.
27353 * math/s_ctanf.c (__ctanf): Likewise.
27354 * math/s_ctanl.c (__ctanl): Likewise.
27355 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
27356 of result when real part of argument is infinite using sine and
27357 cosine.
27358 * math/s_ctanhf.c (__ctanhf): Likewise.
27359 * math/s_ctanhl.c (__ctanhl): Likewise.
27360 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
27361 (ctanh_test_data): Add more tests of ctanh.
27362
27363 2015-09-17 Joseph Myers <joseph@codesourcery.com>
27364
27365 [BZ #15384]
27366 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
27367 bit-mask as in subtraction.
27368 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
27369 Likewise.
27370 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
27371 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
27372 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
27373
27374 [BZ #18951]
27375 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
27376 underflow exception for small results.
27377 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
27378 Likewise.
27379 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
27380 Likewise.
27381 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27382 Likewise.
27383 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
27384 Likewise.
27385 * math/auto-libm-test-in: Add more tests of tgamma.
27386 * math/auto-libm-test-out: Regenerated.
27387
27388 2015-09-17 Andreas Schwab <schwab@suse.de>
27389
27390 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
27391
27392 2015-09-16 Joseph Myers <joseph@codesourcery.com>
27393
27394 [BZ #18977]
27395 * math/bits/mathcalls.h
27396 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
27397 not declare.
27398 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
27399 Likewise.
27400 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
27401 Likewise.
27402 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
27403 Likewise.
27404 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
27405 Likewise.
27406 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
27407 Likewise.
27408 * conform/data/math.h-data
27409 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
27410 function.
27411 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
27412 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
27413 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
27414 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
27415 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
27416 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
27417 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
27418 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
27419 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
27420 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
27421 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
27422
27423 [BZ #6803]
27424 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
27425 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
27426 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
27427 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
27428 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
27429 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
27430 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
27431 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
27432 [NO_LONG_DOUBLE] (scalbnl): Likewise.
27433 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
27434 Likewise.
27435 [NO_LONG_DOUBLE] (scalbnl): Likewise.
27436 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
27437 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
27438 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
27439 long_double_symbol calls.
27440 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
27441 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
27442 strong alias of __ldexpl.
27443 (scalbnl): Define using long_double_symbol.
27444 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
27445 Remove alias.
27446 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
27447 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
27448 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
27449 (scalbln_test_data): Add more errno expectations.
27450
27451 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
27452
27453 Cache the host port like we cache the task port. This way we do not
27454 need to call the kernel just to get the port. Furthermore, we no
27455 longer increase the reference count on every invocation of
27456 `mach_host_self'.
27457
27458 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
27459 Protect declarations against the macro expansion.
27460 * mach/mach_init.c (__mach_host_self_): New variable.
27461 (mach_init): Initialize `__mach_host_self_'.
27462 * mach/mach_init.h (__mach_host_self_): New declaration.
27463 (__mach_host_self, mach_host_self): New macros.
27464 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
27465 Release reference.
27466
27467 2015-09-16 Joseph Myers <joseph@codesourcery.com>
27468
27469 [BZ #4404]
27470 * po/de.po: Update from Translation Project.
27471
27472 [BZ #16415]
27473 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
27474 (__expm1l): Remove code to handle positive infinity and overflow.
27475 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
27476 variable.
27477 (__expm1l): Remove code to handle positive infinity and overflow.
27478
27479 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
27480 Paul Pluzhnikov <ppluzhnikov@google.com>
27481
27482 [BZ #18872]
27483 * stdio-common/Makefile (tst-printf-bz18872): New test.
27484 (tst-printf-bz18872-mem.out): Likewise.
27485 * stdio-common/tst-printf-bz18872.sh: Generate new test.
27486 * stdio-common/vfprintf.c: Fix memory leaks.
27487
27488 2015-09-16 Andreas Schwab <schwab@suse.de>
27489
27490 [BZ #17244]
27491 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
27492 Remove extra va_start/va_end calls.
27493
27494 [BZ #17243]
27495 * posix/execl.c (execl): Add missing va_end.
27496 * posix/execle.c (execle): Likewise.
27497 * posix/execlp.c (execlp): Likewise.
27498
27499 2015-09-15 Roland McGrath <roland@hack.frob.com>
27500
27501 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
27502 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
27503
27504 2015-09-15 Joseph Myers <joseph@codesourcery.com>
27505
27506 [BZ #18967]
27507 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
27508 undefine around includes of <bits/mathcalls.h>.
27509 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
27510 not declare function.
27511 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
27512 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
27513 (scalb): Likewise.
27514 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
27515 not define macro.
27516 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
27517 variable.
27518 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
27519 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
27520 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
27521
27522 [BZ #18857]
27523 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
27524 return non-finite argument without doing ordered comparisons on
27525 it.
27526
27527 [BZ #16296]
27528 * math/fenv.h (fegetround): Use __attribute_pure__.
27529 * include/fenv.h (__fegetround): Likewise.
27530
27531 [BZ #18595]
27532 * math/s_ctan.c (__ctan): Force underflow exception for results
27533 whose real or imaginary part has small absolute value.
27534 * math/s_ctanf.c (__ctanf): Likewise.
27535 * math/s_ctanh.c (__ctanh): Likewise.
27536 * math/s_ctanhf.c (__ctanhf): Likewise.
27537 * math/s_ctanhl.c (__ctanhl): Likewise.
27538 * math/s_ctanl.c (__ctanl): Likewise.
27539 * math/auto-libm-test-in: Do not allow missing underflow for ctan
27540 and ctanh. Add more tests of ctan and ctanh.
27541
27542 [BZ #15918]
27543 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
27544 handling of cases where one argument is an infinity.
27545
27546 [BZ #18875]
27547 [BZ #18966]
27548 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
27549 (MO): New macro.
27550 (__ieee754_exp10): For small results, force underflow exception
27551 and remove excess range and precision from return value.
27552 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
27553 (MO): New macro.
27554 (__ieee754_exp10f): For small results, force underflow exception
27555 and remove excess range and precision from return value.
27556 * math/auto-libm-test-in: Add more tests of exp10.
27557 * math/auto-libm-test-out: Regenerated.
27558
27559 2015-09-14 Joseph Myers <joseph@codesourcery.com>
27560
27561 [BZ #18875]
27562 [BZ #18961]
27563 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
27564 (MO): New macro.
27565 (__ieee754_exp): For small results, force underflow exception and
27566 remove excess range and precision from return value.
27567 (__exp_finite): Likewise.
27568 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
27569 (MO): New macro.
27570 (__ieee754_expf): For small results, force underflow exception and
27571 remove excess range and precision from return value.
27572 (__expf_finite): Likewise.
27573 * math/auto-libm-test-in: Add more tests of exp.
27574 * math/auto-libm-test-out: Regenerated.
27575
27576 [BZ #16521]
27577 [BZ #18875]
27578 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
27579 small results.
27580 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
27581 (MO): New macro.
27582 (__ieee754_exp2): For small results, force underflow exception and
27583 remove excess range and precision from return value.
27584 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
27585 (MO): New macro.
27586 (__ieee754_exp2f): For small results, force underflow exception
27587 and remove excess range and precision from return value.
27588 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
27589 (MO): New macro.
27590 (__ieee754_exp2l): Force underflow exception for small results.
27591 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27592 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
27593 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
27594 (MO): New macro.
27595 (__ieee754_exp2l): Force underflow exception for small results.
27596 * math/auto-libm-test-in: Add more tests or exp2.
27597 * math/auto-libm-test-out: Regenerated.
27598
27599 2015-09-14 Carlos O'Donell <carlos@redhat.com>
27600
27601 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
27602
27603 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
27604 /dev/null.
27605
27606 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
27607
27608 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
27609 io fs process)): Drop spurious backslash.
27610
27611 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
27612
27613 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
27614 Use sysinfo system call instead of parsing /proc/meminfo.
27615 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
27616 Likewise.
27617
27618 2015-09-11 Mike Frysinger <vapier@gentoo.org>
27619
27620 [BZ #16985]
27621 * programs/localedef.c (main): Display argv[remaining] when
27622 output_path is NULL.
27623
27624 2015-09-11 Joseph Myers <joseph@codesourcery.com>
27625
27626 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27627 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
27628 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
27629 tanh.
27630 * math/auto-libm-test-out: Regenerated.
27631 * sysdeps/i386/fpu/libm-test-ulps: Update.
27632 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
27633 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27635
27636 2015-09-11 Roland McGrath <roland@hack.frob.com>
27637
27638 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
27639 Use 'override' keyword to freeze the value here, preventing
27640 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
27641
27642 2015-09-11 Joseph Myers <joseph@codesourcery.com>
27643
27644 [BZ #14912]
27645 * sysdeps/aarch64/bits/atomic.h: Move to ...
27646 * sysdeps/aarch64/atomic-machine.h: ...here.
27647 (_AARCH64_BITS_ATOMIC_H): Rename macro to
27648 _AARCH64_ATOMIC_MACHINE_H.
27649 * sysdeps/alpha/bits/atomic.h: Move to ...
27650 * sysdeps/alpha/atomic-machine.h: ...here.
27651 * sysdeps/arm/bits/atomic.h: Move to ...
27652 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
27653 * bits/atomic.h: Move to ...
27654 * sysdeps/generic/atomic-machine.h: ...here.
27655 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27656 * sysdeps/i386/bits/atomic.h: Move to ...
27657 * sysdeps/i386/atomic-machine.h: ...here.
27658 * sysdeps/ia64/bits/atomic.h: Move to ...
27659 * sysdeps/ia64/atomic-machine.h: ...here.
27660 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
27661 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
27662 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27663 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
27664 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
27665 * sysdeps/microblaze/bits/atomic.h: Move to ...
27666 * sysdeps/microblaze/atomic-machine.h: ...here.
27667 * sysdeps/mips/bits/atomic.h: Move to ...
27668 * sysdeps/mips/atomic-machine.h: ...here.
27669 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
27670 * sysdeps/powerpc/bits/atomic.h: Move to ...
27671 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
27672 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
27673 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
27674 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
27675 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
27676 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
27677 <atomic-machine.h> instead of <bits/atomic.h>.
27678 * sysdeps/s390/bits/atomic.h: Move to ...
27679 * sysdeps/s390/atomic-machine.h: ...here.
27680 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
27681 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
27682 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27683 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
27684 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
27685 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
27686 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
27687 * sysdeps/tile/bits/atomic.h: Move to ...
27688 * sysdeps/tile/atomic-machine.h: ...here.
27689 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
27690 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
27691 <sysdeps/tile/atomic-machine.h> instead of
27692 <sysdeps/tile/bits/atomic.h>.
27693 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27694 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
27695 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
27696 <sysdeps/tile/atomic-machine.h> instead of
27697 <sysdeps/tile/bits/atomic.h>.
27698 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27699 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
27700 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
27701 <sysdeps/arm/atomic-machine.h> instead of
27702 <sysdeps/arm/bits/atomic.h>.
27703 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
27704 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
27705 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27706 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
27707 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
27708 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27709 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
27710 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
27711 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
27712 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
27713 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
27714 * sysdeps/x86_64/bits/atomic.h: Move to ...
27715 * sysdeps/x86_64/atomic-machine.h: ...here.
27716 * include/atomic.h: Include <atomic-machine.h> instead of
27717 <bits/atomic.h>.
27718
27719 * sysdeps/mips/mips32/libm-test-ulps: Update.
27720 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27721
27722 [BZ #18952]
27723 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
27724 not convert non-integer negative arguments to int to determine the
27725 value of signgam.
27726 * math/auto-libm-test-in: Add more tests of lgamma.
27727 * math/auto-libm-test-out: Regenerated.
27728
27729 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
27730 cosh, csqrt, erfc, expm1 and lgamma.
27731 * math/auto-libm-test-out: Regenerated.
27732 * sysdeps/i386/fpu/libm-test-ulps: Update.
27733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27734
27735 2015-09-10 Joseph Myers <joseph@codesourcery.com>
27736
27737 [BZ #2542]
27738 [BZ #2543]
27739 [BZ #2558]
27740 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
27741 __lgamma_neg for arguments from -28.0 to -2.0.
27742 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
27743 __lgamma_negf for arguments from -15.0 to -2.0.
27744 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27745 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
27746 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
27747 Call __lgamma_negl for arguments from -33.0 to -2.0.
27748 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
27749 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
27750 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
27751 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
27752 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
27753 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
27754 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
27755 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
27756 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
27757 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
27758 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
27759 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
27760 (__lgamma_neg): Likewise.
27761 (__lgamma_negl): Likewise.
27762 (__lgamma_product): Likewise.
27763 (__lgamma_productl): Likewise.
27764 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
27765 * math/auto-libm-test-in: Add more tests of lgamma.
27766 * math/auto-libm-test-out: Regenerated.
27767 * sysdeps/i386/fpu/libm-test-ulps: Update.
27768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27769
27770 2015-09-09 Justin Maggard <jmaggard@netgear.com>
27771
27772 [BZ #18675]
27773 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
27774
27775 2015-09-08 Joseph Myers <joseph@codesourcery.com>
27776
27777 [BZ #14912]
27778 * bits/libc-lock.h: Move to ...
27779 * sysdeps/generic/libc-lock.h: ...here.
27780 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27781 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
27782 * sysdeps/mach/hurd/libc-lock.h: ...here.
27783 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27784 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
27785 * sysdeps/mach/bits/libc-lock.h: Move to ...
27786 * sysdeps/mach/libc-lock.h: ...here.
27787 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27788 * sysdeps/nptl/bits/libc-lock.h: Move to ...
27789 * sysdeps/nptl/libc-lock.h: ...here.
27790 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27791 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
27792 * sysdeps/nptl/libc-lockP.h: ...here.
27793 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
27794 * crypt/crypt_util.c: Include <libc-lock.h> instead of
27795 <bits/libc-lock.h>.
27796 * dirent/scandir-tail.c: Likewise.
27797 * dlfcn/dlerror.c: Likewise.
27798 * elf/dl-close.c: Likewise.
27799 * elf/dl-iteratephdr.c: Likewise.
27800 * elf/dl-lookup.c: Likewise.
27801 * elf/dl-open.c: Likewise.
27802 * elf/dl-support.c: Likewise.
27803 * elf/dl-writev.h: Likewise.
27804 * elf/rtld.c: Likewise.
27805 * grp/fgetgrent.c: Likewise.
27806 * gshadow/fgetsgent.c: Likewise.
27807 * gshadow/sgetsgent.c: Likewise.
27808 * iconv/gconv_conf.c: Likewise.
27809 * iconv/gconv_db.c: Likewise.
27810 * iconv/gconv_dl.c: Likewise.
27811 * iconv/gconv_int.h: Likewise.
27812 * iconv/gconv_trans.c: Likewise.
27813 * include/link.h: Likewise.
27814 * inet/getnameinfo.c: Likewise.
27815 * inet/getnetgrent.c: Likewise.
27816 * inet/getnetgrent_r.c: Likewise.
27817 * intl/bindtextdom.c: Likewise.
27818 * intl/dcigettext.c: Likewise.
27819 * intl/finddomain.c: Likewise.
27820 * intl/gettextP.h: Likewise.
27821 * intl/loadmsgcat.c: Likewise.
27822 * intl/localealias.c: Likewise.
27823 * intl/textdomain.c: Likewise.
27824 * libidn/idn-stub.c: Likewise.
27825 * libio/libioP.h: Likewise.
27826 * locale/duplocale.c: Likewise.
27827 * locale/freelocale.c: Likewise.
27828 * locale/newlocale.c: Likewise.
27829 * locale/setlocale.c: Likewise.
27830 * login/getutent_r.c: Likewise.
27831 * login/getutid_r.c: Likewise.
27832 * login/getutline_r.c: Likewise.
27833 * login/utmp-private.h: Likewise.
27834 * login/utmpname.c: Likewise.
27835 * malloc/mtrace.c: Likewise.
27836 * misc/efgcvt.c: Likewise.
27837 * misc/error.c: Likewise.
27838 * misc/fstab.c: Likewise.
27839 * misc/getpass.c: Likewise.
27840 * misc/mntent.c: Likewise.
27841 * misc/syslog.c: Likewise.
27842 * nis/nis_call.c: Likewise.
27843 * nis/nis_callback.c: Likewise.
27844 * nis/nss-default.c: Likewise.
27845 * nis/nss_compat/compat-grp.c: Likewise.
27846 * nis/nss_compat/compat-initgroups.c: Likewise.
27847 * nis/nss_compat/compat-pwd.c: Likewise.
27848 * nis/nss_compat/compat-spwd.c: Likewise.
27849 * nis/nss_nis/nis-alias.c: Likewise.
27850 * nis/nss_nis/nis-ethers.c: Likewise.
27851 * nis/nss_nis/nis-grp.c: Likewise.
27852 * nis/nss_nis/nis-hosts.c: Likewise.
27853 * nis/nss_nis/nis-network.c: Likewise.
27854 * nis/nss_nis/nis-proto.c: Likewise.
27855 * nis/nss_nis/nis-pwd.c: Likewise.
27856 * nis/nss_nis/nis-rpc.c: Likewise.
27857 * nis/nss_nis/nis-service.c: Likewise.
27858 * nis/nss_nis/nis-spwd.c: Likewise.
27859 * nis/nss_nisplus/nisplus-alias.c: Likewise.
27860 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
27861 * nis/nss_nisplus/nisplus-grp.c: Likewise.
27862 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
27863 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
27864 * nis/nss_nisplus/nisplus-network.c: Likewise.
27865 * nis/nss_nisplus/nisplus-proto.c: Likewise.
27866 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
27867 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
27868 * nis/nss_nisplus/nisplus-service.c: Likewise.
27869 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
27870 * nis/ypclnt.c: Likewise.
27871 * nptl/libc_pthread_init.c: Likewise.
27872 * nss/getXXbyYY.c: Likewise.
27873 * nss/getXXent.c: Likewise.
27874 * nss/getXXent_r.c: Likewise.
27875 * nss/nss_db/db-XXX.c: Likewise.
27876 * nss/nss_db/db-netgrp.c: Likewise.
27877 * nss/nss_db/nss_db.h: Likewise.
27878 * nss/nss_files/files-XXX.c: Likewise.
27879 * nss/nss_files/files-alias.c: Likewise.
27880 * nss/nsswitch.c: Likewise.
27881 * posix/regex_internal.h: Likewise.
27882 * posix/wordexp.c: Likewise.
27883 * pwd/fgetpwent.c: Likewise.
27884 * resolv/res_hconf.c: Likewise.
27885 * resolv/res_libc.c: Likewise.
27886 * shadow/fgetspent.c: Likewise.
27887 * shadow/lckpwdf.c: Likewise.
27888 * shadow/sgetspent.c: Likewise.
27889 * socket/opensock.c: Likewise.
27890 * stdio-common/reg-modifier.c: Likewise.
27891 * stdio-common/reg-printf.c: Likewise.
27892 * stdio-common/reg-type.c: Likewise.
27893 * stdio-common/vfprintf.c: Likewise.
27894 * stdio-common/vfscanf.c: Likewise.
27895 * stdlib/abort.c: Likewise.
27896 * stdlib/cxa_atexit.c: Likewise.
27897 * stdlib/fmtmsg.c: Likewise.
27898 * stdlib/random.c: Likewise.
27899 * stdlib/setenv.c: Likewise.
27900 * string/strsignal.c: Likewise.
27901 * sunrpc/auth_none.c: Likewise.
27902 * sunrpc/bindrsvprt.c: Likewise.
27903 * sunrpc/create_xid.c: Likewise.
27904 * sunrpc/key_call.c: Likewise.
27905 * sunrpc/rpc_thread.c: Likewise.
27906 * sysdeps/arm/backtrace.c: Likewise.
27907 * sysdeps/generic/ldsodefs.h: Likewise.
27908 * sysdeps/generic/stdio-lock.h: Likewise.
27909 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
27910 * sysdeps/i386/backtrace.c: Likewise.
27911 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27912 * sysdeps/m68k/backtrace.c: Likewise.
27913 * sysdeps/mach/hurd/cthreads.c: Likewise.
27914 * sysdeps/mach/hurd/dirstream.h: Likewise.
27915 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
27916 * sysdeps/nptl/malloc-machine.h: Likewise.
27917 * sysdeps/nptl/stdio-lock.h: Likewise.
27918 * sysdeps/posix/dirstream.h: Likewise.
27919 * sysdeps/posix/getaddrinfo.c: Likewise.
27920 * sysdeps/posix/system.c: Likewise.
27921 * sysdeps/pthread/aio_suspend.c: Likewise.
27922 * sysdeps/s390/s390-32/backtrace.c: Likewise.
27923 * sysdeps/s390/s390-64/backtrace.c: Likewise.
27924 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27925 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
27926 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
27927 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
27928 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
27929 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
27930 * sysdeps/unix/sysv/linux/system.c: Likewise.
27931 * sysdeps/x86_64/backtrace.c: Likewise.
27932 * time/alt_digit.c: Likewise.
27933 * time/era.c: Likewise.
27934 * time/tzset.c: Likewise.
27935 * wcsmbs/wcsmbsload.c: Likewise.
27936 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
27937 instead of <bits/libc-lock.h> in comment.
27938
27939 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
27940
27941 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
27942 Only use .set mips2 if the current ISA is below mips2.
27943 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
27944 Likewise.
27945 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
27946 mips32r2 if the current ISA is below mips32r2.
27947 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
27948 (TLS_IE): Updated to use the TLD_RDHWR macro.
27949 (TLS_LE): Likewise.
27950 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
27951 __ASSEMBLER__ condition.
27952
27953 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
27954
27955 Fix parallel build of before-compile targets.
27956
27957 * sysdeps/mach/Makefile ($(patsubst
27958 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
27959 mach-before-compile target.
27960 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
27961 io fs process)): Move rule to dedicated hurd-before-compile target.
27962
27963 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27964
27965 Fix rules generating headers in hurd/ and mach/ when initial make call
27966 has subdir= explicitly set.
27967
27968 * sysdeps/mach/Makefile ($(patsubst
27969 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
27970 calling $(MAKE).
27971 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
27972 io fs process)): Force subdir to hurd when calling $(MAKE).
27973 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
27974 subdir to mach when calling $(MAKE).
27975
27976 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
27977
27978 Check sysheaders when looking for Mach and Hurd headers
27979
27980 * sysdeps/mach/configure.ac: Add sysheaders check.
27981 * sysdeps/mach/configure: Regenerate.
27982 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
27983 * sysdeps/mach/hurd/configure: Regenerate.
27984
27985 2015-09-04 Roland McGrath <roland@hack.frob.com>
27986
27987 [BZ #18921]
27988 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
27989 Fix inverted sense of test of 'o_directory_works' value.
27990 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
27991 Bernhard Voelker <mail@bernhard-voelker.de>.
27992
27993 2015-09-04 Joseph Myers <joseph@codesourcery.com>
27994
27995 [BZ #14912]
27996 * bits/linkmap.h: Move to ...
27997 * sysdeps/generic/linkmap.h: ...here.
27998 * sysdeps/aarch64/bits/linkmap.h: Move to ...
27999 * sysdeps/aarch64/linkmap.h: ...here.
28000 * sysdeps/arm/bits/linkmap.h: Move to ...
28001 * sysdeps/arm/linkmap.h: ...here.
28002 * sysdeps/hppa/bits/linkmap.h: Move to ...
28003 * sysdeps/hppa/linkmap.h: ...here.
28004 * sysdeps/ia64/bits/linkmap.h: Move to ...
28005 * sysdeps/ia64/linkmap.h: ...here.
28006 * sysdeps/mips/bits/linkmap.h: Move to ...
28007 * sysdeps/mips/linkmap.h: ...here.
28008 * sysdeps/s390/bits/linkmap.h: Move to ...
28009 * sysdeps/s390/linkmap.h: ...here.
28010 * sysdeps/sh/bits/linkmap.h: Move to ...
28011 * sysdeps/sh/linkmap.h: ...here.
28012 * sysdeps/x86/bits/linkmap.h: Move to ...
28013 * sysdeps/x86/linkmap.h: ...here.
28014 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
28015
28016 2015-09-04 Andreas Schwab <schwab@suse.de>
28017
28018 [BZ #18635]
28019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
28020 (__makecontext): Terminate FDE before return label.
28021 (__novec_makecontext): Likewise.
28022
28023 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
28024
28025 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
28026 first member of struct sv in syscall macro.
28027
28028 2015-09-04 Joseph Myers <joseph@codesourcery.com>
28029
28030 [BZ #14912]
28031 * bits/stdio-lock.h: Move to ...
28032 * sysdeps/generic/stdio-lock.h: ...here.
28033 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
28034 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
28035 * sysdeps/nptl/stdio-lock.h: ...here.
28036 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
28037 * include/libio.h: Include <stdio-lock.h> instead of
28038 <bits/stdio-lock.h>.
28039 * sysdeps/nptl/fork.c: Likewise.
28040 * sysdeps/pthread/flockfile.c: Likewise.
28041 * sysdeps/pthread/ftrylockfile.c: Likewise.
28042 * sysdeps/pthread/funlockfile.c: Likewise.
28043
28044 [BZ #14912]
28045 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
28046 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
28047 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
28048 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
28049 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
28050 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
28051 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
28052
28053 2015-09-03 Roland McGrath <roland@hack.frob.com>
28054
28055 * elf/Makefile (test-xfail-tst-protected1a): New variable.
28056 (test-xfail-tst-protected1b): New variable.
28057
28058 2015-09-03 Joseph Myers <joseph@codesourcery.com>
28059
28060 [BZ #14912]
28061 * bits/libc-tsd.h: Move to ...
28062 * sysdeps/generic/libc-tsd.h: ...here.
28063 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
28064 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
28065 * sysdeps/mach/hurd/libc-tsd.h: ...here.
28066 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
28067 * include/ctype.h: Include <libc-tsd.h> instead of
28068 <bits/libc-tsd.h>.
28069 * include/rpc/rpc.h: Likewise.
28070 * locale/localeinfo.h: Likewise.
28071 * sunrpc/rpc_thread.c: Likewise.
28072 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
28073 * sysdeps/nptl/malloc-machine.h: Likewise.
28074
28075 * Makefile (headers): Remove bits/libc-lock.h.
28076 * libio/Makefile (headers): Remove bits/stdio-lock.h.
28077
28078 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
28079 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
28080 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
28081 <bits/stdio-lock.h>.
28082 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
28083 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
28084
28085 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28086
28087 [BZ #18757]
28088 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
28089 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
28090 BZ #18757.
28091
28092 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28093
28094 * malloc/mtrace.pl: Filter out NULL entries.
28095
28096 2015-09-01 Joseph Myers <joseph@codesourcery.com>
28097
28098 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
28099 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
28100 macro.
28101
28102 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
28103 (TCP_CC_INFO): Likewise.
28104 (TCP_SAVE_SYN): Likewise.
28105 (TCP_SAVED_SYN): Likewise.
28106
28107 2015-08-31 Brett Neumeier <brett@neumeier.us>
28108
28109 [BZ #18870]
28110 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
28111
28112 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
28113
28114 [BZ #18873]
28115 Fix broken overflow check in posix_fallocate
28116 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
28117 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
28118 Fix parenthesization typo.
28119
28120 2015-08-28 Mike Frysinger <vapier@gentoo.org>
28121
28122 [BZ #18887]
28123 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
28124 tst-mntent-blank-passno.
28125 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
28126 * misc/tst-mntent-blank-corrupt.c: New test.
28127 * misc/tst-mntent-blank-passno.c: New test ripped from ...
28128 * misc/tst-mntent.c (do_test): ... here.
28129
28130 2015-08-29 Mike Frysinger <vapier@gentoo.org>
28131
28132 [BZ #4404]
28133 * po/de.po: Fix SIGALRM typo.
28134
28135 2015-08-28 James Perkins <james@loowit.net>
28136
28137 * time/tst-strptime2.c (tests): Replace short list of test
28138 strings for strptime %z specifier with code which exhaustively
28139 tests every combination of sign and 0 to 5 digits. Tests for
28140 rejection of invalid strings.
28141
28142 2015-08-28 James Perkins <james@loowit.net>
28143
28144 [BZ #16141]
28145 * time/strptime_l.c (__strptime_internal): Fix %z minutes
28146 calculation, removing incorrect decimal time rounding, so that
28147 all minute values result in a valid seconds value.
28148 * time/strptime_l.c (__strptime_internal): Extend %z time zone
28149 offset range limits to UTC-99:59 through UTC+99:59 to parse
28150 current and historical use cases.
28151 * time/tst-strptime2.c (tests): Modify and add tests for the
28152 strptime %z input field descriptor, specifically conversion of
28153 minutes to seconds and validating an offset range of -9959 to
28154 +9959.
28155
28156 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28157 Dmitry V. Levin <ldv@altlinux.org>
28158
28159 [BZ #18877]
28160 * posix/Makefile (tests): Add tst-mmap-offset.
28161 * posix/tst-mmap.c: New file.
28162 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
28163 offset calculation for negative values.
28164
28165 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
28166
28167 * sysdeps/i386/init-arch.h: New file.
28168 * sysdeps/i386/i586/init-arch.h: Likewise.
28169 * sysdeps/i386/i686/init-arch.h: Likewise.
28170 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
28171 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
28172 * sysdeps/x86/cpu-features.h (bit_I586): New.
28173 (bit_I686): Likewise.
28174 (bit_CX8): Likewise.
28175 (bit_CMOV): Likewise.
28176 (index_CX8): Likewise.
28177 (index_CMOV): Likewise.
28178 (index_I586): Likewise.
28179 (index_I686): Likewise.
28180 (reg_CX8): Likewise.
28181 (reg_CMOV): Likewise.
28182 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
28183 available at compile-time.
28184 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
28185 available at compile-time.
28186 * sysdeps/x86/init-arch.h (USE_I586): New macro.
28187 (USE_I686): Likewise.
28188
28189 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
28190
28191 * sysdeps/i386/bcopy.S: New file.
28192 * sysdeps/i386/bzero.S: Likewise.
28193 * sysdeps/i386/memcpy.S: Likewise.
28194 * sysdeps/i386/memmove.S: Likewise.
28195 * sysdeps/i386/mempcpy.S: Likewise.
28196 * sysdeps/i386/memset.S: Likewise.
28197 * sysdeps/i386/bzero.c: Removed.
28198 * sysdeps/i386/memset.c: Likewise.
28199 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
28200 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
28201 * sysdeps/i386/i586/memset_chk.S: Likewise.
28202 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
28203 * sysdeps/i386/memcpy_chk.S: Here.
28204 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
28205 * sysdeps/i386/memmove_chk.S: Here.
28206 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
28207 * sysdeps/i386/mempcpy_chk.S: Likewise.
28208 * sysdeps/i386/i686/memset_chk.S: Moved to ...
28209 * sysdeps/i386/memset_chk.S: Likewise.
28210
28211 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
28212
28213 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
28214 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
28215 file, move DIAG_POP_NEEDS_COMMENT to end of file.
28216 * soft-fp/fmadf4.c: Ditto.
28217 * soft-fp/fmatf4.c: Ditto.
28218
28219 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
28220
28221 * sysdeps/i386/i586/Implies: Removed.
28222 * sysdeps/i386/i686/Implies: Likewise.
28223
28224 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
28225
28226 * sysdeps/i386/i486/strlen.S: Moved to ...
28227 * sysdeps/i386/strlen.S: Here.
28228
28229 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
28230
28231 * sysdeps/i386/i486/strcat.S: Moved to ...
28232 * sysdeps/i386/strcat.S: Here.
28233
28234 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
28235
28236 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
28237 * sysdeps/i386/pthread_spin_trylock.S: Here.
28238 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
28239 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
28240
28241 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
28242
28243 * sysdeps/i386/i486/string-inlines.c: Moved to ...
28244 * sysdeps/i386/string-inlines.c: Here.
28245
28246 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
28247
28248 * sysdeps/i386/i486/htonl.S: Moved ...
28249 * sysdeps/i386/htonl.S: here.
28250
28251 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
28252
28253 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
28254 * sysdeps/i386/bits/atomic.h: Here.
28255
28256 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
28257
28258 * sysdeps/i386/i486/Versions: Removed.
28259
28260 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
28261
28262 [BZ #2898]
28263 * misc/mktemp.c: Add mkdtemp to the link_warning message.
28264 Based on patch by Aurelien Jarno.
28265
28266 2015-08-26 Stan Shebs <stanshebs@google.com>
28267
28268 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
28269 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
28270
28271 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
28272
28273 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
28274 * sysdeps/powerpc/dl-procinfo.c:
28275 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
28276 feature so it shows when LD_SHOW_AUXV=1.
28277
28278 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
28279
28280 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
28281 (__arch_compare_and_exchange_val_32_acq): Remove and use common
28282 definition. ISA 2.07B no longer requires full sync.
28283
28284 2015-08-26 Mike Frysinger <vapier@gentoo.org>
28285
28286 [BZ #18863]
28287 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
28288 (si_call_addr): Define.
28289 (si_syscall): Define.
28290 (si_arch): Define.
28291
28292 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
28293
28294 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
28295 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
28296 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
28297 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
28298 (__memset_zero_constant_len_parameter): New.
28299 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
28300 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
28301 (__memset_zero_constant_len_parameter): Don't define if
28302 __memset_chk or USE_AS_BZERO are defined.
28303
28304 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
28305 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
28306 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
28307
28308 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
28309 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
28310 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
28311 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
28312 comments.
28313 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
28314 -mno-mmx for $(all-rtld-routines).
28315 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
28316 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
28317 i386.
28318
28319 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
28320
28321 * sysdeps/generic/unwind.h
28322 (_Unwind_Word): Use __mode__(__unwind_word__)
28323 instead of __mode__(__word__).
28324 (_Unwind_Sword): Likewise.
28325
28326 * sysdeps/s390/s390-64/utf8-utf16-z9.c
28327 (MAX_NEEDED_INPUT): New define.
28328 (MAX_NEEDED_OUTPUT): New define.
28329
28330 * NEWS: New item for IBM z13 string optimizations.
28331
28332 * sysdeps/s390/multiarch/memrchr-c.c: New File.
28333 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
28334 * sysdeps/s390/multiarch/memrchr.c: Likewise.
28335 * sysdeps/s390/multiarch/Makefile
28336 (sysdep_routines): Add memrchr functions.
28337 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28338 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
28339
28340 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
28341 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
28342 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
28343 * sysdeps/s390/multiarch/Makefile
28344 (sysdep_routines): Add wmemcmp functions.
28345 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28346 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
28347 * benchtests/bench-wmemcmp.c: New File.
28348 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
28349
28350 * sysdeps/s390/multiarch/wmemset-c.c: New File.
28351 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
28352 * sysdeps/s390/multiarch/wmemset.c: Likewise.
28353 * sysdeps/s390/multiarch/Makefile
28354 (sysdep_routines): Add wmemset functions.
28355 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28356 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
28357 * wcsmbs/wmemset.c: Use WMEMSET if defined.
28358 * string/test-memset.c: Add wmemset support.
28359 * wcsmbs/test-wmemset.c: New File.
28360 * wcsmbs/Makefile (strop-tests): Add wmemset.
28361 * benchtests/bench-memset.c: Add wmemset support.
28362 * benchtests/bench-wmemset.c: New File.
28363 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
28364
28365 * sysdeps/s390/multiarch/memccpy-c.c: New File.
28366 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
28367 * sysdeps/s390/multiarch/memccpy.c: Likewise.
28368 * sysdeps/s390/multiarch/Makefile
28369 (sysdep_routines): Add memccpy functions.
28370 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28371 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
28372 * string/memccpy.c: Use MEMCCPY if defined.
28373
28374 * sysdeps/s390/multiarch/memchr-vx.S: New File.
28375 * sysdeps/s390/multiarch/memchr.c: Likewise.
28376 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
28377 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
28378 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
28379 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
28380 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
28381 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
28382 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
28383 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
28384 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
28385 and rawmemchr functions.
28386 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28387 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
28388 and wmemchr.
28389 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
28390 * string/test-memchr.c: Add wmemchr support.
28391 * wcsmbs/test-wmemchr.c: New File.
28392 * wcsmbs/Makefile (strop-tests): Add wmemchr.
28393 * benchtests/bench-memchr.c: Add wmemchr support.
28394 * benchtests/bench-wmemchr.c: New File.
28395 * benchtests/Makefile (wcsmbs-bench): wmemchr.
28396
28397 * sysdeps/s390/multiarch/strcspn-c.c: New File.
28398 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
28399 * sysdeps/s390/multiarch/strcspn.c: Likewise.
28400 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
28401 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
28402 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
28403 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
28404 wcscspn functions.
28405 * sysdeps/s390/multiarch/ifunc-impl-list.c
28406 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
28407 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
28408 * string/test-strcspn.c: Add wcscspn support.
28409 * wcsmbs/test-wcscspn.c: New File.
28410 * wcsmbs/Makefile (strop-tests): Add wcscspn.
28411 * benchtests/bench-strcspn.c: Add wcscspn support.
28412 * benchtests/bench-wcscspn.c: New File.
28413 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
28414
28415 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
28416 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
28417 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
28418 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
28419 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
28420 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
28421 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
28422 wcspbrk functions.
28423 * sysdeps/s390/multiarch/ifunc-impl-list.c
28424 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
28425 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
28426 * string/test-strpbrk.c: Add wcspbrk support.
28427 * wcsmbs/test-wcspbrk.c: New File.
28428 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
28429 * benchtests/bench-strpbrk.c: Add wcspbrk support.
28430 * benchtests/bench-wcspbrk.c: New File.
28431 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
28432
28433 * sysdeps/s390/multiarch/strspn-c.c: New File.
28434 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
28435 * sysdeps/s390/multiarch/strspn.c: Likewise.
28436 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
28437 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
28438 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
28439 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
28440 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
28441 wcsspn functions.
28442 * sysdeps/s390/multiarch/ifunc-impl-list.c
28443 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
28444 * string/test-strspn.c: Add wcsspn support.
28445 * wcsmbs/test-wcsspn.c: New File.
28446 * wcsmbs/Makefile (strop-tests): Add wcsspn.
28447 * benchtests/bench-strspn.c: Add wcsspn support.
28448 * benchtests/bench-wcsspn.c: New File.
28449 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
28450
28451 * sysdeps/s390/multiarch/strrchr-c.c: New File.
28452 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
28453 * sysdeps/s390/multiarch/strrchr.c: Likewise.
28454 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
28455 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
28456 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
28457 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
28458 wcsrchr functions.
28459 * sysdeps/s390/multiarch/ifunc-impl-list.c
28460 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
28461 * benchtests/bench-wcsrchr.c: New File.
28462 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
28463
28464 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
28465 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
28466 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
28467 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
28468 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
28469 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
28470 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
28471 wcschrnul functions.
28472 * sysdeps/s390/multiarch/ifunc-impl-list.c
28473 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
28474 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
28475 * string/test-strchr.c: Add wcschrnul support.
28476 * wcsmbs/test-wcschrnul.c: New File.
28477 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
28478 * benchtests/bench-strchr.c: Add wcschrnul support.
28479 * benchtests/bench-wcschrnul.c: New File.
28480 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
28481
28482 * sysdeps/s390/multiarch/strchr-c.c: New File.
28483 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
28484 * sysdeps/s390/multiarch/strchr.c: Likewise.
28485 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
28486 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
28487 * sysdeps/s390/multiarch/wcschr.c: Likewise.
28488 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
28489 wcschr functions.
28490 * sysdeps/s390/multiarch/ifunc-impl-list.c
28491 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
28492 * string/strchr.c (STRCHR): Define and use macro.
28493 * benchtests/bench-wcschr.c: New File.
28494 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
28495
28496 * sysdeps/s390/multiarch/strncmp-c.c: New File.
28497 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
28498 * sysdeps/s390/multiarch/strncmp.c: Likewise.
28499 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
28500 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
28501 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
28502 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
28503 wcsncmp functions.
28504 * sysdeps/s390/multiarch/ifunc-impl-list.c
28505 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
28506 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
28507 * benchtests/bench-strncmp.c: Add wcsncmp support.
28508 * benchtests/bench-wcsncmp.c: New File.
28509 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
28510
28511 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
28512 * sysdeps/s390/multiarch/strcmp.c: Likewise.
28513 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
28514 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
28515 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
28516 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
28517 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
28518 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
28519 wcscmp functions.
28520 * sysdeps/s390/multiarch/ifunc-impl-list.c
28521 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
28522 * string/strcmp.c (STRCMP): Define and use macro.
28523 * benchtests/bench-wcscmp.c: New File.
28524 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
28525 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
28526 instead of _HAVE_STRING_ARCH_memchr.
28527
28528 * sysdeps/s390/multiarch/strncat-c.c: New File.
28529 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
28530 * sysdeps/s390/multiarch/strncat.c: Likewise.
28531 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
28532 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
28533 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
28534 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
28535 wcsncat functions.
28536 * sysdeps/s390/multiarch/ifunc-impl-list.c
28537 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
28538 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
28539 * string/test-strncat.c: Add wcsncat support.
28540 * wcsmbs/test-wcsncat.c: New File.
28541 * wcsmbs/Makefile (strop-tests): Add wcsncat.
28542 * benchtests/bench-strncat.c: Add wcsncat support.
28543 * benchtests/bench-wcsncat.c: New File.
28544 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
28545
28546 * sysdeps/s390/multiarch/strcat-c.c: New File.
28547 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
28548 * sysdeps/s390/multiarch/strcat.c: Likewise.
28549 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
28550 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
28551 * sysdeps/s390/multiarch/wcscat.c: Likewise.
28552 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
28553 wcscat functions.
28554 * sysdeps/s390/multiarch/ifunc-impl-list.c
28555 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
28556 * string/strcat.c (STRCAT): Define and use macro.
28557 * wcsmbs/wcscat.c: Use WCSCAT if defined.
28558 * string/test-strcat.c: Add wcscat support.
28559 * wcsmbs/test-wcscat.c: New File.
28560 * wcsmbs/Makefile (strop-tests): Add wcscat.
28561 * benchtests/bench-strcat.c: Add wcscat support.
28562 * benchtests/bench-wcscat.c: New File.
28563 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
28564
28565 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
28566 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
28567 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
28568 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
28569 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
28570 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
28571 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
28572 wcpncpy functions.
28573 * sysdeps/s390/multiarch/ifunc-impl-list.c
28574 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
28575 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
28576 * string/test-stpncpy.c: Add wcpncpy support.
28577 * wcsmbs/test-wcpncpy.c: New File.
28578 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
28579 * benchtests/bench-stpncpy.c: Add wcpncpy support.
28580 * benchtests/bench-wcpncpy.c: New File.
28581 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
28582
28583 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
28584 * sysdeps/s390/multiarch/strncpy.c: Likewise.
28585 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
28586 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
28587 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
28588 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
28589 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
28590 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
28591 wcsncpy functions.
28592 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
28593 * sysdeps/s390/multiarch/ifunc-impl-list.c
28594 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
28595 * string/test-strncpy.c: Add wcsncpy support.
28596 * wcsmbs/test-wcsncpy.c: New File.
28597 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
28598 * benchtests/bench-strncpy.c: Add wcsncpy support.
28599 * benchtests/bench-wcsncpy.c: New File.
28600 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
28601
28602 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
28603 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
28604 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
28605 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
28606 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
28607 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
28608 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
28609 wcpcpy functions.
28610 * string/stpcpy.c: Use STPCPY if defined.
28611 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
28612 * sysdeps/s390/multiarch/ifunc-impl-list.c
28613 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
28614 * string/test-stpcpy.c: Add wcpcpy support.
28615 * wcsmbs/test-wcpcpy.c: New File.
28616 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
28617 * benchtests/bench-stpcpy.c: Add wcpcpy support.
28618 * benchtests/bench-wcpcpy.c: New File.
28619 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
28620
28621 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
28622 * sysdeps/s390/multiarch/strcpy.c: Likewise.
28623 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
28624 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
28625 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
28626 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
28627 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
28628 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
28629 wcscpy functions.
28630 * sysdeps/s390/multiarch/ifunc-impl-list.c
28631 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
28632 * benchtests/bench-wcscpy.c: New File.
28633 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
28634
28635 * sysdeps/s390/multiarch/strnlen-c.c: New File.
28636 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
28637 * sysdeps/s390/multiarch/strnlen.c: Likewise.
28638 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
28639 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
28640 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
28641 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
28642 wcsnlen functions.
28643 * sysdeps/s390/multiarch/ifunc-impl-list.c
28644 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
28645 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
28646 * string/test-strnlen.c: Add wcsnlen support.
28647 * wcsmbs/test-wcsnlen.c: New File.
28648 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
28649 * benchtests/bench-strnlen.c: Add wcsnlen support.
28650 * benchtests/bench-wcsnlen.c: New File.
28651 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
28652
28653 * sysdeps/s390/multiarch/Makefile: New File.
28654 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
28655 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
28656 * sysdeps/s390/multiarch/strlen.c: Likewise.
28657 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
28658 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
28659 * sysdeps/s390/multiarch/wcslen.c: Likewise.
28660 * string/strlen.c (STRLEN): Define and use macro.
28661 * sysdeps/s390/multiarch/ifunc-impl-list.c
28662 (IFUNC_VX_IMPL): New macro function.
28663 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
28664 * benchtests/Makefile (wcsmbs-bench): New variable.
28665 (string-bench-all): Added wcsmbs-bench.
28666 * benchtests/bench-wcslen.c: New File.
28667
28668 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
28669 s390_vx_libc_ifunc2): New macro function.
28670
28671 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
28672 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
28673 assembler support.
28674 * sysdeps/s390/configure: Regenerated.
28675
28676 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
28677 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
28678
28679 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
28680 * sysdeps/s390/dl-procinfo.h: Add vector capability.
28681 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
28682
28683 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
28684 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
28685 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
28686 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
28687 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
28688 (memcmp, bcmp): Use __memcmp_default as alias source.
28689 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
28690 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
28691 Rename to __memcmp_default.
28692 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
28693 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
28694 (memcpy): Use __memcpy_default as alias source.
28695 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
28696 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
28697 Rename to __memcpy_default.
28698 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
28699 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
28700 (memset): Use __memset_default as alias source.
28701 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
28702 * sysdeps/s390/s390-32/memset.S (__memset_g5):
28703 Rename to __memset_default.
28704 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
28705 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
28706 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
28707 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
28708 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
28709 (memcmp, bcmp): Use __memcmp_default as alias source.
28710 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
28711 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
28712 Rename to __memcmp_default.
28713 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
28714 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
28715 (memcpy): Use __memcpy_default as alias source.
28716 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
28717 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
28718 Rename to __memcpy_default.
28719 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
28720 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
28721 (memset): Use __memset_default as alias source.
28722 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
28723 * sysdeps/s390/s390-64/memset.S (__memset_z900):
28724 Rename to __memset_default.
28725 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
28726 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
28727
28728 [BZ #18610]
28729 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
28730 __ieee_instruction_pointer to __unused.
28731 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
28732 __ieee_instruction_pointer.
28733 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
28734 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
28735 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28736 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28737 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
28738 Mark dxc-field as reserved.
28739
28740 2015-08-25 Roland McGrath <roland@hack.frob.com>
28741
28742 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
28743 if the weak reference is not null.
28744
28745 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
28746
28747 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
28748
28749 [BZ #11214]
28750 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
28751
28752 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28753
28754 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
28755 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
28756 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
28757 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
28758 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
28759 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
28760 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
28761 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
28762 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
28763 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
28764 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
28765 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
28766 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
28767 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
28768 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
28769 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
28770 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
28771 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
28772
28773 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
28774
28775 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
28776 register other than r0 for tabort, it has special meaning.
28777 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
28778 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
28779 transaction before starting syscall.
28780
28781 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28782
28783 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
28784
28785 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
28786
28787 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
28788
28789 * sysdeps/x86_64/rtld-memcmp.c: Removed.
28790 * sysdeps/x86_64/rtld-memset.S: Likewise.
28791 * sysdeps/x86_64/rtld-strchr.S: Likewise.
28792 * sysdeps/x86_64/rtld-strlen.S: Likewise.
28793 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
28794 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
28795
28796 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
28797
28798 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
28799
28800 * debug/strcpy_chk.c: Improve performance.
28801 * debug/stpcpy_chk.c: Likewise.
28802 * sysdeps/x86_64/strcpy_chk.S: Remove.
28803 * sysdeps/x86_64/stpcpy_chk.S: Remove.
28804
28805 [BZ #18240]
28806 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
28807
28808 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
28809
28810 [BZ #15128]
28811 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
28812 ifuncmain8.
28813 (modules-names): Add ifuncmod8.
28814 ($(objpfx)ifuncmain8): New rule.
28815 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
28816 <cpuid.h>.
28817 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
28818 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
28819 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
28820 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
28821 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
28822 * sysdeps/x86_64/dl-trampoline.h: Likewise.
28823 * sysdeps/x86_64/ifuncmain8.c: New file.
28824 * sysdeps/x86_64/ifuncmod8.c: Likewise.
28825 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
28826 Removed.
28827 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
28828 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
28829 Change rtld_savespace_sse to __glibc_unused2.
28830 (RTLD_CHECK_FOREIGN_CALL): Removed.
28831 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
28832 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
28833 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
28834
28835 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
28836
28837 * sysdeps/aarch64/bzero.S (__bzero): Remove.
28838
28839 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
28840
28841 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
28842 Unconditionally set __fpcr to avoid uninialized warning.
28843 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
28844
28845 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28846
28847 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
28848 is corrupt.
28849
28850 * malloc/arena.c (arena_get2): Drop unused argument.
28851 (arena_lock): Adjust.
28852 (arena_get_retry): Likewise.
28853
28854 2015-08-24 Andreas Schwab <schwab@suse.de>
28855
28856 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
28857 Don't define.
28858 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
28859 (__ASSUME_IPC64): Don't undef.
28860 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
28861 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28862 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28863 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
28864 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
28865 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
28866 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
28867 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
28868 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
28869 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
28870 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
28871 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
28872 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
28873 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
28874 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
28875 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
28876 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
28877 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
28878 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
28879 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
28880 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
28881
28882 2015-08-21 Mike Frysinger <vapier@gentoo.org>
28883
28884 * manual/Makefile (install): Only build manual when perl is available.
28885
28886 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
28887
28888 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
28889 '#undef memcpy' by '#undef memchr'.
28890
28891 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
28892
28893 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
28894 memchr not point to the internal __GI_memchr implementation.
28895
28896 2015-08-20 Joseph Myers <joseph@codesourcery.com>
28897
28898 * timezone/Makefile (CFLAGS-zdump.c): Remove
28899 -Wno-strict-prototypes.
28900 (CFLAGS-zic.c): Likewise.
28901 (CFLAGS-ialloc.c): Likewise.
28902 (CFLAGS-scheck.c): Likewise.
28903
28904 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
28905 -Wno-error=undef.
28906
28907 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
28908
28909 * i386/i686/multiarch/strcasestr-c.c: Removed.
28910 * x86_64/multiarch/strcasestr.c: Likewise.
28911 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28912 Remove strcasestr.
28913
28914 2015-08-20 Joseph Myers <joseph@codesourcery.com>
28915
28916 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
28917
28918 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
28919 variables for high and low parts before possibly modifying them.
28920
28921 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
28922
28923 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
28924 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
28925 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
28926 of "multiarch/init-arch.h".
28927 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
28928 * sysdeps/x86/init-arch.h: This.
28929
28930 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
28931
28932 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
28933 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
28934
28935 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
28936
28937 [BZ #17787]
28938 * manual/macros.texi: Add twoexp macro.
28939 * manual/filesys.texi: Fix exponents.
28940 * manual/llio.texi: Likewise.
28941 * manual/stdio.texi: Likewise.
28942
28943 2015-08-20 Florian Weimer <fweimer@redhat.com>
28944
28945 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
28946 incorrect use.
28947
28948 2015-08-19 Joseph Myers <joseph@codesourcery.com>
28949
28950 [BZ #18370]
28951 * math/s_csqrt.c (__csqrt): Force underflow exception for results
28952 whose real or imaginary part has small absolute value.
28953 * math/s_csqrtf.c (__csqrtf): Likewise.
28954 * math/s_csqrtl.c (__csqrtl): Likewise.
28955 * math/auto-libm-test-in: Add more tests of csqrt.
28956 * math/auto-libm-test-out: Regenerated.
28957 * sysdeps/i386/fpu/libm-test-ulps: Update.
28958
28959 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28960
28961 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
28962 __ppc_set_ppr_very_low): New functions.
28963 * manual/platform.texi: Add documentation about
28964 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
28965
28966 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
28967
28968 * string/stpncpy.c (stpncpy): Improve performance using
28969 __strnlen/memcpy/memset.
28970
28971 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
28972
28973 [BZ #18796]
28974 * scripts/test-installation.pl: Don't add -lmvec to build options if
28975 libmvec wasn't built.
28976
28977 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
28978
28979 [BZ #14341]
28980 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
28981 case when there is a gap between DT_REL and DT_JMPREL sections.
28982 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
28983 (LDFLAGS-tst-split-dynreloc): New.
28984 (tst-split-dynreloc-ENV): Likewise.
28985 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
28986 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
28987
28988 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
28989
28990 [BZ #18822]
28991 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
28992 attribute_hidden.
28993 (__xstat64_conv): Likewise.
28994 (__xstat32_conv): Likewise.
28995
28996 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
28997
28998 [BZ #18822]
28999 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
29000 Don't load %ebx when calling __setcontext. Call __setcontext
29001 with HIDDEN_JUMPTARGET.
29002 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
29003 libc_hidden_def.
29004
29005 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
29006
29007 * sysdeps/i386/i686/Makefile
29008 [$(subdir) == string] (sysdep_routines): Moved to ...
29009 * sysdeps/i386/Makefile: Here.
29010 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
29011 * sysdeps/i386/cacheinfo.c: Here.
29012 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
29013 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
29014 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
29015 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
29016
29017 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
29018
29019 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
29020 __i586__ is defined.
29021 (HAS_I686): Defined to 1 if __i686__ is defined.
29022
29023 2015-08-19 Joseph Myers <joseph@codesourcery.com>
29024
29025 * elf/Makefile [$(have-z-execstack) = yes]
29026 (CPPFLAGS-tst-execstack.c): New variable.
29027
29028 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
29029 conditional to [defined UTMPX || _HAVE_UT_TYPE].
29030 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
29031 UTMPX || _HAVE_UT_TV].
29032 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
29033 UTMPX || _HAVE_UT_TV - 0].
29034
29035 2015-08-18 Joseph Myers <joseph@codesourcery.com>
29036
29037 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
29038 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
29039 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
29040
29041 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
29042
29043 * sysdeps/powerpc/dl-procinfo.c:
29044 (_dl_powerpc_cap_flags): Added missing strings for some
29045 hwcap features.
29046 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
29047
29048 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
29049
29050 Port the 0x7efe...feff pattern to GCC 6.
29051 See Steve Ellcey's bug report in:
29052 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
29053 * string/memrchr.c (MEMRCHR):
29054 * string/rawmemchr.c (RAWMEMCHR):
29055 * string/strchr.c (strchr):
29056 * string/strchrnul.c (STRCHRNUL):
29057 Rewrite code to avoid issues with signed shift overflow.
29058
29059 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
29060
29061 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
29062 whether cpuid is available only if HAS_CPUID is 0.
29063 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
29064 (HAS_I586): Likewise.
29065 (HAS_I686): Likewise.
29066
29067 2015-08-18 Zack Weinberg <zackw@panix.com>
29068
29069 * misc/Versions (libc): Add GLIBC_2.23.
29070
29071 2015-08-18 Alan Modra <amodra@gmail.com>
29072
29073 [BZ #18421]
29074 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
29075 .Lp__global.
29076 (_start): Load %dp via .Lp__global.
29077 [!SHARED]: Use .section .rodata.
29078
29079 2015-08-18 Mike Frysinger <vapier@gentoo.org>
29080
29081 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
29082 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
29083
29084 2015-08-18 Mike Frysinger <vapier@gentoo.org>
29085
29086 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
29087 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
29088
29089 2015-08-18 Mike Frysinger <vapier@gentoo.org>
29090
29091 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
29092 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
29093
29094 2015-08-18 Mike Frysinger <vapier@gentoo.org>
29095
29096 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
29097 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
29098
29099 2015-08-18 Mike Frysinger <vapier@gentoo.org>
29100
29101 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
29102 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
29103
29104 2015-08-18 Mike Frysinger <vapier@gentoo.org>
29105
29106 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
29107 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
29108
29109 2015-08-18 Mike Frysinger <vapier@gentoo.org>
29110
29111 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
29112
29113 2015-08-18 Mike Frysinger <vapier@gentoo.org>
29114
29115 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
29116 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
29117 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29118 (__ASSUME_LWS_CAS): Delete.
29119
29120 2015-08-18 Mike Frysinger <vapier@gentoo.org>
29121
29122 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
29123 * sysdeps/hppa/configure: Regenerated.
29124 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
29125 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
29126 * sysdeps/hppa/nptl/tls.h: Likewise.
29127
29128 2015-08-17 Joseph Myers <joseph@codesourcery.com>
29129
29130 [BZ #18823]
29131 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
29132 for scaling up small arguments.
29133 * math/s_csqrtf.c (__csqrtf): Likewise.
29134 * math/s_csqrtl.c (__csqrtl): Likewise.
29135 * math/auto-libm-test-in: Add more tests of csqrt.
29136 * math/auto-libm-test-out: Regenerated.
29137
29138 2015-08-17 Andreas Schwab <schwab@suse.de>
29139
29140 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
29141 version set GLIBC_2.19.
29142
29143 2015-08-16 Zack Weinberg <zackw@panix.com>
29144
29145 [BZ #18681]
29146 * misc/regexp.h: This interface is no longer supported.
29147 Remove all contents, leaving only an #error directive.
29148 * misc/regexp.c (loc1, loc2, locs, step, advance):
29149 Demote to compatibility symbols.
29150
29151 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
29152
29153 [BZ #18084]
29154 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
29155 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
29156 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
29157 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
29158 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
29159 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
29160 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
29161 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
29162 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
29163
29164 2015-08-15 Zack Weinberg <zackw@panix.com>
29165
29166 [BZ #18795]
29167 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
29168 buffer length is known to be too large, not if it's known to be
29169 small enough.
29170 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
29171 overflow at runtime, involving a length parameter, twice: once
29172 with a compile-time constant length parameter, once without.
29173
29174 2015-08-14 Joseph Myers <joseph@codesourcery.com>
29175
29176 [BZ #18824]
29177 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
29178 scaling x * y up instead of down.
29179 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29180 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29181 * math/auto-libm-test-in: Add more tests of fma.
29182 * math/auto-libm-test-out: Regenerated.
29183
29184 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
29185
29186 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29187
29188 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29189
29190 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
29191 unnecessary movq.
29192 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
29193 Likewise.
29194
29195 2015-08-13 Joseph Myers <joseph@codesourcery.com>
29196
29197 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29198 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
29199 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
29200 and tgamma.
29201 * math/auto-libm-test-out: Regenerated.
29202 * sysdeps/i386/fpu/libm-test-ulps: Update.
29203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29204
29205 [BZ #16520]
29206 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
29207 (__tanh): Force underflow exception for arguments with small
29208 absolute value.
29209 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
29210 (__tanhf): Force underflow exception for arguments with small
29211 absolute value.
29212 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
29213 (__tanhl): Force underflow exception for arguments with small
29214 absolute value.
29215 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
29216 (__tanhl): Force underflow exception for arguments with small
29217 absolute value.
29218 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
29219 (__tanhl): Force underflow exception for arguments with small
29220 absolute value.
29221 * math/auto-libm-test-in: Add more tests of tanh.
29222 * math/auto-libm-test-out: Regenerated.
29223 * sysdeps/i386/fpu/libm-test-ulps: Update.
29224
29225 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
29226
29227 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
29228 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
29229
29230 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
29231
29232 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
29233 <cpuid.h>.
29234
29235 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
29236
29237 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
29238 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
29239
29240 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
29241
29242 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
29243 Remove $(objpfx)init-arch.o.
29244 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
29245 init-arch.
29246 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
29247 (INIT_ARCH_EXT): Defined as empty.
29248 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
29249 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
29250 __init_cpu_features call. Replace HAS_XXX with
29251 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29252 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
29253 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
29254 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
29255 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
29256 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
29257 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
29258 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
29259 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
29260 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
29261 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
29262 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
29263 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
29264 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
29265 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
29266 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
29267 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
29268 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
29269 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
29270 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
29271 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
29272 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
29273 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
29274 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
29275 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
29276 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
29277 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
29278 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
29279 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
29280 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
29281 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
29282 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
29283 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
29284 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
29285 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
29286 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
29287
29288 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
29289
29290 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
29291 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29292 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
29293 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
29294 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
29295 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
29296 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
29297 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
29298 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
29299 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
29300 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
29301 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
29302 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29303 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29304 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29305 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29306 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29307 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29308 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29309 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29310 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29311 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29312 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29313 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29314 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29315 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29316 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29317 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29318 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29319 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29320 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29321 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29322 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29323 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29324 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29325 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29326 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29327 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29328 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29329 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29330 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29331 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29332 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29333
29334 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
29335
29336 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
29337 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29338 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29339 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29340 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29341 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
29342 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29343 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
29344 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29345 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29346 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29347 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
29348 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
29349 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
29350 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
29351 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
29352 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
29353 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
29354 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
29355 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
29356 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
29357 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
29358 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
29359 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29360 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29361 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
29362 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
29363 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
29364 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29365 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29366 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29367 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29368 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29369 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29370 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29371 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29372 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29373 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29374 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29375 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29376 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29377 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29378 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29379
29380 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
29381
29382 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
29383 (dl_platform_init): Call init_cpu_features.
29384 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
29385 * sysdeps/i386/i686/cacheinfo.c
29386 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
29387 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
29388 * sysdeps/i386/i686/multiarch/Versions: Removed.
29389 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
29390 Removed.
29391 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
29392 * sysdeps/unix/sysv/linux/x86/Makefile
29393 (libpthread-sysdep_routines): Remove init-arch.
29394 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
29395 <sysdeps/x86_64/dl-procinfo.c> instead of
29396 sysdeps/generic/dl-procinfo.c>.
29397 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
29398 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
29399 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
29400 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
29401 [$(subdir) == elf] (tests-static): Add
29402 tst-get-cpu-features-static.
29403 * sysdeps/x86/Versions: New file.
29404 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
29405 * sysdeps/x86/cpu-features.c: Likewise.
29406 * sysdeps/x86/cpu-features.h: Likewise.
29407 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
29408 * sysdeps/x86/libc-start.c: Likewise.
29409 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
29410 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
29411 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
29412 * sysdeps/x86_64/dl-procinfo.c: Likewise.
29413 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
29414 Assume USE_MULTIARCH is defined and don't check it.
29415 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
29416 (is_amd): Likewise.
29417 (max_cpuid): Likewise.
29418 (intel_check_word): Likewise.
29419 (__cache_sysconf): Don't call __init_cpu_features.
29420 (__x86_preferred_memory_instruction): Removed.
29421 (init_cacheinfo): Don't call __init_cpu_features. Replace
29422 __cpu_features with GLRO(dl_x86_cpu_features).
29423 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
29424 (dl_platform_init): Call init_cpu_features.
29425 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
29426 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
29427 * sysdeps/x86_64/multiarch/Versions: Removed.
29428 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
29429 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
29430 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
29431 Removed.
29432 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
29433
29434 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
29435
29436 [BZ #18820]
29437 * libio/Makefile (test-fmemopen-mem): New test.
29438 * libio/test-fmemopen.c (do_bz18820): New test.
29439 * libio/fmemopen.c (__fmemopen): Fix memory leak.
29440 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
29441
29442 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
29443
29444 [BZ #16734]
29445 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
29446 (FREE_BUF): Delete.
29447 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
29448 * libio/genops.c (_IO_setb): Use malloc and free directly.
29449 (_IO_default_doallocate, _IO_default_finish): Likewise.
29450 ( _IO_unbuffer_all): Likewise.
29451 ( libc_freeres_fn): Likewise.
29452 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
29453 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
29454 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
29455 (_IO_wdefault_doallocate): Likewise.
29456
29457 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
29458
29459 [BZ #18086]
29460 * sysdeps/posix/nice.c (nice): Restore old errno.
29461 * posix/tst-nice.c (do_test): Add test for BZ #18086.
29462
29463 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
29464
29465 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
29466
29467 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29468
29469 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
29470 __bcopy and add a weak_alias to bcopy.
29471 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
29472 for static build.
29473
29474 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
29475 cleanup macro usage.
29476 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
29477 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
29478 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
29479 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
29480 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
29481 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
29482 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
29483 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
29484 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29485 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
29486 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29487 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
29488 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29489 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
29490 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
29491 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
29492 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
29493 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
29494 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
29495
29496 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
29497 libc_hidden_def.
29498 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
29499
29500 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
29501 (sysdep_routines): Add strstr-ppc64.
29502 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
29503
29504 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
29505
29506 [BZ #18778]
29507 * elf/Makefile (tests): Add Add tst-nodelete2.
29508 (modules-names): Add tst-nodelete2mod.
29509 (tst-nodelete2mod.so-no-z-defs): New.
29510 ($(objpfx)tst-nodelete2): Likewise.
29511 ($(objpfx)tst-nodelete2.out): Likewise.
29512 (LDFLAGS-tst-nodelete2): Likewise.
29513 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
29514 out of loop through all loaded libraries.
29515 * elf/tst-nodelete2.c: New file.
29516 * elf/tst-nodelete2mod.c: Likewise.
29517 * elf/tst-znodelete-zlib.cc: Delete.
29518
29519 2015-08-11 Andreas Schwab <schwab@suse.de>
29520
29521 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
29522 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
29523 (__openat64_nocancel): Likewise.
29524
29525 2015-08-11 Joseph Myers <joseph@codesourcery.com>
29526
29527 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
29528 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
29529 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
29530 * math/auto-libm-test-out: Regenerated.
29531 * sysdeps/i386/fpu/libm-test-ulps: Update.
29532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29533
29534 2015-08-10 Joseph Myers <joseph@codesourcery.com>
29535
29536 [BZ #18790]
29537 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
29538 threshold for returning +/- 1.
29539 * math/auto-libm-test-in: Add more tests of tanh.
29540 * math/auto-libm-test-out: Regenerated.
29541 * sysdeps/i386/fpu/libm-test-ulps: Update.
29542
29543 2015-08-10 Andreas Schwab <schwab@suse.de>
29544
29545 [BZ #18781]
29546 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
29547 MORE_OFLAGS to oflag.
29548 * io/test-lfs.c (do_test): Test openat64.
29549
29550 2015-08-10 Joseph Myers <joseph@codesourcery.com>
29551
29552 [BZ #18789]
29553 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
29554 smaller threshold for returning the argument.
29555 * math/auto-libm-test-in: Add more tests of sinh.
29556 * math/auto-libm-test-out: Regenerated.
29557 * sysdeps/i386/fpu/libm-test-ulps: Update.
29558
29559 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
29560
29561 [BZ #18674]
29562 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
29563 break.
29564
29565 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
29566
29567 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
29568 (generated): Don't add $(addprefix z.,$(tzfiles)).
29569
29570 2015-08-09 Mike Frysinger <vapier@gentoo.org>
29571
29572 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
29573 * scripts/sysd-rules.awk: Likewise.
29574
29575 2015-08-09 Mike Frysinger <vapier@gentoo.org>
29576
29577 * iconvdata/tst-tables.sh: Change echo -n to printf.
29578 * nss/db-Makefile: Likewise.
29579 * posix/tst-getconf.sh: Likewise.
29580 * stdio-common/tst-unbputc.sh: Likewise.
29581
29582 2015-08-09 Mike Frysinger <vapier@gentoo.org>
29583
29584 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
29585 MADV_*_PAGES defines behind this feature check.
29586
29587 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
29588
29589 [BZ #18480]
29590 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
29591 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
29592 Define.
29593 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
29594 LOAD_REGS_5, LOAD_REGS_6): Update.
29595 (INTERNAL_SYSCALL): Update using new LOAD defines.
29596 (INTERNAL_SYSCALL_NCS): Likewise.
29597 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
29598
29599 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29600
29601 [BZ #16734]
29602 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
29603
29604 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29605
29606 [BZ #17905]
29607 * catgets/Makefile (tst-catgets-mem): New test.
29608 * catgets/catgets.c (catopen): Don't use unbounded alloca.
29609 * catgets/open_catalog.c (__open_catalog): Likewise.
29610 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
29611
29612 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
29613
29614 [BZ #18787]
29615 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
29616 clobber registers.
29617 (atomic_compare_and_exchange_val_acq): Use register asms to assign
29618 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
29619 Cast return to __typeof (oldval).
29620
29621 2015-08-08 Mike Frysinger <vapier@gentoo.org>
29622
29623 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
29624 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
29625 and delete sys/syscall.h include.
29626
29627 2015-08-07 Joseph Myers <joseph@codesourcery.com>
29628
29629 [BZ #16517]
29630 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
29631 (tan): Force underflow exception for arguments with small absolute
29632 value.
29633 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
29634 (__kernel_tanf): Force underflow exception for arguments with
29635 small absolute value.
29636 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
29637 (__kernel_tanl): Force underflow exception for arguments with
29638 small absolute value.
29639 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
29640 (__kernel_tanl): Force underflow exception for arguments with
29641 small absolute value.
29642 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
29643 (__kernel_tanl): Force underflow exception for arguments with
29644 small absolute value.
29645 * math/auto-libm-test-in: Add more tests of tan.
29646 * math/auto-libm-test-out: Regenerated.
29647
29648 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29649
29650 Fix sysdeps/i386/fpu/s_scalbn.S build
29651
29652 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
29653
29654 2015-08-07 Mike Frysinger <vapier@gentoo.org>
29655
29656 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
29657
29658 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29659
29660 Fix gcrt0.o compilation
29661
29662 When static-start-installed-name is different from
29663 start-installed-name, we must not use the shared objects.
29664
29665 * csu/Makefile
29666 (extra-objs): Add gmon-start.o when building shared library and
29667 $(static-start-installed-name) is different from
29668 $(start-installed-name).
29669 $(objpfx)g$(static-start-installed-name): When building shared
29670 library and $(static-start-installed-name) is different from
29671 $(static-start-installed-name), revert to non-shared rule,
29672 i.e. using $(objpfx)% and gmon-start.o.
29673
29674 2015-08-06 Joseph Myers <joseph@codesourcery.com>
29675
29676 [BZ #16519]
29677 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
29678 (__ieee754_sinh): Force underflow exception for arguments with
29679 small absolute value.
29680 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
29681 (__ieee754_sinhf): Force underflow exception for arguments with
29682 small absolute value.
29683 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
29684 (__ieee754_sinhl): Force underflow exception for arguments with
29685 small absolute value.
29686 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
29687 (__ieee754_sinhl): Force underflow exception for arguments with
29688 small absolute value.
29689 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
29690 (__ieee754_sinhl): Force underflow exception for arguments with
29691 small absolute value.
29692 * math/auto-libm-test-in: Add more tests of sinh.
29693 * math/auto-libm-test-out: Regenerated.
29694 * sysdeps/i386/fpu/libm-test-ulps: Update.
29695
29696 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29697
29698 * libio/oldfileops.c: Include unistd.h.
29699
29700 2015-08-06 Mike Frysinger <vapier@gentoo.org>
29701
29702 * stdlib/isomac.c: Include ctype.h.
29703
29704 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
29705
29706 * dirent/tst-seekdir.c (main): Converted to ...
29707 (do_test): ... this.
29708 (TEST_FUNCTION): New macro.
29709 Include test-skeleton.c.
29710 * elf/tst-dlmodcount.c (main): Converted to ...
29711 (do_test): ... this.
29712 (TEST_FUNCTION): New macro.
29713 Include test-skeleton.c.
29714 * elf/tst-order-main.c (main): Converted to ...
29715 (do_test): ... this.
29716 (TEST_FUNCTION): New macro.
29717 Include test-skeleton.c.
29718 * elf/tst-pie2.c (main): Converted to ...
29719 (do_test): ... this.
29720 (TEST_FUNCTION): New macro.
29721 Include test-skeleton.c.
29722 * inet/tst-ether_aton.c (main): Converted to ...
29723 (do_test): ... this.
29724 (TEST_FUNCTION): New macro.
29725 Include test-skeleton.c.
29726 * misc/tst-mntent.c (main): Converted to ...
29727 (do_test): ... this.
29728 (TEST_FUNCTION): New macro.
29729 Include test-skeleton.c.
29730 * misc/tst-tsearch.c (main): Converted to ...
29731 (do_test): ... this.
29732 (TEST_FUNCTION): New macro.
29733 Include test-skeleton.c.
29734 * posix/tst-regexloc.c (main): Converted to ...
29735 (do_test): ... this.
29736 (TEST_FUNCTION): New macro.
29737 Include test-skeleton.c.
29738 * resolv/tst-aton.c (main): Converted to ...
29739 (do_test): ... this.
29740 (TEST_FUNCTION): New macro.
29741 Include test-skeleton.c.
29742 * stdio-common/test-fwrite.c (main): Converted to ...
29743 (do_test): ... this.
29744 (TEST_FUNCTION): New macro.
29745 Include test-skeleton.c.
29746 * stdio-common/tst-ferror.c (main): Converted to ...
29747 (do_test): ... this.
29748 (TEST_FUNCTION): New macro.
29749 Include test-skeleton.c.
29750 * stdio-common/tst-printf.c (main): Converted to ...
29751 (do_test): ... this.
29752 (TEST_FUNCTION): New macro.
29753 Include test-skeleton.c.
29754 * stdio-common/tst-printfsz.c (main): Converted to ...
29755 (do_test): ... this.
29756 (TEST_FUNCTION): New macro.
29757 Include test-skeleton.c.
29758 * stdlib/tst-strtod.c (main): Converted to ...
29759 (do_test): ... this.
29760 (TEST_FUNCTION): New macro.
29761 Include test-skeleton.c.
29762 * string/tst-strlen.c (main): Converted to ...
29763 (do_test): ... this.
29764 (TEST_FUNCTION): New macro.
29765 Include test-skeleton.c.
29766 * string/tst-svc.c (main): Converted to ...
29767 (do_test): ... this.
29768 (TEST_FUNCTION): New macro.
29769 Include test-skeleton.c.
29770 * time/tst-strptime.c (main): Converted to ...
29771 (do_test): ... this.
29772 (TEST_FUNCTION): New macro.
29773 Include test-skeleton.c.
29774 * timezone/tst-timezone.c (main): Converted to ...
29775 (do_test): ... this.
29776 (TEST_FUNCTION): New macro.
29777 Include test-skeleton.c.
29778
29779 2015-08-05 Zack Weinberg <zackw@panix.com>
29780
29781 * misc/regexp.h: Update comments.
29782
29783 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
29784
29785 [BZ #18635]
29786 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
29787 before return label.
29788
29789 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
29790
29791 [BZ #18661]
29792 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
29793 when calling __errno_location.
29794 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
29795 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
29796
29797 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
29798
29799 [BZ #18661]
29800 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
29801 (__lll_timedwait_tid): Align stack to 16 bytes when calling
29802 __gettimeofday.
29803
29804 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
29805
29806 [BZ #18661]
29807 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29808 (__start_context): Don't use pop to restore %rdi so that stack
29809 is aligned to 16 bytes when calling __setcontext.
29810
29811 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
29812
29813 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
29814 only for libc.
29815 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29816
29817 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
29818
29819 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
29820 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
29821 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
29822
29823 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
29824
29825 * string/memccpy.c (memccpy):
29826 Improve performance by using memchr/memcpy/__mempcpy.
29827
29828 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
29829
29830 * string/strncpy.c (strncpy):
29831 Improve performance by using __strnlen/memcpy.
29832
29833 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
29834
29835 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29836 Optimize to avoid an unnecessary FPCR read.
29837
29838 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
29839
29840 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
29841 Optimize to reduce FPCR/FPSR accesses.
29842
29843 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
29844
29845 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
29846 dead->data[category] != NULL.
29847
29848 2015-08-05 Joseph Myers <joseph@codesourcery.com>
29849
29850 [BZ #18647]
29851 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
29852 and |x| close to 1, use absolute value of x when computing log.
29853 * math/auto-libm-test-in: Add more tests of pow.
29854 * math/auto-libm-test-out: Regenerated.
29855
29856 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29857
29858 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
29859 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
29860 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
29861
29862 2015-08-05 Marko Myllynen <myllynen@redhat.com>
29863
29864 [BZ #18525]
29865 * locales/km_KH: Remove timezone definition.
29866 * locales/lo_LA: Likewise.
29867 * locales/my_MM: Likewise.
29868 * locales/nan_TW@latin: Likewise.
29869 * locales/th_TH: Likewise.
29870 * locales/uk_UA: Likewise.
29871
29872 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
29873
29874 [BZ #18265]
29875 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
29876 (wcsncat): Likewise.
29877 (wcscmp): Likewise.
29878 (wcsncmp): Likewise.
29879
29880 2015-08-05 Mike Frysinger <vapier@gentoo.org>
29881
29882 * test-skeleton.c (usage): New function.
29883 (main): Call usage when opt is '?'.
29884
29885 2015-08-05 Mike Frysinger <vapier@gentoo.org>
29886
29887 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
29888 before first use.
29889
29890 2015-08-05 Mike Frysinger <vapier@gentoo.org>
29891
29892 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
29893 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
29894 in there too.
29895
29896 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
29897
29898 * version.h (RELEASE): Set to "development".
29899 (VERSION): Set to "2.22.90"
29900
29901 * version.h (RELEASE): Set to "stable".
29902 (VERSION): Set to "2.22"
29903 * include/features.h (__GLIBC_MINOR__): Set to 22.
29904
29905 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
29906
29907 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
29908 Restructure macro to avoid "value computed is not used" warning.
29909 (atomic_compare_and_exchange_val_acq): Likewise.
29910
29911 2015-08-04 Andreas Schwab <schwab@suse.de>
29912
29913 [BZ #18635]
29914 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
29915 ret.
29916 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
29917
29918 2015-08-01 Carlos O'Donell <carlos@redhat.com>
29919
29920 * po/pl.po: Updated translation.
29921 * po/uk.po: Likewise.
29922 * po/fi.po: Likewise.
29923 * po/ko.po: Likewise.
29924 * po/ru.po: Likewise.
29925 * po/vi.po: Likewise.
29926
29927 2015-07-31 Zack Weinberg <zackw@panix.com>
29928
29929 [BZ #18681]
29930 * regexp.h: Add unconditional #warning stating that this header
29931 will be removed soon. Revise banner comment to match.
29932 (compile): Consistently use ERROR instead of RETURN to report
29933 errors (partial fix for BZ #18681).
29934 * regexp.c: Don't include regexp.h. Remove some unnecessary
29935 declarations.
29936
29937 2015-07-31 Carlos O'Donell <carlos@redhat.com>
29938
29939 * po/libc.pot: Regenerated.
29940
29941 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
29942
29943 [BZ #18740]
29944 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
29945 float-vlen4-arch-ext-cflags): Removed.
29946 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
29947 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
29948
29949 2015-07-30 Mike Frysinger <vapier@gentoo.org>
29950
29951 [BZ #14113]
29952 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
29953 aligned to __aligned__.
29954 (pthread_cond_t, pthread_rwlock_t): Likewise.
29955
29956 2015-07-30 Torvald Riegel <triegel@redhat.com>
29957
29958 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
29959
29960 2015-07-30 Mike Frysinger <vapier@gentoo.org>
29961
29962 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
29963 (struct sigaction): Change sa_flags from a long to an int, and add
29964 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
29965
29966 2015-07-30 Mike Frysinger <vapier@gentoo.org>
29967
29968 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
29969 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
29970 sysdeps/generic/sysdep.h include.
29971 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
29972 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
29973 sysdeps/hppa/sysdep.h.
29974 (ENTRY, PSEUDO): Undefine before defining.
29975
29976 2015-07-30 Mike Frysinger <vapier@gentoo.org>
29977
29978 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
29979 from scratch to use INTERNAL_SYSCALL.
29980
29981 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
29982
29983 [BZ #18078]
29984 * scripts/check-localplt.awk: Support alternate relocations.
29985 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
29986 sections.
29987 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
29988 malloc entries with + REL R_386_GLOB_DAT.
29989 * sysdeps/x86_64/localplt.data: New file.
29990
29991 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
29992
29993 [BZ #18731]
29994 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
29995 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29996 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29997
29998 2015-07-27 Mike Frysinger <vapier@gentoo.org>
29999
30000 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
30001
30002 2015-07-27 Mike Frysinger <vapier@gentoo.org>
30003
30004 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
30005 directly in terms of __sync_fetch_and_add and delete (int) cast.
30006
30007 2015-07-27 Mike Frysinger <vapier@gentoo.org>
30008
30009 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
30010 the -D_ASM_IA64_CURRENT_H flag.
30011
30012 2015-07-27 Mike Frysinger <vapier@gentoo.org>
30013
30014 [BZ #18641]
30015 * pwd/pwd.h (putpwent): Delete __nonnull markings.
30016
30017 2015-07-27 Andreas Schwab <schwab@suse.de>
30018
30019 * conform/conformtest.pl (checknamespace): Filter out string
30020 literals while tokenizing.
30021
30022 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
30023
30024 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30025 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
30026 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30027
30028 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
30029
30030 * nptl/tst-join7mod.c: Add #include <string.h>.
30031
30032 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
30033
30034 * sysdeps/nios2/libm-test-ulps: Update.
30035
30036 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
30037
30038 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
30039 Fix order of arguments to the rt_sigprocmask syscall.
30040 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
30041 Likewise.
30042
30043 2015-07-24 Roland McGrath <roland@hack.frob.com>
30044
30045 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
30046
30047 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30048
30049 [BZ #18457]
30050 * nptl/Makefile (tests): New test case tst-join7.
30051 (modules-names): New test case module tst-join7mod.
30052 * nptl/tst-join7.c: New file.
30053 * nptl/tst-join7mod.c: New file.
30054 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
30055 all translation units in libc.so, libpthread.so and rtld.
30056
30057 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30058
30059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30060
30061 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
30062
30063 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
30064 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
30065 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
30066 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
30067 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
30068 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
30069 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
30070 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
30071 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
30072 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
30073 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
30074 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
30075 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
30076 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30077 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
30078 implementation.
30079
30080 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30081
30082 [BZ #17711]
30083 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30084 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
30085 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30086 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30087 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
30088 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30089
30090 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30091
30092 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
30093 instead of just saying load lock in the comments.
30094
30095 2015-07-23 Roland McGrath <roland@hack.frob.com>
30096
30097 * sysdeps/unix/Subdirs: Moved ...
30098 * sysdeps/posix/Subdirs: ... here.
30099 * login/pty.h (struct termios, struct winsize): Add forward decls.
30100 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
30101 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
30102 * sysdeps/arm/nacl/libc.abilist: Updated.
30103 * sysdeps/nacl/libutil.abilist: New file.
30104
30105 * bits/signum.h: Update comments to mention 1003.1-2013 too.
30106 (SIGWINCH): New macro.
30107
30108 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
30109 * sysdeps/arm/nacl/libc.abilist: Add it.
30110
30111 2015-07-23 Mike Frysinger <vapier@gentoo.org>
30112
30113 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
30114
30115 2015-07-23 Mike Frysinger <vapier@gentoo.org>
30116
30117 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
30118 Swap __glibc_reserved0 and sa_flags order.
30119
30120 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30121
30122 [BZ #18657]
30123 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
30124 are pending TLS destructor calls.
30125 * include/link.h (struct link_map): Add concurrency note for
30126 L_TLS_DTOR_COUNT.
30127 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30128 Don't touch the link map flag. Atomically increment
30129 l_tls_dtor_count.
30130 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
30131 Avoid taking the load lock and don't touch the link map flag.
30132 * stdlib/tst-tls-atexit-nodelete.c: New test case.
30133 * stdlib/Makefile (tests): Use it.
30134 * stdlib/tst-tls-atexit.c (do_test): dlopen
30135 tst-tls-atexit-lib.so again before dlclose. Add conditionals
30136 to allow tst-tls-atexit-nodelete test case to use it.
30137
30138 2015-07-22 Mike Frysinger <vapier@gentoo.org>
30139
30140 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
30141 to bits/types.h.
30142 (msgqnum_t): New typedef.
30143 (msglen_t): Likewise.
30144 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
30145 and msg_qbytes type to msglen_t.
30146
30147 2015-07-22 Mike Frysinger <vapier@gentoo.org>
30148
30149 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
30150 pad0 to __glibc_reserved0.
30151 (struct stat64): Likewise.
30152
30153 2015-07-22 Mike Frysinger <vapier@gentoo.org>
30154
30155 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
30156 Change sa_flags from a long to an int and add __glibc_reserved0 before
30157 it for padding.
30158
30159 2015-07-22 Mike Frysinger <vapier@gentoo.org>
30160
30161 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
30162 anonymous by deleting "siginfo" name.
30163
30164 2015-07-21 Roland McGrath <roland@hack.frob.com>
30165
30166 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
30167 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
30168 rather than __nacl_irt_filename.
30169 * sysdeps/nacl/xstat.c (__xstat): Likewise.
30170
30171 * NEWS: New item for arm-nacl port.
30172 * sysdeps/arm/nacl/libc.abilist: New file.
30173 * sysdeps/nacl/ld.abilist: New file.
30174 * sysdeps/nacl/libBrokenLocale.abilist: New file.
30175 * sysdeps/nacl/libanl.abilist: New file.
30176 * sysdeps/nacl/libcrypt.abilist: New file.
30177 * sysdeps/nacl/libdl.abilist: New file.
30178 * sysdeps/nacl/libm.abilist: New file.
30179 * sysdeps/nacl/libpthread.abilist: New file.
30180 * sysdeps/nacl/libresolv.abilist: New file.
30181 * sysdeps/nacl/librt.abilist: New file.
30182
30183 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
30184
30185 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
30186 __startcontext to initialize the new context.
30187 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
30188 up CFI directive to forbid further backtracing.
30189
30190 2015-07-21 Marko Myllynen <myllynen@redhat.com>
30191
30192 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
30193 reference.
30194 * charmaps/ANSI_X3.4-1968: Likewise.
30195 * charmaps/BS_4730: Likewise.
30196 * charmaps/BS_VIEWDATA: Likewise.
30197 * charmaps/CP1250: Likewise.
30198 * charmaps/CP1251: Likewise.
30199 * charmaps/CP1252: Likewise.
30200 * charmaps/CP1253: Likewise.
30201 * charmaps/CP1254: Likewise.
30202 * charmaps/CP1255: Likewise.
30203 * charmaps/CP1256: Likewise.
30204 * charmaps/CSN_369103: Likewise.
30205 * charmaps/EBCDIC-DK-NO: Likewise.
30206 * charmaps/GB_1988-80: Likewise.
30207 * charmaps/GREEK-CCITT: Likewise.
30208 * charmaps/GREEK7: Likewise.
30209 * charmaps/INIS-8: Likewise.
30210 * charmaps/ISIRI-3342: Likewise.
30211 * charmaps/ISO_2033-1983: Likewise.
30212 * charmaps/ISO_5427-EXT: Likewise.
30213 * locales/POSIX: Likewise.
30214 * locales/ar_SA: Likewise.
30215 * locales/be_BY: Likewise.
30216 * locales/be_BY@latin: Likewise.
30217 * locales/ca_ES: Likewise.
30218 * locales/cs_CZ: Likewise.
30219 * locales/da_DK: Likewise.
30220 * locales/de_BE: Likewise.
30221 * locales/de_CH: Likewise.
30222 * locales/de_LU: Likewise.
30223 * locales/en_AU: Likewise.
30224 * locales/en_BW: Likewise.
30225 * locales/en_CA: Likewise.
30226 * locales/en_DK: Likewise.
30227 * locales/en_GB: Likewise.
30228 * locales/en_IE: Likewise.
30229 * locales/en_NZ: Likewise.
30230 * locales/en_ZA: Likewise.
30231 * locales/en_ZW: Likewise.
30232 * locales/es_AR: Likewise.
30233 * locales/es_BO: Likewise.
30234 * locales/es_CL: Likewise.
30235 * locales/es_CO: Likewise.
30236 * locales/es_DO: Likewise.
30237 * locales/es_EC: Likewise.
30238 * locales/es_ES: Likewise.
30239 * locales/es_HN: Likewise.
30240 * locales/es_MX: Likewise.
30241 * locales/es_PA: Likewise.
30242 * locales/es_PE: Likewise.
30243 * locales/es_PY: Likewise.
30244 * locales/es_SV: Likewise.
30245 * locales/es_US: Likewise.
30246 * locales/es_UY: Likewise.
30247 * locales/es_VE: Likewise.
30248 * locales/et_EE: Likewise.
30249 * locales/fa_IR: Likewise.
30250 * locales/fo_FO: Likewise.
30251 * locales/fr_CA: Likewise.
30252 * locales/fr_CH: Likewise.
30253 * locales/gv_GB: Likewise.
30254 * locales/he_IL: Likewise.
30255 * locales/hr_HR: Likewise.
30256 * locales/id_ID: Likewise.
30257 * locales/is_IS: Likewise.
30258 * locales/it_CH: Likewise.
30259 * locales/iw_IL: Likewise.
30260 * locales/kl_GL: Likewise.
30261 * locales/ko_KR: Likewise.
30262 * locales/kw_GB: Likewise.
30263 * locales/lg_UG: Likewise.
30264 * locales/lt_LT: Likewise.
30265 * locales/lv_LV: Likewise.
30266 * locales/mi_NZ: Likewise.
30267 * locales/nhn_MX: Likewise.
30268 * locales/nl_BE: Likewise.
30269 * locales/pl_PL: Likewise.
30270 * locales/sk_SK: Likewise.
30271 * locales/sl_SI: Likewise.
30272 * locales/sv_FI: Likewise.
30273 * locales/tl_PH: Likewise.
30274 * locales/tr_TR: Likewise.
30275 * locales/vi_VN: Likewise.
30276
30277 2015-07-21 Khem Raj <raj.khem@gmail.com>
30278
30279 [BZ #17475]
30280 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
30281 of tu_IN and bh_IN.
30282
30283 2015-07-21 Mike Frysinger <vapier@gentoo.org>
30284
30285 [BZ #18694]
30286 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
30287 bits/wordsize.h.
30288 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
30289
30290 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30291
30292 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
30293 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
30294 (spawn_thread): New function.
30295 (load): Rename to reg_dtor_and_close. Move dlopen to...
30296 (do_test): ... here. Use IS_LOADED to test for its
30297 availability.
30298
30299 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
30300
30301 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30302
30303 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
30304
30305 [BZ #18696]
30306 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
30307 si_addr_bnd.
30308 (si_lower): New.
30309 (si_upper): Likewise.
30310
30311 2015-07-16 David S. Miller <davem@davemloft.net>
30312
30313 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
30314
30315 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30316
30317 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
30318 buffer.
30319 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
30320 fail output information.
30321
30322 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30323
30324 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
30325 and strstr-ppc64..
30326 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
30327 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
30328 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
30329 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
30330 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
30331
30332 2015-07-16 Mike Frysinger <vapier@gentoo.org>
30333
30334 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
30335 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
30336 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
30337 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
30338
30339 2015-07-16 Mike Frysinger <vapier@gentoo.org>
30340
30341 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
30342 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
30343 rtld_hidden_proto.
30344 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
30345
30346 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30347
30348 * tst-nodelete-opened.c (do_test): Add comment to clarify how
30349 the test can fail.
30350
30351 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
30352
30353 [BZ #18676]
30354 * elf/tst-nodelete-opened.c: New test case.
30355 * elf/tst-nodelete-opened-lib.c: New test case module.
30356 * elf/Makefile (tests, modules-names): Use them.
30357 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
30358 early.
30359
30360 2015-07-15 David S. Miller <davem@davemloft.net>
30361
30362 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
30363 futex-intenal.h
30364 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
30365 * sysdeps/sparc/sparc64/Makefile: Likewise.
30366 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
30367 Remove space from macro define.
30368 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
30369
30370 2015-07-15 Pravin Satpute <psatpute@redhat.com>
30371
30372 [BZ #17475]
30373 * locale/iso-639.def: Update Bhili and Tulu language codes as
30374 per iso639-3.
30375
30376 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
30377
30378 * elf/tst-leaks1.c (main): Converted to ...
30379 (do_test): ... this.
30380 (TEST_FUNCTION): New macro.
30381 Include test-skeleton.c.
30382 * localedata/tst-langinfo.c (main): Converted to ...
30383 (do_test): ... this.
30384 (TEST_FUNCTION): New macro.
30385 Include test-skeleton.c.
30386 * math/test-fpucw.c (main): Converted to ...
30387 (do_test): ... this.
30388 (TEST_FUNCTION): New macro.
30389 Include test-skeleton.c.
30390 * math/test-tgmath.c (main): Converted to ...
30391 (do_test): ... this.
30392 (TEST_FUNCTION): New macro.
30393 Include test-skeleton.c.
30394 * math/test-tgmath2.c (main): Converted to ...
30395 (do_test): ... this.
30396 (TEST_FUNCTION): New macro.
30397 Include test-skeleton.c.
30398 * setjmp/tst-setjmp.c (main): Converted to ...
30399 (do_test): ... this.
30400 (TEST_FUNCTION): New macro.
30401 Include test-skeleton.c.
30402 * stdio-common/tst-sscanf.c (main): Converted to ...
30403 (do_test): ... this.
30404 (TEST_FUNCTION): New macro.
30405 Include test-skeleton.c.
30406 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
30407 (do_test): ... this.
30408 (TEST_FUNCTION): New macro.
30409 Include test-skeleton.c.
30410
30411 * elf/tst-audit9.c (main): Converted to ...
30412 (do_test): ... this.
30413 (TEST_FUNCTION): New macro.
30414 Include test-skeleton.c.
30415
30416 2015-07-15 Mike Frysinger <vapier@gentoo.org>
30417
30418 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
30419
30420 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
30421
30422 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
30423 New variable.
30424
30425 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
30426
30427 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30428
30429 2015-07-14 Roland McGrath <roland@hack.frob.com>
30430
30431 * sysdeps/generic/dl-fileid.h: New file.
30432 * sysdeps/posix/dl-fileid.h: New file.
30433 * sysdeps/nacl/dl-fileid.h: New file.
30434 * include/link.h: Include <dl-fileid.h>.
30435 (struct link_map): Replace l_dev and l_ino with l_file_id.
30436 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
30437 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
30438 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
30439
30440 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30441
30442 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
30443
30444 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30445
30446 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
30447 Add iff $CXX is set.
30448 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
30449 Likewise.
30450 (tst-nodelete-zmodiff): Likewise.
30451 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
30452
30453 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30454
30455 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
30456
30457 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
30458
30459 * sysdeps/aarch64/fpu/math_private.h
30460 (define math_opt_barrier): Add AArch64 version.
30461 (math_force_eval): Likewise.
30462
30463 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
30464
30465 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
30466
30467 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
30468
30469 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
30470 %ld with %jd and cast to intmax_t.
30471 (do_test_length_zero): Likewise.
30472
30473 2015-07-10 Roland McGrath <roland@hack.frob.com>
30474
30475 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
30476
30477 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
30478
30479 * sysdeps/tile/libm-test-ulps: Regenerated.
30480
30481 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
30482 Comment out the whole function, not just its body.
30483
30484 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30485
30486 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
30487 locks.
30488
30489 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
30490
30491 2015-07-10 Torvald Riegel <triegel@redhat.com>
30492
30493 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
30494 (sem_assume_only_signals_cause_futex_EINTR): Remove.
30495
30496 2015-07-10 Torvald Riegel <triegel@redhat.com>
30497
30498 * sysdeps/nptl/futex-internal.h: New file.
30499 * sysdeps/nacl/futex-internal.h: New file.
30500 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
30501 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
30502 error checking.
30503 (setxid_unmark_thread): Likewise.
30504 (__nptl_setxid): Likewise.
30505 (__wait_lookup_done): Likewise.
30506 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30507 * nptl/nptl-init.c (sighandler_setxid): Likewise.
30508 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
30509 * nptl/pthread_once.c (clear_once_control): Likewise.
30510 (__pthread_once_slow): Likewise.
30511 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
30512 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
30513 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
30514 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
30515 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
30516 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
30517 Likewise.
30518 (__pthread_rwlock_rdlock): Likewise.
30519 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30520 Likewise.
30521 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
30522 Likewise.
30523 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
30524 Likewise.
30525 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
30526 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
30527 Likewise.
30528 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
30529 __ASSUME_PRIVATE_FUTEX check.
30530 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
30531 Check that shared futexes are supported.
30532 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
30533 wrappers with error checking.
30534 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
30535 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
30536 * nptl/pthread_barrierattr_setpshared.c
30537 (pthread_barrierattr_setpshared): Check that shared futexes are
30538 supported.
30539 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
30540 Likewise.
30541 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
30542 Likewise.
30543 * nptl/sem_init.c (futex_private_if_supported): Remove.
30544 (__new_sem_init): Adapt and check that shared futexes are supported.
30545 * nptl/sem_open.c (sem_open): Likewise.
30546 * nptl/sem_post.c (futex_wake): Remove.
30547 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
30548 (do_futex_wait): Use futex wrappers with error checking.
30549 * nptl/sem_wait.c: Include lowlevellock.h.
30550 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
30551 Use futex_supports_pshared.
30552 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
30553 Use futex wrappers with error checking.
30554 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
30555 Likewise.
30556 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
30557 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
30558 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
30559 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
30560 (futex_wake): Likewise.
30561 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
30562 (do_futex_wait): Use futex wrappers with error checking.
30563 (__new_sem_wait_slow): Update EINTR handling.
30564 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
30565
30566 2015-07-09 Martin Sebor <msebor@redhat.com>
30567
30568 [BZ #18435]
30569 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
30570 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
30571 * nptl/Makefile (test-xfail-tst-once5): Define.
30572
30573 2015-07-09 Roland McGrath <roland@hack.frob.com>
30574
30575 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
30576 * elf/dl-minimal.c: For readability, reorder some definitions and
30577 introduce more page breaks. Include <stdio.h>.
30578 (__libc_fatal): New function.
30579
30580 * include/unistd.h: Add rtld_hidden_proto for _exit.
30581 * posix/_exit.c: Add rtld_hidden_def.
30582 * sysdeps/mach/hurd/_exit.c: Likewise.
30583 * sysdeps/nacl/_exit.c: Likewise.
30584 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
30585 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
30586
30587 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
30588
30589 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
30590 bndmov encoding with zero displacement.
30591
30592 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
30593 H.J. Lu <hongjiu.lu@intel.com>
30594
30595 [BZ #18134]
30596 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
30597 * sysdeps/i386/configure: Regenerated.
30598 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
30599 (_dl_runtime_profile): Save and restore Intel MPX return bound
30600 registers when calling _dl_call_pltexit. Add
30601 PRESERVE_BND_REGS_PREFIX before return.
30602 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
30603 (LRV_BND1_OFFSET): Likewise.
30604 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
30605 lrv_bnd1.
30606 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
30607 typo in bndmov encoding.
30608 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
30609 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
30610 branch instructions to preserve bounds.
30611
30612 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30613
30614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
30615 [GLIBC_2.22]: Add fmemopen.
30616
30617 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
30618
30619 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
30620 returns an error, also try to use host port from __mach_host_self for
30621 the __vm_wire call.
30622 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
30623
30624 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
30625
30626 [BZ #18400]
30627 [BZ #18648]
30628 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
30629 Fix pr_uid and pr_gid members.
30630 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
30631 definition to elf_greg_t.
30632
30633 2015-07-08 Roland McGrath <roland@hack.frob.com>
30634
30635 [BZ #18383]
30636 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
30637 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
30638 * sysdeps/arm/configure: Regenerated.
30639 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
30640 (test-xfail-tst-tlsalign-static): Variable removed.
30641
30642 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
30643 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
30644 rather than explicit 'ln -s'.
30645
30646 * resolv/rpc/netdb.h: New file.
30647 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
30648
30649 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30650
30651 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
30652 length buffers.
30653 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
30654 test-skeleton.c.
30655
30656 [BZ #6544]
30657 [BZ #11216]
30658 [BZ #12836]
30659 [BZ #13151]
30660 [BZ #13152]
30661 [BZ #14292]
30662 * include/stdio.h (fmemopen): Remove hidden prototype.
30663 (__fmemopen): Add new hidden prototype.
30664 * libio/Makefile: Add oldfmemopen object.
30665 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
30666 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
30667 compliance.
30668 * libio/oldfmemopen.c: New file: old fmemopen implementation for
30669 symbol compatibility.
30670 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
30671 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
30672 fmemopen.
30673 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
30674 on append and read mode.
30675 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
30676 fmemopen.
30677 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
30678 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
30679 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
30680 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
30681 Likewise.
30682 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
30683 [GLIBC_2.22]: Likewise.
30684 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
30685 Likewise.
30686 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
30687 Likewise.
30688 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
30689 [GLIBC_2.22]: Likewise.
30690 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
30691 [GLIBC_2.22]: Likewise.
30692 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
30693 [GLIBC_2.22]: Likewise.
30694 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
30695 [GLIBC_2.22]: Likewise.
30696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
30697 [GLIBC_2.22]: Likewise.
30698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
30699 [GLIBC_2.22]: Likewise.
30700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
30701 [GLIBC_2.22]: Likewise.
30702 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
30703 Likewise.
30704 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
30705 Likewise.
30706 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
30707 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
30708 [GLIBC_2.22]: Likewise.
30709 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
30710 [GLIBC_2.22]: Likewise.
30711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
30712 [GLIBC_2.22]: Likewise.
30713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
30714 [GLIBC_2.22]: Likewise.
30715 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
30716 Likewise.
30717 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
30718 Likewise.
30719 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
30720 Likewise.
30721 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
30722 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
30723
30724 2015-07-08 Carlos O'Donell <carlos@redhat.com>
30725
30726 [BZ #18643]
30727 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
30728 IPV6_PATHMTU, and IPV6_DONTFRAG.
30729
30730 2015-07-08 Feng Gao <gfree.wind@gmail.com>
30731
30732 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
30733 and _IO_UNBUFFERED.
30734 * libio/oldfileops.c: Likewise.
30735 * libio/wfileops.c: Likewise.
30736
30737 2015-07-08 Mike Frysinger <vapier@gentoo.org>
30738
30739 * nscd/selinux.c: Delete selinux/flask.h include.
30740
30741 2015-07-08 Mike Frysinger <vapier@gentoo.org>
30742
30743 [BZ #18641]
30744 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
30745 (putpwent): Likewise.
30746 (getpwnam): Likewise.
30747 (getpwent_r): Likewise.
30748 (getpwuid_r): Likewise.
30749 (getpwnam_r): Likewise.
30750 (fgetpwent_r): Likewise.
30751
30752 2015-07-08 Carlos O'Donell <carlos@redhat.com>
30753
30754 [BZ #18557]
30755 * inet/rcmd.c (__validuser2_sa): Check user first to
30756 short-circuit host check.
30757
30758 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
30759 Mikhail Ilin <m.ilin@samsung.com>
30760
30761 [BZ #17833]
30762 * elf/Makefile (tests): Add tst-nodelete.
30763 (modules-names): Add tst-nodelete-uniquemod.
30764 (tst-nodelete-uniquemod.so-no-z-defs): New.
30765 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
30766 (tst-nodelete-zmod.so-no-z-defs): Likewise.
30767 ($(objpfx)tst-nodelete): Likewise.
30768 ($(objpfx)tst-nodelete.out): Likewise.
30769 (LDFLAGS-tst-nodelete): Likewise.
30770 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
30771 * elf/dl-close.c (_dl_close_worker): Add a parameter to
30772 implement forced object deletion.
30773 (_dl_close): Pass false to _dl_close_worker.
30774 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
30775 * elf/tst-nodelete.cc: New file.
30776 * elf/tst-nodeletelib.cc: Likewise.
30777 * elf/tst-znodeletelib.cc: Likewise.
30778 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
30779
30780 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
30781
30782 [BZ #18508]
30783 * stdlib/Makefile ($(objpfx)tst-makecontext3):
30784 Depend on $(libdl).
30785 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
30786 is not called infinitely times.
30787 (backtrace_helper): New function.
30788 (trace_arg): New struct.
30789 (st1): Enlarge stack size.
30790 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30791 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
30792 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30793 Likewise.
30794
30795 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
30796
30797 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30798
30799 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
30800
30801 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
30802 Include sys/types.h instead of bits/types.h.
30803 Remove inclusion of bits/wordsize.h.
30804
30805 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
30806
30807 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
30808 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
30809 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
30810 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
30811 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
30812 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
30813
30814 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
30815
30816 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
30817 link-defines.sym.
30818 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
30819 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
30820 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
30821 and LR_SIZE.
30822 * sysdeps/i386/link-defines.sym: New file.
30823
30824 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
30825
30826 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
30827 (modules-names): Add tst-auditmod3a tst-auditmod3b.
30828 ($(objpfx)tst-audit3): New rule.
30829 ($(objpfx)tst-audit3.out): Likewise.
30830 * sysdeps/i386/tst-audit3.c: New file.
30831 * sysdeps/i386/tst-audit3.h: Likewise.
30832 * sysdeps/i386/tst-auditmod3a.c: Likewise.
30833 * sysdeps/i386/tst-auditmod3b.c: Likewise.
30834
30835 2015-07-07 Torvald Riegel <triegel@redhat.com>
30836
30837 [BZ #18633]
30838 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
30839 pointer in C code.
30840 (__strcat_c): Likewise.
30841 (__strcat_g): Likewise.
30842
30843 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
30844
30845 [BZ #18592]
30846 * misc/sbrk.c: Set errno to ENOMEM on overflow.
30847
30848 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
30849
30850 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
30851 New function. (__ieee754_sqrtf): New function.
30852 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
30853 New function.
30854 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
30855 New function.
30856
30857 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
30858
30859 * sysdeps/ieee754/support.c: Remove unused file.
30860
30861 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
30862
30863 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
30864 registers instead of d ones so the layout is kernel abi compatible.
30865 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
30866 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
30867 Likewise.
30868
30869 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30870
30871 * sysdeps/aarch64/libm-test-ulps: Regenerated.
30872
30873 2015-07-01 Joseph Myers <joseph@codesourcery.com>
30874
30875 [BZ #18619]
30876 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
30877 and return argument in case of subnormal argument.
30878
30879 2015-07-01 Martin Sebor <msebor@redhat.com>
30880
30881 [BZ #18435]
30882 * nptl/Makefile: Add tst-once5.cc.
30883 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
30884 Remove macro redefinitions.
30885 * nptl/tst-once5.cc: New test.
30886
30887 2015-07-01 Joseph Myers <joseph@codesourcery.com>
30888
30889 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30890
30891 * sysdeps/arm/libm-test-ulps: Regenerated.
30892
30893 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
30894 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30895
30896 2015-06-30 Torvald Riegel <triegel@redhat.com>
30897
30898 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
30899 lll_lock_wait_private and lll_futex_wake probes.
30900
30901 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
30902 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
30903 Likewise.
30904 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
30905 atomic_spin_nop.
30906 * sysdeps/x86_64/bits/atomic.h: Likewise.
30907 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
30908 to atomic_spin_nop and move ...
30909 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
30910 ... here and ...
30911 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
30912 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
30913 atomic_spin_nop instead of BUSY_WAIT_NOP.
30914 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
30915 Likewise.
30916 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
30917 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
30918 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
30919 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
30920 instead of atomic_delay.
30921
30922 2015-06-29 Joseph Myers <joseph@codesourcery.com>
30923
30924 [BZ #18613]
30925 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
30926 X_ADJ not X when adjusting exponent.
30927 (__ieee754_gamma_r): Do intermediate computations in
30928 round-to-nearest then adjust overflowing and underflowing results
30929 as needed.
30930 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
30931 of X_ADJ not X when adjusting exponent.
30932 (__ieee754_gammaf_r): Do intermediate computations in
30933 round-to-nearest then adjust overflowing and underflowing results
30934 as needed.
30935 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
30936 log of X_ADJ not X when adjusting exponent.
30937 (__ieee754_gammal_r): Do intermediate computations in
30938 round-to-nearest then adjust overflowing and underflowing results
30939 as needed. Use 1.0L not 1.0f as numerator of division.
30940 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
30941 log of X_ADJ not X when adjusting exponent.
30942 (__ieee754_gammal_r): Do intermediate computations in
30943 round-to-nearest then adjust overflowing and underflowing results
30944 as needed. Use 1.0L not 1.0f as numerator of division.
30945 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
30946 of X_ADJ not X when adjusting exponent.
30947 (__ieee754_gammal_r): Do intermediate computations in
30948 round-to-nearest then adjust overflowing and underflowing results
30949 as needed. Use 1.0L not 1.0f as numerator of division.
30950 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
30951 to auto-libm-test-in.
30952 (tgamma_test): Use ALL_RM_TEST.
30953 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
30954 tests of tgamma with spurious-overflow.
30955 * math/auto-libm-test-out: Regenerated.
30956 * math/gen-libm-have-vector-test.sh: Do not check for START.
30957 * sysdeps/i386/fpu/libm-test-ulps: Update.
30958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30959
30960 [BZ #18612]
30961 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
30962 arguments, just return 0.5 times the argument, with underflow
30963 forced as needed.
30964 * math/auto-libm-test-in: Add more tests of j1.
30965 * math/auto-libm-test-out: Regenerated.
30966
30967 [BZ #16559]
30968 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
30969 (__ieee754_j1): Force underflow exception for small results.
30970 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30971 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
30972 (__ieee754_j1f): Force underflow exception for small results.
30973 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30974 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30975 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30976 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
30977 (__ieee754_j1l): Force underflow exception for small results.
30978 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30979 * math/auto-libm-test-in: Add more tests of j1 and jn.
30980 * math/auto-libm-test-out: Regenerated.
30981
30982 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
30983 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
30984 (PF_MPLS): Likewise.
30985 (AF_IB): Likewise.
30986 (AF_MPLS): Likewise.
30987 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
30988 value and macro.
30989 (MS_RMT_MASK): Include MS_LAZYTIME.
30990
30991 2015-06-26 Mel Gorman <mgorman@suse.de>
30992
30993 [BZ #18502]
30994 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
30995 already minimal.
30996
30997 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
30998
30999 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
31000 (DT_MIPS_NUM): Update.
31001 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
31002 DT_MIPS_RLD_MAP_REL.
31003
31004 2015-06-25 Joseph Myers <joseph@codesourcery.com>
31005
31006 [BZ #16559]
31007 [BZ #18602]
31008 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
31009 round-to-nearest internally then recompute results that
31010 underflowed to zero in the original rounding mode.
31011 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
31012 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31013 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31014 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31015 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
31016 * sysdeps/i386/fpu/libm-test-ulps: Update.
31017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31018
31019 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
31020
31021 * NEWS: Fixed description of link with vector math library.
31022
31023 2015-06-25 Andreas Schwab <schwab@suse.de>
31024
31025 [BZ #18549]
31026 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
31027 * libio/test-fmemopen.c (do_test): Add test for it.
31028
31029 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
31030
31031 [BZ #17841]
31032 * Makeconfig (no-pie-ldflag): New.
31033 (+link): Set to $(+link-pie) if default to PIE.
31034 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
31035 * config.make.in (build-pie-default): New.
31036 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
31037 is default. AC_SUBST.
31038 * configure: Regenerated.
31039 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
31040
31041 2015-06-24 Roland McGrath <roland@hack.frob.com>
31042
31043 * nptl/descr.h (struct pthread): Change type of field setxid_futex
31044 to 'unsigned int'.
31045
31046 * resolv/gai_misc.h (struct waitlist): Change type of field
31047 counterp to 'volatile unsigned int *'.
31048 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
31049 FUTEXADDR and OLDVAL.
31050 * resolv/getaddrinfo_a.c (getaddrinfo_a):
31051 Give local variable TOTAL type 'volatile unsigned int'.
31052 (struct async_waitlist): Change type of field counter to 'unsigned int'.
31053 * resolv/gai_suspend.c (gai_suspend):
31054 Give local variable CNTR type 'unsigned int'.
31055
31056 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
31057 counterp to 'volatile unsigned int *'.
31058 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
31059 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
31060 (aio_suspend): Give local variable CNTR type 'unsigned int'.
31061 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
31062 Give local variable TOTAL type 'volatile unsigned int'.
31063 (struct async_waitlist): Change type of field counter to 'unsigned int'.
31064
31065 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
31066
31067 [BZ #18383]
31068 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
31069 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
31070 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
31071 comment for i386/x86-64.
31072 (test-xfail-tst-tlsalign-extern-static): Removed.
31073
31074 2015-06-24 Joseph Myers <joseph@codesourcery.com>
31075
31076 * math/test-double.h: New file.
31077 * math/test-float.h: Likewise.
31078 * math/test-ldouble.h: Likewise.
31079 * math/test-math-inline.h: Likewise.
31080 * math/test-math-no-inline.h: Likewise.
31081 * math/test-math-scalar.h: Likewise.
31082 * math/test-math-vector.h: Likewise.
31083 * math/test-vec-loop.h: Remove file. Contents moved into
31084 test-math-vector.h.
31085 * math/libm-test.inc (MATHCONST): Do not document macro.
31086 * math/test-double.c: Include test-double.h, test-math-no-inline.h
31087 and test-math-scalar.h.
31088 (FUNC): Remove macro.
31089 (FUNC_TEST): Likewise.
31090 (FLOAT): Likewise.
31091 (MATHCONST): Likewise.
31092 (PRINTF_EXPR): Likewise.
31093 (PRINTF_XEXPR): Likewise.
31094 (PRINTF_NEXPR): Likewise.
31095 (TEST_DOUBLE): Likewise.
31096 (TEST_MATHVEC): Likewise.
31097 (__NO_MATH_INLINES): Likewise.
31098 * math/test-float.c: Include test-float.h, test-math-no-inline.h
31099 and test-math-scalar.h.
31100 (FUNC): Remove macro.
31101 (FUNC_TEST): Likewise.
31102 (FLOAT): Likewise.
31103 (MATHCONST): Likewise.
31104 (PRINTF_EXPR): Likewise.
31105 (PRINTF_XEXPR): Likewise.
31106 (PRINTF_NEXPR): Likewise.
31107 (TEST_FLOAT): Likewise.
31108 (TEST_MATHVEC): Likewise.
31109 (__NO_MATH_INLINES): Likewise.
31110 * math/test-idouble.c: Include test-double.h, test-math-inline.h
31111 and test-math-scalar.h.
31112 (FUNC): Remove macro.
31113 (FUNC_TEST): Likewise.
31114 (FLOAT): Likewise.
31115 (MATHCONST): Likewise.
31116 (PRINTF_EXPR): Likewise.
31117 (PRINTF_XEXPR): Likewise.
31118 (PRINTF_NEXPR): Likewise.
31119 (TEST_DOUBLE): Likewise.
31120 (TEST_MATHVEC): Likewise.
31121 (TEST_INLINE): Likewise.
31122 (__NO_MATH_INLINES): Likewise.
31123 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
31124 test-math-scalar.h.
31125 (FUNC): Remove macro.
31126 (FUNC_TEST): Likewise.
31127 (FLOAT): Likewise.
31128 (MATHCONST): Likewise.
31129 (PRINTF_EXPR): Likewise.
31130 (PRINTF_XEXPR): Likewise.
31131 (PRINTF_NEXPR): Likewise.
31132 (TEST_FLOAT): Likewise.
31133 (TEST_MATHVEC): Likewise.
31134 (TEST_INLINE): Likewise.
31135 (__NO_MATH_INLINES): Likewise.
31136 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
31137 and test-math-scalar.h.
31138 (FUNC): Remove macro.
31139 (FUNC_TEST): Likewise.
31140 (FLOAT): Likewise.
31141 (MATHCONST): Likewise.
31142 (PRINTF_EXPR): Likewise.
31143 (PRINTF_XEXPR): Likewise.
31144 (PRINTF_NEXPR): Likewise.
31145 (TEST_LDOUBLE): Likewise.
31146 (TEST_MATHVEC): Likewise.
31147 (TEST_INLINE): Likewise.
31148 (__NO_MATH_INLINES): Likewise.
31149 * math/test-ldouble.c: Include test-ldouble.h,
31150 test-math-no-inline.h and test-math-scalar.h.
31151 (FUNC): Remove macro.
31152 (FUNC_TEST): Likewise.
31153 (FLOAT): Likewise.
31154 (MATHCONST): Likewise.
31155 (PRINTF_EXPR): Likewise.
31156 (PRINTF_XEXPR): Likewise.
31157 (PRINTF_NEXPR): Likewise.
31158 (TEST_LDOUBLE): Likewise.
31159 (TEST_MATHVEC): Likewise.
31160 (__NO_MATH_INLINES): Likewise.
31161 * math/test-double-vlen2.h: Include test-double.h,
31162 test-math-no-inline.h and test-math-vector.h.
31163 (FLOAT): Remove macro.
31164 (FUNC): Likewise.
31165 (MATHCONST): Likewise.
31166 (PRINTF_EXPR): Likewise.
31167 (PRINTF_XEXPR): Likewise.
31168 (PRINTF_NEXPR): Likewise.
31169 (TEST_DOUBLE): Likewise.
31170 (TEST_MATHVEC): Likewise.
31171 (__NO_MATH_INLINES): Likewise.
31172 (CNCT): Likewise.
31173 (CONCAT): Likewise.
31174 (WRAPPER_NAME): Likewise.
31175 (WRAPPER_DECL): Likewise.
31176 (WRAPPER_DECL_ff): Likewise.
31177 (WRAPPER_DECL_fFF): Likewise.
31178 (VECTOR_WRAPPER): Likewise.
31179 (VECTOR_WRAPPER_ff): Likewise.
31180 (VECTOR_WRAPPER_fFF): Likewise.
31181 (VEC_LEN): New macro.
31182 * math/test-double-vlen4.h: Include test-double.h,
31183 test-math-no-inline.h and test-math-vector.h.
31184 (FLOAT): Remove macro.
31185 (FUNC): Likewise.
31186 (MATHCONST): Likewise.
31187 (PRINTF_EXPR): Likewise.
31188 (PRINTF_XEXPR): Likewise.
31189 (PRINTF_NEXPR): Likewise.
31190 (TEST_DOUBLE): Likewise.
31191 (TEST_MATHVEC): Likewise.
31192 (__NO_MATH_INLINES): Likewise.
31193 (CNCT): Likewise.
31194 (CONCAT): Likewise.
31195 (WRAPPER_NAME): Likewise.
31196 (WRAPPER_DECL): Likewise.
31197 (WRAPPER_DECL_ff): Likewise.
31198 (WRAPPER_DECL_fFF): Likewise.
31199 (VECTOR_WRAPPER): Likewise.
31200 (VECTOR_WRAPPER_ff): Likewise.
31201 (VECTOR_WRAPPER_fFF): Likewise.
31202 (VEC_LEN): New macro.
31203 * math/test-double-vlen8.h: Include test-double.h,
31204 test-math-no-inline.h and test-math-vector.h.
31205 (FLOAT): Remove macro.
31206 (FUNC): Likewise.
31207 (MATHCONST): Likewise.
31208 (PRINTF_EXPR): Likewise.
31209 (PRINTF_XEXPR): Likewise.
31210 (PRINTF_NEXPR): Likewise.
31211 (TEST_DOUBLE): Likewise.
31212 (TEST_MATHVEC): Likewise.
31213 (__NO_MATH_INLINES): Likewise.
31214 (CNCT): Likewise.
31215 (CONCAT): Likewise.
31216 (WRAPPER_NAME): Likewise.
31217 (WRAPPER_DECL): Likewise.
31218 (WRAPPER_DECL_ff): Likewise.
31219 (WRAPPER_DECL_fFF): Likewise.
31220 (VECTOR_WRAPPER): Likewise.
31221 (VECTOR_WRAPPER_ff): Likewise.
31222 (VECTOR_WRAPPER_fFF): Likewise.
31223 (VEC_LEN): New macro.
31224 * math/test-float-vlen4.h: Include test-float.h,
31225 test-math-no-inline.h and test-math-vector.h.
31226 (FLOAT): Remove macro.
31227 (FUNC): Likewise.
31228 (MATHCONST): Likewise.
31229 (PRINTF_EXPR): Likewise.
31230 (PRINTF_XEXPR): Likewise.
31231 (PRINTF_NEXPR): Likewise.
31232 (TEST_FLOAT): Likewise.
31233 (TEST_MATHVEC): Likewise.
31234 (__NO_MATH_INLINES): Likewise.
31235 (CNCT): Likewise.
31236 (CONCAT): Likewise.
31237 (WRAPPER_NAME): Likewise.
31238 (WRAPPER_DECL): Likewise.
31239 (WRAPPER_DECL_ff): Likewise.
31240 (WRAPPER_DECL_fFF): Likewise.
31241 (VECTOR_WRAPPER): Likewise.
31242 (VECTOR_WRAPPER_ff): Likewise.
31243 (VECTOR_WRAPPER_fFF): Likewise.
31244 (VEC_LEN): New macro.
31245 * math/test-float-vlen8.h: Include test-float.h,
31246 test-math-no-inline.h and test-math-vector.h.
31247 (FLOAT): Remove macro.
31248 (FUNC): Likewise.
31249 (MATHCONST): Likewise.
31250 (PRINTF_EXPR): Likewise.
31251 (PRINTF_XEXPR): Likewise.
31252 (PRINTF_NEXPR): Likewise.
31253 (TEST_FLOAT): Likewise.
31254 (TEST_MATHVEC): Likewise.
31255 (__NO_MATH_INLINES): Likewise.
31256 (CNCT): Likewise.
31257 (CONCAT): Likewise.
31258 (WRAPPER_NAME): Likewise.
31259 (WRAPPER_DECL): Likewise.
31260 (WRAPPER_DECL_ff): Likewise.
31261 (WRAPPER_DECL_fFF): Likewise.
31262 (VECTOR_WRAPPER): Likewise.
31263 (VECTOR_WRAPPER_ff): Likewise.
31264 (VECTOR_WRAPPER_fFF): Likewise.
31265 (VEC_LEN): New macro.
31266 * math/test-float-vlen16.h: Include test-float.h,
31267 test-math-no-inline.h and test-math-vector.h.
31268 (FLOAT): Remove macro.
31269 (FUNC): Likewise.
31270 (MATHCONST): Likewise.
31271 (PRINTF_EXPR): Likewise.
31272 (PRINTF_XEXPR): Likewise.
31273 (PRINTF_NEXPR): Likewise.
31274 (TEST_FLOAT): Likewise.
31275 (TEST_MATHVEC): Likewise.
31276 (__NO_MATH_INLINES): Likewise.
31277 (CNCT): Likewise.
31278 (CONCAT): Likewise.
31279 (WRAPPER_NAME): Likewise.
31280 (WRAPPER_DECL): Likewise.
31281 (WRAPPER_DECL_ff): Likewise.
31282 (WRAPPER_DECL_fFF): Likewise.
31283 (VECTOR_WRAPPER): Likewise.
31284 (VECTOR_WRAPPER_ff): Likewise.
31285 (VECTOR_WRAPPER_fFF): Likewise.
31286 (VEC_LEN): New macro.
31287 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
31288 test-vec-loop.h.
31289 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31290 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31291 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31292 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31293 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31294 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31295 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
31296
31297 2015-06-24 Roland McGrath <roland@hack.frob.com>
31298
31299 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
31300 (__getlogin_r): ... this.
31301
31302 2015-06-24 Joseph Myers <joseph@codesourcery.com>
31303
31304 [BZ #18594]
31305 * math/s_ccosh.c (__ccosh): Compare with least normal value
31306 instead of comparing class with FP_SUBNORMAL.
31307 * math/s_ccoshf.c (__ccoshf): Likewise.
31308 * math/s_ccoshl.c (__ccoshl): Likewise.
31309 * math/s_cexp.c (__cexp): Likewise.
31310 * math/s_cexpf.c (__cexpf): Likewise.
31311 * math/s_cexpl.c (__cexpl): Likewise.
31312 * math/s_csin.c (__csin): Likewise.
31313 * math/s_csinf.c (__csinf): Likewise.
31314 * math/s_csinh.c (__csinh): Likewise.
31315 * math/s_csinhf.c (__csinhf): Likewise.
31316 * math/s_csinhl.c (__csinhl): Likewise.
31317 * math/s_csinl.c (__csinl): Likewise.
31318 * math/s_ctan.c (__ctan): Likewise.
31319 * math/s_ctanf.c (__ctanf): Likewise.
31320 * math/s_ctanh.c (__ctanh): Likewise.
31321 * math/s_ctanhf.c (__ctanhf): Likewise.
31322 * math/s_ctanhl.c (__ctanhl): Likewise.
31323 * math/s_ctanl.c (__ctanl): Likewise.
31324 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
31325 csin, csinh, ctan and ctanh.
31326 * math/auto-libm-test-out: Regenerated.
31327 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
31328 * sysdeps/i386/fpu/libm-test-ulps: Update.
31329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31330
31331 2015-06-24 Roland McGrath <roland@hack.frob.com>
31332
31333 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
31334 return value is wrong, print the expected value too.
31335
31336 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
31337
31338 [BZ #18585]
31339 * elf/readlib.c (is_gdb_python_file): New.
31340 (process_file): Don't issue errors on filenames with -gdb.py
31341 suffix.
31342
31343 2015-06-24 Joseph Myers <joseph@codesourcery.com>
31344
31345 * math/auto-libm-test-in: Add more tests of csin and csinh.
31346 * math/auto-libm-test-out: Regenerated.
31347 * math/libm-test.inc (csin_test_data): Remove tests moved to
31348 auto-libm-test-in.
31349 (csinh_test_data): Likewise.
31350
31351 [BZ #18593]
31352 * math/s_csin.c (__csin): Negate before rather than after possibly
31353 overflowing multiplication.
31354 * math/s_csinf.c (__csinf): Likewise.
31355 * math/s_csinh.c (__csinh): Likewise.
31356 * math/s_csinhf.c (__csinhf): Likewise.
31357 * math/s_csinhl.c (__csinhl): Likewise.
31358 * math/s_csinl.c (__csinl): Likewise.
31359 * math/auto-libm-test-in: Add some tests of csin and csinh.
31360 * math/auto-libm-test-out: Regenerated.
31361 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
31362 (csinh_test_data): Likewise.
31363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31364
31365 [BZ #18586]
31366 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
31367 underflow exception for small results.
31368
31369 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
31370
31371 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
31372 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
31373 variable and included header.
31374 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
31375 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
31376 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
31377 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
31378 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
31379 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
31380 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
31381 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
31382 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
31383 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
31384 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
31385 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
31386 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
31387 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
31388 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
31389 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
31390
31391 2015-06-23 Joseph Myers <joseph@codesourcery.com>
31392
31393 [BZ #16526]
31394 [BZ #16538]
31395 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
31396 (__sin): Force underflow exception for arguments with small
31397 absolute value.
31398 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
31399 (__kernel_sinf): Force underflow exception for arguments with
31400 small absolute value.
31401 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
31402 (__kernel_sincosl): Force underflow exception for arguments with
31403 small absolute value.
31404 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
31405 (__kernel_sinl): Force underflow exception for arguments with
31406 small absolute value.
31407 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
31408 (__kernel_sincosl): Force underflow exception for arguments with
31409 small absolute value.
31410 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
31411 (__kernel_sinl): Force underflow exception for arguments with
31412 small absolute value.
31413 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
31414 (__kernel_sinl): Force underflow exception for arguments with
31415 small absolute value.
31416 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
31417 (__kernel_sinf): Force underflow exception for arguments with
31418 small absolute value.
31419 * math/auto-libm-test-in: Add more tests of sin and sincos.
31420 * math/auto-libm-test-out: Regenerated.
31421
31422 [BZ #18245]
31423 [BZ #18583]
31424 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
31425 (__kernel_standard_l): Use feholdexcept and fesetenv around
31426 conversion to double instead of special-casing overflow and
31427 underflow.
31428 * math/libm-test.inc (fmod_test_data): Add more tests.
31429 (remainder_test_data): Likewise.
31430 (sqrt_test_data): Likewise.
31431
31432 2015-06-23 Torvald Riegel <triegel@redhat.com>
31433
31434 [BZ #17403]
31435 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
31436 atomic_read_barrier, atomic_write_barrier): Define.
31437 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
31438 atomic_read_barrier, atomic_write_barrier): Define.
31439
31440 2015-06-23 Joseph Myers <joseph@codesourcery.com>
31441
31442 * math/Makefile [$(PERL) != no]
31443 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
31444 dependency on libm-test.stmp below the inclusion of Rules.
31445
31446 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
31447
31448 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
31449 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
31450 and included header.
31451 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
31452 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
31453 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
31454 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
31455 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
31456 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
31457 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
31458 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
31459 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
31460 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
31461 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
31462 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
31463 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
31464 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
31465 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
31466 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
31467 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
31468 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
31469 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
31470
31471 2015-06-23 Joseph Myers <joseph@codesourcery.com>
31472
31473 [BZ #18371]
31474 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
31475 intermediate but not final result might underflow.
31476 * math/s_csqrtf.c (__csqrtf): Likewise.
31477 * math/s_csqrtl.c (__csqrtl): Likewise.
31478 * math/auto-libm-test-in: Add more tests of csqrt.
31479 * math/auto-libm-test-out: Regenerated.
31480 * sysdeps/i386/fpu/libm-test-ulps: Update.
31481
31482 [BZ #18219]
31483 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
31484 threshold on absolute value of exponent for which scaling is used.
31485 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31486 * math/auto-libm-test-in: Add more tests of exp2.
31487 * math/auto-libm-test-out: Regenerated.
31488
31489 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
31490
31491 [BZ #17977]
31492 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
31493 when initializing interface list, based on the bug analysis
31494 and the patch proposed by Eric Newton.
31495 * resolv/tst-res_hconf_reorder.c: New test.
31496 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
31497 tst-res_hconf_reorder.
31498 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
31499 and $(shared-thread-library).
31500 (tst-res_hconf_reorder-ENV): New variable.
31501
31502 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
31503 in comment.
31504
31505 2015-06-22 Joseph Myers <joseph@codesourcery.com>
31506
31507 [BZ #16353]
31508 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
31509 (__expm1): Force underflow exception for arguments with small
31510 absolute value.
31511 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
31512 (__expm1f): Force underflow exception for arguments with small
31513 absolute value.
31514 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
31515 (__expm1): Force underflow exception for arguments with small
31516 absolute value.
31517 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
31518 (__expm1f): Force underflow exception for arguments with small
31519 absolute value.
31520 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31521 Check for small arguments before calling __expm1.
31522 * math/auto-libm-test-in: Do not mark underflow exceptions as
31523 possibly missing for bug 16353.
31524 * math/auto-libm-test-out: Regenerated.
31525
31526 2015-06-22 Andreas Schwab <schwab@suse.de>
31527
31528 [BZ #18513]
31529 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
31530 PTR queries.
31531
31532 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
31533
31534 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
31535
31536 * string/strcoll_l.c: Remove unused struct element idxnow.
31537
31538 2015-06-21 Joseph Myers <joseph@codesourcery.com>
31539
31540 [BZ #18569]
31541 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
31542 underflow and return argument in case of subnormal argument.
31543 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31544 Likewise.
31545 * math/auto-libm-test-in: Add more tests of expm1.
31546 * math/auto-libm-test-out: Regenerated.
31547
31548 [BZ #16361]
31549 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
31550 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
31551 tiny results.
31552 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
31553 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
31554 tiny results.
31555 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
31556 mark underflow exceptions as possibly missing for bug 16361.
31557 * math/auto-libm-test-out: Regenerated.
31558
31559 2015-06-19 Joseph Myers <joseph@codesourcery.com>
31560
31561 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
31562 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
31563 Remove variable.
31564 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
31565 (test-xfail-XOPEN2K8/utmpx.h/conform).
31566
31567 * conform/conformtest.pl ($xerrors): New variable.
31568 (note_error): New function.
31569 (compiletest): New argument $xfail. Use not_error.
31570 (runtest): Likewise.
31571 (top level): Handle xfail- lines. Update calls to compiletest and
31572 runtest. Handle xfail- and optional- in headers listed with
31573 allow-header.
31574 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
31575 (O_EXEC): Likewise.
31576 (O_SEARCH): Likewise.
31577 * conform/data/stropts.h-data (ioctl): Likewise.
31578 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
31579 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
31580 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
31581 (msghdr.msg_controllen): Likewise.
31582 (cmsghdr.cmsg_len): Likewise.
31583 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
31584 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
31585 variable.
31586 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
31587 (test-xfail-XPG4/stropts.h/conform): Likewise.
31588 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
31589 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
31590 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
31591 (test-xfail-UNIX98/stropts.h/conform): Likewise.
31592 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
31593 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
31594 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
31595 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
31596 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
31597 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
31598 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
31599 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
31600 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
31601 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
31602 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
31603 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
31604 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
31605 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
31606 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
31607
31608 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
31609
31610 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
31611 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
31612 definitions for proper unfolding of __MATHDECL_VEC.
31613
31614 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
31615
31616 * benchtests/bench-strcoll.c:
31617 Include string.h.
31618 (main): Remove unused variable res.
31619
31620 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
31621
31622 * timezone/Makefile (%/UTC %/Universal):
31623 Generate test-result files for UTC and Universal.
31624
31625 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
31626
31627 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31628
31629 2015-06-18 Joseph Myers <joseph@codesourcery.com>
31630
31631 [BZ #16350]
31632 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
31633 for arguments with small absolute value.
31634 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
31635 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
31636 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
31637 (__asinh): Force underflow exception for arguments with small
31638 absolute value.
31639 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
31640 (__asinhf): Force underflow exception for arguments with small
31641 absolute value.
31642 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
31643 (__asinhl): Force underflow exception for arguments with small
31644 absolute value.
31645 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
31646 (__asinhl): Force underflow exception for arguments with small
31647 absolute value.
31648 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
31649 (__asinhl): Force underflow exception for arguments with small
31650 absolute value.
31651 * math/auto-libm-test-in: Do not mark underflow exceptions as
31652 possibly missing for bug 16350.
31653 * math/auto-libm-test-out: Regenerated.
31654
31655 * include/bits/ipc.h: Remove file.
31656 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
31657 variable.
31658 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
31659 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
31660 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
31661 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
31662 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
31663 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
31664 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
31665 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
31666 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
31667
31668 * math/auto-libm-test-in: Remove spurious underflow allowance for
31669 tests of cexp.
31670 * math/auto-libm-test-out: Regenerated.
31671
31672 [BZ #18558]
31673 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
31674 unconditional definition.
31675 (MCAST_BLOCK_SOURCE): Likewise.
31676 (MCAST_UNBLOCK_SOURCE): Likewise.
31677 (MCAST_LEAVE_GROUP): Likewise.
31678 (MCAST_JOIN_SOURCE_GROUP): Likewise.
31679 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
31680 (MCAST_MSFILTER): Likewise.
31681 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
31682 Remove variable.
31683 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
31684 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
31685 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
31686 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
31687 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
31688
31689 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
31690
31691 * NEWS: Mention addition of x86_64 vector sincosf.
31692 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
31693 * math/test-float-vlen4.h: Likewise.
31694 * math/test-float-vlen8.h: Likewise.
31695 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31696 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
31697 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31698 * sysdeps/x86_64/fpu/Versions: New versions added.
31699 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31700 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31701 Added build of SSE, AVX2 and AVX512 IFUNC versions.
31702 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
31703 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
31704 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
31705 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
31706 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
31707 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
31708 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
31709 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
31710 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
31711 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
31712 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
31713 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
31714 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
31715 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
31716 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
31717 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31718 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31719 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31720 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31721 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31722 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31723
31724 * NEWS: Mention addition of x86_64 vector sincos.
31725 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
31726 * math/math.h (__MATHDECL_VEC): New macro.
31727 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
31728 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
31729 declaration under condition.
31730 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
31731 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
31732 TEST_VEC_LOOP change.
31733 * math/test-double-vlen4.h: Likewise.
31734 * math/test-double-vlen8.h: Likewise.
31735 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
31736 * math/test-float-vlen4.h: Likewise.
31737 * math/test-float-vlen8.h: Likewise.
31738 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31739 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
31740 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31741 * sysdeps/x86_64/fpu/Versions: New versions added.
31742 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31743 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31744 Added build of SSE, AVX2 and AVX512 IFUNC versions.
31745 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
31746 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
31747 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
31748 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
31749 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
31750 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
31751 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
31752 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
31753 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
31754 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
31755 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
31756 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
31757 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
31758 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
31759 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31760 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31761 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31762 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31763 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31764 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31765 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31766
31767 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31768 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31769 redirections for powf.
31770 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31771 * sysdeps/x86_64/fpu/Versions: New versions added.
31772 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31773 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31774 Added build of SSE, AVX2 and AVX512 IFUNC versions.
31775 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
31776 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
31777 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
31778 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
31779 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
31780 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
31781 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
31782 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
31783 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
31784 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
31785 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
31786 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
31787 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
31788 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
31789 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31790 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31791 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31792 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31793 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31794 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31795 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31796 * math/test-float-vlen16.h: Fixed 2 argument macro.
31797 * math/test-float-vlen4.h: Likewise.
31798 * math/test-float-vlen8.h: Likewise.
31799 * NEWS: Mention addition of x86_64 vector powf.
31800
31801 2015-06-17 Joseph Myers <joseph@codesourcery.com>
31802
31803 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31804 and redefine.
31805 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31806 and redefine.
31807 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
31808 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31809 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31810
31811 [BZ #18553]
31812 * resource/getpriority.c (getpriority): Rename to __getpriority
31813 and define as weak alias of __getpriority.
31814 * resource/setpriority.c (setpriority): Rename to __setpriority
31815 and define as weak alias of __setpriority.
31816 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
31817 __getpriority and define as weak alias of __getpriority.
31818 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
31819 __setpriority and define as weak alias of __setpriority.
31820 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
31821 strong name.
31822 (setpriority): Use __setpriority as strong name.
31823 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
31824 __getpriority and define as weak alias of __getpriority.
31825 * include/sys/resource.h (__getpriority): Declare. Use
31826 libc_hidden_proto.
31827 (__setpriority): Likewise.
31828 (getpriority): Don't use libc_hidden_proto.
31829 (setpriority): Likewise.
31830 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
31831 getpriority. Call __setpriority instead of setpriority.
31832 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
31833 Remove variable.
31834
31835 [BZ #18547]
31836 * misc/getttyent.c (getttynam): Rename to __getttynam and define
31837 as weak alias of __getttynam. Use prototype function definition.
31838 Call __setttyent, __getttyent and __endttyent instead of
31839 setttyent, getttyent and endttyent.
31840 (getttyent): Rename to __getttyent and define as weak alias of
31841 __getttyent. Call __setttyent instead of setttyent. Call
31842 __fgets_unlocked instead of fgets_unlocked.
31843 (setttyent): Rename to __setttyent and define as weak alias of
31844 __setttyent.
31845 (endttyent): Rename to __endttyent and define as weak alias of
31846 __endttyent.
31847 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
31848 (__setttyent): Likewise.
31849 (__endttyent): Likewise.
31850 (getttyent): Don't use libc_hidden_proto.
31851 (setttyent): Likewise.
31852 (endttyent): Likewise.
31853 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
31854 __endttyent instead of setttyent, getttyent and endttyent.
31855 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
31856 Remove variable.
31857
31858 [BZ #18546]
31859 * socket/recv.c (__recv): Use libc_hidden_def.
31860 * socket/socket.c (__socket): Likewise.
31861 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
31862 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
31863 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
31864 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
31865 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
31866 libc_hidden_def.
31867 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
31868 libc_hidden_weak.
31869 * include/sys/socket.h (__socket): Do not use attribute_hidden.
31870 Use libc_hidden_proto.
31871 (__recv): Likewise.
31872 * socket/Versions (libc): Export __recv and __socket at version
31873 GLIBC_PRIVATE.
31874 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
31875 instead of recv.
31876 (init_mq_netlink): Call __socket instead of socket.
31877 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
31878 Remove variable.
31879
31880 [BZ #18545]
31881 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
31882 __mq_timedreceive and define as alias of __mq_timedreceive. Use
31883 hidden_weak.
31884 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
31885 define as alias of __mq_timedsend. Use hidden_weak.
31886 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
31887 __mq_timedsend as strong name.
31888 (mq_timedreceive): Use __mq_timedreceive as strong name.
31889 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
31890 (__mq_timedreceive): Likewise.
31891 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
31892 __mq_timedreceive instead of mq_timedreceive.
31893 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
31894 instead of mq_timedsend.
31895 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
31896 Remove variable.
31897
31898 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
31899 hidden_def and hidden_weak instead of libc_hidden_def and
31900 libc_hidden_weak.
31901 (top level): Refer to hidden_def in comment.
31902 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
31903 macro. Use it instead of libc_hidden_def.
31904 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
31905 specify __GI_* name explicitly.
31906 (mq_timedreceive): Likewise.
31907 (mq_setattr): Likewise.
31908
31909 [BZ #18544]
31910 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
31911 __pthread_barrier_init and define as weak alias of
31912 __pthread_barrier_init.
31913 * sysdeps/sparc/nptl/pthread_barrier_init.c
31914 (pthread_barrier_init): Likewise.
31915 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
31916 __pthread_barrier_wait and define as weak alias of
31917 __pthread_barrier_wait.
31918 * sysdeps/sparc/nptl/pthread_barrier_wait.c
31919 (pthread_barrier_wait): Likewise.
31920 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
31921 (pthread_barrier_wait): Likewise.
31922 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
31923 (pthread_barrier_wait): Likewise.
31924 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
31925 (pthread_barrier_wait): Likewise.
31926 * nptl/Versions (libpthread): Export __pthread_barrier_init and
31927 __pthread_barrier_wait at version GLIBC_PRIVATE.
31928 * include/pthread.h (__pthread_barrier_init): Declare.
31929 (__pthread_barrier_wait): Likewise.
31930 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
31931 Call __pthread_barrier_wait instead of pthread_barrier_wait.
31932 (helper_thread): Likewise.
31933 (init_mq_netlink): Call __pthread_barrier_init instead of
31934 pthread_barrier_init.
31935
31936 [BZ #18542]
31937 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
31938 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
31939 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
31940 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
31941 vswscanf.
31942 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
31943 Remove variable.
31944
31945 [BZ #18540]
31946 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
31947 strong alias of _IO_fflush. Use libc_hidden_def.
31948 * libio/iofflush_u.c (fflush_unlocked): Rename to
31949 __fflush_unlocked and define as weak alias of __fflush_unlocked.
31950 Use libc_hidden_weak.
31951 * include/stdio.h (__fflush_unlocked): Declare. Use
31952 libc_hidden_proto.
31953 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
31954 fflush_unlocked.
31955 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
31956 Remove variable.
31957
31958 [BZ #18539]
31959 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
31960 define as weak alias of __addseverity.
31961 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
31962 Remove variable.
31963 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
31964 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
31965 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
31966
31967 [BZ #18536]
31968 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
31969 (__tfind): Likewise.
31970 (__tdelete): Likewise.
31971 (__twalk): Likewise.
31972 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
31973 __twalk to GLIBC_PRIVATE.
31974 * include/search.h (__tsearch): Use libc_hidden_proto.
31975 (__tfind): Likewise.
31976 (__tdelete): Likewise.
31977 (__twalk): Likewise.
31978 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
31979 Call __tdelete instead of tdelete.
31980 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
31981 tfind. Call __tsearch instead of tsearch.
31982 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
31983 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
31984 Remove variable.
31985 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
31986
31987 [BZ #18534]
31988 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
31989 (dprintf): Define as a weak alias of __dprintf, not a strong
31990 alias.
31991 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
31992 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
31993 dprintf.
31994 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
31995 Remove variable.
31996 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
31997 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
31998
31999 [BZ #18533]
32000 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
32001 not a strong alias.
32002 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
32003 Remove variable.
32004
32005 [BZ #18532]
32006 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
32007 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
32008 (in6addr_loopback): Rename to __in6addr_loopback and define as
32009 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
32010 * include/netinet/in.h (__in6addr_loopback): Declare. Use
32011 libc_hidden_proto.
32012 (__in6addr_any): Likewise.
32013 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
32014 in6addr_any.
32015 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
32016 variable.
32017 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
32018
32019 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
32020
32021 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
32022 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
32023 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32024 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32025 redirections for pow.
32026 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32027 * sysdeps/x86_64/fpu/Versions: New versions added.
32028 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32029 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32030 build of SSE, AVX2 and AVX512 IFUNC versions.
32031 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
32032 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
32033 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
32034 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
32035 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
32036 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
32037 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
32038 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
32039 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
32040 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
32041 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
32042 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
32043 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
32044 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
32045 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32046 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32047 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32048 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32049 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32050 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32051 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32052 * NEWS: Mention addition of x86_64 vector pow.
32053
32054 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32055 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32056 redirections for expf.
32057 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32058 * sysdeps/x86_64/fpu/Versions: New versions added.
32059 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32060 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32061 build of SSE, AVX2 and AVX512 IFUNC versions.
32062 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
32063 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
32064 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
32065 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
32066 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
32067 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
32068 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
32069 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
32070 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
32071 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
32072 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
32073 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
32074 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
32075 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32076 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32077 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32078 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32079 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32080 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32081 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32082 * NEWS: Mention addition of x86_64 vector expf.
32083
32084 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
32085 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
32086 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32087 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32088 redirections for exp.
32089 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32090 * sysdeps/x86_64/fpu/Versions: New versions added.
32091 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32092 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32093 build of SSE, AVX2 and AVX512 IFUNC versions.
32094 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
32095 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
32096 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
32097 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
32098 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
32099 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
32100 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
32101 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
32102 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
32103 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
32104 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
32105 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
32106 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
32107 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32108 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32109 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32110 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32111 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32112 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32113 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32114 * NEWS: Mention addition of x86_64 vector exp.
32115
32116 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32117 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32118 redirections for logf.
32119 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32120 * sysdeps/x86_64/fpu/Versions: New versions added.
32121 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32122 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32123 build of SSE, AVX2 and AVX512 IFUNC versions.
32124 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
32125 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
32126 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
32127 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
32128 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
32129 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
32130 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
32131 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
32132 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
32133 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
32134 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
32135 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
32136 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
32137 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32138 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32139 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32140 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32141 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32142 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32143 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32144 * NEWS: Mention addition of x86_64 vector logf.
32145
32146 * bits/libm-simd-decl-stubs.h: Added stubs for log.
32147 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
32148 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32149 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32150 redirections for log.
32151 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32152 * sysdeps/x86_64/fpu/Versions: New versions added.
32153 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32154 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32155 build of SSE, AVX2 and AVX512 IFUNC versions.
32156 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
32157 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
32158 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
32159 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
32160 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
32161 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
32162 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
32163 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
32164 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
32165 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
32166 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
32167 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
32168 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
32169 test.
32170 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32171 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32172 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32173 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32174 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32175 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32176 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32177 * NEWS: Mention addition of x86_64 vector log.
32178
32179 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
32180
32181 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
32182 cfi_adjust_cfa_offset argument.
32183 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
32184 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
32185
32186 [BZ #18034]
32187 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
32188 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
32189 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
32190 ordering using ldar.
32191 (_dl_tlsdesc_dynamic): Likewise.
32192 (_dl_tlsdesc_return_lazy): Likewise.
32193 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
32194 relaxed atomics instead of volatile and synchronize with release store.
32195 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
32196 volatile.
32197 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32198
32199 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
32200
32201 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32202 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
32203 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32204 * sysdeps/x86_64/fpu/Versions: New versions added.
32205 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32206 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32207 build of SSE, AVX2 and AVX512 IFUNC versions.
32208 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
32209 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
32210 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
32211 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
32212 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
32213 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
32214 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
32215 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
32216 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
32217 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
32218 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
32219 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
32220 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
32221 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32222 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32223 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32224 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32225 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32226 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32227 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32228 * NEWS: Mention addition of x86_64 vector sinf.
32229
32230 2015-06-14 Joseph Myers <joseph@codesourcery.com>
32231
32232 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
32233 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
32234 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
32235 Remove variable.
32236 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
32237 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
32238
32239 2015-06-12 Joseph Myers <joseph@codesourcery.com>
32240
32241 [BZ #18530]
32242 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
32243 strong alias of _IO_fputs. Use libc_hidden_def.
32244 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
32245 and define as weak alias of __fputs_unlocked. Use
32246 libc_hidden_weak.
32247 * include/stdio.h (__fputs_unlocked): Declare. Use
32248 libc_hidden_proto.
32249 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
32250 fputs_unlocked.
32251
32252 [BZ #18529]
32253 * resolv/netdb.h [__USE_POSIX]: Change condition to
32254 [__USE_XOPEN2K].
32255 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
32256 not expect.
32257 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
32258 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
32259 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
32260 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
32261 [XPG4 || UNIX98] (AI_ALL): Likewise.
32262 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
32263 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
32264 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
32265 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
32266 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
32267 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
32268 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
32269 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
32270 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
32271 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
32272 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
32273 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
32274 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
32275 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
32276 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
32277 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
32278 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
32279 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
32280 [XPG4 || UNIX98] (gai_strerror): Likewise.
32281 [XPG4 || UNIX98] (getaddrinfo): Likewise.
32282 [XPG4 || UNIX98] (getnameinfo): Likewise.
32283
32284 [BZ #18528]
32285 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
32286 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
32287 __USE_XOPEN2K8].
32288 (getgrent): Likewise.
32289 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
32290 expect.
32291 [XPG3 || POSIX2008] (endgrent): Likewise.
32292 [XPG3] (setgrent): Likewise.
32293 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
32294 variable.
32295 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
32296
32297 [BZ #18527]
32298 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
32299 define as weak alias of __getlogin_r. Use libc_hidden_weak.
32300 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
32301 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
32302 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
32303 * include/unistd.h (__getlogin_r): Declare. Use
32304 libc_hidden_proto.
32305 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
32306 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
32307 variable.
32308 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
32309 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
32310 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
32311
32312 2015-06-12 Martin Sebor <msebor@redhat.com>
32313
32314 [BZ #18512]
32315 * Makerules (check-install-supported): New target.
32316 (install): Add check-install-supported as a dependency.
32317 * manual/install.texi (Installing the C Library): Document
32318 that overriding prefix and exec_prefix is not supported.
32319 Mention DESTDIR.
32320 * INSTALL: Regenerate from the above.
32321
32322 2015-06-12 Joseph Myers <joseph@codesourcery.com>
32323
32324 [BZ #18519]
32325 * posix/Versions (libc): Export __libc_pread at version
32326 GLIBC_PRIVATE.
32327 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
32328 instead of pread.
32329 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
32330 variable.
32331
32332 [BZ #18522]
32333 * misc/efgcvt_r.c
32334 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
32335 (cvt_symbol): Use weak_alias instead of strong_alias.
32336 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
32337 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
32338 Remove variable.
32339 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
32340 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
32341
32342 [BZ #18520]
32343 * inet/herrno.c (h_errno): Rename to __h_errno.
32344 (__libc_h_errno): Define as alias of __h_errno not h_errno.
32345 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
32346 to __h_errno instead of h_errno.
32347 * nptl/herrno.c (h_errno): Rename to __h_errno.
32348 (__h_errno_location): Refer to __h_errno not h_errno.
32349 * resolv/Versions (h_errno): Rename to __h_errno.
32350 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
32351 Remove variable.
32352 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
32353
32354 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
32355
32356 * configure.ac: More strict check for AVX512 assembler support.
32357 * configure: Regenerated.
32358
32359 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
32360 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
32361 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32362 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
32363 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32364 * sysdeps/x86_64/fpu/Versions: New versions added.
32365 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32366 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32367 Added build of SSE, AVX2 and AVX512 IFUNC versions.
32368 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
32369 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
32370 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
32371 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
32372 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
32373 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
32374 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
32375 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
32376 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
32377 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
32378 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
32379 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
32380 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
32381 test.
32382 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32383 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32384 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32385 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32386 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32387 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32388 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32389 * NEWS: Mention addition of x86_64 vector sin.
32390
32391 2015-06-11 Florian Weimer <fweimer@redhat.com>
32392
32393 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
32394 comment.
32395
32396 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
32397
32398 [BZ #18479]
32399 * nptl/pt-interp.c: New file.
32400 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
32401 Add pt-interp.
32402 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
32403 $(common-objpfx)runtime-linker.h.
32404
32405 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
32406
32407 * Makeconfig (+interp): Remove unused variable.
32408 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
32409 only. Depend on $(common-objpfx)runtime-linker.h instead of
32410 $(elf-objpfx)runtime-linker.h.
32411 ($(elf-objpfx)runtime-linker.h): Rename to
32412 $(common-objpfx)runtime-linker.h and move ...
32413 * Makerules [$(build-shared) = yes]: ... here.
32414 * elf/interp.c: Include <runtime-linker.h> instead of
32415 <elf/runtime-linker.h>.
32416
32417 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32418
32419 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
32420 (__gettimeofday_syscall): Remove vsyscall fallback.
32421 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
32422 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
32423 Add syscall fallback function.
32424 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
32425 if vDSO is not present.
32426 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
32427 fallback function.
32428 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
32429 present.
32430 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
32431 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32432
32433 2015-06-09 Joseph Myers <joseph@codesourcery.com>
32434
32435 [BZ #18497]
32436 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
32437 of wcscmp.
32438 (wcscmp): Define as weak alias of WCSCMP.
32439 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
32440 wcscoll.
32441 (USE_HIDDEN_DEF): Define.
32442 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
32443 __wcscoll. Don't use libc_hidden_weak.
32444 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
32445 wcscmp.
32446 * sysdeps/i386/i686/multiarch/wcscmp-c.c
32447 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
32448 __GI_wcscmp.
32449 (weak_alias): Undefine and redefine.
32450 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
32451 __wcscmp and define as weak alias of __wcscmp.
32452 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
32453 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
32454 (__wcscoll): Likewise.
32455 (wcscmp): Don't use libc_hidden_proto.
32456 (wcscoll): Likewise.
32457 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
32458 wcscoll.
32459 * posix/regexec.c (check_node_accept_bytes): Likewise.
32460 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
32461 variable.
32462 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
32463 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
32464
32465 [BZ #18507]
32466 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
32467 __fstatvfs and define as weak alias of __fstatvfs. Use
32468 libc_hidden_weak.
32469 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
32470 and define as weak alias of __statvfs. Use libc_hidden_weak.
32471 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
32472 Define as alias of __fstatvfs, not fstatvfs.
32473 (fstatvfs64): Likewise.
32474 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
32475 Define as alias of __statvfs, not statvfs.
32476 (statvfs64): Likewise.
32477 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
32478 Remove variable.
32479
32480 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32481
32482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32483 (HAVE_GETCPU_VSYSCALL): Define.
32484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32485 (HAVE_GETCPU_VSYSCALL): Likewise.
32486 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
32487 * sysdeps/unix/sysv/linux/sched_getcpu.c
32488 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
32489 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
32490 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
32491 prototype.
32492 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32493 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
32494 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
32495 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
32496 Define.
32497 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
32498 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32499 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
32500 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32501
32502 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
32503
32504 * sysdeps/x86_64/fpu/Makefile: New file.
32505 * sysdeps/x86_64/fpu/Versions: New file.
32506 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
32507 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
32508 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
32509 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
32510 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
32511 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
32512 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
32513 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
32514 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
32515 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
32516 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
32517 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
32518 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
32519 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32520 Added build of SSE, AVX2 and AVX512 IFUNC versions.
32521 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
32522 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
32523 * sysdeps/x86_64/configure.ac: Options for libmvec build.
32524 * sysdeps/x86_64/configure: Regenerated.
32525 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
32526 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
32527 * manual/install.texi (Configuring and compiling): Document
32528 --disable-mathvec.
32529 * INSTALL: Regenerated.
32530 * NEWS: Mention addition of libmvec and x86_64 vector cos.
32531
32532 * math/Makefile: Added rules for vector tests.
32533 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
32534 declaration under condition.
32535 * math/test-double-vlen2.h: New file.
32536 * math/test-double-vlen4.h: New file.
32537 * math/test-double-vlen8.h: New file.
32538 * math/test-vec-loop.h: Added initialization macro.
32539 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
32540 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
32541 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
32542 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
32543 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
32544 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
32545 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
32546 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
32547 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
32548 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
32549 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
32550
32551 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32552 * sysdeps/x86_64/fpu/Versions: New versions added.
32553 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
32554 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
32555 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
32556 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
32557 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
32558 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
32559 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
32560 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
32561 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
32562 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
32563 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
32564 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
32565 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
32566 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32567 Added build of SSE, AVX2 and AVX512 IFUNC versions.
32568 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32569 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
32570 * NEWS: Mention addition of x86_64 vector cosf.
32571
32572 * math/Makefile: Added CFLAGS for new tests.
32573 * math/test-float-vlen16.h: New file.
32574 * math/test-float-vlen4.h: New file.
32575 * math/test-float-vlen8.h: New file.
32576 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
32577 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
32578 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32579 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
32580 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
32581 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
32582 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
32583 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
32584 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
32585 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
32586 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
32587
32588 2015-06-09 Marko Myllynen <myllynen@redhat.com>
32589
32590 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
32591 * locale/programs/ld-ctype.c: Likewise.
32592
32593 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
32594
32595 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
32596 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
32597 bit_ZMM16_31_state): New macro.
32598 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32599 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
32600
32601 2015-06-08 Joseph Myers <joseph@codesourcery.com>
32602
32603 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
32604
32605 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
32606
32607 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
32608
32609 2015-06-05 Joseph Myers <joseph@codesourcery.com>
32610
32611 [BZ #18498]
32612 * libio/memstream.c (open_memstream): Rename to __open_memstream
32613 and define as weak alias of __open_memstream.
32614 * include/stdio.h (__open_memstream): Declare. Use
32615 libc_hidden_proto.
32616 (open_memstream): Don't use libc_hidden_proto.
32617 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
32618 open_memstream.
32619 * posix/getopt.c (_getopt_internal_r): Likewise.
32620 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
32621 variable.
32622 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
32623 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
32624 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
32625
32626 [BZ #18496]
32627 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
32628 instead of wcrtomb.
32629
32630 [BZ #18483]
32631 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
32632 [__USE_XOPEN2K8]. Remove redundant #endif.
32633 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
32634 Remove redundant #if.
32635 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
32636 Remove variable.
32637 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
32638 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
32639
32640 [BZ #18495]
32641 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
32642 (__iswlower): Likewise.
32643 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
32644 (__iswlower): Likewise.
32645 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
32646 instead of towlower.
32647 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
32648 instead of iswlower. Call __towupper instead of towupper.
32649 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
32650 instead of iswalnum.
32651
32652 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32653
32654 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
32655 errors to stderr.
32656
32657 2015-06-05 Florian Weimer <fweimer@redhat.com>
32658
32659 [BZ #15661]
32660 [BZ #17322]
32661 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
32662 Check for overflow properly. Check for O_APPEND. Ignore large
32663 file system block sizes. Add comments about problems.
32664 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
32665 * manual/filesys.texi (Storage Allocation): New node.
32666
32667 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32668
32669 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
32670 cancellable syscalls.
32671 (SYS_ify): Add guard to no redefine it.
32672 (INLINE_SYSCALL): Likewise.
32673 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
32674 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
32675 SYSCALL_CANCEL instead.
32676 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
32677 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
32678 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
32679 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
32680 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
32681 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
32682 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
32683 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
32684 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
32685 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
32686 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
32687 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
32688 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
32689 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
32690 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
32691 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
32692 Likewise.
32693 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
32694 (__libc_pread64): Likewise.
32695 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
32696 (__libc_preadv): Likewise.
32697 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
32698 (__libc_readv64): Likewise.
32699 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
32700 (__libc_pwrite): Likewise.
32701 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
32702 (__libc_pwrite64): Likewise.
32703 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
32704 (__libc_pwritev): Likewise.
32705 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
32706 (__libc_pwritev64): Likewise.
32707 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
32708 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
32709 (sync_file_range): Likewise.
32710 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
32711 Likewise.
32712 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
32713 Likewise.
32714 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
32715 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
32716 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
32717 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
32718 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
32719 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
32720 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
32721 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
32722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
32723 Likewise.
32724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32725 (__libc_read64): Likewise.
32726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
32727 Likewise.
32728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
32729 Likewise.
32730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
32731 Likewise.
32732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
32733 Likewise.
32734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32735 (__libc_pread64): Likewise.
32736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
32737 Likewise.
32738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32739 (__libc_pwrite64): Likewise.
32740 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
32741 (sync_file_range): Likewise.
32742 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
32743 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
32744 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
32745 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
32746 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
32747 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
32748 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
32749 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
32750 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
32751 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
32752 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32753 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
32754 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
32755 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
32756 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
32757 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
32758 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
32759 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
32760 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
32761 Likewise.
32762 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
32763 Likewise.
32764 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
32765 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
32766 Likewise.
32767 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
32768 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
32769 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
32770 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
32771 Likewise.
32772 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
32773 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
32774 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
32775 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
32776 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
32777
32778 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
32779
32780 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
32781 Include dl-vdso.
32782 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
32783 Use VDSO routines for gettimeofday, clock_gettime if
32784 available.
32785 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
32786 Declare VDSO symbols.
32787 * sysdeps/unix/sysv/linux/arm/sysdep.h:
32788 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
32789 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
32790 * sysdeps/unix/sysv/linux/arm/Versions: Add
32791 __vdso_clock_gettime.
32792
32793 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32794
32795 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
32796 be an inline implementation regardless of library is built within.
32797 (open_not_cancel_2): Likewise.
32798 (__read_nocancel): Likewise.
32799 (__write_nocancel): Likewise.
32800 (openat_not_cancel): Likewise.
32801 (openat_not_cancel_3): Likewise.
32802 (openat64_not_cancel): Likewise.
32803 (openat64_not_cancel_3): Likewise.
32804 (__close_nocancel): Likewise.
32805 (pause_not_cancel): Likewise.
32806 (nanosleep_not_cancel): Likewise.
32807 (sigsuspend_not_cancel): Likewise.
32808
32809 2015-06-04 Torvald Riegel <triegel@redhat.com>
32810
32811 [BZ #14958]
32812 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
32813 wake-up.
32814 (__pthread_rwlock_rdlock_slow): Likewise.
32815 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32816 Likewise.
32817 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
32818 Likewise.
32819 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
32820 * nptl/tst-rwlock16.c: New file.
32821 * nptl/Makefile (tests): Add new test.
32822
32823 2015-06-04 Torvald Riegel <triegel@redhat.com>
32824
32825 [BZ #18324]
32826 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
32827 missing wake-up of readers.
32828 * nptl/tst-rwlock15.c: New file.
32829 * nptl/Makefile (tests): Add new test.
32830
32831 2015-06-03 Roland McGrath <roland@hack.frob.com>
32832
32833 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
32834 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
32835 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
32836 and __nacl_supply_interface_rtld.
32837 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
32838 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
32839 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
32840 Add __nacl_supply_interface_rtld.
32841 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
32842
32843 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
32844
32845 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
32846 isfinite.
32847 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32848 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
32849
32850 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
32851
32852 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
32853 __signbit* with standard C99 macros.
32854 * math/e_exp10l.c: Likewise.
32855 * math/e_exp2l.c: Likewise.
32856 * math/e_scalb.c: Likewise.
32857 * math/e_scalbf.c: Likewise.
32858 * math/e_scalbl.c: Likewise.
32859 * math/s_ldexp.c: Likewise.
32860 * math/s_ldexpf.c: Likewise.
32861 * math/s_ldexpl.c: Likewise.
32862 * math/w_atan2.c: Likewise.
32863 * math/w_atan2f.c: Likewise.
32864 * math/w_atan2l.c: Likewise.
32865 * math/w_cosh.c: Likewise.
32866 * math/w_coshf.c: Likewise.
32867 * math/w_coshl.c: Likewise.
32868 * math/w_exp10.c: Likewise.
32869 * math/w_exp10f.c: Likewise.
32870 * math/w_exp10l.c: Likewise.
32871 * math/w_exp2.c: Likewise.
32872 * math/w_exp2f.c: Likewise.
32873 * math/w_exp2l.c: Likewise.
32874 * math/w_fmod.c: Likewise.
32875 * math/w_fmodf.c: Likewise.
32876 * math/w_fmodl.c: Likewise.
32877 * math/w_hypot.c: Likewise.
32878 * math/w_hypotf.c: Likewise.
32879 * math/w_hypotl.c: Likewise.
32880 * math/w_jnl.c: Likewise.
32881 * math/w_lgamma.c: Likewise.
32882 * math/w_lgamma_r.c: Likewise.
32883 * math/w_lgammaf.c: Likewise.
32884 * math/w_lgammaf_r.c: Likewise.
32885 * math/w_lgammal.c: Likewise.
32886 * math/w_lgammal_r.c: Likewise.
32887 * math/w_pow.c: Likewise.
32888 * math/w_powf.c: Likewise.
32889 * math/w_powl.c: Likewise.
32890 * math/w_remainder.c: Likewise.
32891 * math/w_remainderf.c: Likewise.
32892 * math/w_remainderl.c: Likewise.
32893 * math/w_scalb.c: Likewise.
32894 * math/w_scalbf.c: Likewise.
32895 * math/w_scalbl.c: Likewise.
32896 * math/w_scalbln.c: Likewise.
32897 * math/w_scalblnf.c: Likewise.
32898 * math/w_scalblnl.c: Likewise.
32899 * math/w_sinh.c: Likewise.
32900 * math/w_sinhf.c: Likewise.
32901 * math/w_sinhl.c: Likewise.
32902 * math/w_tgamma.c: Likewise.
32903 * math/w_tgammaf.c: Likewise.
32904 * math/w_tgammal.c: Likewise.
32905 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32906 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
32907 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32908 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32909 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32910 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32911 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
32912 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32913 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32914 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32915 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32916 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32917 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32918 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32919 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32920 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32921 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32922 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
32923 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32924 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32925 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32926 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32927 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32928 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32929 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32930 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32931 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
32932 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32933 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32934 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32935 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
32936 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
32937 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
32938 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
32939 * stdio-common/printf_fp.c: Likewise.
32940 * stdio-common/printf_fphex.c: Likewise.
32941 * stdio-common/printf_size.c: Likewise.
32942
32943 2015-06-03 Joseph Myers <joseph@codesourcery.com>
32944
32945 [BZ #18470]
32946 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
32947 strnlen.
32948 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
32949 Remove variable.
32950 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
32951 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
32952 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
32953 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
32954 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
32955 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
32956 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
32957 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
32958 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
32959 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
32960
32961 [BZ #18468]
32962 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
32963 weak alias of __wmemchr. Use libc_hidden_weak.
32964 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
32965 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
32966 instead of wmemchr.
32967
32968 2015-06-02 Roland McGrath <roland@hack.frob.com>
32969
32970 [BZ #18383]
32971 * elf/tst-tlsalign-extern.c: New file.
32972 * elf/tst-tlsalign-extern-static.c: New file.
32973 * elf/tst-tlsalign-vars.c: New file.
32974 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
32975 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
32976 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
32977 ($(objpfx)tst-tlsalign-extern-static): Likewise.
32978 (test-xfail-tst-tlsalign-extern-static): New variable.
32979
32980 2015-06-02 Joseph Myers <joseph@codesourcery.com>
32981
32982 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
32983 Use variable name _sc_err instead of err.
32984 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
32985 instead of ret.
32986 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
32987 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
32988 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
32989 (INLINE_SYSCALL): Likewise.
32990
32991 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
32992 * include/string.h (__strnlen): Use libc_hidden_proto.
32993 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
32994 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
32995 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
32996 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
32997 (libc_hidden_def): Undefine and redefine.
32998 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
32999 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
33000 __GI_strnlen.
33001 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
33002 libc_hidden_def.
33003 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
33004
33005 [BZ #18469]
33006 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
33007 weak alias of __towlower. Use libc_hidden_weak.
33008 (towupper): Rename to __towupper and define as weak alias of
33009 __towupper. Use libc_hidden_weak.
33010 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
33011 (__towupper): Likewise.
33012 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
33013 __towlower instead of towlower.
33014
33015 2015-06-02 Roland McGrath <roland@hack.frob.com>
33016
33017 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
33018 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
33019
33020 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
33021
33022 * sysdeps/aarch64/libm-test-ulps: Update.
33023
33024 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33025
33026 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
33027 Define.
33028 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33029 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
33030 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
33031 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33032 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
33033 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
33034 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
33035
33036 2015-06-01 Martin Sebor <msebor@redhat.com>
33037
33038 [BZ #18116]
33039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33040 (__setcontext): Use extended four-operand version of mtsf whenever
33041 possible.
33042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33043 (__novec_swapcontext): Likewise.
33044
33045 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
33046
33047 * benchtests/scripts/compare_bench.py: New file.
33048 * benchtests/scripts/import_bench.py (mean): New function.
33049 (split_list): Likewise.
33050 (do_for_all_timings): Likewise.
33051 (compress_timings): Likewise.
33052
33053 * benchtests/scripts/import_bench.py: New file.
33054 * benchtests/scripts/validate_benchout.py: Import import_bench
33055 instead of jsonschema.
33056 (validate_bench): Remove function.
33057 (main): Use import_bench.
33058
33059 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
33060
33061 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
33062 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
33063
33064 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33065
33066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33067
33068 2015-05-28 Roland McGrath <roland@hack.frob.com>
33069
33070 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
33071 set THREAD_SELF->tid to a magic value and futex-wake it.
33072 Pass its address to the thread_exit system call.
33073 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
33074 bit is clear.
33075 * sysdeps/nacl/lowlevellock.h: New file.
33076 * sysdeps/nacl/lll_timedwait_tid.c: New file.
33077
33078 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
33079 Add TIMEOUT to current time, don't subtract it.
33080
33081 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
33082
33083 [BZ #2981]
33084 [BZ #18422]
33085 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
33086 ($(objpfx)tst-audit2.out): Also depend on
33087 $(objpfx)tst-auditmod9b.so.
33088 * elf/tst-audit2.c: Include <dlfcn.h>.
33089 (calloc_called): New.
33090 (calloc): Allow to be called more than once.
33091 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
33092
33093 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
33094
33095 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
33096 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
33097
33098 2015-05-27 Marko Myllynen <myllynen@redhat.com>
33099
33100 * stdlib/monetary.h: Fix comment.
33101
33102 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
33103
33104 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
33105 Avoid using variables in #defines that might cause shadowing.
33106 (INTERNAL_VSYSCALL_CALL): Likewise.
33107
33108 2015-05-26 Roland McGrath <roland@hack.frob.com>
33109
33110 * sysdeps/nacl/lll_timedlock_wait.c: New file.
33111
33112 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
33113 * nptl/lll_timedlock_wait.c: ... to this new file.
33114 * nptl/Makefile (libpthread-routines): Add it.
33115 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
33116 * nptl/lll_timedwait_tid.c: ... to this new file.
33117 * nptl/Makefile (libpthread-routines): Add it.
33118 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
33119 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
33120 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
33121 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
33122 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
33123 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
33124 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
33125 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
33126 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
33127 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
33128
33129 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33130
33131 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
33132 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33133 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
33134 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
33135 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
33136 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33137 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33138 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33139 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33140 * sysdeps/unix/sysv/linux/tile/sysdep.h
33141 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33142 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
33143 using vDSO syscall macro.
33144
33145 2015-05-26 Andriy Rysin <arysin@gmail.com>
33146
33147 [BZ #17293]
33148 * uk_UA: Fix sorting order for Ukrainian locale
33149
33150 2015-05-26 Marko Myllynen <myllynen@redhat.com>
33151
33152 * stdlib/monetary.h: Fix comment.
33153
33154 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
33155
33156 [BZ #18234]
33157 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
33158 st_mtim and st_ctim members.
33159 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
33160 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
33161 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
33162 (struct stat64): Likewise.
33163 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
33164 (struct stat64): Likewise.
33165 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
33166 (struct stat64): Likewise.
33167
33168 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33169
33170 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
33171 Define and include sysdep-vdso.h.
33172 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
33173 Likewise.
33174 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
33175 Likewise.
33176 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
33177 Define with VDSO_SYMBOL and use PTR_MANGLE.
33178 (__vdso_clock_gettime): Likewise.
33179 (__vdso_clock_getres): Likewise.
33180 (_libc_vdso_platform_setup): Likewise.
33181 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
33182 Likewise.
33183 (_libc_vdso_platform_setup): Likewise.
33184 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
33185 Likewise.
33186 (__vdso_clock_gettime): Likewise.
33187 (__vdso_clock_getres): Likewise.
33188 (__vdso_get_tbfreq): Likewise.
33189 (__vdso_getcpu): Likewise.
33190 (__vdso_time): Likewise.
33191 (__vdso_sigtramp_rt64): Likewise.
33192 (__vdso_signtramp32): Likewise.
33193 (__vdso_sigtramp_rt32): Likewise.
33194 (_libc_vdso_platform_setup): Likewise.
33195 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
33196 Likewise.
33197 (__vdso_clock_gettime): Likewise.
33198 (__vdso_clock_getres): Likewise.
33199 (_libc_vdso_platform_setup): Likewise.
33200 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
33201 Likewise.
33202 (__vdso_clock_gettime): Likewise.
33203 (_libc_vdso_platform_setup): Likewise.
33204 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
33205 Likewise.
33206 (__vdso_getcpu): Likewise.
33207 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
33208 Use VDSO_SYMBOL macro to define.
33209 (__vdso_clock_gettime): Likewise.
33210 (__vdso_clock_getres): Likewise.
33211 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
33212 Likewise.
33213 (__vdso_clock_gettime): Likewise.
33214 (__vdso_clock_getres): Likewise.
33215 (__vdso_get_tbfreq): Likewise.
33216 (__vdso_getcpu): Likewise.
33217 (__vdso_time): Likewise.
33218 (__vdso_sigtramp_rt64): Likewise.
33219 (__vdso_signtramp32): Likewise.
33220 (__vdso_sigtramp_rt32): Likewise.
33221 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
33222 Likewise.
33223 (__vdso_clock_gettime): Likewise.
33224 (__vdso_clock_getres): Likewise.
33225 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
33226 Likewise.
33227 (__vdso_clock_gettime): Likewise.
33228 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
33229 Likewise.
33230 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
33231 macro.
33232 (INTERNAL_VSYSCALL): Likewise.
33233 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
33234 Remove macro.
33235 (INTERNAL_VSYSCALL): Likewise.
33236 (INTERNAL_VSYSCALL_NCS): Likewise.
33237 (INTERNAL_VSYSCALL_CALL): New macro.
33238 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
33239 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
33240 Likewise.
33241 (INTERNAL_VSYSCALL): Likewise.
33242 (INTERNAL_VSYSCALL_NCS): Likewise.
33243 (INTERNAL_VSYSCALL_CALL): New macro.
33244 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
33245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33246 (INLINE_VSYSCALL): Remove macro.
33247 (INTERNAL_VSYSCALL): Remove macro.
33248 (INTERNAL_VSYSCALL_NCS): Remove macro.
33249 (INTERNAL_VSYSCALL_CALL): New macro.
33250 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
33251 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
33252 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
33253 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
33254 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
33255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33256 (INLINE_VSYSCALL): Remove macro.
33257 (INTERNAL_VSYSCALL): Likewise.
33258 (INTERNAL_VSYSCALL_NCS): Likewise.
33259 (INTERNAL_VSYSCALL_CALL): New macro.
33260 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
33261 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
33262 PTR_DEMANGLE on vDSO pointer.
33263 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
33264 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
33265 macro.
33266 (INTERNAL_SYSCALL): Likewise.
33267 (INTERNAL_VSYSCALL_NCS): Remove macro.
33268 (INTERNAL_VSYSCALL_CALL): New macro.
33269 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
33270 Remove macro.
33271 (INTERNAL_VSYSCALL): Likewise.
33272 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
33273 sysdep-vdso.h instead of libc-vdso.h.
33274 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
33275 definition.
33276 (INLINE_VSYSCALL): Likewise.
33277 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
33278 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
33279 definition.
33280 (INLINE_VSYSCALL): Likewise.
33281 (INTERNAL_VSYSCALL): Likewise.
33282 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
33283 * sysdeps/unix/sysv/linux/timespec_get.c
33284 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
33285 (timespec_get): Use ANSI prototype.
33286 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
33287 and definition for Linux.
33288
33289 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
33290
33291 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
33292 * include/libc-symbols.h: libmvec_hidden_* macro series added.
33293
33294 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
33295
33296 [BZ #2981]
33297 [BZ #18410]
33298 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
33299 for missing DT_PLTRELSZ.
33300
33301 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
33302
33303 Remove obsolete aliases that broke 'locale -a'
33304 [BZ #18412]
33305 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
33306 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
33307 breaking some applications that use 'locale -a' output.
33308 Change the encoding of this file from Latin-1 to ASCII to avoid
33309 other potential problems with people grepping this file.
33310
33311 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33312
33313 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
33314 -fasynchronous-unwind-tables.
33315 (CFLAGS-sendto.c): Likewise.
33316 (CFLAGS-sendmsg.c): Likewise.
33317 (CFLAGS-connect.c): Likewise.
33318 (CFLAGS-recvmsg.c): Likewise.
33319 (CFLAGS-recvfrom.c): Likewise.
33320 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
33321 (SOCKETCALL): New macro: non-cancellable socketcall.
33322 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
33323 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
33324 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
33325 * sysdeps/unix/sysv/linux/accept.c: New file.
33326 * sysdeps/unix/sysv/linux/bind.c: Likewise.
33327 * sysdeps/unix/sysv/linux/connect.c: Likewise.
33328 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
33329 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
33330 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
33331 * sysdeps/unix/sysv/linux/listen.c: Likewise.
33332 * sysdeps/unix/sysv/linux/recv.c: Likewise.
33333 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
33334 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
33335 * sysdeps/unix/sysv/linux/send.c: Likewise.
33336 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
33337 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
33338 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
33339 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
33340 * sysdeps/unix/sysv/linux/socket.c: Likewise.
33341 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
33342 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
33343 prototype.
33344 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
33345 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
33346 instead of __internal_xxx function.
33347 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
33348 prototype.
33349 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
33350 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
33351 instead of __internal_xxx function.
33352 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
33353 prototype.
33354 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
33355 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
33356 instead of __internal_xxx function.
33357 * sysdeps/unix/sysv/linux/accept.S: Remove file.
33358 * sysdeps/unix/sysv/linux/bind.S: Likewise.
33359 * sysdeps/unix/sysv/linux/connect.S: Likewise.
33360 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
33361 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
33362 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
33363 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
33364 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
33365 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
33366 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
33367 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
33368 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33369 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
33370 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
33371 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
33372 * sysdeps/unix/sysv/linux/listen.S: Likewise.
33373 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
33374 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
33375 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
33376 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
33377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
33378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
33379 * sysdeps/unix/sysv/linux/recv.S: Likewise.
33380 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
33381 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
33382 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
33383 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33384 * sysdeps/unix/sysv/linux/send.S: Likewise.
33385 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
33386 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
33387 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
33388 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
33389 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
33390 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
33391 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
33392 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
33393 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
33394 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
33395 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
33396 socketcall is implemented in GLIBC.
33397
33398 2015-05-22 Joseph Myers <joseph@codesourcery.com>
33399
33400 * soft-fp/fmadf4.c: Include <libc-internal.h>.
33401 (__fma): Ignore uninitialized warnings around packing.
33402 * soft-fp/fmasf4.c: Include <libc-internal.h>.
33403 (__fmaf): Ignore uninitialized warnings around packing.
33404 * soft-fp/fmatf4.c: Include <libc-internal.h>.
33405 (__fmal): Ignore uninitialized warnings around packing.
33406
33407 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
33408 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
33409 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
33410 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
33411
33412 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
33413 switch statement into default case.
33414 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
33415
33416 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
33417 a conditional in forcing "inexact".
33418 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
33419 Likewise.
33420
33421 2015-05-22 Roland McGrath <roland@hack.frob.com>
33422
33423 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
33424 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
33425 for each INTERNAL_SYSCALL use.
33426
33427 2015-05-22 Joseph Myers <joseph@codesourcery.com>
33428
33429 [BZ #438]
33430 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
33431 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
33432 variable.
33433
33434 [BZ #18444]
33435 * string/basename.c (basename): Rename to __basename and define as
33436 weak alias of __basename. Use libc_hidden_weak.
33437 * include/string.h (__basename): Declare. Use libc_hidden_proto.
33438 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
33439 __basename instead of basename.
33440 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
33441 Remove variable.
33442 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33443
33444 2015-05-18 Florian Weimer <fweimer@redhat.com>
33445
33446 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
33447 (_IO_JUMPS_FILE_plus): New.
33448 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
33449 _IO_CAST_FIELD_ACCESS.
33450 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
33451 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
33452 * libio/freopen.c (freopen): Likewise.
33453 * libio/freopen64.c (freopen64): Likewise.
33454 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
33455 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
33456 * libio/iofwide.c (_IO_fwide): Likewise.
33457 * libio/memstream.c (open_memstream): Likewise.
33458 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33459 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
33460 * libio/oldiopopen.c (_IO_old_popen): Likewise.
33461
33462 2015-05-21 Joseph Myers <joseph@codesourcery.com>
33463
33464 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
33465 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
33466 NADJ.
33467 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
33468 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
33469 NADJ.
33470 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
33471 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
33472 NADJ.
33473
33474 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
33475 (p == 4) case.
33476
33477 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
33478 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
33479 Remove variable.
33480 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33481 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33482 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33483
33484 2015-05-21 Florian Weimer <fweimer@redhat.com>
33485
33486 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
33487 Adjust jump table label generation macros.
33488
33489 2015-05-21 Florian Weimer <fweimer@redhat.com>
33490
33491 * stdio-common/vfprintf.c (vfprintf): Move local variables
33492 args_malloced, specs, specs_malloced, and the code after
33493 do_positional to the printf_positional function.
33494 (printf_positional): New function.
33495
33496 2015-05-21 Florian Weimer <fweimer@redhat.com>
33497
33498 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
33499 function.
33500 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
33501 STEP4_TABLE, process_arg): Move macro definitions
33502 out of the vfprintf function. (Cosmetic change only.)
33503
33504 2015-05-21 Carlos O'Donell <carlos@redhat.com>
33505
33506 * benchtests/Makefile (stdio-common-bench): Define.
33507 (benchset): Add stdio-common-bench.
33508 * sprintf-inputs: New file.
33509 * sprintf-source.c: New file.
33510
33511 2015-05-21 Andreas Schwab <schwab@suse.de>
33512
33513 [BZ #13028]
33514 [BZ #17053]
33515 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
33516 of struct __res_state.
33517 * resolv/res_send.c (__libc_res_nsend): Likewise.
33518 (get_nsaddr): New function.
33519 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
33520 statp directly.
33521
33522 2015-05-20 Joseph Myers <joseph@codesourcery.com>
33523
33524 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
33525 -D_POSIX_C_SOURCE=199506L.
33526
33527 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
33528
33529 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
33530 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
33531 Do not mention otherwise.
33532 [POSIX] (_XOPEN_VERSION): Do not expect.
33533 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
33534 [POSIX] (_POSIX2_C_BIND): Likewise.
33535 [POSIX] (_POSIX2_VERSION): Likewise.
33536 [POSIX] (_XOPEN_XPG2): Likewise.
33537 [POSIX] (_XOPEN_XPG3): Likewise.
33538 [POSIX] (_XOPEN_XPG4): Likewise.
33539 [POSIX] (_XOPEN_UNIX): Likewise.
33540 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
33541 [POSIX] (_POSIX_BARRIERS): Likewise.
33542 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
33543 [POSIX] (_POSIX_CPUTIME): Likewise.
33544 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
33545 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
33546 [POSIX] (_POSIX_SHELL): Likewise.
33547 [POSIX] (_POSIX_SPAWN): Likewise.
33548 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
33549 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
33550 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
33551 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
33552 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
33553 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
33554 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
33555 [POSIX] (_XBS5_LP64_OFF64): Likewise.
33556 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
33557 [POSIX] (_POSIX_TIMEOUTS): Likewise.
33558 [POSIX] (_POSIX2_PBS): Likewise.
33559 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
33560 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
33561 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
33562 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
33563 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
33564 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
33565 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
33566 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
33567 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
33568 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
33569 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
33570 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
33571 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
33572 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
33573 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
33574 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
33575 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
33576 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
33577 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
33578 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
33579 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
33580 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
33581 [POSIX] (_SC_2_C_BIND): Likewise.
33582 [POSIX] (_SC_2_C_VERSION): Likewise.
33583 [POSIX] (_SC_2_PBS): Likewise.
33584 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
33585 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
33586 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
33587 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
33588 [POSIX] (_SC_2_PBS_TRACK): Likewise.
33589 [POSIX] (_SC_ATEXIT_MAX): Likewise.
33590 [POSIX] (_SC_BARRIERS): Likewise.
33591 [POSIX] (_SC_BASE): Likewise.
33592 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
33593 [POSIX] (_SC_DEVICE_IO): Likewise.
33594 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
33595 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
33596 [POSIX] (_SC_FD_MGMT): Likewise.
33597 [POSIX] (_SC_FIFO): Likewise.
33598 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
33599 [POSIX] (_SC_FILE_LOCKING): Likewise.
33600 [POSIX] (_SC_FILE_SYSTEM): Likewise.
33601 [POSIX] (_SC_IOV_MAX): Likewise.
33602 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
33603 [POSIX] (_SC_NETWORKING): Likewise.
33604 [POSIX] (_SC_PAGE_SIZE): Likewise.
33605 [POSIX] (_SC_PASS_MAX): Likewise.
33606 [POSIX] (_SC_PIPE): Likewise.
33607 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
33608 [POSIX] (_SC_REGEXP): Likewise.
33609 [POSIX] (_SC_SHELL): Likewise.
33610 [POSIX] (_SC_SIGNALS): Likewise.
33611 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
33612 [POSIX] (_SC_SPIN_LOCKS): Likewise.
33613 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
33614 [POSIX] (_SC_USER_GROUPS): Likewise.
33615 [POSIX] (_SC_USER_GROUPS_R): Likewise.
33616 [POSIX] (_SC_STREAMS): Likewise.
33617 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
33618 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
33619 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
33620 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
33621 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
33622 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
33623 [POSIX] (_PC_FILESIZEBITS): Likewise.
33624 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
33625 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
33626 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
33627 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
33628 [POSIX] (uid_t): Likewise.
33629 [POSIX] (gid_t): Likewise.
33630 [POSIX] (off_t): Likewise.
33631 [POSIX] (pid_t): Likewise.
33632 [POSIX] (cuserid): Allow.
33633 (_SC_2_CHAR_TERM): Require constant.
33634 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
33635 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
33636 variable.
33637
33638 2015-05-20 Roland McGrath <roland@hack.frob.com>
33639
33640 * sysdeps/nacl/pthread-pids.h: New file.
33641 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
33642 (create_thread): Use __nacl_get_tid to initialize PD->tid.
33643
33644 * nptl/pthread-pids.h: New file.
33645 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
33646 * nptl/nptl-init.c: Include <pthread-pids.h>.
33647 (__pthread_initialize_minimal_internal):
33648 Call __pthread_initialize_pids instead of set_tid_address syscall.
33649
33650 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
33651 * sysdeps/posix/usleep.c: ... here.
33652
33653 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33654
33655 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
33656 call_pselect6 object.
33657 [$(subdir) = io]: Remove call_sync_file_range object.
33658 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
33659 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
33660 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
33661 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
33662
33663 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
33664
33665 * math/s_cproj.c: Add include "math_private.h".
33666 * math/s_cprojf.c: Likewise.
33667 * math/s_cprojl.c: Likewise.
33668
33669 2015-05-19 Joseph Myers <joseph@codesourcery.com>
33670
33671 [BZ #18244]
33672 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
33673 high mantissa bit when testing whether P is a NaN.
33674 * math/libm-test.inc (remainder_test_data): Add more tests.
33675 (remquo_test_data): Likewise.
33676
33677 [BZ #18049]
33678 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
33679 below -32, return the argument, with underflow if subnormal.
33680 * math/auto-libm-test-in: Add more tests of atanh.
33681 * math/auto-libm-test-out: Regenerated.
33682
33683 2015-05-19 Roland McGrath <roland@hack.frob.com>
33684
33685 [BZ #18434]
33686 * nptl/tst-sem15.c: New file.
33687 * nptl/Makefile (tests): Add it.
33688 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
33689 s/<</>>/ to fix typo in EOVERFLOW check.
33690 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
33691
33692 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33693
33694 * manual/strings.texi (envz_remove): Fix typo in safety
33695 annotations.
33696
33697 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
33698 Steve Ellcey <sellcey@imgtec.com>
33699
33700 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
33701 in order to avoid strict alias warnings.
33702 (iruserok_af): Ditto for ra.
33703
33704 2015-05-19 James Lemke <jwlemke@codesourcery.com>
33705
33706 [BZ #17581]
33707 * malloc/hooks.c
33708 (magicbyte): Convert to a function and avoid returning 0x01.
33709 (mem2mem_check): Avoid using a length byte equal to the magic byte.
33710 (mem2chunk_check): Fix unsigned comparisons to zero.
33711 Hoist defs of sz and magic.
33712
33713 2015-05-19 Richard Henderson <rth@redhat.com>
33714
33715 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
33716
33717 * sysdeps/alpha/fpu/libm-test-ulps: Update.
33718
33719 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33720
33721 [BZ #16159]
33722 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
33723 * malloc/arena.c (arena_lock): Check if arena is corrupt.
33724 (reused_arena): Find a non-corrupt arena.
33725 (heap_trim): Pass arena to unlink.
33726 * malloc/hooks.c (malloc_check_get_size): Pass arena to
33727 malloc_printerr.
33728 (top_check): Likewise.
33729 (free_check): Likewise.
33730 (realloc_check): Likewise.
33731 * malloc/malloc.c (malloc_printerr): Add arena argument.
33732 (unlink): Likewise.
33733 (munmap_chunk): Adjust.
33734 (ARENA_CORRUPTION_BIT): New macro.
33735 (arena_is_corrupt): Likewise.
33736 (set_arena_corrupt): Likewise.
33737 (sysmalloc): Use mmap if there are no usable arenas.
33738 (_int_malloc): Likewise.
33739 (__libc_malloc): Don't fail if arena_get returns NULL.
33740 (_mid_memalign): Likewise.
33741 (__libc_calloc): Likewise.
33742 (__libc_realloc): Adjust for additional argument to
33743 malloc_printerr.
33744 (_int_free): Likewise.
33745 (malloc_consolidate): Likewise.
33746 (_int_realloc): Likewise.
33747 (_int_memalign): Don't touch corrupt arenas.
33748 * malloc/tst-malloc-backtrace.c: New test case.
33749
33750 * Makefile (summarize-tests): Fix return value on success.
33751
33752 * manual/string.texi (Envz Functions): Add envz_remove.
33753
33754 2015-05-18 Roland McGrath <roland@hack.frob.com>
33755
33756 * sysdeps/posix/opendir.c: Include <stdbool.h>.
33757 (invalid_name): New function, broken out of ...
33758 (__opendirat): ... here. Call it.
33759 (need_isdir_precheck): New function, broken out of ...
33760 (__opendirat): ... here. Call it.
33761 Use __fxstatat64, not __xstatat64.
33762 (opendir_oflags): New function, broken out of ...
33763 (__opendirat): ... here. Call it.
33764 (opendir_tail): New function, broken out of ...
33765 (__opendirat): ... here. Call it.
33766 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
33767 opendir_tail, rather than punting to __opendirat.
33768 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
33769
33770 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33771
33772 * .gitignore: Ignore generated *.pyc.
33773
33774 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
33775
33776 * include/stdio.h: Define __need_wint_t.
33777 * test-skeleton.c: Avoid `for' loop initial declaration.
33778 * nptl/tst-initializers1.c: Use test-skeleton.c.
33779
33780 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33781
33782 [BZ #18418]
33783 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
33784
33785 2015-05-15 Joseph Myers <joseph@codesourcery.com>
33786
33787 [BZ #16352]
33788 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
33789 (__ieee754_atanh): Force underflow exception for results with
33790 small absolute value.
33791 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
33792 (__ieee754_atanhf): Force underflow exception for results with
33793 small absolute value.
33794 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
33795 (__ieee754_atanh): Force underflow exception for results with
33796 small absolute value.
33797 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
33798 (__ieee754_atanhf): Force underflow exception for results with
33799 small absolute value.
33800 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
33801 (__ieee754_atanhl): Force underflow exception for results with
33802 small absolute value.
33803 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
33804 (__ieee754_atanhl): Force underflow exception for results with
33805 small absolute value.
33806 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
33807 (__ieee754_atanhl): Force underflow exception for results with
33808 small absolute value.
33809 * math/auto-libm-test-in: Do not allow missing underflow
33810 exceptions from atanh.
33811 * math/auto-libm-test-out: Regenerated.
33812
33813 [BZ #18221]
33814 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
33815 2**-28 as threshold for returning x or +/- 1/x.
33816 * math/auto-libm-test-in: Add more tests of tan.
33817 * math/auto-libm-test-out: Regenerated.
33818
33819 [BZ #18220]
33820 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
33821 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
33822 * math/auto-libm-test-in: Add another test of lgamma.
33823 * math/auto-libm-test-out: Regenerated.
33824
33825 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
33826
33827 * stdio-common/printf_fp.c (___printf_fp): Use abs.
33828 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
33829 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
33830 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
33831 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
33832 (ADD2A): Use fabs. (SUB2A): Use fabs.
33833 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
33834 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
33835 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
33836 (log1): Use fabs. (my_log2): Use fabs.
33837 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
33838 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
33839 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
33840 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
33841 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
33842 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
33843 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
33844 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
33845 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
33846 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
33847 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
33848
33849 2015-05-15 Joseph Myers <joseph@codesourcery.com>
33850
33851 [BZ #18217]
33852 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
33853 as threshold for returning 1 - x.
33854 * math/auto-libm-test-in: Add more tests of erfc.
33855 * math/auto-libm-test-out: Regenerated.
33856
33857 2015-05-14 Joseph Myers <joseph@codesourcery.com>
33858
33859 [BZ #18196]
33860 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
33861 threshold for large arguments.
33862 * math/auto-libm-test-in: Add another test of atan.
33863 * math/auto-libm-test-out: Regenerated.
33864
33865 [BZ #16339]
33866 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
33867 (__log1p): Force underflow exception for results with small
33868 absolute value.
33869 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
33870 (__log1pf): Force underflow exception for results with small
33871 absolute value.
33872 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
33873 (__log1p): Force underflow exception for results with small
33874 absolute value.
33875 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
33876 (__log1pf): Force underflow exception for results with small
33877 absolute value.
33878 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
33879 (__log1pl): Force underflow exception for results with small
33880 absolute value.
33881 * math/auto-libm-test-in: Do not allow missing underflow
33882 exceptions from log1p.
33883 * math/auto-libm-test-out: Regenerated.
33884
33885 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
33886 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33887
33888 [BZ #16704]
33889 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
33890
33891 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
33892
33893 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
33894 (libmvec): New variable.
33895 * configure.ac: Added option for mathvec build.
33896 * configure: Regenerated.
33897 * mathvec/Depend: New file.
33898 * mathvec/Makefile: New file.
33899 * shlib-versions: Added libmvec.
33900 * math/Makefile: Added rule for libm.so installation.
33901
33902 * bits/math-vector.h: New file.
33903 * bits/libm-simd-decl-stubs.h: New header.
33904 * math/Makefile (headers): Added new header
33905 libm-simd-decl-stubs.h.
33906 * math/math.h (__MATHCALL_VEC): New macro.
33907
33908 * math/gen-libm-have-vector-test.sh: Script generates series of macros
33909 for conditions in testing functions.
33910 * math/Makefile: Added call of libm-have-vector-test.sh.
33911 * math/libm-test.inc (HAVE_VECTOR): New macros.
33912
33913 * math/libm-test.inc: START refactored.
33914 * math/test-double.c (TEST_MATHVEC): Add define.
33915 * math/test-float.c: Likewise.
33916 * math/test-idouble.c: Likewise.
33917 * math/test-ifloat.c: Likewise.
33918 * math/test-ildoubl.c: Likewise.
33919 * math/test-ldouble.c: Likewise.
33920 * sysdeps/generic/math-tests-arch.h
33921 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
33922 architecture check.
33923
33924 * math/test-double.c (FUNC_TEST): New macro.
33925 * math/test-float.c: Likewise.
33926 * math/test-idouble.c: Likewise.
33927 * math/test-ifloat.c: Likewise.
33928 * math/test-ildoubl.c: Likewise.
33929 * math/test-ldouble.c: Likewise.
33930 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
33931
33932 2015-05-13 Roland McGrath <roland@hack.frob.com>
33933
33934 * sysdeps/nacl/fdopendir.c: New file.
33935
33936 * dirent/scandir-tail.c: New file.
33937 * dirent/scandir64-tail.c: New file.
33938 * dirent/Makefile (routines): Add them.
33939 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
33940 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
33941 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
33942 [!SCANDIR] (SCANDIR_TAIL): New macro.
33943 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
33944 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
33945 (SCANDIRAT): Macro removed.
33946 (SCANDIR_TAIL): New macro.
33947 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
33948 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
33949 (SCANDIRAT): Just call __opendirat and __scandir_tail.
33950 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
33951 (READDIR): Macro removed.
33952 (SCANDIR_TAIL): New macro.
33953 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
33954 (SCANDIR_TAIL): New macro.
33955
33956 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
33957 * dirent/scandir-cancel.c: ... to this new file.
33958 * dirent/Makefile (routines): Add it.
33959 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
33960 * sysdeps/unix/sysv/linux/i386/scandir64.c
33961 (SKIP_SCANDIR_CANCEL): Macro removed.
33962 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
33963
33964 * dirent/tst-scandir.c: New file.
33965 * dirent/tst-scandir64.c: New file.
33966 * dirent/Makefile (tests): Add them.
33967
33968 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
33969
33970 [BZ #18409]
33971 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
33972
33973 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
33974
33975 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
33976 list.
33977
33978 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
33979
33980 * benchtests/bench-strcoll.c: New benchmark.
33981 * benchtests/Makefile: Generate locales and run benchmark.
33982 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
33983 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
33984 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
33985 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
33986 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
33987 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
33988 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
33989 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
33990 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
33991 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
33992 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
33993 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
33994 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
33995 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
33996 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
33997 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
33998 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
33999 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
34000 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
34001 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
34002 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
34003 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
34004 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
34005 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
34006
34007 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
34008
34009 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
34010 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34011
34012 2015-05-12 Roland McGrath <roland@hack.frob.com>
34013
34014 * posix/uname-values.h: New file.
34015 * posix/uname.c: Include that instead of <config-name.h>.
34016 * sysdeps/nacl/uname-values.h: New file.
34017 * sysdeps/arm/nacl/uname-values.h: New file.
34018
34019 2015-05-12 Joseph Myers <joseph@codesourcery.com>
34020
34021 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
34022 splitting into fields.
34023
34024 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
34025
34026 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
34027 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
34028 * locale/localeinfo.h: Add enum collation_encoding_type.
34029 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
34030 * programs/ld-collate.c (collate_output): Add encoding type info.
34031 * string/strcoll_l.c (STRDIFF): New function.
34032 * (STRCOLL): Use STRDIFF to skip over equal prefix.
34033 * wcsmbs/wcscoll_l.c: Define STRDIFF.
34034
34035 2015-05-11 Joseph Myers <joseph@codesourcery.com>
34036
34037 [BZ #18397]
34038 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
34039 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
34040 <fpu_control.h> instead of <math/fpu_control.c>.
34041 * sysdeps/mips/mips32/fpu/Makefile: New file.
34042
34043 2015-05-11 Andreas Schwab <schwab@suse.de>
34044
34045 [BZ #18007]
34046 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
34047 nss_endgrent.
34048 (_nss_compat_endgrent): Call nss_endgrent.
34049 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
34050 nss_endpwent.
34051 (_nss_compat_endpwent): Call nss_endpwent.
34052 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
34053 needent, call nss_setspent only if non-zero.
34054 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
34055 (internal_endspent): Don't call nss_endspent.
34056 (_nss_compat_endspent): Call nss_endspent.
34057 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
34058 Remove. All uses removed.
34059 (internal_setent): Remove parameter stayopen, add parameter
34060 stream. Use it instead of global variable.
34061 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
34062 (internal_endent, internal_getent): Add parameter stream. Use it
34063 instead of global variable.
34064 (CONCAT(_nss_files_end,ENTNAME))
34065 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
34066 (_nss_files_get##name##_r): Pass local stream. Remove locking.
34067 * nss/nss_files/files-alias.c (position, last_use): Remove. All
34068 uses removed.
34069 (internal_setent, internal_endent): Add parameter stream. Use it
34070 instead of global variable.
34071 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
34072 stream.
34073 (get_next_alias): Add parameter stream.
34074 (_nss_files_getaliasent_r): Pass global stream.
34075 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
34076 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
34077 (_nss_files_gethostbyname4_r): Pass local stream to
34078 internal_setent, internal_getent and internal_endent. Remove
34079 locking.
34080
34081 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
34082
34083 * tst-strfmon1.c (tests): Update expected currency symbol.
34084
34085 2015-05-08 Roland McGrath <roland@hack.frob.com>
34086
34087 * sysdeps/nacl/gethostname.c: New file.
34088
34089 2015-05-08 Joseph Myers <joseph@codesourcery.com>
34090
34091 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
34092 and sinh.
34093 * math/auto-libm-test-out: Regenerated.
34094 * sysdeps/i386/fpu/libm-test-ulps: Update.
34095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34096
34097 2015-05-08 Carlos O'Donell <carlos@redhat.com>
34098
34099 [BZ #18125]
34100 * stdlib/tst-setcontext3.c: New file.
34101 * stdlib/tst-setcontext3.sh: New file.
34102 * stdlib/Makefile (tests): Add tst-setcontext3.
34103 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
34104 to verify test program created output file.
34105 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
34106 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
34107 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
34108 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
34109
34110 2015-05-06 Roland McGrath <roland@hack.frob.com>
34111
34112 [BZ #18383]
34113 * elf/tst-tlsalign.c: New file.
34114 * elf/tst-tlsalign-static.c: New file.
34115 * elf/tst-tlsalign-lib.c: New file.
34116 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
34117 (tests-static): Add tst-tlsalign-static.
34118 (modules-names): Add tst-tlsalign-lib.
34119 (test-xfail-tst-tlsalign): New variable.
34120 (test-xfail-tst-tlsalign-static): New variable.
34121
34122 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
34123 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
34124
34125 2015-05-06 Joseph Myers <joseph@codesourcery.com>
34126
34127 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
34128 csqrt, erfc, sin and sincos.
34129 * math/auto-libm-test-out: Regenerated.
34130 * sysdeps/i386/fpu/libm-test-ulps: Update.
34131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34132
34133 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
34134
34135 * sysdeps/aarch64/libm-test-ulps: Update.
34136
34137 2015-05-05 Joseph Myers <joseph@codesourcery.com>
34138
34139 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
34140 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
34141 * math/auto-libm-test-out: Regenerated.
34142 * sysdeps/i386/fpu/libm-test-ulps: Update.
34143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34144
34145 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
34146
34147 [BZ #18265]
34148 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
34149 (wcsncpy): Likewise.
34150
34151 2015-05-05 Florian Weimer <fweimer@redhat.com>
34152
34153 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
34154 Assume __ASSUME_FALLOCATE is always true.
34155 * sysdeps/unix/sysv/linux/posix_fallocate64.c
34156 (__posix_fallocate64_l64): Likewise.
34157 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
34158 (posix_fallocate): Likewise.
34159 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
34160 (__posix_fallocate64_l64): Likewise.
34161 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34162 [!__ASSUME_FALLOCATE]: Add comment.
34163
34164 2015-05-05 Florian Weimer <fweimer@redhat.com>
34165
34166 * sysdeps/unix/sysv/linux/i386/Makefile
34167 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
34168 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
34169 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
34170 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34171 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34172 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
34173 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
34174
34175 2015-05-02 Joseph Myers <joseph@codesourcery.com>
34176
34177 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
34178 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
34179 tgamma.
34180 * math/auto-libm-test-out: Regenerated.
34181 * sysdeps/i386/fpu/libm-test-ulps: Update.
34182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34183
34184 2015-05-01 Joseph Myers <joseph@codesourcery.com>
34185
34186 * math/auto-libm-test-in: Add more tests of tgamma.
34187 * math/auto-libm-test-out: Regenerated.
34188 * sysdeps/i386/fpu/libm-test-ulps: Update.
34189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34190
34191 * math/auto-libm-test-in: Add more tests of tanh.
34192 * math/auto-libm-test-out: Regenerated.
34193 * sysdeps/i386/fpu/libm-test-ulps: Update.
34194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34195
34196 * math/auto-libm-test-in: Add more tests of tan.
34197 * math/auto-libm-test-out: Regenerated.
34198 * sysdeps/i386/fpu/libm-test-ulps: Update.
34199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34200
34201 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
34202 * math/auto-libm-test-out: Regenerated.
34203 * sysdeps/i386/fpu/libm-test-ulps: Update.
34204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34205
34206 * math/auto-libm-test-in: Add another test of pow.
34207 * math/auto-libm-test-out: Regenerated.
34208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34209
34210 * math/auto-libm-test-in: Add more tests of lgamma.
34211 * math/auto-libm-test-out: Regenerated.
34212 * sysdeps/i386/fpu/libm-test-ulps: Update.
34213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34214
34215 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
34216 log1p.
34217 * math/auto-libm-test-out: Regenerated.
34218 * sysdeps/i386/fpu/libm-test-ulps: Update.
34219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34220
34221 2015-05-01 Mark Wielaard <mjw@redhat.com>
34222
34223 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
34224 Elf64_Chdr structs and ELFCOMPRESS constants.
34225
34226 2015-05-01 Joseph Myers <joseph@codesourcery.com>
34227
34228 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
34229 expm1.
34230 * math/auto-libm-test-out: Regenerated.
34231 * sysdeps/i386/fpu/libm-test-ulps: Update.
34232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34233
34234 * math/auto-libm-test-in: Add more tests of erf and erfc.
34235 * math/auto-libm-test-out: Regenerated.
34236 * sysdeps/i386/fpu/libm-test-ulps: Update.
34237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34238
34239 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
34240
34241 * config.h.in (HAVE_AARCH64_BE): Add.
34242
34243 2015-04-30 Joseph Myers <joseph@codesourcery.com>
34244
34245 * math/auto-libm-test-in: Add more tests of csqrt.
34246 * math/auto-libm-test-out: Regenerated.
34247 * sysdeps/i386/fpu/libm-test-ulps: Update.
34248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34249
34250 * math/auto-libm-test-in: Add more tests of cosh and sinh.
34251 * math/auto-libm-test-out: Regenerated.
34252 * sysdeps/i386/fpu/libm-test-ulps: Update.
34253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34254
34255 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
34256
34257 2015-04-29 Roland McGrath <roland@hack.frob.com>
34258
34259 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
34260 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
34261
34262 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
34263 (euidaccess, eaccess): Define as weak aliases.
34264
34265 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
34266 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
34267 but __suseconds_t is often 'long int' so some sources assume that
34268 type is being used (e.g. they use %ld to print tv_usec).
34269
34270 2015-04-29 Florian Weimer <fweimer@redhat.com>
34271
34272 [BZ #18007]
34273 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
34274 (CVE-2014-8121)
34275 * nss/tst-nss-getpwent.c: New file.
34276 * nss/Makefile (tests): Add new test.
34277
34278 2015-04-28 Joseph Myers <joseph@codesourcery.com>
34279
34280 [BZ #18346]
34281 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
34282 exponents less than 48 as cases where high part of mantissa needs
34283 examining to determine whether argument is integral.
34284 * math/libm-test.inc (round_test_data): Add more tests.
34285
34286 2015-04-28 Mark Wielaard <mjw@redhat.com>
34287
34288 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
34289
34290 2015-04-27 David S. Miller <davem@davemloft.net>
34291
34292 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
34293 __tls_get_addr.
34294 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
34295
34296 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
34297
34298 [BZ #18333]
34299 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
34300
34301 2015-04-27 Florian Weimer <fweimer@redhat.com>
34302
34303 [BZ #18333]
34304 * time/tzset.c (parse_tzname): Return error on memory allocation
34305 failure.
34306 * test-skeleton.c (struct temp_name_list): Change type of name
34307 member to non-const.
34308 (add_temp_file): Create a copy of the file name.
34309 (delete_temp_files): Deallocate memory.
34310 (create_temp_file): Add comment.
34311
34312 2015-04-24 Florian Weimer <fweimer@redhat.com>
34313
34314 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
34315 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
34316
34317 2015-04-24 Roland McGrath <roland@hack.frob.com>
34318
34319 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
34320 * sysdeps/arm/configure: Regenerated.
34321
34322 2015-04-24 Florian Weimer <fweimer@redhat.com>
34323
34324 [BZ #17715]
34325 * time/tzfile.c (__tzfile_read): Check for large values of
34326 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
34327 * time/tzset.c (__tzstring_len): New function, based on the old
34328 __tzstring function.
34329 (__tzstring): Call __tzstring_len.
34330 (parse_tzname): New helper function extracted from
34331 __tzset_parse_tz. Call __tzstring_len, without making a copy of
34332 the input string.
34333 (parse_offset): New helper function extracted from
34334 __tzset_parse_tz. Replace switch with fallthrough with
34335 initialization before sscanf.
34336 (parse_rule): Likewise.
34337 (__tzset_parse_tz): Rewrite using the new helper functions. Use
34338 new-style function definition.
34339 * timezone/Makefile (tests): Add tst-tzset.
34340 (tst-tzset.out): Dependencies on time zone files.
34341 (tst-tzset-ENV): Set TZDIR.
34342 (testdata/XT%): Copy crafted time zone files.
34343 * timezone/README: Mention crafted time zone files.
34344 * timezone/testdata/XT1, timezone/testdata/XT2,
34345 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
34346 files.
34347 * timezone/tst-tzset.c: New test.
34348
34349 2015-04-24 Florian Weimer <fweimer@redhat.com>
34350
34351 * Makeconfig (+gccwarn): Remove -Winline.
34352
34353 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
34354
34355 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
34356
34357 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
34358
34359 * NEWS: Mention sysconf() cache information support for s390.
34360 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
34361
34362 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
34363
34364 * math/k_casinh.c (__kernel_casinh): Use __copysign.
34365 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
34366 (__nearbyint): Likewise.
34367 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
34368 (copysignl): Likewise.
34369
34370 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
34371
34372 [BZ #18287]
34373 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
34374 based on padding. (CVE-2015-1781)
34375
34376 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34377
34378 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
34379 libc-vdso.h.
34380 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
34381 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
34382 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
34383 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
34384 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
34385 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
34386 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
34387 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34388 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34389 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
34390 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
34391 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34392 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
34393 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
34394 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
34395 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
34396 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
34397 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
34398 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
34399 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
34400 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
34401 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
34402 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
34403
34404 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
34405
34406 * stdlib/setenv.c (__add_to_environ):
34407 Dump core quickly if setenv (..., NULL, ...) is called.
34408 This time, do it the right way, and pacify GCC with a pragma.
34409
34410 2015-04-17 Roland McGrath <roland@hack.frob.com>
34411
34412 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
34413 IMAP->l_prev cannot be null, and #if out the code for the contrary
34414 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
34415 believe that NS (&_dl_ns[NSID]) could point outside the array.
34416
34417 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
34418 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
34419 before using NSID as an index.
34420
34421 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
34422
34423 [BZ #17825]
34424 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
34425 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
34426 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
34427
34428 2015-04-17 Roland McGrath <roland@hack.frob.com>
34429
34430 Add preliminary port to Google Native Client on ARM.
34431 * abi-tags (.*-.*-nacl.*): New entry.
34432 * sysdeps/arm/nacl: New directory.
34433 * sysdeps/nacl: New directory.
34434
34435 2015-04-16 David S. Miller <davem@davemloft.net>
34436
34437 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
34438 lowlevellock-futex.h
34439
34440 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
34441
34442 * sysdeps/tile/configure.ac: New file.
34443 * sysdeps/tile/configure: Regenerated.
34444
34445 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34446
34447 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
34448 conditionals for weak_alias and libc_hidden_weak.
34449 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
34450 libc_hidden_weak and weak_alias.
34451 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
34452 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
34453 and weak_alias for static one.
34454
34455 2015-04-15 David S. Miller <davem@davemloft.net>
34456
34457 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
34458
34459 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
34460
34461 [BZ #18206]
34462 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
34463 Use signed comparision instead of substraction to avoid
34464 overflow bug.
34465 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
34466 Take the sign of ret.
34467 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
34468 Do not expect precise return values. Only the sign matters.
34469 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
34470 * wcsmbs/test-wcsncmp.c: New File.
34471 * string/test-strncmp.c: Add wcsncmp support.
34472
34473 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
34474
34475 [BZ #6792]
34476 * math/w_log1p.c: New file.
34477 * math/w_log1pf.c: Likewise.
34478 * math/w_log1pl.c: Likewise.
34479 * math/Makefile (libm-calls): Add w_log1p.
34480 * math/s_log1pl.c (log1pl): Remove weak_alias.
34481 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
34482 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
34483 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
34484 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
34485 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
34486 [NO_LONG_DOUBLE] (log1pl): Likewise.
34487 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
34488 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
34489 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
34490 (log1p): Remove long_double_symbol.
34491 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
34492 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
34493 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
34494 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
34495 remove weak_alias for corresponding log1p function.
34496 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
34497 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
34498 * sysdeps/ia64/fpu/w_log1p.c: New file.
34499 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
34500 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
34501 * math/libm-test.inc (log1p_test_data): Add errno expectations.
34502
34503 2015-04-10 Joseph Myers <joseph@codesourcery.com>
34504
34505 [BZ #18247]
34506 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
34507 decimal exponent by 1.
34508 * stdlib/tst-strtod-round-data: Add more tests.
34509 * stdlib/tst-strtod-round.c (tests): Regenerated.
34510
34511 2015-04-09 Joseph Myers <joseph@codesourcery.com>
34512
34513 * math/auto-libm-test-in: Add more tests of clog and clog10.
34514 * math/auto-libm-test-out: Regenerated.
34515 * sysdeps/i386/fpu/libm-test-ulps: Update.
34516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34517
34518 2015-04-09 Roland McGrath <roland@hack.frob.com>
34519
34520 * Makeconfig (module-cppflags): Exclude all .v.i files.
34521 (skip-module-cppflags): Variable removed.
34522
34523 * configure.ac (libc_config_ok): Initialize before reading
34524 preconfigure scripts, not after.
34525 * configure: Regenerated.
34526
34527 * test-skeleton.c (TIMEOUT): Move #define to top level.
34528 (main): Grok environment variable TEST_DIRECT. If set, print
34529 test expectation details into that file and then behave as if
34530 given --direct.
34531
34532 2015-04-09 Florian Weimer <fweimer@redhat.com>
34533
34534 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
34535 warning on 32-bit.
34536
34537 2015-04-08 David S. Miller <davem@davemloft.net>
34538
34539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34540
34541 2015-04-08 Joseph Myers <joseph@codesourcery.com>
34542
34543 * math/auto-libm-test-in: Add more tests of atanh.
34544 * math/auto-libm-test-out: Regenerated.
34545 * sysdeps/i386/fpu/libm-test-ulps: Update.
34546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34547
34548 * math/auto-libm-test-in: Add more tests of atan.
34549 * math/auto-libm-test-out: Regenerated.
34550 * sysdeps/i386/fpu/libm-test-ulps: Update.
34551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34552
34553 2015-04-08 Florian Weimer <fweimer@redhat.com>
34554
34555 * elf/pldd.c (main): Rewrite to use struct
34556 scratch_buffer instead of extend_alloca.
34557 * elf/pldd-xx.c (find_maps): Likewise.
34558 * grp/initgroups.c: Include <scratch_buffer.h> instead of
34559 <alloca.h>.
34560 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
34561 scratch_buffer instead of extend_alloca.
34562 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
34563 grp/compat-initgroups.c.
34564 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
34565 Rewrite to use struct scratch_buffer instead of extend_alloca.
34566 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
34567 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34568
34569 2015-04-08 Joseph Myers <joseph@codesourcery.com>
34570
34571 * math/auto-libm-test-in: Add more tests of cbrt.
34572 * math/auto-libm-test-out: Regenerated.
34573 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34574
34575 * math/auto-libm-test-in: Add more tests of cabs.
34576 * math/auto-libm-test-out: Regenerated.
34577 * sysdeps/i386/fpu/libm-test-ulps: Update.
34578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34579
34580 [BZ #18210]
34581 [BZ #18211]
34582 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
34583 (__ieee754_atan2): Set FE_TONEAREST mode for internal
34584 computations.
34585 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
34586 clog10.
34587 * math/auto-libm-test-out: Regenerated.
34588 * sysdeps/i386/fpu/libm-test-ulps: Update.
34589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34590
34591 [BZ #18197]
34592 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
34593 (atan): Set FE_TONEAREST mode for internal computations.
34594 * math/auto-libm-test-in: Add more tests of atan.
34595 * math/auto-libm-test-out: Regenerated.
34596
34597 2015-04-07 James Cowgill <james410@cowgill.org.uk>
34598
34599 [BZ #17930]
34600 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
34601
34602 2015-04-07 Florian Weimer <fweimer@redhat.com>
34603
34604 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
34605
34606 2015-04-07 Florian Weimer <fweimer@redhat.com>
34607
34608 * include/scratch_buffer.h: New file.
34609 * malloc/scratch_buffer_grow.c: Likewise.
34610 * malloc/scratch_buffer_grow_preserve.c: Likewise.
34611 * malloc/scratch_buffer_set_array_size.c: Likewise.
34612 * malloc/tst-scratch_buffer.c: Likewise.
34613 * malloc/Makefile (routines): Add scratch_buffer_grow.
34614 (tests): Add test case.
34615 * malloc/Versions (GLIBC_PRIVATE): Export
34616 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
34617 __libc_scratch_buffer_set_array_size.
34618
34619 2015-04-06 Richard Henderson <rth@redhat.com>
34620
34621 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
34622 * sysdeps/alpha/fpu/libm-test-ulps: Update.
34623
34624 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
34625 unsigned int before printing.
34626
34627 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34628
34629 [BZ #17596]
34630 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
34631 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
34632
34633 2015-04-02 Florian Weimer <fweimer@redhat.com>
34634
34635 * include/libc-internal.h (libc_max_align_t): Define.
34636
34637 2015-04-02 Andreas Schwab <schwab@suse.de>
34638
34639 [BZ #16850]
34640 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
34641
34642 2015-04-02 Mel Gorman <mgorman@suse.de>
34643
34644 [BZ #17195]
34645 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
34646 as well as the main arena.
34647
34648 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
34649
34650 [BZ #18185]
34651 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
34652 sharing L2 cache to 2 for Silvermont/Knights Landing.
34653
34654 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
34655
34656 [BZ #17711]
34657 * config.make.in (have-protected-data): New.
34658 * configure.ac: Check linker support for protected data symbol.
34659 * configure: Regenerated.
34660 * elf/Makefile (modules-names): Add tst-protected1moda and
34661 tst-protected1modb if $(have-protected-data) is yes.
34662 (tests): Add tst-protected1a and tst-protected1b if
34663 $(have-protected-data) is yes.
34664 ($(objpfx)tst-protected1a): New.
34665 ($(objpfx)tst-protected1b): Likewise.
34666 (tst-protected1modb.so-no-z-defs): Likewise.
34667 * elf/tst-protected1a.c: New file.
34668 * elf/tst-protected1b.c: Likewise.
34669 * elf/tst-protected1mod.h: Likewise.
34670 * elf/tst-protected1moda.c: Likewise.
34671 * elf/tst-protected1modb.c: Likewise.
34672
34673 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
34674
34675 [BZ #17711]
34676 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
34677 indicates it is called from do_lookup_x on relocation against
34678 protected data, skip the data definion in the executable from
34679 copy reloc.
34680 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
34681 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
34682 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
34683 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
34684 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
34685 otherwise to 0.
34686 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
34687 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
34688 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
34689 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
34690 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
34691 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
34692
34693 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
34694
34695 * sysdeps/nptl/pthread.h: Remove duplicate definition of
34696 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
34697
34698 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
34699
34700 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
34701 THREAD_SETMEM_NC.
34702 * sysdeps/x86_64/nptl/tls.h: Ditto.
34703
34704 2015-03-27 Roland McGrath <roland@hack.frob.com>
34705
34706 * dlfcn/tststatic.c (main): Converted to ...
34707 (do_test): ... this.
34708 (TEST_FUNCTION): New macro.
34709 Include test-skeleton.c.
34710
34711 2015-03-26 Alan Modra <amodra@gmail.com>
34712
34713 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
34714 Don't segfault if ifunc resolver returns a NULL. Do set plt to
34715 zero for undefined weak.
34716 (elf_machine_plt_conflict): Similarly.
34717
34718 2015-03-25 Joseph Myers <joseph@codesourcery.com>
34719
34720 * math/auto-libm-test-in: Add more tests of acosh, asinh and
34721 atanh.
34722 * math/auto-libm-test-out: Regenerated.
34723 * sysdeps/i386/fpu/libm-test-ulps: Update.
34724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34725
34726 * math/auto-libm-test-in: Add another test of asin.
34727 * math/auto-libm-test-out: Regenerated.
34728 * sysdeps/i386/fpu/libm-test-ulps: Update.
34729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34730
34731 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
34732 Remove macro.
34733 (LLL_EBX_REG): Likewise.
34734 (LLL_ENTER_KERNEL): Likewise.
34735
34736 * math/auto-libm-test-in: Add more tests of asin.
34737 * math/auto-libm-test-out: Regenerated.
34738 * sysdeps/i386/fpu/libm-test-ulps: Update.
34739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34740
34741 [BZ #18138]
34742 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
34743 libc_do_syscall_args): New structure.
34744 (INTERNAL_SYSCALL_MAIN_0): New macro.
34745 (INTERNAL_SYSCALL_MAIN_1): Likewise.
34746 (INTERNAL_SYSCALL_MAIN_2): Likewise.
34747 (INTERNAL_SYSCALL_MAIN_3): Likewise.
34748 (INTERNAL_SYSCALL_MAIN_4): Likewise.
34749 (INTERNAL_SYSCALL_MAIN_5): Likewise.
34750 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
34751 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
34752 Replace conditional definitions by conditional definitions of ....
34753 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
34754 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
34755 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
34756 (libpthread-sysdep_routines): Add libc-do-syscall.
34757 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
34758 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
34759 to __NR_futex not 240.
34760
34761 2015-03-25 Alan Modra <amodra@gmail.com>
34762
34763 * NEWS: Advertise TLS optimization.
34764 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
34765 (DT_PPC_NUM): Increment.
34766 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
34767 (CHECK_STATIC_TLS): Use here.
34768 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
34769 TLS descriptors.
34770 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34771 * sysdeps/powerpc/dl-tls.c: New file.
34772 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
34773 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
34774 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
34775 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
34776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
34777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
34778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
34779
34780 2015-03-25 Alan Modra <amodra@gmail.com>
34781
34782 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
34783 for overlapping .opd entries" to "support...".
34784 * sysdeps/powerpc/powerpc64/configure: Regenerate
34785
34786 2015-03-25 Joseph Myers <joseph@codesourcery.com>
34787
34788 * math/auto-libm-test-in: Add more tests of acos.
34789 * math/auto-libm-test-out: Regenerated.
34790 * sysdeps/i386/fpu/libm-test-ulps: Update.
34791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34792
34793 * math/auto-libm-test-in: Add more tests of expm1.
34794 * math/auto-libm-test-out: Regenerated.
34795 * sysdeps/i386/fpu/libm-test-ulps: Update.
34796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34797
34798 2015-03-24 Joseph Myers <joseph@codesourcery.com>
34799
34800 * math/auto-libm-test-in: Add more tests of cosh and sinh.
34801 * math/auto-libm-test-out: Regenerated.
34802 * sysdeps/i386/fpu/libm-test-ulps: Update.
34803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34804
34805 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34807
34808 * math/auto-libm-test-in: Add more tests of log2.
34809 * math/auto-libm-test-out: Regenerated.
34810 * sysdeps/i386/fpu/libm-test-ulps: Update.
34811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34812
34813 2015-03-23 Roland McGrath <roland@hack.frob.com>
34814
34815 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
34816 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
34817 _IO_IS_APPENDING bit in READ_WRITE instead.
34818
34819 2015-03-23 Florian Weimer <fweimer@redhat.com>
34820
34821 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
34822 (__determine_cpumask_size): Replace extend_alloca with a
34823 variable-length array. Do not treat res == 0 as an error.
34824
34825 2015-03-23 Florian Weimer <fweimer@redhat.com>
34826
34827 [BZ #18100]
34828 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
34829 and integer overflow.
34830 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
34831 (main): Add integer overflow tests.
34832 * manual/pattern.texi (Calling Wordexp): Document additional use
34833 for WRDE_SYNTAX.
34834
34835 2015-03-23 Alan Modra <amodra@gmail.com>
34836
34837 * config.h.in: Remove HAVE_ASM_PPC_REL16.
34838 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
34839 and false branch of conditional.
34840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
34841 Likewise.
34842
34843 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
34844
34845 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
34846 libc-modules.h
34847 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
34848 unused declaration of _hurd_intr_rpc_msg_in_trap.
34849 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
34850 defined instead of whether it is non-zero.
34851 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
34852 input constraint instead of both input and output constraint. Use ecx
34853 clobber instead of %ecx.
34854 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
34855 mutex_unlock): Use a statement expression instead of an expression list.
34856 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
34857 type to vm_size_t instead of vm_address_t.
34858 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
34859 defined instead of whether it is non-zero.
34860 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
34861 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
34862 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
34863 comparisons with mapaddr.
34864 * nscd/nscd-client.h: Include <time.h>.
34865 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
34866 9th parameter to __vm_region instead of int.
34867 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
34868 * scripts/check-local-headers.sh (exclude): Add device/,
34869 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
34870 cthreads.h.
34871
34872 2015-03-19 Roland McGrath <roland@hack.frob.com>
34873
34874 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
34875 to account for alignment padding.
34876 * sysdeps/arm/memmove.S: Likewise.
34877
34878 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
34879
34880 * sysdeps/unix/sysv/linux/generic/README: New file.
34881
34882 2015-03-18 Joseph Myers <joseph@codesourcery.com>
34883
34884 [BZ #18138]
34885 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
34886 (futex_abstimed_wait)
34887 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
34888 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
34889 of lll_futex_timed_wait.
34890
34891 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
34892
34893 [BZ #17542]
34894 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
34895
34896 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
34897
34898 [BZ #17090]
34899 [BZ #17620]
34900 [BZ #17621]
34901 [BZ #17628]
34902 * NEWS: Update.
34903 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
34904 entries with Static TLS too. Skip entries past the end of the
34905 allocated DTV, from Alan Modra.
34906 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
34907 Static TLS DTV entry set up from...
34908 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
34909 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
34910 * nptl/allocatestack.c (init_one_static_tls): ... and here...
34911 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
34912 for Static TLS.
34913 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
34914 that the slot we find is associated with the given map before
34915 using its generation count.
34916 * nptl_db/db_info.c: Include ldsodefs.h.
34917 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
34918 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
34919 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
34920 (link_map::l_tls_offset): New struct field.
34921 (dtv_t::counter): Likewise.
34922 (rtld_global): New struct.
34923 (_rtld_global): New rtld variable.
34924 (dl_tls_dtv_slotinfo_list): New rtld global field.
34925 (dtv_slotinfo_list): New struct.
34926 (dtv_slotinfo): Likewise.
34927 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
34928 (td_lookup): Rename to...
34929 (td_mod_lookup): ... this. Use new mod parameter instead of
34930 LIBPTHREAD_SO.
34931 * nptl_db/td_thr_tlsbase.c: Include link.h.
34932 (dtv_slotinfo_list, dtv_slotinfo): New functions.
34933 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
34934 addresses even if the DTV is out of date or missing them.
34935 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
34936 index zero-length arrays.
34937 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
34938 (td_lookup): Make it a macro implemented in terms of...
34939 (td_mod_lookup): ... this declaration.
34940 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
34941 (DB_MAIN_VARIABLE): Likewise.
34942
34943 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
34944
34945 [BZ #18134]
34946 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34947
34948 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
34949
34950 * stdlib/setenv.c (__add_to_environ): Revert previous change.
34951
34952 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
34953
34954 [BZ #18128]
34955 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
34956 (atomic_add, atomic_increment_and_test)
34957 (atomic_decrement_and_test): Fix 64-bit arithmetic.
34958
34959 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
34960
34961 * stdlib/setenv.c (__add_to_environ):
34962 Dump core quickly if setenv (..., NULL, ...) is called.
34963
34964 2015-03-13 Roland McGrath <roland@hack.frob.com>
34965
34966 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
34967 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
34968 all the necessary asm magic in one place.
34969 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
34970 using those.
34971
34972 2015-03-13 Carlos O'Donell <carlos@redhat.com>
34973
34974 [BZ #14906]
34975 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
34976 traced file mtime. Use consistent log message.
34977 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
34978 (register_traced_file): Call install_watches. Always set mtime.
34979 (invalidate_cache): Iterate over all trace files. Call install_watches.
34980 (inotify_check_files): Don't inline. Handle watching parent
34981 directories and configuration file movement in and out.
34982 (handle_inotify_events): New function.
34983 (main_loop_poll): Call handle_inotify_events.
34984 (main_loop_epoll): Likewise.
34985 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
34986 (struct traced_file): Use array of inotify fds. Add parent directory,
34987 and basename.
34988 (struct database_dyn): Remove unused file_mtime.
34989 (init_traced_file): New inline function.
34990 (define_traced_file): New macro.
34991 * nss/nss_db/db-init.c: Use define_traced_file.
34992 (_nss_db_init): Use init_traced_file.
34993 * nss/nss_files/files-init.c: Use define_traced_file.
34994 (_nss_files_init): Use init_traced_file.
34995
34996 2015-03-12 Joseph Myers <joseph@codesourcery.com>
34997
34998 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
34999 [_LIBC]: Do not include <stdlib.h>.
35000 [!_LIBC] (abort): Remove declaration.
35001 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
35002 _FP_STATIC_ASSERT instead of conditionally calling abort.
35003 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
35004 (_FP_EXTEND_CNAN): Likewise.
35005 (FP_TRUNC): Likewise.
35006 (__FP_CLZ): Likewise.
35007 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
35008
35009 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
35010
35011 * manual/string.texi (XPG basename): Fix prototype.
35012
35013 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
35014
35015 [BZ #18080]
35016 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
35017 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
35018 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
35019 (__setcontext): Likewise.
35020 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
35021 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
35022 Call rt_sigprocmask syscall one time to set new signal mask
35023 and retrieve the current signal mask instead of two calls.
35024 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
35025 (__swapcontext): Likewise.
35026 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
35027 * stdlib/tst-setcontext2.c: New file.
35028
35029 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
35030
35031 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35032
35033 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
35034
35035 [BZ #18093]
35036 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
35037 the wrong size.
35038
35039 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
35040
35041 [BZ #18043]
35042 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
35043
35044 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
35045
35046 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
35047 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
35048 Remove define.
35049 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
35050 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
35051 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
35052 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
35053 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
35054 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
35055 define.
35056 * nptl_db/td_symbol_list.c (td_lookup): Remove
35057 HAVE_ASM_GLOBAL_DOT_NAME code.
35058 * sysdeps/powerpc/powerpc64/configure.ac: Remove
35059 HAVE_ASM_GLOBAL_DOT_NAME check.
35060 * sysdeps/powerpc/powerpc64/configure: Regenerate.
35061 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
35062 (DOT_LABEL): Remove define.
35063 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
35064 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
35065 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
35066 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
35067 (__TLS_GET_ADDR): Likewise.
35068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
35069 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
35070
35071 2015-03-11 Carlos O'Donell <carlos@redhat.com>
35072
35073 [BZ #18111]
35074 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
35075 (_FPU_SETCW): Initialize cw from fpsr before storing.
35076 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
35077 (fesetexceptflag): Rewrite using fpu_control.h.
35078 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
35079
35080 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
35081
35082 [BZ #18110]
35083 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
35084 asms.
35085 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
35086
35087 2015-03-11 Joseph Myers <joseph@codesourcery.com>
35088
35089 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
35090 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
35091 abort.
35092 (_FP_FMA): Likewise.
35093 (_FP_DIV): Likewise.
35094
35095 2015-03-10 Roland McGrath <roland@hack.frob.com>
35096
35097 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
35098 with 0 in that case.
35099 * Makefile (summarize-tests): New canned sequence, factored out of
35100 commands for targets tests and xtests. Display summary lines that
35101 don't start with PASS: or XFAIL: rather than ones that do start with
35102 ERROR: or FAIL:. Make the commands fail if any summary lines fail
35103 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
35104 do start with ERROR: or FAIL:.
35105 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
35106 (except for [$(build-shared) = yes]).
35107 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
35108 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
35109 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
35110 * nptl/Makefile: Revert 2015-03-04 changes.
35111 [$(CXX) empty] (tests-unsupported): New variable.
35112 * debug/Makefile: Likewise.
35113
35114 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
35115 gnulib file. Replace __attribute with __attribute__ throughout.
35116
35117 2015-03-10 Carlos O'Donell <carlos@redhat.com>
35118
35119 * sysdeps/hppa/fpu/libm-test-ulps: Update.
35120
35121 2015-03-10 Joseph Myers <joseph@codesourcery.com>
35122
35123 [BZ #18104]
35124 * math/auto-libm-test-in: Add another test of pow.
35125 * math/auto-libm-test-out: Regenerated.
35126
35127 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35128
35129 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
35130 $(config-cflags-nofma).
35131
35132 2015-03-10 Joseph Myers <joseph@codesourcery.com>
35133
35134 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
35135 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
35136 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
35137 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
35138 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
35139 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
35140 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
35141 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
35142 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
35143 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
35144 Add comment on closing #endif.
35145
35146 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
35147
35148 * posix/wordexp.c (CHAR_IN_SET): New macro.
35149 (parse_param): Use it.
35150
35151 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35152
35153 * sysdeps/powerpc/fpu/libm-test-ulps: update.
35154
35155 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
35156
35157 [BZ #18043]
35158 * posix/wordexp.c (parse_param): Fix buffer overflow.
35159 * posix/wordexp-test.c (test_case): Add test case.
35160
35161 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
35162
35163 [BZ #18042]
35164 * posix/wordexp.c (parse_backtick): Fix off-by-one.
35165 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
35166
35167 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
35168
35169 [BZ #18043]
35170 * posix/wordexp-test.c (test_case): Add test for BZ #18043
35171 (do_bz18043): Delete.
35172 (at_page_end): New.
35173 (testit): Refactor to have words at the edge of unreadable page.
35174
35175 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
35176
35177 [BZ #16734]
35178 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
35179 Cleanup read-only streams as well.
35180 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
35181
35182 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
35183
35184 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
35185 <bits/libc-lockP.h>
35186
35187 2015-03-07 Joseph Myers <joseph@codesourcery.com>
35188
35189 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
35190 on [__KERNEL__].
35191 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
35192 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
35193 * soft-fp/op-common.h (_FP_DECL): Likewise.
35194
35195 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
35196
35197 * elf/ifuncdep2.c (global): Replace
35198 __attribute__((visibility("protected"))) with
35199 asm (".protected global").
35200 * elf/ifuncmod1.c (global): Likewise.
35201 * elf/ifuncmod5.c (global): Likewise.
35202
35203 2015-03-06 Joseph Myers <joseph@codesourcery.com>
35204
35205 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
35206 <asm/sfp-machine.h> instead of <sfp-machine.h>.
35207
35208 2015-03-06 Roland McGrath <roland@hack.frob.com>
35209
35210 * manual/install.texi (Configuring and compiling):
35211 Document test-wrapper-env-only.
35212 * INSTALL: Regenerated.
35213
35214 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35215
35216 [BZ #18043]
35217 * posix/wordexp.c (parse_param): Fix buffer overflow.
35218 * posix/wordexp-test.c (do_bz18043): Add test case.
35219
35220 2015-03-06 Vincent Bernat <vincent@bernat.im>
35221
35222 * time/tst-strptime2.c (do_test): Ensure failing tests are
35223 reported correctly.
35224 * time/tst-strptime3.c (do_test): Likewise.
35225
35226 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
35227
35228 Fix aio_error thread-safety.
35229 * sysdeps/pthread/aio_error.c: New file
35230 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
35231 synchronization.
35232
35233 2015-03-06 Florian Weimer <fweimer@redhat.com>
35234
35235 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
35236 (group_number, vfprintf): Use it.
35237 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
35238 (JUMP, REF): Use it.
35239 (WORK_BUFFER_SIZE): New enum constant.
35240 (process_arg, vfprintf): Use it.
35241
35242 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
35243
35244 * manual/errno.texi (Error Messages): Complete example function
35245 by adding missing #define.
35246 (program_invocation_name): Add statement indicating GNU
35247 extension and reference which header file declares the variable.
35248 (program_invocation_short_name): Likewise.
35249
35250 2015-03-06 Mike Frysinger <vapier@gentoo.org>
35251
35252 * manual/errno.texi (Error Messages): Delete strerror ISO C89
35253 compatibility note.
35254
35255 2015-03-05 Roland McGrath <roland@hack.frob.com>
35256
35257 * Makeconfig (test-wrapper-env-only): New variable.
35258 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
35259 then use that with $(test-wrapper-env-only) rather than using
35260 $(test-wrapper-env) $(run-program-env) $($*-ENV).
35261
35262 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
35263
35264 [BZ #18082]
35265 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
35266 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
35267 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
35268 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
35269 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
35270 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
35271 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
35272 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
35273 Likewise.
35274 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
35275 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
35276 Likewise.
35277 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
35278 Likewise.
35279 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
35280 Likewise.
35281 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
35282 Likewise.
35283 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
35284 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
35285 Likewise.
35286 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
35287 Likewise.
35288 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
35289 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
35290
35291 2015-03-04 Roland McGrath <roland@hack.frob.com>
35292
35293 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
35294 (ETH_ALEN): New macro.
35295 (struct ether_addr): Use it for length of ether_addr_octet.
35296
35297 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
35298 (setdb): Don't call __nss_configure_lookup for "rpc".
35299 (do_test): Don't call test_rpc.
35300 (output_rpcent, test_rpc): Functions moved ...
35301 * sunrpc/test-rpcent.c: ... to this new file.
35302 * sunrpc/Makefile (tests): Add it.
35303
35304 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
35305 __xpg_sigpause.
35306 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
35307 * nptl/tst-signal6.c: Likewise.
35308 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
35309 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
35310
35311 * configure.ac (libc_cv_cxx_link_ok): New check.
35312 Reset CXX to empty if it fails to link.
35313 * configure: Regenerated.
35314 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
35315 bug-atexit3-lib only if $(CXX) is nonempty.
35316 * nptl/Makefile (tests): Likewise for tst-cancel24.
35317 (tests, tests-static): Likewise for tst-cancel24-static.
35318 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
35319 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
35320 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
35321 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
35322
35323 2015-03-04 Andreas Schwab <schwab@suse.de>
35324
35325 [BZ #17631]
35326 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
35327 for non-GCC compilers.
35328 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
35329 Likewise.
35330
35331 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
35332
35333 [BZ #17776]
35334 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
35335 integer before bitwise and assembly operations.
35336 (feclearexcept): Likewise.
35337 * math/test-fenvinline.c: New file.
35338 * math/Makefile: Add test-fenvinline test.
35339
35340 2015-03-03 Alan Modra <amodra@gmail.com>
35341
35342 [BZ #16512]
35343 * scripts/localplt.awk: Strip off symbol version.
35344 * NEWS: Mention bug fix.
35345
35346 2015-03-02 Roland McGrath <roland@hack.frob.com>
35347
35348 * sysdeps/pthread/timer_routines.c
35349 (timer_free_list, thread_free_list, thread_active_list): Make static.
35350
35351 2015-03-02 Joseph Myers <joseph@codesourcery.com>
35352
35353 [BZ #17779]
35354 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35355 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
35356 Undefine.
35357 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35358 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
35359 Likewise.
35360 * sysdeps/unix/sysv/linux/sh/kernel-features.h
35361 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
35362 Likewise.
35363
35364 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35365
35366 [BZ #18036]
35367 * posix/fnmatch_loop.c (END): Detect invalid pattern.
35368 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
35369
35370 2015-03-02 Andreas Schwab <schwab@suse.de>
35371
35372 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
35373 variable name.
35374
35375 2015-03-02 Florian Weimer <fweimer@redhat.com>
35376
35377 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
35378 Return error status.
35379
35380 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
35381
35382 [BZ #15969]
35383 * locale/findlocale.c (_nl_find_locale): Introduce const
35384 version of loc_name and drop unsafe type casts.
35385
35386 2015-02-27 Roland McGrath <roland@hack.frob.com>
35387
35388 * dlfcn/tststatic2.c (main): Converted to ...
35389 (do_test): ... this.
35390 (TEST_FUNCTION): New macro.
35391 Include test-skeleton.c.
35392
35393 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
35394
35395 [BZ #17711]
35396 * elf/Makefile (tests): Add vismain only if PIE is enabled.
35397 (tests-pie): Add vismain.
35398 (CFLAGS-vismain.c): New.
35399 * elf/vismain.c: Add comments for PIE requirement.
35400
35401 2015-02-27 Joseph Myers <joseph@codesourcery.com>
35402
35403 [BZ #18046]
35404 [BZ #18047]
35405 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
35406 0x1p-56L as threshold for just returning the argument.
35407 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
35408 0x1p-32L as threshold for just returning the argument.
35409 * math/auto-libm-test-in: Add more tests of atanh.
35410 * math/auto-libm-test-out: Regenerated.
35411 * sysdeps/i386/fpu/libm-test-ulps: Update.
35412 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
35413
35414 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
35415
35416 * string/bcopy.c (bcopy): Call memmove for performance.
35417
35418 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
35419
35420 * string/bzero.c (__bzero): Call memset for performance.
35421
35422 2015-02-27 John David Anglin <dave.anglin@bell.net>
35423
35424 [BZ #18068]
35425 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
35426 to 00100000.
35427
35428 2015-02-27 Joseph Myers <joseph@codesourcery.com>
35429
35430 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
35431
35432 2015-02-26 Joseph Myers <joseph@codesourcery.com>
35433
35434 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
35435 (__kernel_standard): Use CSTR macro when setting exc.name.
35436 * sysdeps/ieee754/Makefile [$(subdir) = math]
35437 (CFLAGS-k_standard.c): Remove variable.
35438
35439 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
35440 setting p and q from "else if" to "else".
35441 (qzero): Likewise.
35442 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
35443 (qone): Likewise.
35444 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
35445 (qzerof): Likewise.
35446 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
35447 (qonef): Likewise.
35448 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
35449 (qzero): Likewise.
35450 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
35451 (qone): Likewise.
35452
35453 [BZ #18038]
35454 [BZ #18039]
35455 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
35456 return pi/2 for arguments below 0x1p-113L.
35457 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
35458 return pi/2 for arguments below 0x1p-106L.
35459 * math/auto-libm-test-in: Add more tests of acos.
35460 * math/auto-libm-test-out: Regenerated.
35461
35462 [BZ #16351]
35463 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
35464 (MO): New macro.
35465 (__ieee754_asin): Force underflow exception for results with small
35466 absolute value.
35467 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
35468 (MO): New macro.
35469 (__ieee754_asinf): Force underflow exception for results with
35470 small absolute value.
35471 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
35472 (__ieee754_asin): Force underflow exception for results with small
35473 absolute value.
35474 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
35475 (__ieee754_asinf): Force underflow exception for results with
35476 small absolute value.
35477 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
35478 (__ieee754_asinl): Force underflow exception for results with
35479 small absolute value.
35480 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
35481 (__ieee754_asinl): Force underflow exception for results with
35482 small absolute value.
35483 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
35484 (__ieee754_asinl): Force underflow exception for results with
35485 small absolute value.
35486 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
35487 Include <math.h>.
35488 * math/auto-libm-test-in: Do not mark underflow exceptions as
35489 possibly missing for bug 16351.
35490 * math/auto-libm-test-out: Regenerated.
35491
35492 [BZ #18030]
35493 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
35494 of power of 2 down when low part has opposite sign.
35495 * math/libm-test.inc (logb_test_data): Add more tests.
35496
35497 2015-02-26 Andreas Schwab <schwab@suse.de>
35498
35499 [BZ #18032]
35500 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
35501 over collating symbol inside a bracket expression. Minor cleanup.
35502 * posix/tst-fnmatch3.c (do_test): Add test case.
35503
35504 2015-02-26 Joseph Myers <joseph@codesourcery.com>
35505
35506 [BZ #18029]
35507 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
35508 Adjust exponent of power of 2 down when low part has opposite
35509 sign.
35510 * math/libm-test.inc (ilogb_test_data): Add more tests.
35511
35512 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
35513
35514 [BZ #15969]
35515 * locale/findlocale.c (_nl_find_locale): Fix constness error in
35516 the previous change.
35517
35518 [BZ #15969]
35519 * locale/findlocale.c (_nl_find_locale): Retry archive search
35520 after alias expansion.
35521
35522 2015-02-25 Roland McGrath <roland@hack.frob.com>
35523
35524 * iconv/tst-iconv3.c (main): Converted to ...
35525 (do_test): ... this.
35526 (TEST_FUNCTION): New macro.
35527 Include test-skeleton.c.
35528
35529 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
35530 (convert): Make function static.
35531 (test_unalign): Likewise. Add const to argument pointee types.
35532 (main): Replace with static function do_test.
35533 Print "Succeeded." only if RET is zero.
35534 (TEST_FUNCTION): New macro.
35535 Include test-skeleton.c.
35536
35537 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
35538 returns a null pointer.
35539
35540 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35541
35542 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
35543 to __memcpy_ppc only for static builds.
35544
35545 2015-02-25 Joseph Myers <joseph@codesourcery.com>
35546
35547 [BZ #18020]
35548 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
35549 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
35550 * math/auto-libm-test-in: Add more tests of asinh.
35551 * math/auto-libm-test-out: Regenerated.
35552 * sysdeps/i386/fpu/libm-test-ulps: Update.
35553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35554
35555 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
35556
35557 [BZ #15850]
35558 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
35559 and ip6_mtuinfo definitions here.
35560 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
35561 in this define too. Update comment.
35562
35563 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
35564
35565 * elf/sprof.c (load_shobj): Tweak error message to match others.
35566
35567 2015-02-24 Kevin Easton <kevin@guarana.org>
35568
35569 [BZ #16145] (partial fix)
35570 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
35571 to reduce lock contention.
35572
35573 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
35574
35575 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
35576 (struct timex): Update time comment.
35577 (ADJ_SETOFFSET): Define.
35578
35579 2015-02-24 Joseph Myers <joseph@codesourcery.com>
35580
35581 [BZ #18019]
35582 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35583 2**56 not 2**28 as threshold for log (2x) formula.
35584 * math/auto-libm-test-in: Add more tests of acosh.
35585 * math/auto-libm-test-out: Regenerated.
35586 * sysdeps/i386/fpu/libm-test-ulps: Update.
35587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35588
35589 2015-02-24 Mike Frysinger <vapier@gentoo.org>
35590
35591 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
35592 parenthesis around the buf assignment.
35593 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
35594
35595 2015-02-24 Joseph Myers <joseph@codesourcery.com>
35596
35597 [BZ #16783]
35598 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
35599 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
35600 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
35601 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
35602 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
35603 * math/libm-test.inc (scalb_test_data): Add more tests.
35604
35605 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
35606
35607 [BZ #17916]
35608 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
35609 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
35610
35611 2015-02-24 Eric Rannaud <e@nanocritical.com>
35612
35613 [BZ #17523]
35614 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
35615 * io/bits/fcntl2.h (open): Use it.
35616 (openat): Likewise.
35617 * io/open.c (__libc_open): Likewise.
35618 * io/open64.c (__libc_open64): Likewise.
35619 * io/open64_2.c (__open64_2): Likewise.
35620 * io/open_2.c (__open_2): Likewise.
35621 * io/openat.c (__openat): Likewise.
35622 * io/openat64.c (__openat64): Likewise.
35623 * io/openat64_2.c (__openat64_2): Likewise.
35624 * io/openat_2.c (__openat_2): Likewise.
35625 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
35626 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
35627 * sysdeps/posix/open64.c (__libc_open64): Likewise.
35628 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
35629 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
35630 (__open_nocancel): Likewise.
35631 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
35632 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
35633 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
35634
35635 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
35636
35637 [BZ #14841]
35638 * resolv/gethnamaddr.c (getanswer): Skip logging if
35639 RES_USE_DNSSEC is set.
35640 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
35641
35642 2015-02-24 Mike Frysinger <vapier@gentoo.org>
35643
35644 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
35645
35646 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
35647
35648 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
35649 201304L, for Unicode 7.
35650
35651 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
35652
35653 [BZ #17836]
35654 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
35655 shared library. Add gmon-start.os otherwise.
35656 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
35657 $(objpfx)gmon-start.os if builing shared library.
35658 ($(objpfx)g$(static-start-installed-name)): Likewise.
35659
35660 2015-02-23 Andreas Schwab <schwab@suse.de>
35661
35662 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
35663
35664 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
35665
35666 [BZ #17269]
35667 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
35668 (enlarge_userbuf): Likewise.
35669
35670 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
35671
35672 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
35673 * math/atest-exp.c (TIMEOUT): Adjust to 200.
35674 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
35675 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
35676
35677 2015-02-20 Joseph Myers <joseph@codesourcery.com>
35678
35679 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
35680 expression inside statement expression.
35681
35682 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
35683
35684 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
35685 <sysdeps/nptl/lowlevellock.h> and remove macros and
35686 functions that are now defined there.
35687 (SYS_futex): Remove.
35688 (lll_compare_and_swap): Remove.
35689 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
35690
35691 2015-02-19 Joseph Myers <joseph@codesourcery.com>
35692
35693 [BZ #17999]
35694 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
35695 instead of scandirat.
35696 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
35697 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
35698 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
35699 __scandirat.
35700 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
35701 (__scandirat): Declare. Use libc_hidden_proto.
35702 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
35703 Remove variable.
35704 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
35705
35706 2015-02-18 Joseph Myers <joseph@codesourcery.com>
35707
35708 [BZ #15319]
35709 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
35710 (MO): New macro.
35711 (__ieee754_atan2): For results with small absolute value, force
35712 underflow exception and remove excess range and precision from
35713 return value.
35714 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
35715 (MO): New macro.
35716 (__ieee754_atan2f): For results with small absolute value, force
35717 underflow exception and remove excess range and precision from
35718 return value.
35719 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
35720 (MO): New macro.
35721 (__atan): For results with small absolute value, force underflow
35722 exception and remove excess range and precision from return value.
35723 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
35724 (MO): New macro.
35725 (__atanf): For results with small absolute value, force underflow
35726 exception and remove excess range and precision from return value.
35727 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
35728 <math.h>.
35729 (__ieee754_atan2): Force underflow exception for results with
35730 small absolute value.
35731 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
35732 <math_private.h>.
35733 (atan): Force underflow exception for results with small absolute
35734 value.
35735 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
35736 (__atanf): Force underflow exception for results with small
35737 absolute value.
35738 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
35739 <math.h>.
35740 (__atanl): Force underflow exception for results with small
35741 absolute value.
35742 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
35743 (__atanl): Force underflow exception for results with small
35744 absolute value.
35745 * sysdeps/x86/fpu/bits/mathinline.h
35746 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
35747 (__ieee754_atan2): Only define inline for long double.
35748 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
35749 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
35750 * math/auto-libm-test-in: Do not mark underflow exceptions as
35751 possibly missing for bug 15319. Add more tests of atan2.
35752 * math/auto-libm-test-out: Regenerated.
35753 * math/libm-test.inc (casin_test_data): Do not mark underflow
35754 exceptions as possibly missing for bug 15319.
35755 (casinh_test_data): Likewise.
35756 * sysdeps/i386/fpu/libm-test-ulps: Update.
35757
35758 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
35759
35760 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
35761 * sysdeps/mips/bits/endian.h: Fix comments.
35762
35763 2015-02-18 Joseph Myers <joseph@codesourcery.com>
35764
35765 [BZ #17996]
35766 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
35767 (hdestroy_r): Likewise.
35768 (hsearch_r): Likewise.
35769 (__hcreate_r): Declare and use libc_hidden_proto.
35770 (__hdestroy_r): Likewise.
35771 (__hsearch_r): Likewise.
35772 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
35773 (hcreate): Call __hcreate_r instead of hcreate_r.
35774 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
35775 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
35776 as weak alias of __hcreate_r.
35777 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
35778 __hdestroy_r.
35779 (hsearch_r): Rename to __hsearch_r and define as weak alias of
35780 __hsearch_r.
35781 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
35782 Remove variable.
35783 (test-xfail-XPG4/search.h/linknamespace): Likewise.
35784 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
35785 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
35786 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
35787
35788 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35789
35790 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
35791 arena_lock into a single arena_get.
35792
35793 2015-02-17 Carlos O'Donell <carlos@redhat.com>
35794
35795 * dl-reloc.c: Inlucde libc-internal.h.
35796 (_dl_try_allocate_static_tls): Call ALIGN_UP.
35797 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
35798 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
35799 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
35800 (grow_heap): Likewise.
35801 * malloc/malloc.c: Include libc-internal.h.
35802 (do_check_malloc): Call powerof2.
35803 (sysmalloc): Use pagesize. Call ALIGN_UP.
35804 (systrim): Use pagesize.
35805 (mremap_chunk): Use pagesize. Call ALIGN_UP.
35806 (__libc_valloc): Use pagesize.
35807 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
35808
35809 2015-02-17 Joseph Myers <joseph@codesourcery.com>
35810
35811 [BZ #17991]
35812 * include/sys/resource.h (__getrlimit64): Declare. Use
35813 libc_hidden_proto.
35814 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
35815 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
35816 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
35817 getrlimit64.
35818 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
35819 __getrlimit64.
35820 [!getrlimit64] (getrlimit64): Define as weak alias of
35821 __getrlimit64. Use libc_hidden_weak.
35822 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
35823 using __getrlimit64 not __new_getrlimit64.
35824 (__GI_getrlimit64): Likewise.
35825 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
35826 Likewise.
35827 (__GI_getrlimit64): Likewise.
35828 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
35829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
35830 (getrlimit): Add __getrlimit64 alias.
35831 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
35832 Likewise.
35833 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
35834 Remove variable.
35835 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
35836 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
35837
35838 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
35839
35840 * libio/fileops.c: Add missing sys/mman.h
35841 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
35842
35843 2015-02-17 Joseph Myers <joseph@codesourcery.com>
35844
35845 * manual/math.texi (Errors in Math Functions): Clarify goals
35846 regarding inexact and underflow exceptions.
35847
35848 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
35849
35850 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
35851 * sysdeps/mips/memset.S: Ditto.
35852
35853 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
35854
35855 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
35856
35857 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
35858
35859 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
35860 (__v1longjmp): Remove versioned symbol.
35861 (__v1siglongjmp): Remove alias and versioned symbol.
35862 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
35863 (__v2siglongjmp): Likewise.
35864
35865 2015-02-16 Torvald Riegel <triegel@redhat.com>
35866
35867 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
35868
35869 2015-02-16 Mike Frysinger <vapier@gentoo.org>
35870
35871 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
35872
35873 2015-02-16 Joseph Myers <joseph@codesourcery.com>
35874
35875 [BZ #17987]
35876 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
35877 zero result does not depend on the sign resulting from
35878 subtraction.
35879 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
35880 Likewise.
35881 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35882 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35883 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35884 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35885 * math/libm-test.inc (remquo_test_data): Add more tests.
35886
35887 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
35888
35889 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
35890 Problem reported by J William Piggott.
35891
35892 2015-02-16 Joseph Myers <joseph@codesourcery.com>
35893
35894 [BZ #17978]
35895 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
35896 products 4 * y and 2 * y where those would overflow.
35897 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
35898 Likewise.
35899 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35900 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35901 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35902 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35903 * math/libm-test.inc (remquo_test_data): Add more tests.
35904
35905 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
35906
35907 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
35908 [defined _COMPILING_NEWLIB].
35909 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
35910 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
35911
35912 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
35913 [!defined __mips_isa_rev || __mips_isa_rev < 6].
35914
35915 2015-02-16 Torvald Riegel <triegel@redhat.com>
35916
35917 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
35918 acquired.
35919
35920 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
35921
35922 [BZ #17792]
35923 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
35924 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
35925 HOST_STACK_END_ADDR): Likewise.
35926
35927 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
35928
35929 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
35930 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
35931 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
35932
35933 2015-02-13 Roland McGrath <roland@hack.frob.com>
35934
35935 * sysdeps/generic/c++-types.data: New file.
35936 * sysdeps/generic/ld.abilist: New file.
35937 * sysdeps/generic/libBrokenLocale.abilist: New file.
35938 * sysdeps/generic/libanl.abilist: New file.
35939 * sysdeps/generic/libc.abilist: New file.
35940 * sysdeps/generic/libcrypt.abilist: New file.
35941 * sysdeps/generic/libdl.abilist: New file.
35942 * sysdeps/generic/libm.abilist: New file.
35943 * sysdeps/generic/libpthread.abilist: New file.
35944 * sysdeps/generic/libresolv.abilist: New file.
35945 * sysdeps/generic/librt.abilist: New file.
35946
35947 2015-02-13 Joseph Myers <joseph@codesourcery.com>
35948
35949 [BZ #17569]
35950 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
35951 Compute absolute value of x as modified by fmod, not original
35952 value of x.
35953 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
35954 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
35955 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
35956 RUN_TEST_ffI_f1_mod8.
35957 (remquo_test_data): Add more tests.
35958
35959 2015-02-13 Roland McGrath <roland@hack.frob.com>
35960
35961 * sysdeps/init_array/pt-crti.S: New file.
35962
35963 2015-02-13 Joseph Myers <joseph@codesourcery.com>
35964
35965 [BZ #17967]
35966 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
35967 __builtin_fmaf instead of relying on contraction of a * b + c.
35968
35969 2015-02-12 J William Piggott <elseifthen@gmx.com>
35970
35971 [BZ #17969]
35972 * manual/time.texi: correct the zoneinfo path in the TZ Variable
35973 node.
35974
35975 2015-02-12 Joseph Myers <joseph@codesourcery.com>
35976
35977 [BZ #17964]
35978 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
35979 __builtin_fma instead of relying on contraction of a * b + c.
35980
35981 2015-02-12 Roland McGrath <roland@hack.frob.com>
35982
35983 * Makeconfig (ASFLAGS): Add -Werror=undef.
35984 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
35985 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
35986 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
35987
35988 * Makeconfig (after-link): New variable.
35989 (+link-pie, +link-pie-tests): Use it.
35990 (+link-static, +link-static-tests): Likewise.
35991 (+link, +link-tests): Likewise.
35992 * Makerules (build-module, build-module-asneeded): Likewise.
35993 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
35994 Likewise.
35995 * elf/Makefile ($(objpfx)ld.so): Likewise.
35996
35997 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
35998
35999 [BZ #17965]
36000 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
36001 both struct timeval and struct timespec.
36002
36003 2015-02-12 Joseph Myers <joseph@codesourcery.com>
36004
36005 [BZ #16560]
36006 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36007 and redefine.
36008 (__ieee754_exp2l): Do not multiply small fractional parts by
36009 M_LN2l.
36010 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
36011 small argument.
36012 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
36013 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
36014 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
36015 * math/auto-libm-test-in: Add more tests of exp2.
36016 * math/auto-libm-test-out: Regenerated.
36017
36018 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36019
36020 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
36021 unaligned path.
36022
36023 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36024
36025 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
36026 little endian.
36027
36028 2015-02-12 Andreas Schwab <schwab@suse.de>
36029
36030 [BZ #15790]
36031 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
36032 Filter out elision flags from value returned in kind.
36033 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
36034 * nptl/tst-pthread-mutexattr.c: New file.
36035
36036 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
36037
36038 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
36039 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
36040 into gnu-gnu, and update comment to refer to abi-tags.
36041
36042 2015-02-11 Joseph Myers <joseph@codesourcery.com>
36043
36044 [BZ #15467]
36045 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
36046 (__sincos): Set errno to EDOM for infinite argument.
36047 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
36048 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
36049 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
36050 (__sincosl): Set errno to EDOM for infinite argument.
36051 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
36052 (__sincosl): Set errno to EDOM for infinite argument.
36053 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
36054 (__sincosl): Set errno to EDOM for infinite argument.
36055 * math/libm-test.inc (sincos_test_data): Test errno setting.
36056
36057 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
36058
36059 * string/strxfrm_l.c: Remove #define STRCMP.
36060 * string/strcoll_l.c: Remove #define STRLEN.
36061 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
36062 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
36063
36064 2015-02-10 Joseph Myers <joseph@codesourcery.com>
36065
36066 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
36067 * sysdeps/mips/mips32/sfp-machine.h: ... here.
36068 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
36069 * sysdeps/mips/mips64/Makefile: ... here.
36070 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
36071 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
36072 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
36073 * sysdeps/mips/mips64/sfp-machine.h: ... here.
36074 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
36075 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
36076 * sysdeps/mips/mips64/n64/Implies: Likewise.
36077
36078 2015-02-10 Roland McGrath <roland@hack.frob.com>
36079
36080 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
36081 <sys/time.h>, <string.h>, and <errno.h>.
36082 (dest_offset, dest_address, value, zero): Remove unused variables.
36083 (ldouble): Remove typedef.
36084 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
36085 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
36086 1). Fix code style.
36087 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
36088 (check): Function removed.
36089 (CHECK): New macro.
36090 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
36091 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
36092 Don't call set_sigaction_FP and remove_sigaction_FP here.
36093 (ldouble_test): Just use 'long double' as macro argument, no need for
36094 the 'ldouble' typedef.
36095 (do_test): Set up SIGFPE handler at start, using plain signal rather
36096 than sigaction. Fix code style.
36097
36098 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
36099
36100 [BZ #17949]
36101 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
36102 jump label.
36103
36104 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
36105
36106 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
36107 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36108
36109 * sysdeps/powerpc/configure.ac: Remove file.
36110 * sysdeps/powerpc/configure: Likewise.
36111
36112 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
36113 [sysdep_routines]: Remove wordcopy-power6 object.
36114 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
36115 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
36116 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
36117 (__memmove_ppc32): Likewise.
36118 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
36119 file.
36120 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
36121 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
36122 Remove preprocessor.
36123
36124 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
36125 [sysdep_routines]: Remove wide chars objects.
36126 [wcsmbs]: New rule for wide char objects.
36127
36128 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36129 Remove wordcopy-power6 obejct.
36130 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
36131 Use local call for wordcopy and memcpy symbols.
36132 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
36133 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
36134 implementation for loader.
36135 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
36136
36137 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36138 Remove wordcopy-power7 object.
36139 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
36140 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
36141 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
36142 (_wordcopy_fwd_dest_aligned): Likewise.
36143 (_wordcopy_bwd_aligned): Likewise.
36144 (_wordcopy_bwd_dest_aligned): Likewise.
36145
36146 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
36147 Rewrite to call __memmove_ppc instead of include default
36148 implementation.
36149
36150 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36151 Remove wide chars objects.
36152 [wcsmbs]: New rule for wide char objects.
36153
36154 2015-02-09 Andreas Schwab <schwab@suse.de>
36155
36156 [BZ #17912]
36157 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
36158 in terms of __O_DIRECTORY.
36159
36160 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
36161
36162 * time/getdate.c: Include <stdbool.h>.
36163 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
36164 call PTR_MANGLE.
36165 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
36166 PTR_DEMANGLE.
36167
36168 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
36169
36170 Add ersatz _Static_assert on older C hosts
36171 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
36172 pre-C11 C platform that is not known to support _Static_assert.
36173
36174 2015-02-07 Richard Braun <rbraun@sceen.net>
36175
36176 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
36177 sigstate.
36178 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
36179
36180 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
36181
36182 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
36183 priority against unexistent AIO_PRIO_DELTA_MAX.
36184 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
36185 instead of int.
36186 * misc/fchflags.c (fchflags): Likewise.
36187 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
36188 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
36189 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
36190 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
36191 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
36192 Declare macros.
36193 [__USE_MISC] (chflags, fchflags): Declare functions.
36194 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
36195 EINVAL when nfds is greater than FD_SETSIZE.
36196 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
36197 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
36198 45.
36199 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
36200 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
36201 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
36202 MACH_RCV_TIMED_OUT.
36203 * hurd/hurd/signal.h (_hurd_self_sigstate,
36204 _hurd_critical_section_lock, _hurd_critical_section_unlock):
36205 Explicit casts from void *.
36206 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
36207 * abi-tags: Rename gnu-gnu os into gnu.
36208
36209 [BZ #4719]
36210 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
36211 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
36212 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
36213 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
36214 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
36215 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
36216
36217 [BZ #17944]
36218 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
36219 duplicates ADDR->sun_path with sockaddr LEN limitation.
36220 * sysdeps/mach/hurd/connect.c: Include <string.h>
36221 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
36222 * sysdeps/mach/hurd/sendmsg.c: Likewise.
36223 * sysdeps/mach/hurd/sendto.c: Likewise.
36224 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
36225 implementing it by hand.
36226
36227 2015-02-06 Roland McGrath <roland@hack.frob.com>
36228
36229 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
36230 Use sfi_breg on ldr.
36231 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
36232 Likewise.
36233
36234 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
36235 it's defined.
36236 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
36237 Test SIGSETXID only if it's defined.
36238
36239 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
36240
36241 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
36242 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
36243
36244 * nptl/tst-align2.c: Moved ...
36245 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
36246 * nptl/Makefile (tests): Remove tst-align2.
36247 * sysdeps/unix/sysv/linux/Makefile
36248 [$(subdir) = nptl] (tests): Add tst-align-clone.
36249 * nptl/tst-getpid1.c: Moved ...
36250 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
36251 * nptl/tst-getpid2.c: Moved ...
36252 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
36253 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
36254 * sysdeps/unix/sysv/linux/Makefile
36255 [$(subdir) = nptl] (tests): ... here.
36256 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
36257 * sysdeps/unix/sysv/linux/Makefile
36258 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
36259
36260 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
36261 Drop trailing \n from perror argument. Use return rather than exit.
36262
36263 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
36264 on [SA_SIGINFO].
36265 * nptl/tst-cancel21.c (do_test): Likewise.
36266 * debug/tst-backtrace6.c: Include <signal.h> first thing.
36267 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
36268 [!SA_SIGINFO]: Make it a stub test.
36269
36270 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
36271 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
36272
36273 * posix/tst-getlogin.c: Move to ...
36274 * login/tst-getlogin.c: ... here.
36275 * posix/Makefile (tests): Move tst-getlogin to ...
36276 * login/Makefile (tests): ... here.
36277
36278 * libio/tst-atime.c (do_test): Move local variables SV and E
36279 inside [ST_NOATIME] conditional.
36280
36281 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
36282
36283 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
36284
36285 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
36286 (wait_code): New function replaces macro.
36287 Call nanosleep rather than syscall.
36288
36289 * nptl/pt-system.c: Rewritten. Put everything under
36290 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
36291 Use IFUNC to redirect when possible.
36292
36293 * nptl/pt-longjmp.c: Rewritten. Put everything under
36294 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
36295 Use IFUNC to redirect when possible.
36296
36297 * nptl/pt-fork.c: Rewritten. Put everything under
36298 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
36299 Use IFUNC to redirect when possible.
36300 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
36301
36302 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
36303 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
36304 unconditionally nowadays. This included the only reference to
36305 __vdso_clock_gettime that appears outside libc proper.
36306 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
36307 Remove version set (containing only __vdso_clock_gettime).
36308 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
36309 Add attribute_hidden.
36310 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
36311 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
36312 libc_hidden_data_def.
36313 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36314 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36315
36316 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
36317 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
36318 setrpcent, and getrpcport to ...
36319 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
36320 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
36321 getrpcbynumber_r, and getrpcent_r to ...
36322 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
36323 * inet/getrpcbyname.c: Moved ...
36324 * sunrpc/getrpcbyname.c: ... here.
36325 * inet/getrpcbyname_r.c: Moved ...
36326 * sunrpc/getrpcbyname_r.c: ... here.
36327 * inet/getrpcbynumber.c: Moved ...
36328 * sunrpc/getrpcbynumber.c: ... here.
36329 * inet/getrpcbynumber_r.c: Moved ...
36330 * sunrpc/getrpcbynumber_r.c: ... here.
36331 * inet/getrpcent.c: Moved ...
36332 * sunrpc/getrpcent.c: ... here.
36333 * inet/getrpcent_r.c: Moved ...
36334 * sunrpc/getrpcent_r.c: ... here.
36335 * inet/Makefile (routines): Move those to ...
36336 * sunrpc/Makefile (routines): ... here.
36337 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
36338 the $(subdirs) list.
36339 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
36340 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
36341 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
36342 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
36343
36344 * elf/Makefile (routines): Include $(all-dl-routines), not just
36345 $(dl-routines).
36346 (rtld-routines): Likewise. Use = rather than :=.
36347 * sysdeps/aarch64/Makefile [$(subdir) = elf]
36348 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
36349 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
36350 * sysdeps/arm/Makefile: Likewise.
36351 * sysdeps/i386/Makefile: Likewise.
36352 * sysdeps/x86_64/Makefile: Likewise.
36353 * sysdeps/hppa/Makefile [$(subdir) = elf]
36354 (sysdep_routines, sysdep-rtld-routines): Don't add
36355 $(sysdep-dl-routines) to these.
36356 * sysdeps/ia64/Makefile: Likewise.
36357 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
36358 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
36359 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
36360 Don't add dl-static to these; sysdep-dl-routines alone is enough.
36361 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
36362 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
36363 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
36364 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
36365 * sysdeps/powerpc/Makefile [$(subdir) = elf]
36366 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
36367 these; sysdep-dl-routines alone is enough.
36368
36369 2015-02-06 Joseph Myers <joseph@codesourcery.com>
36370
36371 [BZ #17932]
36372 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
36373 where multiplication results in zero and third argument is finite
36374 and nonzero.
36375 * math/auto-libm-test-in: Add more tests of fma.
36376 * math/auto-libm-test-out: Regenerated.
36377
36378 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
36379 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
36380 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
36381 (_FP_CMP_EQ): Likewise.
36382 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
36383
36384 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
36385 extra argument CHECK_NAN. Redefine as wrapper around
36386 _FP_EXTEND_CNAN.
36387
36388 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
36389
36390 * version.h (RELEASE): Set to "stable".
36391 (VERSION): Set to "2.21"
36392 * include/features.h (__GLIBC_MINOR__): Set to 21.
36393
36394 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
36395
36396 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36397 Paul Eggert <eggert@cs.ucla.edu>
36398
36399 [BZ #16618]
36400 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
36401 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
36402 size in bytes. Store needed elements in wpmax. Use needed size
36403 in bytes for extend_alloca.
36404
36405 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
36406
36407 * manual/install.texi: Latest tested versions are GCC 4.9.2,
36408 binutls 2.25, and texinfo 5.2.
36409 * INSTALL: Regenerate.
36410 * sysdeps/nios2/configure: Regenerate.
36411 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
36412 * manual/contrib.texi: Update.
36413 * po/be.po: Update.
36414 * po/bg.po: Update.
36415 * po/ca.po: Update.
36416 * po/cs.po: Update.
36417 * po/da.po: Update.
36418 * po/de.po: Update.
36419 * po/el.po: Update.
36420 * po/eo.po: Update.
36421 * po/es.po: Update.
36422 * po/fi.po: Update.
36423 * po/fr.po: Update.
36424 * po/gl.po: Update.
36425 * po/hr.po: Update.
36426 * po/hu.po: Update.
36427 * po/ia.po: Update.
36428 * po/id.po: Update.
36429 * po/it.po: Update.
36430 * po/ja.po: Update.
36431 * po/ko.po: Update.
36432 * po/lt.po: Update.
36433 * po/nb.po: Update.
36434 * po/nl.po: Update.
36435 * po/pl.po: Update.
36436 * po/pt_BR.po: Update.
36437 * po/ru.po: Update.
36438 * po/rw.po: Update.
36439 * po/sk.po: Update.
36440 * po/sl.po: Update.
36441 * po/sv.po: Update.
36442 * po/tr.po: Update.
36443 * po/uk.po: Update.
36444 * po/vi.po: Update.
36445 * po/zh_CN.po: Update.
36446 * po/zh_TW.po: Update.
36447
36448 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
36449 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
36450 * sysdeps/hppa/dl-irel.h: Remove #warning.
36451 * sysdeps/hppa/entry.h: Provide prototype for
36452 __canonicalize_funcptr_for_compare and cast argument.
36453 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
36454 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
36455 * sysdeps/hppa/sotruss-lib.c: New file.
36456 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
36457 (atomic_compare_and_exchange_val_acq): Use __typeof__.
36458 (atomic_compare_and_exchange_bool_acq): Likewise.
36459 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
36460 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
36461
36462 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
36463 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
36464 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
36465
36466 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
36467
36468 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
36469 called function in non-PIC case.
36470
36471 2015-01-31 David S. Miller <davem@davemloft.net>
36472
36473 * sysdeps/sparc/sparc32/bits/atomic.h
36474 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
36475 unlock not after it.
36476 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
36477 volatile register usage warnings from the compiler.
36478
36479 * sysdeps/sparc/nptl/sem_init.c: Delete.
36480 * sysdeps/sparc/nptl/sem_post.c: Delete.
36481 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
36482 * sysdeps/sparc/nptl/sem_wait.c: Delete.
36483 * sysdeps/sparc/sparc32/sem_init.c: New file.
36484 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
36485 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
36486 padding explicitly initialized.
36487 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
36488 padding for in-semaphore spinlock.
36489 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
36490 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
36491 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
36492 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
36493 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
36494 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
36495 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
36496 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
36497 version.
36498 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
36499 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
36500
36501 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
36502
36503 [BZ #17801]
36504 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36505 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
36506 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
36507 New.
36508 (index_AVX_Fast_Unaligned_Load): Likewise.
36509 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
36510 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
36511 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
36512 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
36513 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
36514 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
36515 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
36516 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
36517 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
36518
36519 2015-01-29 Andreas Schwab <schwab@suse.de>
36520
36521 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
36522
36523 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36524
36525 [BZ #17892]
36526 * nscd/nscd_stat.c (send_stats): Initialize DATA.
36527
36528 2015-01-28 Martin Sebor <msebor@redhat.com>
36529
36530 * math/README.libm-test: Clarify. Add "How to read the test output."
36531
36532 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
36533
36534 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
36535 Define to 0.
36536
36537 2015-01-28 Joseph Myers <joseph@codesourcery.com>
36538
36539 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
36540 (__HAVE_64B_ATOMICS): Define to 0.
36541
36542 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
36543
36544 [BZ #17885]
36545 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
36546 value to set as new flag.
36547
36548 [BZ #16576]
36549 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
36550 and use _ARCH_PPCSQ instead.
36551 (__ieee754_sqrt): Likewise.
36552 (__ieee754_sqrtf): Likewise.
36553 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
36554 _ARCH_PPCSQ is defined.
36555 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
36556 fsqrt instruction.
36557 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
36558 _ARCH_PPCSQ is defined.
36559 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
36560 fsqrts instruction.
36561 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
36562
36563 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36564
36565 * iconv/loop.c: Suppress array out of bound warning caused by GCC
36566 bug (GCC BZ #64739).
36567
36568 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
36569
36570 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
36571 Mark _retval as used.
36572 (lll_futex_wake_unlock): Likewise.
36573 (lll_futex_timed_wait_requeue_pi): Likewise.
36574
36575 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
36576 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
36577 register variables.
36578
36579 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
36580 libm_hidden_def.
36581
36582 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
36583 (__bswap_64): Mark as __always_inline.
36584
36585 2015-01-25 Bram <bug_rh@spam.wizbit.be>
36586
36587 [BZ #15378]
36588 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
36589 when none of the search directories exist.
36590
36591 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
36592
36593 [BZ #17869]
36594 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
36595 power8 in .machine directive.
36596
36597 [BZ #17868]
36598 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
36599 set dependency from opd value.
36600
36601 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
36602
36603 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36604 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
36605 architecture.
36606
36607 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
36608
36609 [BZ #17870]
36610 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
36611 with uint64_t.
36612 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
36613 (uint64_t) 1.
36614 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
36615 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
36616 Replace 1UL with (uint64_t) 1.
36617 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
36618 int with uint64_t.
36619
36620 2015-01-23 Roland McGrath <roland@hack.frob.com>
36621
36622 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
36623 (if_freenameindex): Likewise.
36624
36625 * resource/getrlimit64.c: Add missing libc_hidden_def.
36626
36627 2015-01-22 Joseph Myers <joseph@codesourcery.com>
36628
36629 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
36630 __label__.
36631 (_FP_FMA): Likewise.
36632 (_FP_TO_INT_ROUND): Likewise.
36633 (_FP_FROM_INT): Likewise.
36634
36635 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36636
36637 [BZ #16418]
36638 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36639 Make code racy and cancel safe.
36640
36641 2015-01-21 Carlos O'Donell <carlos@redhat.com>
36642
36643 * sysdeps/arm/unwind-resume.h: Fix copyright year.
36644 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
36645 attribution.
36646
36647 * pwd/tst-getpw.c: Rewrite.
36648
36649 [BZ #17702]
36650 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
36651 (modules-names): Add moddummy1 and moddummy2.
36652 ($(objpfx)tst-rec-dlopen): Define.
36653 * dlfcn/moddummy1.c: New file.
36654 * dlfcn/moddummy2.c: New file.
36655 * dlfcn/tst-rec-dlopen.c: New file.
36656 * elf/dl-cache.c (_dl_load_cache_lookup):
36657 Return char*. Copy result with alloca/strcpy/strdup.
36658 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
36659 returns char*. Free cached. If not saving realname
36660 free cached.
36661 * elf/dl-open.c (dl_open_worker): Do not assert that
36662 _r_debug->r_state is RT_CONSISTENT.
36663 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
36664 returns char*.
36665
36666 2015-01-21 Torvald Riegel <triegel@redhat.com>
36667 Carlos O'Donell <carlos@redhat.com>
36668
36669 [BZ #12674]
36670 * nptl/sem_waitcommon.c: New file.
36671 * nptl/sem_wait.c: Include sem_waitcommon.c.
36672 (__sem_wait_cleanup, do_futex_wait): Remove.
36673 (__new_sem_wait): Adapt.
36674 (__new_sem_trywait): New function.
36675 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
36676 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
36677 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
36678 (sem_timedwait): Adapt.
36679 * nptl/sem_post.c (__new_sem_post): Adapt.
36680 (futex_wake): New function.
36681 (__old_sem_post): Add release MO fence.
36682 * nptl/sem_open.c (sem_open): Adapt.
36683 * nptl/sem_init.c (__new_sem_init): Adapt.
36684 (futex_private_if_supported): New function.
36685 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
36686 (__old_sem_getvalue): Add using previous code.
36687 * sysdeps/nptl/internaltypes.h: Adapt.
36688 * nptl/tst-sem13.c (do_test): Adapt.
36689 * nptl/tst-sem11.c (main): Adapt.
36690 * nptl/sem_trywait.c: Remove.
36691 * nptl/DESIGN-sem.txt: Remove.
36692 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
36693 (gen-as-const-headers): Remove structsem.sym.
36694 * nptl/structsem.sym: Remove.
36695 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
36696 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
36697 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
36698 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
36699 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
36700 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
36701 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
36702 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
36703 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
36704 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
36705 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
36706 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
36707 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
36708 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
36709 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
36710 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
36711 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
36712 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
36713 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
36714 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
36715 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
36716 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
36717
36718 2015-01-20 Carlos O'Donell <carlos@redhat.com>
36719
36720 * INSTALL: Regenerated.
36721
36722 * po/libc.pot: Regenerated.
36723
36724 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
36725 Sandra Loosemore <sandra@codesourcery.com>
36726 Andrew Jenner <andrew@codesourcery.com>
36727 Joseph Myers <joseph@codesourcery.com>
36728 Nathan Sidwell <nathan@codesourcery.com>
36729
36730 * NEWS: Mention new Nios II port.
36731 * sysdeps/nios2/Implies: New file.
36732 * sysdeps/nios2/Makefile: New file.
36733 * sysdeps/nios2/Subdirs: New file.
36734 * sysdeps/nios2/Versions: New file.
36735 * sysdeps/nios2/__longjmp.S: New file.
36736 * sysdeps/nios2/abort-instr.h: New file.
36737 * sysdeps/nios2/backtrace.c: New file.
36738 * sysdeps/nios2/bits/endian.h: New file.
36739 * sysdeps/nios2/bits/fenv.h: New file.
36740 * sysdeps/nios2/bits/link.h: New file.
36741 * sysdeps/nios2/bits/setjmp.h: New file.
36742 * sysdeps/nios2/bsd-_setjmp.S: New file.
36743 * sysdeps/nios2/bsd-setjmp.S: New file.
36744 * sysdeps/nios2/configure: New generated file.
36745 * sysdeps/nios2/configure.ac: New file.
36746 * sysdeps/nios2/crti.S: New file.
36747 * sysdeps/nios2/crtn.S: New file.
36748 * sysdeps/nios2/dl-init.c: New file.
36749 * sysdeps/nios2/dl-machine.h: New file.
36750 * sysdeps/nios2/dl-sysdep.h: New file.
36751 * sysdeps/nios2/dl-tls.h: New file.
36752 * sysdeps/nios2/dl-trampoline.S: New file.
36753 * sysdeps/nios2/gccframe.h: New file.
36754 * sysdeps/nios2/gmp-mparam.h: New file.
36755 * sysdeps/nios2/jmpbuf-offsets.h: New file.
36756 * sysdeps/nios2/jmpbuf-unwind.h: New file.
36757 * sysdeps/nios2/ldsodefs.h: New file.
36758 * sysdeps/nios2/libc-tls.c: New file.
36759 * sysdeps/nios2/libm-test-ulps: New file.
36760 * sysdeps/nios2/machine-gmon.h: New file.
36761 * sysdeps/nios2/math-tests.h: New file.
36762 * sysdeps/nios2/math_private.h: New file.
36763 * sysdeps/nios2/memusage.h: New file.
36764 * sysdeps/nios2/nptl/Makefile: New file.
36765 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
36766 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
36767 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
36768 * sysdeps/nios2/nptl/pthreaddef.h: New file.
36769 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
36770 * sysdeps/nios2/nptl/tls.h: New file.
36771 * sysdeps/nios2/preconfigure: New file.
36772 * sysdeps/nios2/s_fma.c: New file.
36773 * sysdeps/nios2/s_fmaf.c: New file.
36774 * sysdeps/nios2/setjmp.S: New file.
36775 * sysdeps/nios2/sfp-machine.h: New file.
36776 * sysdeps/nios2/sotruss-lib.c: New file.
36777 * sysdeps/nios2/stackguard-macros.h: New file.
36778 * sysdeps/nios2/stackinfo.h: New file.
36779 * sysdeps/nios2/start.S: New file.
36780 * sysdeps/nios2/sysdep.h: New file.
36781 * sysdeps/nios2/tls-macros.h: New file.
36782 * sysdeps/nios2/tst-audit.h: New file.
36783 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
36784 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
36785 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
36786 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
36787 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
36788 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
36789 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
36790 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
36791 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
36792 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
36793 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
36794 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
36795 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
36796 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
36797 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
36798 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
36799 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
36800 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
36801 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
36802 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
36803 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
36804 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
36805 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
36806 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
36807 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
36808 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
36809 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
36810 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
36811 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
36812 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
36813 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
36814 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
36815 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
36816 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
36817 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
36818 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
36819 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
36820 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
36821 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
36822 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
36823 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
36824 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
36825 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
36826 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
36827
36828 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
36829
36830 [BZ #17844]
36831 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
36832 (getutent): Use weak_alias in non SHARED case
36833 and default_symbol_version in SHARED case.
36834 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
36835 (getutent_r, pututline): Likewise.
36836 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
36837 (getutid): Likewise.
36838 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
36839 (getutid_r): Likewise.
36840 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
36841 (getutline): Likewise.
36842 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
36843 (getutline_r): Likewise.
36844 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
36845 (updwtmp): Likewise.
36846
36847 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
36848
36849 [BZ #17848]
36850 * sysdeps/s390/s390-32/memcmp.S
36851 (memcmp_g5): Rename to __memcmp_g5.
36852 * sysdeps/s390/s390-32/memcpy.S
36853 (memcpy_g5): Rename to __memcpy_g5.
36854 Jump to __memcpy_mvcle instead of memcpy_mvcle.
36855 (memcpy_mvcle) Rename to __memcpy_mvcle.
36856 * sysdeps/s390/s390-32/memset.S
36857 (memset_g5): Rename to __memset_g5.
36858 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36859 (IFUNC_RESOLVE): Prefix ifunc-resolve function
36860 and use prefixed functions.
36861 * sysdeps/s390/s390-32/multiarch/memcmp.S
36862 (memcmp_z196): Rename to __memcmp_z196.
36863 (memcmp_z10): Rename to __memcmp_z10.
36864 (memcmp): Set alias to __memcmp_g5.
36865 (bcmp): Set alias to __memcmp_g5.
36866 * sysdeps/s390/s390-32/multiarch/memcpy.S
36867 (memcpy_z196): Rename to __memcpy_z196.
36868 Jump to __memcpy_mvcle instead of memcpy_mvcle.
36869 (memcpy_z10): Rename to __memcpy_z10.
36870 Jump to __memcpy_mvcle instead of memcpy_mvcle.
36871 (memcpy): Set alias to __memcpy_g5.
36872 * sysdeps/s390/s390-32/multiarch/memset.S
36873 (memset_z196): Rename to __memset_z196.
36874 Jump to __memset_mvcle instead of memset_mvcle.
36875 (memset_z10): Rename to __memset_z10.
36876 Jump to __memset_mvcle instead of memset_mvcle.
36877 (memset_mvcle) Rename to __memset_mvcle.
36878 (memset): Set alias to __memset_g5.
36879 * sysdeps/s390/s390-64/memcmp.S
36880 (memcmp_z900): Rename to __memcmp_z900.
36881 * sysdeps/s390/s390-64/memcpy.S
36882 (memcpy_z900): Rename to __memcpy_z900.
36883 Jump to __memcpy_mvcle instead of memcpy_mvcle.
36884 (memcpy_mvcle) Rename to __memcpy_mvcle.
36885 * sysdeps/s390/s390-64/memset.S
36886 (memset_z900): Rename to __memset_z900.
36887 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
36888 (IFUNC_RESOLVE): Prefix ifunc-resolve function
36889 and use prefixed functions.
36890 * sysdeps/s390/s390-64/multiarch/memcmp.S
36891 (memcmp_z196): Rename to __memcmp_z196.
36892 (memcmp_z10): Rename to __memcmp_z10.
36893 (memcmp): Set alias to __memcmp_z900.
36894 (bcmp): Set alias to __memcmp_z900.
36895 * sysdeps/s390/s390-64/multiarch/memcpy.S
36896 (memcpy_z196): Rename to __memcpy_z196.
36897 Jump to __memcpy_mvcle instead of memcpy_mvcle.
36898 (memcpy_z10): Rename to __memcpy_z10.
36899 Jump to __memcpy_mvcle instead of memcpy_mvcle.
36900 (memcpy): Set alias to __memcpy_z900.
36901 * sysdeps/s390/s390-64/multiarch/memset.S
36902 (memset_z196): Rename to __memset_z196.
36903 Jump to __memset_mvcle instead of memset_mvcle.
36904 (memset_z10): Rename to __memset_z10.
36905 Jump to __memset_mvcle instead of memset_mvcle.
36906 (memset_mvcle) Rename to __memset_mvcle.
36907 (memset): Set alias to __memset_z900.
36908
36909 2015-01-14 Joseph Myers <joseph@codesourcery.com>
36910
36911 [BZ #17748]
36912 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
36913 __fesetenv instead of fesetenv.
36914
36915 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36916
36917 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
36918 macro.
36919
36920 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36921
36922 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
36923 regression on LE.
36924
36925 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
36926 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
36927 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
36928 strncmp-power8 object.
36929 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36930 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
36931 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
36932 * NEWS: Update.
36933
36934 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36935 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36936
36937 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
36938 trailing byte check.
36939
36940 2015-01-13 David S. Miller <davem@davemloft.net>
36941
36942 * include/signal.h (__sigreturn): Guard with __USE_MISC.
36943
36944 2015-01-13 Roland McGrath <roland@hack.frob.com>
36945
36946 * login/logout.c (logout): Use memset rather than bzero.
36947 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
36948 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
36949 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
36950 (_gethtbyaddr): Likewise.
36951 * locale/programs/simple-hash.c (bcopy): Macro removed.
36952
36953 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36954
36955 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36956 Add strcmp-power8 object.
36957 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36958 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
36959 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
36960 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
36961 __strcmp_power8 implementation.
36962 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
36963 * NEWS: Update.
36964
36965 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36966 Add strncpy-power8 and stpncpy-power8 objects.
36967 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36968 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
36969 implementations.
36970 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
36971 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
36972 __stpncpy_power8 implementation.
36973 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
36974 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
36975 __strncpy_power8 implementation.
36976 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
36977 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
36978 * NEWS: Update.
36979
36980 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
36981 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
36982 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
36983
36984 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
36985 strncat-power8 object.
36986 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
36987 __strcat_power8 implementation.
36988 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36989 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
36990 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
36991 optimized strcat for power8.
36992
36993 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
36994 strcpy-power8 and stpcpy-power8 objects.
36995 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36996 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
36997 implementations.
36998 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
36999 multiarch stpcpy implementation for POWER8.
37000 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
37001 multiarch strcpy implementation for POWER8.
37002 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
37003 __strcpy_power8 function.
37004 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
37005 stpcpy for POWER8.
37006 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
37007 strcpy for POWER8.
37008 * NEWS: Update.
37009
37010 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
37011
37012 [BZ #16009]
37013 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
37014 weights and rules. Use do_xfrm_cached if data fits in cache,
37015 do_xfrm otherwise. Moved former main loop to...
37016 * (do_xfrm_cached): New function.
37017 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
37018 find_idx, find_position and stack_push.
37019 * (find_idx): New function.
37020 * (find_position): Likewise.
37021 * localedata/sort-test.sh: Added test run for do_xfrm.
37022 * localedata/xfrm-test.c (main): Added command line option
37023 -nocache to run the test with strings that are too large for
37024 the STRXFRM cache.
37025
37026 2015-01-13 Torvald Riegel <triegel@redhat.com>
37027
37028 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
37029 variable to lll_futex_wake call, not the value itself.
37030
37031 2015-01-12 Joseph Myers <joseph@codesourcery.com>
37032
37033 [BZ #17803]
37034 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
37035 twom64. Adjust value to 0x1p-64L.
37036 (__scalblnl): Only return standard underflowing result for K <=
37037 -64 not K <= -63; adjust exponent for underflowing result by 64
37038 not 63.
37039 * math/libm-test.inc (scalbn_test_data): Add more tests.
37040 (scalbln_test_data): Likewise.
37041
37042 [BZ #17834]
37043 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
37044 0x1p63L.
37045 (__scalblnl): Get new exponent of adjusted subnormal value from ES
37046 not HX.
37047 * math/libm-test.inc (scalbn_test_data): Add more tests.
37048 (scalbln_test_data): Likewise.
37049
37050 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37051 Stefani Seibold <stefani@seibold.net>
37052
37053 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
37054 (sysdep_routines): Add dl-vdso here, ...
37055 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
37056 (sysdep_routines): ... not here.
37057 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
37058 fallback when vDSO is not presented.
37059 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
37060 Define with libc_hidden_proto/libc_hidden_data_def definitions.
37061 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
37062 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
37063 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
37064 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
37065 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
37066 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
37067 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
37068 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
37069 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
37070 fallback configurable symbol when vDSO is not available.
37071 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
37072 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
37073 be able to redefine fallback symbol when vDSO is not available.
37074 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
37075 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
37076
37077 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37078
37079 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
37080 (TLS_INIT_TP): Add tm_capable initialization.
37081 (TLS_DEFINE_INIT_TP): Likewise.
37082 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
37083 TCB.
37084 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
37085 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
37086 calculation.
37087 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
37088 transactoion is lock elision is built and TCB tm_capable is set.
37089 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
37090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37091 (INTERNAL_SYSCALL_NCS): Likewise.
37092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37093 (INTERNAL_SYSCALL_NCS): Likewise.
37094 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
37095
37096 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
37097 for powerpc.
37098 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37099 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
37100 and remove it for 32 bits case.
37101 [pthread_rwlock_t] (__rwelision): New field for lock elision.
37102 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
37103 initialization.
37104 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
37105 Disable lock elision with rdlocks if elision is not available.
37106
37107 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
37108 (sysdep_routines): Add lock elision objects.
37109 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37110 [pthread_mutex_t] (__spins): Rework to add lock elision field.
37111 [pthread_mutex_t] (__elision): Add field.
37112 [__PTHREAD_SPINS]: Adjust to init lock elision field.
37113 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
37114 elision definitions for powerpc.
37115 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
37116 implementation of lock elision for powerpc.
37117 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
37118 implementation of timed lock elision for powerpc.
37119 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
37120 implementation of trylock with lock elision for powerpc.
37121 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
37122 implementaion of unlock for lock elision for powerpc.
37123 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
37124 automatic enable lock elision for mutexes.
37125 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
37126 transaction execution definitions for powerpc.
37127 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
37128 definitions.
37129 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
37130 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
37131 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
37132 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
37133 * NEWS: Update.
37134
37135 2015-01-09 Roland McGrath <roland@hack.frob.com>
37136
37137 * sysdeps/posix/shm-directory.c: Use <> rather than ""
37138 for #include of <shm-directory.h>.
37139
37140 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
37141
37142 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
37143 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
37144
37145 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
37146
37147 [BZ #17791]
37148 * NEWS: Mention bug fix.
37149 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
37150 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
37151 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
37152
37153 2015-01-09 Torvald Riegel <triegel@redhat.com>
37154
37155 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
37156
37157 2015-01-09 Torvald Riegel <triegel@redhat.com>
37158
37159 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
37160
37161 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
37162
37163 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
37164 pointer and cast to uintptr_t.
37165
37166 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
37167
37168 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
37169 removed.
37170 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
37171
37172 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
37173
37174 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
37175 of 0.
37176
37177 2015-01-08 Roland McGrath <roland@hack.frob.com>
37178
37179 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
37180 <nptl/pthreadP.h> instead.
37181 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
37182
37183 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
37184 already defined.
37185 [__SIGRTMIN] (init): Function removed.
37186 [__SIGRTMIN] (initialized): Variable removed.
37187 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
37188 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
37189 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
37190 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
37191 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
37192 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
37193 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
37194 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
37195 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
37196 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
37197 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
37198 * sysdeps/nptl/allocrtsig.c: New file.
37199 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
37200 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
37201 * sysdeps/generic/testrtsig.h: File removed.
37202
37203 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
37204 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
37205
37206 * nptl/nptl-init.c (pthread_functions): Conditionalize
37207 .ptr__nptl_setxid initialization on [SIGSETXID].
37208
37209 * sysdeps/nptl/sys/procfs.h: New file.
37210 * nptl_db/Makefile (headers): Add it.
37211 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
37212
37213 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
37214 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
37215 * nptl/pthread_attr_setaffinity.c: Include it.
37216 * nptl/pthread_setattr_default_np.c: Likewise.
37217 * nptl/check-cpuset.h: New file.
37218
37219 2015-01-08 Richard Henderson <rth@redhat.com>
37220
37221 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
37222 (CFLAGS-tst-execstack-prog.c): Likewise.
37223 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
37224
37225 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
37226 Sandra Loosemore <sandra@codesourcery.com>
37227 Andrew Jenner <andrew@codesourcery.com>
37228 Joseph Myers <joseph@codesourcery.com>
37229 Nathan Sidwell <nathan@codesourcery.com>
37230
37231 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
37232 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
37233 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
37234 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
37235 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
37236 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
37237 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
37238 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
37239 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
37240 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
37241 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
37242 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
37243 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
37244 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
37245 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
37246 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
37247 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
37248
37249 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37250
37251 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
37252 timespec struct member in syscall macro.
37253 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
37254 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
37255 first timeval struct member in syscall macro.
37256 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
37257
37258 2015-01-07 Joseph Myers <joseph@codesourcery.com>
37259
37260 [BZ #17748]
37261 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
37262 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
37263 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
37264 __feupdateenv and define as weak alias of __feupdateenv. Use
37265 libm_hidden_weak.
37266 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
37267 libm_hidden_def.
37268 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
37269 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
37270 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
37271 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
37272 libm_hidden_def.
37273 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
37274 __feupdateenv and define as weak alias of __feupdateenv. Use
37275 libm_hidden_weak.
37276 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
37277 libm_hidden_def.
37278 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
37279 __feupdateenv and define as weak alias of __feupdateenv. Use
37280 libm_hidden_weak.
37281 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
37282 libm_hidden_def.
37283 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37284 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
37285 (__feupdateenv): Likewise.
37286 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
37287 __feupdateenv and define as weak alias of __feupdateenv. Use
37288 libm_hidden_weak.
37289 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37290 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
37291 libm_hidden_def.
37292 * sysdeps/tile/math_private.h (__feupdateenv): New inline
37293 function.
37294 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
37295 libm_hidden_def.
37296 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
37297 __feupdateenv instead of feupdateenv.
37298 (default_libc_feupdateenv_test): Likewise.
37299 (libc_feresetround_ctx): Likewise.
37300
37301 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37302
37303 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
37304 prototype.
37305
37306 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
37307
37308 * posix/regcomp.c (parse_bracket_exp): Initialize type to
37309 COLL_SYM in a couple of places to avoid uninitialized variable
37310 wanings on tilegx gcc 4.8.2.
37311
37312 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
37313
37314 * sysdeps/aarch64/strcpy.S: New file.
37315 * sysdeps/aarch64/stpcpy.S: New file.
37316 * NEWS: Updated.
37317
37318 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
37319
37320 * sysdeps/aarch64/strrchr.S: New file.
37321 * NEWS: Updated.
37322
37323 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
37324
37325 [BZ #17658]
37326 * stdlib/setenv.c: Fix memory leak when setting large,
37327 duplicate string.
37328
37329 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
37330
37331 [BZ #17273]
37332 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
37333 and tabs from buffer before parsing fstab entry.
37334 * misc/tst-mntent.c (main): Add test for mount entry with
37335 trailing spaces and tabs.
37336
37337 2015-01-06 Joseph Myers <joseph@codesourcery.com>
37338
37339 [BZ #17748]
37340 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
37341 * math/fesetround.c (fesetround): Rename to __fesetround and
37342 define as weak alias of __fesetround. Use libm_hidden_weak.
37343 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
37344 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
37345 * sysdeps/arm/fesetround.c (fesetround): Likewise.
37346 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
37347 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
37348 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
37349 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
37350 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
37351 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
37352 __fesetround_inline.
37353 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
37354 __fesetround_inline instead of __fesetround.
37355 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
37356 __fesetround and define as weak alias of __fesetround. Use
37357 libm_hidden_weak. Call __fesetround_inline instead of
37358 __fesetround.
37359 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
37360 __fesetround and define as weak alias of __fesetround. Use
37361 libm_hidden_weak.
37362 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
37363 Likewise.
37364 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
37365 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37366 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
37367 * sysdeps/tile/math_private.h (__fesetround): New inline function.
37368 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
37369 __fesetround and define as weak alias of __fesetround. Use
37370 libm_hidden_weak.
37371 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
37372 __fesetround instead of fesetround.
37373 (default_libc_feholdexcept_setround): Likewise.
37374 (libc_feholdsetround_ctx): Likewise.
37375 (libc_feholdsetround_noex_ctx): Likewise.
37376
37377 [BZ #17748]
37378 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
37379 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
37380 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
37381 and define as weak alias of __fesetenv. Use libm_hidden_weak.
37382 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37383 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
37384 define as weak alias of __fesetenv. Use libm_hidden_weak.
37385 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
37386 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37387 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
37388 define as weak alias of __fesetenv. Use libm_hidden_weak.
37389 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37390 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
37391 define as weak alias of __fesetenv. Use libm_hidden_weak.
37392 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
37393 libm_hidden_def.
37394 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
37395 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
37396 Likewise.
37397 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
37398 define as weak alias of __fesetenv. Use libm_hidden_weak.
37399 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37400 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37401 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
37402 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
37403 and define as weak alias of __fesetenv. Use libm_hidden_weak.
37404 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
37405 __fesetenv instead of fesetenv.
37406 (libc_feresetround_noex_ctx): Likewise.
37407 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
37408 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
37409 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
37410 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
37411 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
37412 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
37413 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37414 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
37415 (__feupdateenv): Likewise.
37416 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37417 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37418 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37419 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
37420
37421 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
37422
37423 [BZ #17806]
37424 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
37425 addresses have been freed.
37426
37427 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
37428
37429 * resolv/res_init.c (__res_vinit): Improve comments about nserv
37430 and nservall.
37431
37432 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
37433
37434 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
37435 Clean up check_pf allocation pattern. addresses
37436
37437 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37438
37439 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
37440 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
37441 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
37442 * nptl/pthread_exit.c (__pthread_exit): Likewise.
37443 * nptl/pthread_join.c (pthread_join): Likewise.
37444 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
37445 * sysdeps/posix/waitid.c (__waitid): Likewise.
37446 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
37447 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
37448 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
37449 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
37450 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
37451 Likewise.
37452 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
37453 (__libc_pread64): Likewise.
37454 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
37455 (__libc_pwrite): Likewise.
37456 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
37457 (__libc_pwrite64): Likewsie.
37458 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
37459 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
37460 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
37461 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
37462 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
37463 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
37464 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
37465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
37466 Likewise.
37467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37468 (__libc_pread64): Likewise.
37469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
37470 Likewise.
37471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37472 (__libc_pwrite64): Likewise.
37473 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
37474 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
37475 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
37476 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
37477 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
37478 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
37479 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
37480 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
37481 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
37482 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
37483 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
37484 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
37485 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
37486 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
37487 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
37488 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
37489 Likewise.
37490
37491 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
37492
37493 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
37494 (CFLAGS-test-double.c): Likewise.
37495 (CFLAGS-test-ldouble.c): Likewise.
37496 (CPPFLAGS-test-ifloat.c): Likewise.
37497 (CPPFLAGS-test-idouble.c): Likewise.
37498 (CPPFLAGS-test-ildoubl.c): Likewise.
37499 (CFLAGS-test-test-fenv.c): Remove variable.
37500 (CFLAGS-test-misc.c): Likewise.
37501
37502 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
37503
37504 [BZ #17797]
37505 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
37506 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
37507 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
37508 CLOCKS_PER_SEC == 1000000.
37509 * time/clocktest.c (main): Replace %ld with %jd and cast to
37510 intmax_t.
37511
37512 2015-01-05 Roland McGrath <roland@hack.frob.com>
37513
37514 * sysdeps/generic/unwind-resume.h: New file.
37515 * sysdeps/gnu/unwind-resume.c: Include it.
37516 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
37517 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
37518 argument list.
37519 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
37520 global rather than static.
37521 (_Unwind_Resume): Update user.
37522 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
37523 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
37524 rather than static. Add __attribute__ ((cold)).
37525 (_Unwind_Resume, __gcc_personality_v0): Update callers.
37526 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
37527 * sysdeps/arm/arm-unwind-resume.S: New file.
37528 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
37529 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
37530 * sysdeps/arm/Makefile [$(subdir) = csu]
37531 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
37532 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
37533 Add rt-arm-unwind-resume.
37534 [$(subdir) = nptl]
37535 (libpthread-sysdep_routines, libpthread-shared-only-routines):
37536 Add pt-arm-unwind-resume.
37537 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
37538 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
37539
37540 2015-01-05 Joseph Myers <joseph@codesourcery.com>
37541
37542 [BZ #17748]
37543 * include/fenv.h (__feholdexcept): Declare. Use
37544 libm_hidden_proto.
37545 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
37546 define as weak alias of __feholdexcept. Use libm_hidden_weak.
37547 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37548 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
37549 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
37550 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
37551 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
37552 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37553 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
37554 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
37555 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37556 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
37557 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
37558 (feholdexcept): Likewise.
37559 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
37560 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37561 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37562 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37563 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
37564 __feholdexcept instead of feholdexcept.
37565 (default_libc_feholdexcept_setround): Likewise.
37566
37567 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
37568
37569 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
37570 to avoid using stl/str to align destination.
37571
37572 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
37573
37574 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
37575
37576 2015-01-05 Joseph Myers <joseph@codesourcery.com>
37577
37578 [BZ #17796]
37579 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
37580 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
37581 Define as weak alias not strong alias.
37582
37583 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
37584
37585 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
37586 bltzal with addiupc.
37587 (RTLD_START): Ditto.
37588
37589 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
37590
37591 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
37592 for __vdso_* functions in declarations.
37593 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
37594 definitions.
37595 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
37596 INTERNAL_VSYSCALL): Use struct return types to check for error.
37597
37598 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
37599 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
37600 function with cast from llround().
37601 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
37602 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
37603 Define.
37604
37605 2015-01-05 Joseph Myers <joseph@codesourcery.com>
37606
37607 [BZ #17793]
37608 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
37609 Define as weak alias not strong alias.
37610
37611 [BZ #17635]
37612 * ctype/ctype-c99.c: New file. isblank implementation moved from
37613 ...
37614 * ctype/ctype-extn.c: ... here.
37615 (__isblank_l): Move to ...
37616 * ctype/ctype-c99_l.c: ... here. New file.
37617 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
37618 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
37619 Remove variable.
37620 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
37621 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
37622 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
37623 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
37624 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
37625
37626 [BZ #17777]
37627 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
37628 (posix_fadvise64): Define as weak alias not strong alias.
37629 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37630 (posix_fallocate64): Likewise.
37631 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
37632 Remove variable.
37633 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
37634 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
37635 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
37636 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
37637 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
37638
37639 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
37640
37641 [BZ #16191]
37642 * NEWS: Mention bug fix.
37643 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
37644 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
37645 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
37646 (HOST_STACK_END_ADDR): Likewise.
37647
37648 2015-01-02 Joseph Myers <joseph@codesourcery.com>
37649
37650 [BZ #17748]
37651 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
37652 * math/fegetround.c (fegetround): Rename to __fegetround and
37653 define as weak alias of __fegetround. Use libm_hidden_weak.
37654 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
37655 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
37656 * sysdeps/arm/fegetround.c (fegetround): Likewise.
37657 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
37658 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
37659 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
37660 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
37661 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
37662 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
37663 Undefine after rather than before function definition; use
37664 parentheses around function name in definition.
37665 (__fegetround): Also undefine macro after function definition.
37666 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
37667 __fegetround and define as weak alias of __fegetround. Use
37668 libm_hidden_weak. Do not undefine as macro.
37669 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
37670 Likewise.
37671 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
37672 __fegetround and define as weak alias of __fegetround. Use
37673 libm_hidden_weak.
37674 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37675 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
37676 * sysdeps/tile/math_private.h (__fegetround): New inline function.
37677 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
37678 __fegetround and define as weak alias of __fegetround. Use
37679 libm_hidden_weak.
37680 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
37681 __fegetround instead of fegetround.
37682
37683 [BZ #17782]
37684 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
37685 Condition macro definition on [__USE_MISC].
37686
37687 [BZ #17781]
37688 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37689 (struct sigaction): Change type of sa_flags field to int.
37690
37691 [BZ #17780]
37692 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
37693 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
37694 __glibc_reserved0.
37695
37696 * nptl/version.c (banner): Use single year in copyright notice.
37697
37698 * NEWS: Update copyright dates.
37699 * catgets/gencat.c (print_version): Likewise.
37700 * csu/version.c (banner): Likewise.
37701 * debug/catchsegv.sh: Likewise.
37702 * debug/pcprofiledump.c (print_version): Likewise.
37703 * debug/xtrace.sh (do_version): Likewise.
37704 * elf/ldconfig.c (print_version): Likewise.
37705 * elf/ldd.bash.in: Likewise.
37706 * elf/pldd.c (print_version): Likewise.
37707 * elf/sotruss.sh: Likewise.
37708 * elf/sprof.c (print_version): Likewise.
37709 * iconv/iconv_prog.c (print_version): Likewise.
37710 * iconv/iconvconfig.c (print_version): Likewise.
37711 * locale/programs/locale.c (print_version): Likewise.
37712 * locale/programs/localedef.c (print_version): Likewise.
37713 * login/programs/pt_chown.c (print_version): Likewise.
37714 * malloc/memusage.sh (do_version): Likewise.
37715 * malloc/memusagestat.c (print_version): Likewise.
37716 * malloc/mtrace.pl: Likewise.
37717 * manual/libc.texinfo: Likewise.
37718 * nptl/version.c (banner): Likewise.
37719 * nscd/nscd.c (print_version): Likewise.
37720 * nss/getent.c (print_version): Likewise.
37721 * nss/makedb.c (print_version): Likewise.
37722 * posix/getconf.c (main): Likewise.
37723 * scripts/test-installation.pl: Likewise.
37724 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
37725
37726 2015-01-02 Will Newton <will.newton@linaro.org>
37727
37728 * sysdeps/arm/armv7/configure: Removed.
37729 * sysdeps/arm/armv7/configure.ac: Likewise.
37730
37731 2015-01-02 Joseph Myers <joseph@codesourcery.com>
37732
37733 * All files with FSF copyright notices: Update copyright dates
37734 using scripts/update-copyrights.
37735 * intl/plural.c: Regenerated.
37736 * locale/programs/charmap-kw.h: Likewise.
37737 * locale/programs/locfile-kw.h: Likewise.
37738
37739 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37740
37741 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
37742
37743 2014-12-31 Joseph Myers <joseph@codesourcery.com>
37744
37745 [BZ #17748]
37746 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
37747 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
37748 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
37749 and define as weak alias of __fegetenv. Use libm_hidden_weak.
37750 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37751 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
37752 define as weak alias of __fegetenv. Use libm_hidden_weak.
37753 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
37754 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37755 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
37756 define as weak alias of __fegetenv. Use libm_hidden_weak.
37757 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37758 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
37759 define as weak alias of __fegetenv. Use libm_hidden_weak.
37760 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
37761 libm_hidden_def.
37762 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
37763 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
37764 Likewise.
37765 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
37766 define as weak alias of __fegetenv. Use libm_hidden_weak.
37767 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37768 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37769 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
37770 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
37771 and define as weak alias of __fegetenv. Use libm_hidden_weak.
37772 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
37773 __fegetenv instead of fegetenv.
37774 (libc_feholdsetround_noex_ctx): Likewise.
37775
37776 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
37777
37778 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
37779 (Elf_MIPS_ABIFlags_v0): New structure.
37780 (EF_MIPS_FP64): Define.
37781 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
37782 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
37783 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
37784 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
37785 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
37786 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
37787 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
37788 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
37789 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
37790 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
37791 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
37792 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
37793 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
37794 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
37795 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
37796 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
37797 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
37798 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
37799 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
37800 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
37801 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
37802 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
37803 field.
37804 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
37805 EF_MIPS_FP64.
37806 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
37807 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
37808 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
37809 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
37810 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
37811 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
37812 * sysdeps/mips/tst-abi-interlink.c: Likewise.
37813 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
37814 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
37815 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
37816 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
37817 record the current FP ABI extension.
37818 (mips-mode-switch): Define to show if kernel headers support mode
37819 switching.
37820 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
37821 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
37822 supported SYSV ABI version to 3.
37823 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
37824 feature.
37825
37826 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37827 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37828
37829 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
37830 path.
37831 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
37832
37833 2014-12-31 Joseph Myers <joseph@codesourcery.com>
37834
37835 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
37836 __fegetround and redefine to call __fegetround. Remove condition
37837 on [!__NO_MATH_INLINES].
37838 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
37839 function.
37840 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
37841 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
37842 Remove macro.
37843 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
37844 instead of <fenv_libc.h>.
37845 (__llrintl): Call fegetround instead of __fegetround.
37846 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
37847 instead of <fenv_libc.h>.
37848 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37849 (__lrintl): Call fegetround instead of __fegetround.
37850 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
37851 instead of <fenv_libc.h>.
37852 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37853 (__rintl): Call fegetround instead of __fegetround.
37854
37855 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37856
37857 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
37858 arrays.
37859
37860 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
37861
37862 [BZ #17775]
37863 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
37864 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
37865 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
37866
37867 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
37868
37869 * sysdeps/i386/tls-macros.h: Include <features.h>.
37870 (TLS_LE): Use non-PIC version for GCC >= 5.0.
37871 (TLS_IE): Likewise.
37872 (TLS_LD): Likewise.
37873 (TLS_GD): Likewise.
37874 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
37875 define for GCC >= 5.0.
37876
37877 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
37878
37879 * math/test-fenv.c (test_single_exception, set_single_exc,
37880 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
37881 feexcp_mask_test, feenable_test, fe_single_test): Add
37882 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
37883 case where they are not used.
37884 * math/libm-test.inc: Likewise.
37885 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
37886 unused in the absence of FP rounding/exception support.
37887 * stdio-common/tst-printf-round.c: Likewise.
37888 * stdlib/tst-strtod-round.c: Likewise.
37889 * stdlib/tst-strtod-underflow.c: Likewise.
37890
37891 2014-12-30 Joseph Myers <joseph@codesourcery.com>
37892
37893 [BZ #17723]
37894 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
37895 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
37896 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
37897 __feraiseexcept and define as weak alias of __feraiseexcept. Use
37898 libm_hidden_weak.
37899 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
37900 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
37901 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
37902 libm_hidden_def.
37903 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
37904 __feraiseexcept and define as weak alias of __feraiseexcept. Use
37905 libm_hidden_weak.
37906 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
37907 Likewise.
37908 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
37909 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
37910 __feraiseexcept and define as weak alias of __feraiseexcept. Use
37911 libm_hidden_weak.
37912 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
37913 libm_hidden_def.
37914 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
37915 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
37916 (__feraiseexcept): Likewise.
37917 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
37918 __feraiseexcept and define as weak alias of __feraiseexcept. Use
37919 libm_hidden_weak.
37920 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
37921 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
37922 libm_hidden_def.
37923 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
37924 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
37925 Use libm_hidden_def.
37926 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
37927 libm_hidden_def.
37928 (feraiseexcept): Define as weak not strong alias. Use
37929 libm_hidden_weak.
37930 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
37931 New inline function. Factored out of ...
37932 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
37933 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
37934 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
37935 feraiseexcept.
37936 * math/w_acos.c (__acos): Likewise.
37937 * math/w_asin.c (__asin): Likewise.
37938 * math/w_ilogb.c (__ilogb): Likewise.
37939 * math/w_j0.c (y0): Likewise.
37940 * math/w_j1.c (y1): Likewise.
37941 * math/w_jn.c (yn): Likewise.
37942 * math/w_log.c (__log): Likewise.
37943 * math/w_log10.c (__log10): Likewise.
37944 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
37945 * sysdeps/aarch64/fpu/math_private.h
37946 (libc_feupdateenv_test_aarch64): Likewise.
37947 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
37948 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
37949 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
37950 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
37951 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
37952 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
37953 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
37954 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37955 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37956 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37957
37958 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
37959
37960 [BZ #17732]
37961 * io/test-utime.c (main): Replace %ld with %jd and cast to
37962 intmax_t.
37963 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
37964 * nptl/tst-mutex5.c: Include <stdint.h>.
37965 (do_test): Replace %ld with %jd and cast to intmax_t.
37966 * posix/tst-regex.c (run_test): Likewise.
37967 (run_test_backwards): Likewise.
37968 * rt/tst-clock.c: Include <stdint.h>.
37969 (clock_test): Replace %ld with %jd and cast to intmax_t.
37970 * rt/tst-cpuclock1.c: Include <stdint.h>.
37971 (do_test): Replace %lu with %ju and cast to uintmax_t.
37972 * rt/tst-cpuclock2.c: Include <stdint.h>.
37973 (do_test): Replace %lu with %ju and cast to uintmax_t.
37974 * rt/tst-mqueue1.c: Include <stdint.h>.
37975 (check_attrs): Replace %ld with %jd and cast to intmax_t.
37976 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
37977 intmax_t.
37978 * rt/tst-mqueue4.c (do_test): Likewise.
37979 * rt/tst-timer4.c: Include <stdint.h>.
37980 (check_ts): Replace %ld with %jd and cast to intmax_t.
37981 (do_test): Likewise.
37982 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
37983 and cast to intmax_t.
37984 * sysdeps/pthread/tst-timer.c (main): Likewise.
37985 * time/clocktest.c (main): Likewise.
37986 * time/tst-posixtz.c (do_test): Likewise.
37987 * timezone/tst-timezone.c (main): Likewise.
37988
37989 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
37990 H.J. Lu <hongjiu.lu@intel.com>
37991
37992 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
37993 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
37994 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
37995 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
37996 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
37997 version if bit_Fast_Unaligned_Load is set.
37998 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37999 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38000 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38001 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38002 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38003 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38004 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38005 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
38006 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
38007 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
38008 to 4.
38009 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
38010 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
38011 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
38012 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
38013
38014 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
38015
38016 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
38017 instead of #if to avoid a Wundef warning.
38018 * stdlib/tst-limits.c (do_test): Likewise.
38019
38020 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
38021 parallel other exception macros.
38022 (fegetenv): Convert from macro to extern inline so that it applies
38023 retroactively to inline functions already seen by the compiler.
38024 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
38025
38026 * posix/Makefile (before-compile): Use $(objpfx) for
38027 posix-conf-vars-def.h.
38028
38029 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38030
38031 * posix/getconf.c (main): Use size_t for type of I.
38032 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
38033 NSPEC.
38034
38035 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
38036 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
38037 * posix/posix-envs.def: Likewise.
38038 * sysdeps/posix/sysconf.c: Likewise.
38039 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
38040 (specs): Remove array.
38041 * scripts/gen-posix-conf-vars.awk: Support generation of specs
38042 array.
38043
38044 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
38045 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
38046 (__sysconf): Use CONF_IS_* macros.
38047
38048 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
38049 ($(objpfx)posix-conf-vars-def.h): New target.
38050 * posix/posix-conf-vars.list: New file.
38051 * posix/posix-conf-vars.h: New file.
38052 * posix/confstr.c: Include posix-conf-vars.h.
38053 (confstr): Use CONF_IS_* macros.
38054 * posix/posix-envs.def: Include posix-conf-vars.h. Use
38055 CONF_IS_* macros.
38056 * scripts/gen-posix-conf-vars.awk: New file.
38057
38058 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
38059
38060 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
38061 fegetround): Add no-op macros to avoid linknamespace issues.
38062
38063 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
38064 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
38065
38066 * sysdeps/unix/sysv/linux/tile/sysdep.h
38067 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
38068 assembly-specific section to avoid a redefinition warning.
38069
38070 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
38071 long before casting to pointer to avoid a cast warning.
38072
38073 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
38074
38075 * sysdeps/tile/tilegx/Implies: New file.
38076
38077 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
38078
38079 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
38080
38081 2014-12-23 Florian Weimer <fweimer@redhat.com>
38082
38083 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
38084
38085 2014-12-22 Joseph Myers <joseph@codesourcery.com>
38086
38087 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
38088 not define.
38089 * sysdeps/unix/sysv/linux/utimes.c: Do not include
38090 <kernel-features.h>.
38091 (__utimes) [__NR_utimes]: Make code unconditional.
38092 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
38093 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38094 (__ASSUME_UTIMES): Do not undefine.
38095 * sysdeps/unix/sysv/linux/tile/kernel-features.h
38096 (__ASSUME_UTIMES): Likewise.
38097 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38098 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
38099 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
38100 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
38101
38102 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
38103
38104 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
38105
38106 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
38107
38108 [BZ #17747]
38109 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
38110 alias to weak alias for j0l, y0l.
38111 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
38112 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
38113
38114 [BZ #17746]
38115 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
38116 conversion.
38117
38118 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
38119
38120 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
38121 to zero if not already defined.
38122
38123 2014-12-22 Joseph Myers <joseph@codesourcery.com>
38124
38125 [BZ #17724]
38126 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
38127 (__kernel_standard_f): Remove. Moved to k_standardf.c.
38128 (__kernel_standard_l): Remove. Moved to k_standardl.c with
38129 (char *) casts added.
38130 * sysdeps/ieee754/k_standardf.c: New file.
38131 * sysdeps/ieee754/k_standardl.c: Likewise.
38132 * math/Makefile (libm-support): Remove k_standard.
38133 (libm-calls): Add k_standard.
38134
38135 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
38136
38137 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
38138 Optimize to avoid an unnecessary FPCR read.
38139
38140 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
38141
38142 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
38143 Optimize to reduce FPCR/FPSR accesses.
38144
38145 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
38146
38147 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
38148 Call libc_fetestexcept_aarch64.
38149
38150 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
38151
38152 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
38153 Call libc_fesetround_aarch64.
38154
38155 2014-12-22 Joseph Myers <joseph@codesourcery.com>
38156
38157 [BZ #17733]
38158 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
38159 (__bind): Do not define as weak alias.
38160 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
38161 define.
38162 (__getsockname): Do not define as weak alias.
38163
38164 2014-12-22 Will Newton <will.newton@linaro.org>
38165
38166 * manual/install.texi: Document that we require bison 2.7
38167 or above.
38168 * INSTALL: Regenerate.
38169 * configure.ac: Use AC_CHECK_PROG_VER instead of
38170 AC_PATH_PROG when checking for bison and check for
38171 version 2.7 or above.
38172 * configure: Regenerate.
38173
38174 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
38175
38176 [BZ #17745]
38177 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
38178 * sysdeps/tile/ffsll.c (ffsll): To here.
38179
38180 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
38181
38182 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
38183
38184 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
38185 if not defined.
38186 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
38187 definition.
38188 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
38189 hidden ___tls_get_addr.
38190 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
38191 hidden __tls_get_addr.
38192 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
38193 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
38194 Likewise.
38195
38196 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
38197
38198 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
38199 _dl_init call.
38200
38201 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
38202
38203 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
38204 from "call _dl_init@PLT".
38205 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
38206
38207 2014-12-21 Anders Kaseorg <andersk@mit.edu>
38208
38209 * manual/search.texi: (Array Sort Function): Clarify stable sorting
38210 guarantees.
38211
38212 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
38213
38214 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
38215
38216 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
38217
38218 [BZ #17744]
38219 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
38220 strnlen.
38221
38222 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
38223
38224 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
38225 of multu on MIPSr6.
38226 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
38227 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
38228 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
38229 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
38230 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
38231
38232 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
38233
38234 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
38235 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
38236 (PTR_SUBU): Use subu for mips32r6/mips64r6.
38237 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
38238 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
38239 mips32r6/mips64r6.
38240 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
38241
38242 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
38243
38244 * string/strncat.c (STRNCAT): Simplify implementation.
38245
38246 2014-12-19 David S. Miller <davem@davemloft.net>
38247
38248 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
38249 access the quad as both a long double and as a series of 4 words.
38250
38251 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
38252 link_map->l_info array access.
38253
38254 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
38255
38256 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
38257
38258 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
38259 * math/atest-exp2.c (TIMEOUT): Likewise.
38260 * math/atest-sincos.c (TIMEOUT): Likewise.
38261
38262 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
38263
38264 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
38265 -Wno-error with -fno-builtin-lround.
38266
38267 2014-12-19 Torvald Riegel <triegel@redhat.com>
38268
38269 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
38270 Contains futex constants and functions moved over from ...
38271 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
38272 <lowlevellock-futex.h>.
38273 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
38274 (lll_timedwait_tid): Add comments and parentheses around macro
38275 arguments.
38276
38277 2014-12-19 Torvald Riegel <triegel@redhat.com>
38278
38279 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
38280 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
38281 (__lll_private_flag): Remove.
38282 (lll_futex_wait): Likewise.
38283 (lll_futex_timed_wait): Likewise.
38284 (lll_futex_wake): Likewise.
38285 (lll_futex_requeue): Likewise.
38286 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
38287 (__lll_timedwait_tid): Spell out argument names.
38288 (lll_timedwait_tid): Add comments and parentheses around macro
38289 arguments.
38290 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
38291 LLL_SHARED and LLL_PRIVATE usable from assembly code.
38292
38293 2014-12-19 Torvald Riegel <triegel@redhat.com>
38294
38295 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
38296 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
38297 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38298 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
38299 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
38300 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
38301 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
38302 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
38303 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
38304 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
38305 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
38306 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
38307 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
38308 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
38309 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
38310 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
38311 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
38312 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
38313 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
38314
38315 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
38316
38317 * sysdeps/x86_64/x32/Makefile: New file.
38318
38319 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
38320
38321 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
38322 1L with (mp_limb_t) 1.
38323
38324 2014-12-17 Roland McGrath <roland@hack.frob.com>
38325
38326 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
38327 * nptl/libc_pthread_init.c: ... here.
38328 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
38329 * nptl/register-atfork.c: ... here.
38330
38331 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
38332 Use pthread_sigmask rather than INTERNAL_SYSCALL.
38333 Use assert_perror to check its return value.
38334 (__gai_create_helper_thread): Likewise.
38335
38336 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
38337
38338 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
38339
38340 2014-12-17 Joseph Myers <joseph@codesourcery.com>
38341
38342 [BZ #17725]
38343 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
38344 __profil_counter.
38345 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
38346 Likewise.
38347 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
38348 Likewise.
38349 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
38350 Likewise.
38351 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
38352 (profil_counter): Likewise.
38353 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
38354 (profil_counter): Likewise.
38355 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
38356 Likewise.
38357 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
38358 Likewise.
38359 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
38360 (profil_counter): Likewise.
38361 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
38362 Likewise.
38363 [!__profil_counter] (profil_counter): Define as weak alias of
38364 __profil_counter.
38365 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
38366 (profil_counter): Rename to __profil_counter.
38367 [!__profil_counter] (profil_counter): Define as weak alias of
38368 __profil_counter.
38369 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
38370 (profil_counter): Rename to __profil_counter.
38371 [!__profil_counter] (profil_counter): Define as weak alias of
38372 __profil_counter.
38373 * sysdeps/posix/profil.c: Update comment referring to
38374 profil_counter.
38375 (__profil): Use __profil_counter instead of profil_counter.
38376 * sysdeps/posix/sprofil.c (profil_counter): Rename to
38377 __profil_counter. Use __profil_counter_ushort and
38378 __profil_counter_uint in definitions.
38379 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
38380 instead of profil_counter_uint and profil_counter_ushort.
38381
38382 [BZ #17722]
38383 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
38384 define as weak alias of __inet_makeaddr.
38385 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
38386 as weak alias of __inet_addr.
38387 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
38388 as weak alias of __inet_pton. Use libc_hidden_weak.
38389 * include/arpa/inet.h (__inet_pton): Declare. Use
38390 libc_hidden_proto.
38391 (inet_makeaddr): Don't use libc_hidden_proto.
38392 (__inet_makeaddr): Declare. Use libc_hidden_proto.
38393 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
38394 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
38395 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
38396 Remove variable.
38397 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
38398 (test-xfail-POSIX/time.h/linknamespace): Likewise.
38399
38400 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
38401
38402 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
38403
38404 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
38405
38406 * stdio-common/bug-vfprintf-nargs.c (do_test):
38407 Cast value to intptr_t to avoid format warning
38408 for usage with PRIdPTR printing macro.
38409
38410 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
38411
38412 * libio/tst-widetext.c (do_test):
38413 Use format type %td instead of %Zd for ptrdiff_t
38414 in order to avoid format warning.
38415
38416 2014-12-17 Andreas Schwab <schwab@suse.de>
38417
38418 * nscd/mem.c (gc): Add size_t cast to match printf format.
38419
38420 2014-12-16 Roland McGrath <roland@hack.frob.com>
38421
38422 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
38423 (init): Apply PTR_MANGLE to pointers before storing them.
38424 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
38425 before using them.
38426
38427 2014-12-16 Joseph Myers <joseph@codesourcery.com>
38428
38429 [BZ #17719]
38430 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
38431 define as weak alias of __memrchr.
38432 (__memrchr): Do not define as strong alias of memrchr.
38433 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
38434 Remove variable.
38435 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
38436 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
38437 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
38438
38439 [BZ #17717]
38440 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
38441 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
38442 (if_indextoname): Rename to __if_indextoname and define as weak
38443 alias of __if_indextoname. Use libc_hidden_weak.
38444 (if_freenameindex): Rename to __if_freenameindex and define as
38445 weak alias of __if_freenameindex.
38446 (if_nameindex): Rename to __if_nameindex and define as weak alias
38447 of __if_nameindex.
38448 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
38449 __if_nametoindex and define as weak alias of __if_nametoindex.
38450 Use libc_hidden_weak.
38451 (if_freenameindex): Rename to __if_freenameindex and define as
38452 weak alias of __if_freenameindex.
38453 (if_nameindex): Rename to __if_nameindex and define as weak alias
38454 of __if_nameindex.
38455 (if_indextoname): Rename to __if_indextoname and define as weak
38456 alias of __if_indextoname. Use libc_hidden_weak.
38457 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
38458 __if_nametoindex and define as weak alias of __if_nametoindex.
38459 Use libc_hidden_weak.
38460 (if_freenameindex): Rename to __if_freenameindex and define as
38461 weak alias of __if_freenameindex. Use libc_hidden_weak.
38462 (if_nameindex_netlink): Use __if_freenameindex instead of
38463 if_freenameindex.
38464 (if_nameindex): Rename to __if_nameindex and define as weak alias
38465 of __if_nameindex. Use libc_hidden_weak.
38466 (if_indextoname): Rename to __if_indextoname and define as weak
38467 alias of __if_indextoname. Use libc_hidden_weak.
38468 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
38469 libc_hidden_proto.
38470 [!_ISOMAC] (__if_freenameindex): Likewise.
38471 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
38472 if_nametoindex.
38473 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
38474 variable.
38475 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
38476 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
38477 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
38478 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
38479 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
38480 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
38481 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
38482
38483 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
38484 Remove variable.
38485 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
38486 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
38487
38488 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38489
38490 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
38491 subscript above bounds'
38492
38493 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
38494 bounds.
38495
38496 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
38497
38498 * libio/tst-fopenloc.c: Use test-skeleton.c.
38499
38500 * stdlib/tst-bsearch.c: Use test-skeleton.c.
38501 (entry): Rename to ITEM.
38502 (do_test, comp): Adjust.
38503
38504 * stdio-common/tst-fseek.c: Use test-skeleton.c.
38505
38506 2014-12-16 Torvald Riegel <triegel@redhat.com>
38507
38508 * string/tester.c: Include <libc-internal.h>.
38509 (test_memset): Ignore -Wmemset-transposed-args.
38510
38511 2014-12-16 Torvald Riegel <triegel@redhat.com>
38512
38513 * misc/tst-mntent2.c (do_test): Fix warning.
38514
38515 2014-12-16 Torvald Riegel <triegel@redhat.com>
38516
38517 * elf/tst-unique4lib.cc(a): Mark as used.
38518
38519 2014-12-16 Florian Weimer <fweimer@redhat.com>
38520
38521 [BZ #17630]
38522 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
38523 names.
38524
38525 2014-12-16 Allan McRae <allan@archlinux.org>
38526
38527 * stdio-common/Makefile (tests): Re-add bug26.
38528
38529 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
38530
38531 [BZ #17657]
38532 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
38533 static array.
38534
38535 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
38536
38537 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
38538 (__lll_lock_wait): Likewise.
38539 (__lll_timedlock_wait): Likewise.
38540 (__lll_timedwait_tid): Likewise.
38541 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
38542 (__lll_robust_timedlock_wait): Likewise.
38543 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
38544 (lll_cond_trylock): Likewise.
38545 (__lll_lock): Likewise.
38546 (__lll_robust_lock): Likewise.
38547 (__lll_cond_lock): Likewise.
38548 (lll_robust_cond_lock): Likewise.
38549 (__lll_timedlock): Likewise.
38550 (__lll_robust_timedlock): Likewise.
38551 (__lll_unlock): Likewise.
38552 (__lll_robust_unlock): Likewise.
38553 (lll_wait_tid): Likewise.
38554 (lll_timedwait_tid): Likewise.
38555
38556 2014-12-15 Torvald Riegel <triegel@redhat.com>
38557
38558 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
38559
38560 2014-12-15 Torvald Riegel <triegel@redhat.com>
38561
38562 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
38563
38564 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
38565
38566 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
38567 * stdio-common/tst-sprintf.c: Likewise.
38568
38569 2014-12-15 Torvald Riegel <triegel@redhat.com>
38570
38571 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
38572
38573 2014-12-15 Jeff Law <law@redhat.com>
38574
38575 [BZ #16617]
38576 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
38577 on the heap. (CVE-2012-3406)
38578 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
38579 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
38580 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
38581
38582 2014-12-15 Will Newton <will.newton@linaro.org>
38583
38584 * manual/install.texi: Bump required version of texinfo
38585 to 4.7 from 4.5.
38586 * INSTALL: Regenerated.
38587 * configure.ac: Check for makeinfo version 4.7 and above.
38588 * configure: Regenerated.
38589
38590 2014-12-12 Roland McGrath <roland@hack.frob.com>
38591
38592 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
38593 PREFIX, string constant to insert between directory and name.
38594 * sysdeps/posix/shm_open.c: Update caller.
38595 * sysdeps/posix/shm_unlink.c: Likewise.
38596 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
38597 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
38598 (SEM_SHM_PREFIX): New macro.
38599 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
38600 [$(have-thread-library) = no].
38601 * nptl/Makefile (libpthread-routines): Add shm-directory.
38602 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
38603 * sysdeps/nptl/shm-directory.h: New file.
38604 * sysdeps/posix/shm-directory.c
38605 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
38606 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
38607 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
38608 INTERNAL_SYSCALL.
38609 (__where_is_shmfs): Function removed.
38610 (mountpoint, defaultmount, defaultdir, __namedsem_once):
38611 Variables removed.
38612 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
38613 Use SHM_GET_NAME.
38614 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
38615
38616 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
38617 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
38618 unconditional for use inside libpthread.
38619 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
38620
38621 2014-12-12 Roland McGrath <roland@hack.frob.com>
38622
38623 * nptl/pthread_getaffinity.c: New file.
38624 * nptl/pthread_setaffinity.c: New file.
38625 * nptl/pthread_getname.c: New file.
38626 * nptl/pthread_setname.c: New file.
38627
38628 * nptl/pthread_create.c (START_THREAD_DEFN)
38629 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
38630
38631 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
38632 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38633
38634 * resolv/res_send.c (send_vc): Disable warning resplen may
38635 be used uninitialized.
38636
38637 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
38638
38639 * nptl/tst-mutex6.c
38640 (ATTR_NULL): New define checks ATTR against NULL.
38641 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
38642 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
38643
38644 2014-12-11 James Lemke <jwlemke@codesourcery.com>
38645
38646 [BZ #17581]
38647 * malloc/hooks.c
38648 (mem2mem_check): Revert my previous change.
38649 (malloc_check_get_size): Revert my previous change.
38650 (mem2chunk_check): Revert my previous change.
38651
38652 2014-12-11 Roland McGrath <roland@hack.frob.com>
38653
38654 * sysdeps/posix/shm-directory.c: New file.
38655 * sysdeps/posix/shm-directory.h: New file.
38656 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
38657 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
38658 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
38659 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
38660 Transmute EPERM to EACCES.
38661 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
38662 from ...
38663 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
38664 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
38665
38666 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38667
38668 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
38669 pointer and cast to uintptr_t.
38670 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
38671 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
38672 Add cast to avoid warning.
38673 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
38674
38675 2014-12-11 Joseph Myers <joseph@codesourcery.com>
38676
38677 * nptl/semaphore.h: Move to ...
38678 * sysdeps/pthread/semaphore.h: ... here.
38679 * Makefile (installed-headers): Change nptl/semaphore.h to
38680 sysdeps/pthread/semaphore.h.
38681
38682 2014-12-11 Roland McGrath <roland@hack.frob.com>
38683
38684 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
38685 generated error format strings.
38686
38687 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
38688 -Wformat-extra-args warnings for scanf formats.
38689 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
38690 test of zero-length format (duh).
38691 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
38692 corner-case scanf format test.
38693 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
38694 generated fprintf format string.
38695 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
38696 corner-case sprintf format tests.
38697 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
38698 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
38699 -Wformat-extra-args warnings throughout.
38700 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
38701 (CFLAGS-scanf4.c): Likewise.
38702 (CFLAGS-scanf7.c): Likewise.
38703 (CFLAGS-tst-sprintf.c): Likewise.
38704 (CFLAGS-tst-printf.c): Likewise.
38705 (CFLAGS-tst-printfsz.c): Likewise.
38706
38707 2014-12-11 Joseph Myers <joseph@codesourcery.com>
38708
38709 * include/cpio.h: New file.
38710 * include/fmtmsg.h: Likewise.
38711
38712 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
38713 corresponding format argument to size_t.
38714 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
38715 arguments.
38716 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
38717 corresponding format argument to size_t.
38718 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
38719 arguments.
38720 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
38721 corresponding format argument to size_t.
38722 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
38723 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
38724 (CFLAGS-tst-mbswcs2.c): Likewise.
38725 (CFLAGS-tst-mbswcs3.c): Likewise.
38726 (CFLAGS-tst-mbswcs4.c): Likewise.
38727 (CFLAGS-tst-mbswcs5.c): Likewise.
38728 (CFLAGS-tst-trans.c): Likewise.
38729
38730 2014-12-11 Roland McGrath <roland@hack.frob.com>
38731
38732 * posix/regexbug1.c (main): Use "%s" format with regerror results,
38733 rather than assuming they won't contain any '%'s.
38734
38735 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
38736
38737 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
38738 inhibit_loop_to_libcall to avoid recursive calls.
38739 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
38740 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
38741
38742 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
38743
38744 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
38745 prototype.
38746
38747 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
38748
38749 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
38750 integer value instead of boolean.
38751
38752 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
38753
38754 * malloc/malloc.c: Fix powerof2 check.
38755
38756 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
38757
38758 * locale/programs/locfile.h (maybe_swap_uint32):
38759 Remove inline and add unused attribute.
38760
38761 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
38762
38763 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
38764 Truncating assembler expression to a .long expression.
38765
38766 2014-12-11 Andreas Schwab <schwab@suse.de>
38767
38768 * elf/rtld.c (struct map_args): Constify str member.
38769 (do_preload): Constify fname argument.
38770
38771 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38772
38773 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
38774 constants definition.
38775
38776 2014-12-11 Andreas Schwab <schwab@suse.de>
38777
38778 [BZ #16657]
38779 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
38780 FORCE_ELISION instead of DO_ELISION.
38781 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
38782 Remove.
38783 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
38784 Likewise.
38785
38786 * iconvdata/gconv-modules: Remove duplicate entry.
38787
38788 2014-12-11 Will Newton <will.newton@linaro.org>
38789
38790 Merge gettext 0.19.3 into intl/.
38791
38792 This involves a number of cosmetic changes to comments
38793 and ANSI function definitions and prototypes throughout
38794 all the files. The gettext copyright header is used but
38795 with the date ranges taken from the glibc copy.
38796
38797 * NEWS: Add gettext merge to 2.21.
38798 * intl/bindtextdom.c: Switch to gettext copyright.
38799 Use ANSI definitions and prototypes.
38800 Use gl_* locking primitives rather than __libc_* ones.
38801 Use __builtin_expect rather than __glibc_likely/unlikely.
38802 * intl/dcgettext.c: Switch to gettext copyright.
38803 Use ANSI definitions and prototypes.
38804 * intl/dcigettext.c: Switch to gettext copyright.
38805 Use ANSI definitions and prototypes.
38806 (INTDIV0_RAISES_SIGFPE): New define.
38807 Use gl_* locking primitives rather than __libc_* ones.
38808 Include eval-plural.h instead of plural-eval.c.
38809 Use __builtin_expect rather than __glibc_likely/unlikely.
38810 * intl/dcngettext.c: Switch to gettext copyright.
38811 Use ANSI definitions and prototypes.
38812 * intl/dgettext.c: Likewise.
38813 * intl/dngettext.c: Likewise.
38814 * intl/plural-eval.c: Renamed to...
38815 * intl/eval-plural.h: ...this.
38816 * intl/explodename.c: Switch to gettext copyright.
38817 Use ANSI definitions and prototypes.
38818 (_nl_explode_name): Use strchr instead of __rawmemchr.
38819 * intl/finddomain.c: Switch to gettext copyright.
38820 Use ANSI definitions and prototypes.
38821 Use gl_* locking primitives rather than __libc_* ones.
38822 (_nl_find_domain): Use malloc rather than alloca for
38823 allocation of temporary locale name.
38824 * intl/gettext.c: Switch to gettext copyright.
38825 Use ANSI definitions and prototypes.
38826 * intl/gettextP.h: Switch to gettext copyright.
38827 Use ANSI definitions and prototypes.
38828 Use gl_* locking primitives rather than __libc_* ones.
38829 * intl/gmo.h: Switch to gettext copyright.
38830 (struct sysdep_string): Move struct segment_pair outside of
38831 struct definition.
38832 * intl/hash-string.c: Use ANSI definitions and prototypes.
38833 * intl/hash-string.h: Switch to gettext copyright.
38834 Use ANSI definitions and prototypes.
38835 * intl/l10nflist.c: Switch to gettext copyright.
38836 Use ANSI definitions and prototypes.
38837 (_nl_normalize_codeset): Avoid integer overflow.
38838 * intl/loadinfo.h: Switch to gettext copyright.
38839 Use ANSI definitions and prototypes.
38840 (LIBINTL_DLL_EXPORTED): New define.
38841 (PATH_SEPARATOR): New define.
38842 * intl/loadmsgcat.c: Switch to gettext copyright.
38843 * intl/localealias.c: Switch to gettext copyright.
38844 Use ANSI definitions and prototypes.
38845 (_nl_expand_alias): Use PATH_SEPARATOR.
38846 * intl/ngettext.c: Switch to gettext copyright.
38847 Use ANSI definitions and prototypes.
38848 * intl/plural-exp.c: Likewise.
38849 * intl/plural-exp.h: Switch to gettext copyright.
38850 Use ANSI definitions and prototypes.
38851 (struct expression): Move definition of enum operator outside
38852 of struct definition.
38853 * intl/plural.c: Regenerate.
38854 * intl/plural.y: Switch to gettext copyright.
38855 Use ANSI definitions and prototypes.
38856 Port to bison 3.0.
38857 * intl/textdomain.c: Switch to gettext copyright.
38858 Use ANSI definitions and prototypes.
38859 Use gl_* locking primitives rather than __libc_* ones.
38860
38861 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
38862
38863 * debug/warning-nop.c: Add used atrribute.
38864
38865 2014-12-10 Joseph Myers <joseph@codesourcery.com>
38866
38867 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
38868
38869 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
38870 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
38871 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
38872
38873 2014-12-10 Joseph Myers <joseph@codesourcery.com>
38874 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38875
38876 [BZ #17634]
38877 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
38878 Undefine after defining function. Define as weak alias of
38879 __wcschr. Use libc_hidden_weak.
38880 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
38881 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
38882 (libc_hidden_def): Also define __GI___wcschr alias.
38883 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
38884 __wcschr and define as weak alias of __wcschr.
38885 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
38886 __wcschr.
38887 [!WCSCHR] (DEFAULT_WCSCHR): Define.
38888 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
38889 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
38890 libc_hidden_weak. Do not use libc_hidden_def.
38891 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
38892 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
38893 __GI___wcschr alias.
38894 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
38895 [IS_IN (libc)] (wcschr): Define as macro expanding to
38896 __redirect_wcschr.
38897 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
38898 [IS_IN (libc)] (__wcschr_power6): Likewise.
38899 [IS_IN (libc)] (__wcschr_power7): Likewise.
38900 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
38901 instead of wcschr.
38902 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
38903 __libc_wcschr.
38904 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
38905 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
38906 __wcschr and define as weak alias of __wcschr. Use
38907 libc_hidden_builtin_def.
38908 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
38909 as weak alias of __wcschr. Use libc_hidden_weak.
38910 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
38911 wcschr.
38912 * time/era.c (_nl_init_era_entries): Likewise.
38913 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
38914 variable.
38915 (test-xfail-XPG3/time.h/linknamespace): Likewise.
38916 (test-xfail-XPG4/time.h/linknamespace): Likewise.
38917
38918 2014-12-10 Joseph Myers <joseph@codesourcery.com>
38919
38920 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
38921 format for long int variable.
38922
38923 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
38924
38925 [BZ #10672]
38926 * manual/search.texi: (Array Sort Function): Remove claim how to make
38927 qsort stable.
38928
38929 2014-12-10 Andreas Schwab <schwab@suse.de>
38930
38931 [BZ #12847]
38932 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
38933 user-controlled locks.
38934
38935 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
38936
38937 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
38938 register.
38939
38940 2014-12-10 Joseph Myers <joseph@codesourcery.com>
38941
38942 * configure.ac (--disable-werror): New configure option.
38943 (enable_werror): New AC_SUBST.
38944 * configure: Regenerated.
38945 * config.make.in (enable-werror): New variable.
38946 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
38947 -Wno-error=undef.
38948 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
38949 * manual/install.texi (Configuring and compiling): Document
38950 --disable-werror.
38951 * INSTALL: Regenerated.
38952 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
38953 (CFLAGS-tst-chk2.c): Likewise.
38954 (CFLAGS-tst-chk3.c): Likewise.
38955 (CFLAGS-tst-chk4.cc): Likewise.
38956 (CFLAGS-tst-chk5.cc): Likewise.
38957 (CFLAGS-tst-chk6.cc): Likewise.
38958 (CFLAGS-tst-lfschk1.c): Likewise.
38959 (CFLAGS-tst-lfschk2.c): Likewise.
38960 (CFLAGS-tst-lfschk3.c): Likewise.
38961 (CFLAGS-tst-lfschk4.cc): Likewise.
38962 (CFLAGS-tst-lfschk5.cc): Likewise.
38963 (CFLAGS-tst-lfschk6.cc): Likewise.
38964
38965 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
38966 (main): Disable -Wdeprecated-declarations around calls to
38967 register_printf_function.
38968
38969 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
38970 (do_test): Disable -Wdiv-by-zero around some calls to
38971 fwrite_unlocked and fread_unlocked.
38972
38973 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
38974 (DIAG_POP_NEEDS_COMMENT): Likewise.
38975 (_DIAG_STR1): Likewise.
38976 (_DIAG_STR): Likewise.
38977 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
38978 * stdio-common/bug21.c: Include <libc-internal.h>.
38979 (do_test): Disable -Wformat around call to sscanf.
38980 * stdio-common/scanf14.c: Include <libc-internal.h>.
38981 (main): Disable -Wformat around some calls to scanf functions.
38982
38983 2014-12-09 Torvald Riegel <triegel@redhat.com>
38984
38985 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
38986
38987 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38988
38989 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
38990 stack variable alignment.
38991
38992 2014-12-06 Joseph Myers <joseph@codesourcery.com>
38993
38994 [BZ #17682]
38995 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
38996 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
38997 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
38998 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
38999 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
39000 __getrlimit instead of getrlimit.
39001 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
39002 __gettimeofday instead of gettimeofday.
39003 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
39004 Likewise.
39005 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
39006 Likewise.
39007 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39008 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
39009 Remove variable.
39010 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
39011 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
39012
39013 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39014
39015 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
39016 for wide-character tests.
39017
39018 2014-12-04 Roland McGrath <roland@hack.frob.com>
39019
39020 * io/openat64.c: #include <libc-internal.h>
39021 (__openat64): Prototypify. Use ignore_value on MODE.
39022 * io/openat.c: Likewise.
39023 * misc/reboot.c: #include <libc-internal.h>
39024 (reboot): Prototypify. Use ignore_value on HOWTO.
39025 * misc/ptrace.c: #include <libc-internal.h>
39026 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
39027
39028 2014-12-04 Joseph Myers <joseph@codesourcery.com>
39029
39030 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
39031 XPG4, UNIX98 and XOPEN2K.
39032 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
39033 Remove variable.
39034 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
39035
39036 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39037
39038 * libio/fileops.c: Use ISO C style for function definitions.
39039 * libio/iofopen.c: Likewise.
39040 * libio/wfileops.c: Likewise.
39041
39042 [BZ #17653]
39043 * libio/fileops.c (_IO_new_file_underflow): Unset cached
39044 offset on EOF.
39045 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
39046 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
39047 (fgets_func): Function pointer to fgets and fgetws.
39048 (do_ftell_test): Add test to verify ftell value after read
39049 EOF.
39050 (do_test): Set fgets_func.
39051
39052 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
39053 O_TRUNC flag for w and w+ modes.
39054 (do_rewind_test): Likewise.
39055 (do_ftell_test): Likewise.
39056 (do_write_test): Likewise.
39057
39058 [BZ #17647]
39059 * libio/fileops.c (do_ftell): Seek only when there are
39060 unflushed writes.
39061 * libio/wfileops.c (do_ftell_wide): Likewise.
39062 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
39063 test case.
39064 (do_one_test): Call it.
39065
39066 2014-12-03 Joseph Myers <joseph@codesourcery.com>
39067
39068 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
39069 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
39070 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
39071 Remove variable.
39072 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
39073 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
39074 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
39075
39076 2014-12-02 Joseph Myers <joseph@codesourcery.com>
39077
39078 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
39079 Remove variable.
39080 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
39081
39082 [BZ #17668]
39083 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
39084 as weak alias of __getifaddrs. Use libc_hidden_weak.
39085 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39086 __freeifaddrs. Use libc_hidden_weak.
39087 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
39088 define as weak alias of __getifaddrs. Use libc_hidden_weak.
39089 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39090 __freeifaddrs. Use libc_hidden_weak.
39091 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
39092 __getifaddrs and define as weak alias of __getifaddrs. Use
39093 libc_hidden_weak.
39094 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39095 __freeifaddrs. Use libc_hidden_weak.
39096 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
39097 Remove variable.
39098 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
39099 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
39100
39101 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
39102
39103 [BZ #17601]
39104 * sysdeps/mips/start.S (__start): Use indirect jump to call
39105 __libc_start_main.
39106
39107 2014-12-02 Joseph Myers <joseph@codesourcery.com>
39108
39109 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
39110
39111 * nptl/tst-mutex1.c: Include <stdbool.h>.
39112 [!ATTR] (ATTR_NULL): New macro.
39113 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
39114 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
39115 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
39116
39117 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
39118 to char *.
39119
39120 [BZ #17665]
39121 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
39122 Change conditional to [__USE_MISC].
39123
39124 [BZ #17664]
39125 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
39126 fgets_unlocked.
39127 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
39128 __fgets_unlocked.
39129 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
39130 fgets_unlocked.
39131 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
39132 Remove variable.
39133 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
39134 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
39135 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
39136 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
39137 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
39138 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
39139 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
39140 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
39141 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
39142
39143 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
39144
39145 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39146
39147 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39148 Remove strpbrk objects.
39149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39150 (__libc_ifunc_impl_list): Remove strpbrk implementation.
39151 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
39152 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
39153 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
39154 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
39155
39156 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39157 Remove strcspn objects.
39158 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39159 (__libc_ifunc_impl_list): Remove strcspn implementation.
39160 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
39161 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
39162 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
39163 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
39164
39165 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39166 Remove strspn objetcs.
39167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39168 (__libc_ifunc_impl_list): Remove strspn implementation.
39169 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
39170 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
39171 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
39172 * sysdeps/powerpc/powerpc64/strspn.S: New file.
39173
39174 2014-12-01 James Lemke <jwlemke@codesourcery.com>
39175
39176 [BZ #17581]
39177 * malloc/hooks.c
39178 (mem2mem_check): Add a terminator to the chain of checking blocks.
39179 (malloc_check_get_size): Use it here.
39180 (mem2chunk_check): Ditto.
39181
39182 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39183
39184 * sysdeps/powerpc/powerpc64/strtok.S: New file.
39185 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
39186
39187 2014-11-29 Carlos O'Donell <carlos@redhat.com>
39188
39189 * bits/ioctl-types.h: Indent preprocessor directives correctly.
39190
39191 * nptl/nptl-init.c: Include libc-internal.h.
39192 (__pthread_initialize_minimal_internal): Use ROUND_UP.
39193
39194 * elf/ldconfig.c (search_dir): Expand comment.
39195
39196 2014-11-29 Joseph Myers <joseph@codesourcery.com>
39197
39198 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
39199 variable.
39200 (linknamespace-symlist-stdlibs-tests): Likewise.
39201 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
39202 instead of $(objpfx)symlist-stdlibs.
39203 (linknamespace-libs-isoc): New variable.
39204 (linknamespace-libs): Use $(linknamespace-libs-isoc).
39205 (linknamespace-libs-ISO): New variable.
39206 (linknamespace-libs-ISO99): Likewise.
39207 (linknamespace-libs-ISO11): Likewise.
39208 (linknamespace-libs-XPG3): Likewise.
39209 (linknamespace-libs-XPG4): Likewise.
39210 (linknamespace-libs-POSIX): Likewise.
39211 (linknamespace-libs-UNIX98): Likewise.
39212 (linknamespace-libs-XOPEN2K): Likewise.
39213 (linknamespace-libs-POSIX2008): Likewise.
39214 (linknamespace-libs-XOPEN2K8): Likewise.
39215 ($(objpfx)symlist-stdlibs): Replace by
39216 $(linknamespace-symlist-stdlibs-tests). Use
39217 $(linknamespace-libs-$*) as set of libraries.
39218 ($(linknamespace-header-tests)): Update dependencies. Use
39219 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
39220 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
39221 * conform/linknamespace.pl: Remove comment about considering
39222 definitions of symbols from irrelevant libraries.
39223
39224 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
39225
39226 [BZ #13862]
39227 * elf/dl-tls.c: Include <atomic.h>.
39228 (oom): Remove #ifdef SHARED/#endif.
39229 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
39230 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
39231 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
39232 big enough.
39233 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
39234 * nptl/Makefile (tests): Add tst-stack4.
39235 (modules-names): Add tst-stack4mod.
39236 ($(objpfx)tst-stack4): New.
39237 (tst-stack4mod.sos): Likewise.
39238 ($(objpfx)tst-stack4.out): Likewise.
39239 ($(tst-stack4mod.sos)): Likewise.
39240 (clean): Likewise.
39241 * nptl/tst-stack4.c: New file.
39242 * nptl/tst-stack4mod.c: Likewise.
39243
39244 2014-11-27 J. Brown <jb999@gmx.de>
39245
39246 * sysdeps/x86/bits/string.h: Add recent CPUs.
39247
39248 2014-11-27 Joseph Myers <joseph@codesourcery.com>
39249
39250 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
39251 sigblock.
39252
39253 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
39254 feof.
39255
39256 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
39257 variable.
39258
39259 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
39260
39261 * nscd/connections.c: Include libc-internal.h because of macro
39262 usage ignore_value.
39263
39264 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39265
39266 * string/bits/string3.h (__warn_memset_zero_len): Don't
39267 declare for gcc newer than 5.0.
39268 (memset): Don't test for zero-length __LEN for gcc newer than
39269 5.0.
39270
39271 2014-11-27 Joseph Myers <joseph@codesourcery.com>
39272
39273 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
39274 size_t for %zu format.
39275
39276 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
39277 difference, not %ju.
39278
39279 2014-11-26 Joseph Myers <joseph@codesourcery.com>
39280
39281 * include/libc-internal.h (ignore_value): New macro.
39282 * nscd/connections.c (restart): Wrap calls to setuid and setgid
39283 with ignore_value.
39284
39285 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
39286 definition.
39287
39288 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
39289 pthread_cleanup_push to void *.
39290
39291 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
39292 Undefine.
39293
39294 [BZ #16619]
39295 [BZ #16740]
39296 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
39297 instead of 1L << 52.
39298
39299 * libio/bug-rewind.c (do_test): Check fwscanf return values.
39300 * libio/bug-rewind2.c (do_test): Likewise.
39301
39302 * debug/test-stpcpy_chk-ifunc.c: Remove file.
39303 * debug/test-strcpy_chk-ifunc.c: Likewise.
39304 * wcsmbs/test-wcschr-ifunc.c: Likewise.
39305 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39306 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39307 * wcsmbs/test-wcslen-ifunc.c: Likewise.
39308 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39309 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39310 * Rules [$(multi-arch) = no] (tests): Do not filter out
39311 $(tests-ifunc).
39312 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
39313 * debug/Makefile (tests-ifunc): Remove variable.
39314 (tests): Do not add $(tests-ifunc).
39315 * wcsmbs/Makefile (tests-ifunc): Remove variable.
39316 (tests): Do not add $(tests-ifunc).
39317 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
39318 [TEST_IFUNC]: Remove conditionals.
39319 * string/test-string.h (TEST_IFUNC): Remove macro.
39320 [TEST_IFUNC]: Remove conditionals.
39321
39322 * string/test-strchr.c [!WIDE] (L): New macro.
39323 [WIDE] (L): Likewise.
39324 (check1): Use CHAR instead of char. Use L on string and character
39325 constants.
39326
39327 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
39328
39329 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
39330 tests.
39331 * sysdeps/powerpc/bits/atomic.h
39332 (__arch_atomic_exchange_and_add_32_acq): Add definition.
39333 (__arch_atomic_exchange_and_add_32_rel): Likewise.
39334 (atomic_exchange_and_add_acq): Likewise.
39335 (atomic_exchange_and_add_rel): Likewise.
39336 * sysdeps/powerpc/powerpc32/bits/atomic.h
39337 (__arch_atomic_exchange_and_add_64_acq): Add definition.
39338 (__arch_atomic_exchange_and_add_64_rel): Likewise.
39339 * sysdeps/powerpc/powerpc64/bits/atomic.h
39340 (__arch_atomic_exchange_and_add_64_acq): Add definition.
39341 (__arch_atomic_exchange_and_add_64_rel): Likewise.
39342
39343 2014-11-26 Torvald Riegel <triegel@redhat.com>
39344
39345 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
39346 Change synchronization of __sched_fifo_min_prio and
39347 __sched_fifo_max_prio.
39348 * nptl/pthread_mutexattr_getprioceiling.c
39349 (pthread_mutexattr_getprioceiling): Likewise.
39350 * nptl/pthread_mutexattr_setprioceiling.c
39351 (pthread_mutexattr_setprioceiling): Likewise.
39352 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
39353 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
39354 Likewise.
39355
39356 2014-11-26 Joseph Myers <joseph@codesourcery.com>
39357
39358 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
39359 void.
39360
39361 2014-11-25 Joseph Myers <joseph@codesourcery.com>
39362
39363 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
39364 third argument const.
39365
39366 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
39367
39368 fnmatch: work around GCC compiler warning bug with uninit var
39369 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
39370 This works around a bug with x86-64 GCC 4.9.2 and earlier
39371 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
39372 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
39373 used uninitialized in this function [-Wmaybe-uninitialized]".
39374
39375 2014-11-25 Joseph Myers <joseph@codesourcery.com>
39376
39377 * posix/bug-regex31.c (main): Return RES not 0.
39378
39379 2014-11-25 Anton Blanchard <anton@samba.org>
39380
39381 * sysdeps/powerpc/bits/atomic.h
39382 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
39383
39384 2014-11-24 Sterling Augustine <saugustine@google.com>
39385
39386 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
39387
39388 2014-11-24 Ryan Cumming <etaoins@gmail.com>
39389
39390 [BZ #17608]
39391 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
39392
39393 2014-11-24 Joseph Myers <joseph@codesourcery.com>
39394
39395 [BZ #17633]
39396 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
39397 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
39398 variable.
39399 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
39400 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
39401
39402 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
39403
39404 * string/strncpy.c (strncpy): Improve performance by using memset.
39405
39406 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
39407
39408 * string/strcpy.c (strcpy):
39409 Improve performance by using strlen and memcpy.
39410
39411 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
39412
39413 * string/strcoll_l.c (get_next_seq): __always_inline.
39414 * string/strcoll_l.c (do_compare): __always_inline.
39415
39416 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39417
39418 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
39419 defined.
39420 * include/mqueue.h: Likewise.
39421 * include/stdlib.h: Likewise.
39422
39423 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
39424 (get_null_defines): Adjust.
39425 * sunrpc/Makefile: Adjust comment.
39426 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
39427 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
39428 (CFLAGS-interp.c): Likewise.
39429 (CFLAGS-ldconfig.c): Likewise.
39430 (CPPFLAGS-.os): Likewise.
39431 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39432 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
39433 * extra-modules.mk (extra-modules.mk): Likewise.
39434 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
39435 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
39436 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
39437 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
39438 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
39439 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
39440 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
39441 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
39442 * iconvdata/Makefile (CPPFLAGS): Likewise.
39443 (cpp-srcs-left): Add libof for all iconvdata routines.
39444 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
39445 * include/assert.h: Likewise.
39446 * include/ctype.h: Likewise.
39447 * include/errno.h: Likewise.
39448 * include/libc-symbols.h: Likewise.
39449 * include/math.h: Likewise.
39450 * include/netdb.h: Likewise.
39451 * include/resolv.h: Likewise.
39452 * include/stdio.h: Likewise.
39453 * include/stdlib.h: Likewise.
39454 * include/string.h: Likewise.
39455 * include/sys/stat.h: Likewise.
39456 * include/wctype.h: Likewise.
39457 * intl/l10nflist.c: Likewise.
39458 * libidn/idn-stub.c: Likewise.
39459 * libio/libioP.h: Likewise.
39460 * nptl/libc_multiple_threads.c: Likewise.
39461 * nptl/pthreadP.h: Likewise.
39462 * posix/regex_internal.h: Likewise.
39463 * resolv/res_hconf.c: Likewise.
39464 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
39465 * sysdeps/arm/memmove.S: Likewise.
39466 * sysdeps/arm/sysdep.h: Likewise.
39467 * sysdeps/generic/_itoa.h: Likewise.
39468 * sysdeps/generic/symbol-hacks.h: Likewise.
39469 * sysdeps/gnu/errlist.awk: Likewise.
39470 * sysdeps/gnu/errlist.c: Likewise.
39471 * sysdeps/i386/i586/memcpy.S: Likewise.
39472 * sysdeps/i386/i586/memset.S: Likewise.
39473 * sysdeps/i386/i686/memcpy.S: Likewise.
39474 * sysdeps/i386/i686/memmove.S: Likewise.
39475 * sysdeps/i386/i686/mempcpy.S: Likewise.
39476 * sysdeps/i386/i686/memset.S: Likewise.
39477 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39478 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39479 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
39480 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
39481 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39482 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39483 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
39484 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39485 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39486 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39487 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39488 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39489 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39490 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39491 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39492 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39493 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
39494 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
39495 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
39496 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39497 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39498 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39499 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39500 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39501 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39502 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39503 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
39504 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39505 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
39506 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39507 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39508 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39509 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39510 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39511 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39512 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39513 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39514 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39515 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39516 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39517 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39518 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39519 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39520 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39521 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39522 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39523 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
39524 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
39525 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39526 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39527 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39528 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
39529 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
39530 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39531 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39532 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
39533 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39534 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
39535 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
39536 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39537 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39538 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39539 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
39540 * sysdeps/nptl/bits/libc-lock.h: Likewise.
39541 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
39542 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
39543 * sysdeps/posix/closedir.c: Likewise.
39544 * sysdeps/posix/opendir.c: Likewise.
39545 * sysdeps/posix/readdir.c: Likewise.
39546 * sysdeps/posix/rewinddir.c: Likewise.
39547 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
39548 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
39549 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
39550 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39551 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39552 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
39553 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
39554 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
39555 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
39556 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
39557 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
39558 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
39559 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
39560 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
39561 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
39562 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
39563 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
39564 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
39565 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
39566 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
39567 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
39568 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
39569 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
39570 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
39571 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
39572 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
39573 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
39574 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
39575 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
39576 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
39577 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
39578 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
39579 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
39580 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
39581 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
39582 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
39583 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39584 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39585 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
39586 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
39587 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
39588 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
39589 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
39590 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
39591 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
39592 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
39593 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
39594 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
39595 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
39596 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
39597 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
39598 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
39599 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
39600 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
39601 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
39602 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
39603 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
39604 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
39605 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
39606 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
39607 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
39608 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
39609 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
39610 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
39611 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
39612 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
39613 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
39614 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
39615 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
39616 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
39617 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
39618 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
39619 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
39620 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
39621 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
39622 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
39623 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
39624 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
39625 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
39626 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
39627 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
39628 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39629 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
39630 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
39631 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
39632 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
39633 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
39634 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39635 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39636 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39637 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
39638 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
39639 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
39640 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39641 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39642 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
39643 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39644 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39645 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
39646 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
39647 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39648 * sysdeps/unix/alpha/sysdep.S: Likewise.
39649 * sysdeps/unix/alpha/sysdep.h: Likewise.
39650 * sysdeps/unix/make-syscalls.sh: Likewise.
39651 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
39652 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39653 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
39654 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
39655 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
39656 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
39657 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
39658 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39659 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
39660 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
39661 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39662 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
39663 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39664 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
39665 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
39666 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39667 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39668 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
39669 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
39670 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
39671 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
39672 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39673 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
39674 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
39675 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
39676 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
39677 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
39679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
39680 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
39681 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39682 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
39683 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39684 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39685 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
39686 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
39687 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39688 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39689 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
39690 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
39691 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39692 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
39693 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39694 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
39695 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39696 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
39697 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39698 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39699 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
39700 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39701 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39702 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
39703 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39704 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
39705 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
39706 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39707 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
39708 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39709 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
39710 * sysdeps/x86_64/memcpy.S: Likewise.
39711 * sysdeps/x86_64/memmove.c: Likewise.
39712 * sysdeps/x86_64/memset.S: Likewise.
39713 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
39714 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39715 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
39716 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
39717 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
39718 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39719 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39720 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
39721 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
39722 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
39723 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
39724 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
39725 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
39726 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39727 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39728 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
39729 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
39730 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
39731 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39732 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
39733 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
39734 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39735 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39736 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39737 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
39738 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
39739 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
39740 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
39741 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39742 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
39743 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
39744 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
39745 * sysdeps/x86_64/strcmp.S: Likewise.
39746
39747 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
39748
39749 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
39750 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
39751 * elf/rtld-Rules: Likewise.
39752 * elf/setup-vdso.h: Likewise.
39753 * include/assert.h: Likewise.
39754 * include/bits/stdlib-float.h: Likewise.
39755 * include/errno.h: Likewise.
39756 * include/sys/stat.h: Likewise.
39757 * include/unistd.h: Likewise.
39758 * sysdeps/aarch64/setjmp.S: Likewise.
39759 * sysdeps/alpha/setjmp.S: Likewise.
39760 * sysdeps/arm/__longjmp.S: Likewise.
39761 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
39762 * sysdeps/arm/setjmp.S: Likewise.
39763 * sysdeps/arm/sysdep.h: Likewise.
39764 * sysdeps/generic/_itoa.h: Likewise.
39765 * sysdeps/generic/dl-sysdep.h: Likewise.
39766 * sysdeps/generic/ldsodefs.h: Likewise.
39767 * sysdeps/i386/dl-tls.h: Likewise.
39768 * sysdeps/i386/setjmp.S: Likewise.
39769 * sysdeps/m68k/setjmp.c: Likewise.
39770 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
39771 * sysdeps/mach/hurd/opendir.c: Likewise.
39772 * sysdeps/posix/getcwd.c: Likewise.
39773 * sysdeps/posix/opendir.c: Likewise.
39774 * sysdeps/posix/profil.c: Likewise.
39775 * sysdeps/powerpc/dl-procinfo.h: Likewise.
39776 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39777 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39778 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
39779 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39780 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
39781 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
39782 * sysdeps/s390/dl-tls.h: Likewise.
39783 * sysdeps/s390/s390-32/setjmp.S: Likewise.
39784 * sysdeps/s390/s390-64/setjmp.S: Likewise.
39785 * sysdeps/sh/sh3/setjmp.S: Likewise.
39786 * sysdeps/sh/sh4/setjmp.S: Likewise.
39787 * sysdeps/unix/alpha/sysdep.h: Likewise.
39788 * sysdeps/unix/arm/sysdep.S: Likewise.
39789 * sysdeps/unix/i386/sysdep.S: Likewise.
39790 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39791 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
39792 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39793 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39794 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39795 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
39796 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
39797 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39798 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
39799 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
39800 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
39801 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39802 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39805 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39806 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39807 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39808 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39809 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39810 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39811 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39812 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39813 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39814 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39815 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39816 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39817 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39818 * sysdeps/x86_64/setjmp.S: Likewise.
39819
39820 * include/math.h: Use IS_IN instead of IS_IN_libm.
39821 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
39822 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39823 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39824 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
39825 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39826 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39827 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39828 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39829 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39830 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39831 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
39832 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
39833 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
39834 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
39835 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
39836 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
39837 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
39838 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
39839 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
39840 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
39841 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
39842 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
39843 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
39844 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
39845 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
39846 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
39847 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
39848 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
39849 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
39850 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
39851 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
39852 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
39853 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
39854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
39855 Likewise.
39856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
39857 Likewise.
39858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
39859 Likewise.
39860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
39861 Likewise.
39862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
39863 Likewise.
39864 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
39865 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
39866 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
39867 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39868 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39869 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
39871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
39872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
39873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
39874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
39875 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
39876 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
39877 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
39878 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
39879 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39880 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
39881 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
39882 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39883 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
39884 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
39885 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
39886 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
39887 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
39888 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
39889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39890 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
39891
39892 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
39893 * nptl/pthreadP.h: Likewise.
39894 * nptl_db/structs.def: Likewise.
39895 * sysdeps/arm/sysdep.h: Likewise.
39896 * sysdeps/nptl/bits/libc-lock.h: Likewise.
39897 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
39898 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
39899 * sysdeps/unix/alpha/sysdep.h: Likewise.
39900 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
39901 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39902 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
39903 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
39904 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
39905 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
39906 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39907 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
39908 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39909 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
39910 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
39911 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
39912 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
39913 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
39914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
39915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
39916 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
39917 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
39918 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
39919 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
39920 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
39921 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
39922 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39923 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
39924 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
39925 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
39926
39927 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
39928 * nptl/pthreadP.h: Likewise.
39929 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
39930 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
39931 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
39932 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
39933 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
39934 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
39935 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39936 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
39937 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
39938 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
39939 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
39940 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
39941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
39942 Likewise.
39943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
39944 Likewise.
39945 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
39946 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
39947 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
39948 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
39949 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
39950 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
39951 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
39952 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
39953
39954 * dlfcn/dladdr.c: Use IS_IN.
39955 * dlfcn/dladdr1.c: Likewise.
39956 * dlfcn/dlclose.c: Likewise.
39957 * dlfcn/dlerror.c: Likewise.
39958 * dlfcn/dlinfo.c: Likewise.
39959 * dlfcn/dlmopen.c: Likewise.
39960 * dlfcn/dlopen.c: Likewise.
39961 * dlfcn/dlsym.c: Likewise.
39962 * dlfcn/dlvsym.c: Likewise.
39963
39964 * include/ifaddrs.h: Use IS_IN.
39965 * inet/check_pf.c: Likewise.
39966 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
39967 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
39968
39969 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
39970 IS_IN_ldconfig.
39971 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
39972 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
39973
39974 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
39975 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
39976 IS_IN (libc).
39977
39978 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
39979
39980 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
39981 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39982 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
39983 * include/libc-symbols.h (IS_IN_LIB): New macro.
39984 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
39985 * include/netdb.h: Likewise.
39986 * include/stap-probe.h: Remove all uses of IN_LIB.
39987
39988 * Makeconfig (module-cppflags-real): Define MODULE_NAME
39989 instead of IN_MODULE.
39990 * include/libc-symbols.h (IN_MODULE): Define using
39991 MODULE_NAME.
39992 (PASTE_NAME, PASTE_NAME1): New macros.
39993 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
39994 of IN_LIB.
39995 (STAP_PROBE_ASM): Likewise.
39996
39997 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
39998
39999 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
40000 __mach_init in dlopened libc.
40001
40002 2014-11-22 Mike Frysinger <vapier@gentoo.org>
40003
40004 * sysdeps/arm/preconfigure.ac: Delete EABI check.
40005 * sysdeps/arm/preconfigure: Regenerate.
40006
40007 2014-11-21 Roland McGrath <roland@hack.frob.com>
40008
40009 * nptl/pthread_create.c (__pthread_create_2_1): Set
40010 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
40011 when copying values from IATTR into PD.
40012
40013 2014-11-21 Will Newton <will.newton@linaro.org>
40014 Andrew Pinski <andrew.pinski@caviumnetworks.com>
40015
40016 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
40017 Refactor inline-asm. Also add comment.
40018
40019 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
40020 ElfW macro instead of hardcoded Elf64 types.
40021 (la_aarch64_gnu_pltenter): Likewise.
40022 * sysdeps/aarch64/dl-machine.h
40023 (elf_machine_runtime_setup): Use ElfW(Addr).
40024
40025 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
40026 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
40027 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
40028 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
40029 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
40030 (R_AARCH64_TLS_DTPMOD64): Rename to ..
40031 (R_AARCH64_TLS_DTPMOD): This.
40032 (R_AARCH64_TLS_DTPREL64): Rename to ...
40033 (R_AARCH64_TLS_DTPREL): This.
40034 (R_AARCH64_TLS_TPREL64): Rename to ...
40035 (R_AARCH64_TLS_TPREL): This.
40036 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
40037 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
40038 R_AARCH64_TLS_TPREL64.
40039 (elf_machine_rela): Likewise.
40040
40041 2014-11-21 Torvald Riegel <triegel@redhat.com>
40042
40043 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
40044 by setting it to 0. 64b atomics are not supported currently.
40045
40046 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
40047
40048 [BZ #16469]
40049 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
40050 search domain names.
40051
40052 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
40053
40054 [BZ #16469]
40055 * NEWS: Update.
40056 * resolv/res_query.c (__libc_res_nquerydomain): Retain
40057 trailing dot.
40058 * posix/tst-getaddrinfo5.c: New.
40059 * posix/Makefile (tests): Add it.
40060
40061 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
40062
40063 [BZ #14498]
40064 * NEWS: Fixed.
40065 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
40066 after parsing line but before break_if_match.
40067 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
40068 if there is a protocol mismatch.
40069
40070 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
40071
40072 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
40073 because the potential race is on the user-supplied stream.
40074
40075 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
40076
40077 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
40078 string literal if not passed a buffer.
40079 * manual/job.texi (ctermid): Update reasoning, note deviation
40080 from posix, suggest mtasurace when not passed a buffer, for
40081 future non-preliminary safety notes.
40082
40083 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
40084
40085 * manual/users.texi (cuserid): Fix MT-Safety note for the case
40086 of not passing it a buffer.
40087 Reported by Peng Haitao.
40088
40089 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
40090
40091 * manual/Makefile ($(objpfx)stamp-summary): Require
40092 check-safety.sh to pass.
40093 * manual/check-safety.sh: Wish for verification that every
40094 @deftypefn and @deftypefun is followed by a @safety remark.
40095
40096 2014-11-20 Roland McGrath <roland@hack.frob.com>
40097
40098 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
40099
40100 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
40101 PTHREAD_CANCEL_ASYNCHRONOUS.
40102 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
40103 send SIGCANCEL.
40104
40105 * nptl/default-sched.h: New file.
40106 * sysdeps/unix/sysv/linux/default-sched.h: New file.
40107 * nptl/pthread_create.c: Include it.
40108 (__pthread_create_2_1): Use collect_default_sched instead of making
40109 Linux syscalls here directly.
40110
40111 2014-11-20 Torvald Riegel <triegel@redhat.com>
40112
40113 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
40114 __pthread_once): Use C11 atomics.
40115
40116 2014-11-20 Torvald Riegel <triegel@redhat.com>
40117
40118 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
40119
40120 2014-11-20 Torvald Riegel <triegel@redhat.com>
40121
40122 * include/atomic.h (__atomic_link_error, __atomic_check_size,
40123 atomic_thread_fence_acquire, atomic_thread_fence_release,
40124 atomic_thread_fence_seq_cst, atomic_load_relaxed,
40125 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
40126 atomic_compare_exchange_weak_relaxed,
40127 atomic_compare_exchange_weak_acquire,
40128 atomic_compare_exchange_weak_release,
40129 atomic_exchange_acquire, atomic_exchange_release,
40130 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
40131 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
40132 atomic_fetch_and_acquire,
40133 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
40134
40135 2014-11-20 Torvald Riegel <triegel@redhat.com>
40136
40137 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
40138 USE_ATOMIC_COMPILER_BUILTINS): Define.
40139 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
40140 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40141 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
40142 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40143 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
40144 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40145 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
40146 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40147 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
40148 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40149 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
40150 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40151 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
40152 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40153 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
40154 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40155 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
40156 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40157 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
40158 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40159 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
40160 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40161 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
40162 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40163 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
40164 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40165 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
40166 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40167 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
40168 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40169 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
40170 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40171 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
40172 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40173 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40174 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40175 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
40176 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40177 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
40178 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40179
40180 2014-11-19 Roland McGrath <roland@hack.frob.com>
40181
40182 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
40183 the sched_priority value here. It was already checked when the user
40184 called pthread_attr_setschedparam.
40185
40186 * nptl/tst-bad-schedattr.c: New file.
40187 * nptl/Makefile (tests): Add it.
40188
40189 2014-11-19 Carlos O'Donell <carlos@redhat.com>
40190 Florian Weimer <fweimer@redhat.com>
40191 Joseph Myers <joseph@codesourcery.com>
40192 Adam Conrad <adconrad@0c3.net>
40193 Andreas Schwab <schwab@suse.de>
40194 Brooks <bmoses@google.com>
40195
40196 [BZ #17625]
40197 * wordexp-test.c (__dso_handle): Add prototype.
40198 (__register_atfork): Likewise.
40199 (__app_register_atfork): New function.
40200 (registered_forks): New global.
40201 (register_fork): New function.
40202 (test_case): Add 3 new tests for WRDE_CMDSUB.
40203 (main): Call __app_register_atfork.
40204 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
40205 fork count is non-zero fail the test.
40206 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
40207 is set.
40208 (parse_dollars): Remove check for WRDE_NOCMD.
40209 (parse_dquote): Likewise.
40210
40211 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40212
40213 * Makeconfig (built-modules): List non-library modules to be
40214 built.
40215 (module-cppflags): Include libc-modules.h for
40216 everything except shlib-versions.v.i.
40217 (CPPFLAGS): Use it.
40218 (before-compile): Add libc-modules.h.
40219 ($(common-objpfx)libc-modules.h,
40220 $(common-objpfx)libc-modules.stmp): New targets.
40221 (common-generated): Add libc-modules.h and libc-modules.stmp.
40222 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
40223 * include/libc-symbols.h: Don't include libc-modules.h.
40224 * include/libc-modules.h: Remove file.
40225 * scripts/gen-libc-modules.awk: New script to generate
40226 libc-modules.h.
40227 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
40228 Depend on libc-modules.stmp.
40229
40230 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
40231
40232 * Makeconfig (in-module): Get value of libof set for the
40233 translation unit.
40234 (CPPFLAGS): Use $(in-module).
40235 * Makerules: Don't suffix routine names for nonlib.
40236 * include/libc-modules.h: New file.
40237 * include/libc-symbols.h: Include libc-modules.h
40238 (IS_IN): New macro to replace IS_IN_* macros.
40239 * elf/Makefile: Set libof-* for each routine.
40240 * elf/rtld-Rules: Likewise.
40241 * extra-modules.mk: Likewise.
40242 * iconv/Makefile: Likewise.
40243 * iconvdata/Makefile: Likewise.
40244 * locale/Makefile: Likewise.
40245 * malloc/Makefile: Likewise.
40246 * nss/Makefile: Likewise.
40247 * sysdeps/gnu/Makefile: Likewise.
40248 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
40249 * sysdeps/unix/sysv/linux/Makefile: Likewise.
40250 * sysdeps/s390/s390-64/Makefile: Likewise.
40251 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
40252 CPPFLAGS for nscd instead of nonlib.
40253
40254 2014-11-18 Roland McGrath <roland@hack.frob.com>
40255
40256 * nptl/createthread.c: New file.
40257
40258 * nptl/createthread.c: Moved ...
40259 * sysdeps/unix/sysv/linux/createthread.c: ... here.
40260
40261 * nptl/createthread.c: Add proper top-line comment.
40262 (do_clone): Folded into ...
40263 (create_thread): ... here. Take new arguments STOPPED_START and
40264 THREAD_RAN. Always set PD->stopped_start to something here. Don't
40265 increment __nptl_threads, do event-reporting logic, do
40266 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
40267 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
40268 resource cleanup if sched_setaffinity or sched_setscheduler fails,
40269 just send SIGCANCEL.
40270 * nptl/pthread_create.c: Forward-declare create_thread before
40271 including createthread.c.
40272 (start_thread): Use new macro START_THREAD_DEFN to replace defining
40273 declaration, and new macro START_THREAD_SELF to replace argument.
40274 Remove return statement.
40275 (report_thread_creation): New function.
40276 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
40277 synchronization logic, and __nptl_nthreads increment here, around
40278 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
40279 PD->parent_cancelhandling here, before create_thread. When
40280 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
40281 __deallocate_stack, and ENOMEM translation here.
40282
40283 2014-11-18 Joseph Myers <joseph@codesourcery.com>
40284
40285 [BZ #17616]
40286 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
40287 (mptwo): Rename to __mptwo.
40288 (__inv): Use __mptwo instead of mptwo.
40289 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
40290 (mptwo): Rename to __mptwo.
40291 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
40292 of mpone and __mptwo instead of mptwo.
40293 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
40294 instead of mpone.
40295 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40296 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
40297 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
40298 of mpone and __mptwo instead of mptwo.
40299 (__mpranred): Use __mpone instead of mpone.
40300 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
40301 variable.
40302 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
40303 (test-xfail-ISO99/math.h/linknamespace): Likewise.
40304 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
40305 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
40306 (test-xfail-ISO11/math.h/linknamespace): Likewise.
40307 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
40308 (test-xfail-XPG3/math.h/linknamespace): Likewise.
40309 (test-xfail-XPG4/math.h/linknamespace): Likewise.
40310 (test-xfail-POSIX/math.h/linknamespace): Likewise.
40311 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
40312 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
40313 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
40314 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
40315 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
40316 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
40317 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
40318 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
40319 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
40320 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
40321
40322 2014-11-18 Tom de Vries <tom@codesoucery.com>
40323
40324 * manual/signal.texi (Primitives Interrupted by Signals): In section,
40325 replace BSD Handler xref with BSD Signal Handling.
40326
40327 2014-11-17 Richard Henderson <rth@redhat.com>
40328
40329 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
40330 (_FP_PACK_RAW_2): Remove.
40331 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
40332 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
40333 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
40334 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
40335 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
40336 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
40337 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
40338 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
40339 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
40340 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
40341 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
40342 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
40343 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
40344 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
40345 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
40346 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
40347
40348 2014-11-14 Roland McGrath <roland@hack.frob.com>
40349
40350 * signal/signal.h [__USE_MISC]
40351 (struct sigvec): Remove type.
40352 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
40353 (sigvec): Remove declaration.
40354 * sysdeps/posix/sigvec.c: Moved ...
40355 * signal/sigvec.c: ... here, replacing old file.
40356 (struct sigvec): New type, copied from old signal.h definition.
40357 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
40358 (__sigvec): Convert definition to prototype.
40359 (sigvec): Replace weak_alias with compat_symbol.
40360 * signal/Versions (libc: GLIBC_2.21): New version set.
40361 * include/signal.h: Remove __sigvec declaration.
40362 * sysdeps/unix/bsd/sigvec.c: Remove file.
40363 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
40364 * manual/signal.texi (BSD Handler): Remove subsection.
40365 Move siginterrupt up to ...
40366 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
40367 (Blocking in BSD): Fold subsection into its parent.
40368 * NEWS: Mention sigvec removal.
40369
40370 2014-11-14 Joseph Myers <joseph@codesourcery.com>
40371
40372 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
40373 (DLA_FMS): Make definition conditional only on [__FMA4__].
40374 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
40375 definition.
40376
40377 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
40378 Make definition conditional only on [PROF].
40379 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
40380 definition.
40381 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
40382 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
40383
40384 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
40385 !__GNUC__].
40386 * include/signal.h (__sigpause): Move declaration above call to
40387 libc_hidden_proto.
40388 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
40389 variable.
40390 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
40391 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
40392
40393 2014-11-14 David S. Miller <davem@davemloft.net>
40394
40395 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
40396 Define before including <string/memcpy.c> and <string/mempcpy.c>.
40397
40398 2014-11-14 Joseph Myers <joseph@codesourcery.com>
40399
40400 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
40401 * configure: Regenerated.
40402 * manual/install.texi (Tools for Compilation): Document a
40403 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
40404 compiler verified to work.
40405 * INSTALL: Regenerated.
40406
40407 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
40408 redeclare with asm name.
40409 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
40410 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
40411 including <string.h>.
40412 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40413 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
40414 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40415 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
40416 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40417 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
40418 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40419
40420 2014-11-13 Joseph Myers <joseph@codesourcery.com>
40421
40422 * stdlib/strtol.c (__strtol): Use prototype definition.
40423
40424 [BZ #17594]
40425 * stdlib/strtol.c (SYM__): New macro.
40426 (SYM__1): Likewise.
40427 (__strtol): Likewise.
40428 (strtol): Rename to __strtol and define as weak alias of
40429 __strtol. Use libc_hidden_weak.
40430
40431 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
40432
40433 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
40434 Use numbered labels in inline assembly.
40435
40436 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
40437
40438 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
40439 Add setjmp LIBC_PROBE.
40440 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
40441 Likewise.
40442 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
40443 Add longjmp, longjmp_target LIBC_PROBE.
40444 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
40445 Likewise.
40446
40447 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
40448
40449 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
40450 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
40451 to get rid of unused variable warning.
40452
40453 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
40454
40455 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
40456 Check for unwind_backtrace == NULL only in SHARED case.
40457 (__backchain_backtrace): Compile only in SHARED case.
40458 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
40459 Likewise.
40460 (__backchain_backtrace): Declare as static.
40461
40462 2014-11-12 Roland McGrath <roland@hack.frob.com>
40463
40464 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
40465 (__libc_multiple_threads_ptr): Variable moved ...
40466 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
40467
40468 2014-11-12 Joseph Myers <joseph@codesourcery.com>
40469
40470 * conform/GlibcConform.pm: New file.
40471 * conform/conformtest.pl: Use GlibcConform module.
40472 * conform/linknamespace.pl: New file.
40473 * conform/list-header-symbols.pl: Likewise.
40474 * conform/Makefile (linknamespace-symlists-base): New variable.
40475 (linknamespace-symlists-tests): Likewise.
40476 (linknamespace-header-base): Likewise.
40477 (linknamespace-header-tests): Likewise.
40478 (tests-special): Add new tests.
40479 ($(linknamespace-symlists-tests)): New rule.
40480 (linknamespace-libs): New variable.
40481 ($(objpfx)symlist-stdlibs): New rule.
40482 ($(linknamespace-header-tests)): Likewise.
40483 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
40484 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
40485 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
40486 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
40487 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
40488 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
40489 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
40490 (test-xfail-ISO/math.h/linknamespace): Likewise.
40491 (test-xfail-ISO/signal.h/linknamespace): Likewise.
40492 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
40493 (test-xfail-ISO/time.h/linknamespace): Likewise.
40494 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
40495 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
40496 (test-xfail-ISO99/math.h/linknamespace): Likewise.
40497 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
40498 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
40499 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
40500 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
40501 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
40502 (test-xfail-ISO11/math.h/linknamespace): Likewise.
40503 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
40504 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
40505 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
40506 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
40507 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
40508 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
40509 (test-xfail-XPG3/math.h/linknamespace): Likewise.
40510 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
40511 (test-xfail-XPG3/search.h/linknamespace): Likewise.
40512 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
40513 (test-xfail-XPG3/time.h/linknamespace): Likewise.
40514 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
40515 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
40516 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
40517 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
40518 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
40519 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
40520 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
40521 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
40522 (test-xfail-XPG4/math.h/linknamespace): Likewise.
40523 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
40524 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
40525 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
40526 (test-xfail-XPG4/search.h/linknamespace): Likewise.
40527 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
40528 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
40529 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
40530 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
40531 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
40532 (test-xfail-XPG4/time.h/linknamespace): Likewise.
40533 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
40534 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
40535 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
40536 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
40537 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
40538 (test-xfail-POSIX/math.h/linknamespace): Likewise.
40539 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
40540 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
40541 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
40542 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
40543 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
40544 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
40545 (test-xfail-POSIX/time.h/linknamespace): Likewise.
40546 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
40547 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
40548 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
40549 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
40550 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
40551 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
40552 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
40553 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
40554 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
40555 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
40556 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
40557 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
40558 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
40559 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
40560 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
40561 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
40562 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
40563 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
40564 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
40565 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
40566 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
40567 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
40568 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
40569 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
40570 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
40571 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
40572 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
40573 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
40574 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
40575 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
40576 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
40577 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
40578 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
40579 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
40580 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
40581 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
40582 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
40583 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
40584 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
40585 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
40586 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
40587 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
40588 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
40589 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
40590 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
40591 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
40592 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
40593 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
40594 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
40595 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
40596 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
40597 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
40598 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
40599 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
40600 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
40601 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
40602 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
40603 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
40604 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
40605 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
40606 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
40607 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
40608 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
40609 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
40610 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
40611 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
40612 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
40613 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
40614 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
40615 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
40616 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
40617 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
40618 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
40619 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
40620 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
40621 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
40622 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
40623 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
40624 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
40625 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
40626 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
40627 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
40628 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
40629 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
40630 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
40631 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
40632 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
40633 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
40634 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
40635 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
40636 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
40637 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
40638 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
40639 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
40640 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
40641 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
40642 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
40643 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
40644
40645 [BZ #17589]
40646 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
40647 of fgets_unlocked.
40648
40649 [BZ #17585]
40650 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
40651 (memmem): Rename to __memmem and define as weak alias of
40652 __memmem. Use libc_hidden_weak.
40653 (__memmem): Use libc_hidden_def.
40654 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
40655 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
40656 memmem.
40657
40658 [BZ #17582]
40659 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
40660 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
40661 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
40662 and define as weak alias of __fgets_unlocked. Use
40663 libc_hidden_weak.
40664 (__fgets_unlocked): Use libc_hidden_def.
40665 * include/stdio.h (__fgets_unlocked): Declare. Use
40666 libc_hidden_proto.
40667 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
40668 __fgets_unlocked instead of fgets_unlocked.
40669 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
40670 (GET_NPROCS_CONF_PARSER): Likewise.
40671 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
40672 (GET_NPROCS_CONF_PARSER): Likewise.
40673
40674 [BZ #17574]
40675 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
40676 weak alias of __wmemset. Use libc_hidden_weak.
40677 (__wmemset): Use libc_hidden_def.
40678 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
40679 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
40680 of wmemset.
40681
40682 [BZ #17573]
40683 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
40684 with asm name __mempcpy.
40685 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
40686
40687 [BZ #17572]
40688 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
40689 and define as weak alias of __rawmemchr.
40690 (__rawmemchr): Do not define as strong alias of rawmemchr.
40691
40692 [BZ #17571]
40693 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
40694 alias of __qsort_r.
40695 (qsort): Call __qsort_r instead of qsort_r.
40696 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
40697 (__qsort_r): Declare. Call libc_hidden_proto.
40698 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
40699 instead of qsort_r.
40700 * nscd/gai.c (__qsort_r): Define to qsort_r.
40701 * posix/tst-rfc3484.c (__qsort_r): Likewise.
40702 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
40703 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
40704
40705 [BZ #17570]
40706 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
40707 define as weak alias of __malloc_info.
40708
40709 [BZ #17584]
40710 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
40711 as weak alias of __rewinddir. Don't use libc_hidden_def.
40712 (__rewinddir): Use libc_hidden_def.
40713 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
40714 as weak alias of __rewinddir. Don't use libc_hidden_def.
40715 (__rewinddir): Use libc_hidden_def.
40716 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
40717 weak alias of __rewinddir. Don't use libc_hidden_def.
40718 (__rewinddir): Use libc_hidden_def.
40719 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
40720 (__rewinddir): Use libc_hidden_proto.
40721 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
40722 rewinddir.
40723 (__getcwd): Use __rewinddir instead of rewinddir.
40724
40725 [BZ #17583]
40726 * libio/fileno.c (fileno): Rename to __fileno and define as weak
40727 alias of __fileno. Use libc_hidden_weak.
40728 (__fileno): Use libc_hidden_def.
40729 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
40730 * libio/ftello.c (ftello): Rename to __ftello and define as weak
40731 alias of __ftello.
40732 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
40733 __ftello.
40734 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
40735 (__fread_unlocked): Define as strong alias of _IO_fread. Use
40736 libc_hidden_def.
40737 (fread_unlocked): Don't use libc_hidden_ver.
40738 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
40739 and define as weak alias of __fread_unlocked. Don't use
40740 libc_hidden_def.
40741 (__fread_unlocked): Use libc_hidden_def.
40742 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
40743 (ftello): Don't use libc_hidden_proto.
40744 (__ftello): Declare. Use libc_hidden_proto.
40745 (fread_unlocked): Don't use libc_hidden_proto.
40746 (__fread_unlocked): Declare. Use libc_hidden_proto.
40747 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
40748 and __ftello instead of fileno, fread_unlocked and ftello.
40749
40750 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
40751
40752 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
40753 GOT12.
40754 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
40755 Likewise.
40756 (_dl_start_user): Likewise.
40757 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
40758
40759 2014-11-12 Carlos O'Donell <carlos@redhat.com>
40760 Siddhesh Poyarekar <siddhesh@redhat.com>
40761
40762 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
40763 Move argv and envp down instead of moving argc up.
40764 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
40765
40766 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
40767
40768 [BZ #17506]
40769 * test-skeleton.c (main): Return successful if one of
40770 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
40771 * string/tst-strcoll-overflow.c: Define expected status.
40772
40773 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
40774
40775 [BZ #17475]
40776 * locale/iso-639.def: Define Bhili and Tulu language codes.
40777
40778 2014-11-11 Alan Hayward <alan.hayward@arm.com>
40779
40780 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
40781
40782 2014-11-10 Renlin Li <Renlin.Li@arm.com>
40783
40784 [BZ #17555]
40785 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
40786
40787 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
40788
40789 * configure.ac: Updated check of minimal required version to
40790 2.22.
40791 * manual/install.texi (Tools for Compilation): Updated version
40792 number.
40793 * configure: Regenerated.
40794 * INSTALL: Likewise.
40795
40796 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
40797
40798 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
40799 __tls_get_addr.
40800
40801 2014-11-07 Joseph Myers <joseph@codesourcery.com>
40802
40803 * include/sys/wait.h (__libc_waitpid): Remove declaration.
40804 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
40805 (__waitpid): Don't define as alias. Use libc_hidden_def not
40806 libc_hidden_weak.
40807 (waitpid): Define as alias of __waitpid.
40808 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
40809 __waitpid.
40810 (__waitpid): Don't define as alias. Use libc_hidden_def not
40811 libc_hidden_weak.
40812 (waitpid): Define as alias of __waitpid.
40813 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
40814 __libc_waitpid alias.
40815 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
40816 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
40817 Likewise.
40818 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
40819 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
40820 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
40821 alias.
40822 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
40823 __waitpid.
40824 (__waitpid): Don't define as alias. Use libc_hidden_def not
40825 libc_hidden_weak.
40826 (waitpid): Define as alias of __waitpid.
40827
40828 2014-11-06 Carlos O'Donell <carlos@redhat.com>
40829
40830 * manual/llio.texi: Add comment that write safety has been
40831 fixed in Linux.
40832
40833 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
40834 (localplt-build-dso): Add elf/ld.so.
40835 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
40836 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
40837 and free for ld.so.
40838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
40839 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
40840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
40841 Likewise.
40842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
40843 Likewise.
40844 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
40845 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
40846 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
40847 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
40848 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
40849 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
40850 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
40851 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
40852 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
40853 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
40854 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
40855
40856 2014-11-05 Joseph Myers <joseph@codesourcery.com>
40857
40858 [BZ #14132]
40859 * include/libc-symbols.h (INTUSE): Remove macro.
40860 (INTDEF): Likewise.
40861 (INTVARDEF): Likewise.
40862 (_INTVARDEF): Likewise.
40863 (INTDEF2): Likewise.
40864 (INTVARDEF2): Likewise.
40865 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
40866 rtld_hidden_def instead of INTVARDEF.
40867 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
40868 (_dl_starting_up_internal): Remove declaration.
40869 (_dl_starting_up): Use rtld_hidden_proto.
40870 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
40871 declaration.
40872 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
40873 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
40874 _dl_starting_up.
40875 * elf/dl-writev.h (_dl_writev): Likewise.
40876 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
40877 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
40878 _dl_starting_up_internal.
40879
40880 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40881
40882 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
40883 test-skeleton.c.
40884
40885 2014-11-05 Will Newton <will.newton@linaro.org>
40886
40887 * benchtests/Makefile: (bench-malloc): Add malloc thread
40888 scalability benchmark.
40889 * benchtests/bench-malloc-threads.c: New file.
40890
40891 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
40892
40893 * sysdeps/aarch64/strchrnul.S: New file.
40894
40895 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40896
40897 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
40898 definition.
40899 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
40900 Likewise.
40901 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
40902 Likewise.
40903 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
40904 Likewise.
40905 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
40906 Likewise.
40907 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
40908 Likewise.
40909
40910 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
40911
40912 * catgets/test-gencat.c: Use test-skeleton.c.
40913 * catgets/tst-catgets.c: Likewise.
40914 * csu/tst-empty.c: Likewise.
40915 * elf/tst-audit2.c: Likewise.
40916 * elf/tst-global1.c: Likewise.
40917 * elf/tst-pathopt.c: Likewise.
40918 * elf/tst-piemod1.c: Likewise.
40919 * elf/tst-tls10.c: Likewise.
40920 * elf/tst-tls11.c: Likewise.
40921 * elf/tst-tls12.c: Likewise.
40922 * gnulib/tst-gcc.c: Likewise.
40923 * iconvdata/tst-e2big.c: Likewise.
40924 * iconvdata/tst-loading.c: Likewise.
40925 * iconv/tst-iconv1.c: Likewise.
40926 * iconv/tst-iconv2.c: Likewise.
40927 * inet/test-inet6_opt.c: Likewise.
40928 * inet/tst-gethnm.c: Likewise.
40929 * inet/tst-network.c: Likewise.
40930 * inet/tst-ntoa.c: Likewise.
40931 * intl/tst-codeset.c: Likewise.
40932 * intl/tst-gettext2.c: Likewise.
40933 * intl/tst-gettext3.c: Likewise.
40934 * intl/tst-ngettext.c: Likewise.
40935 * intl/tst-translit.c: Likewise.
40936 * io/test-stat.c: Likewise.
40937 * libio/test-fmemopen.c: Likewise.
40938 * libio/tst-freopen.c: Likewise.
40939 * libio/tst-sscanf.c: Likewise.
40940 * libio/tst-ungetwc1.c: Likewise.
40941 * libio/tst-ungetwc2.c: Likewise.
40942 * libio/tst-widetext.c: Likewise.
40943 * localedata/tst-ctype.c: Likewise.
40944 * localedata/tst-digits.c: Likewise.
40945 * localedata/tst-leaks.c: Likewise.
40946 * localedata/tst-mbswcs1.c: Likewise.
40947 * localedata/tst-mbswcs2.c: Likewise.
40948 * localedata/tst-mbswcs3.c: Likewise.
40949 * localedata/tst-mbswcs4.c: Likewise.
40950 * localedata/tst-mbswcs5.c: Likewise.
40951 * localedata/tst-setlocale.c: Likewise.
40952 * localedata/tst-trans.c: Likewise.
40953 * localedata/tst-wctype.c: Likewise.
40954 * localedata/tst-xlocale1.c: Likewise.
40955 * login/tst-grantpt.c: Likewise.
40956 * malloc/tst-calloc.c: Likewise.
40957 * malloc/tst-malloc.c: Likewise.
40958 * malloc/tst-mallocstate.c: Likewise.
40959 * malloc/tst-mcheck.c: Likewise.
40960 * malloc/tst-mtrace.c: Likewise.
40961 * malloc/tst-obstack.c: Likewise.
40962 * math/atest-exp2.c: Likewise.
40963 * math/atest-exp.c: Likewise.
40964 * math/atest-sincos.c: Likewise.
40965 * math/test-matherr.c: Likewise.
40966 * math/test-misc.c: Likewise.
40967 * math/test-powl.c: Likewise.
40968 * math/tst-definitions.c: Likewise.
40969 * misc/tst-dirname.c: Likewise.
40970 * misc/tst-efgcvt.c: Likewise.
40971 * misc/tst-fdset.c: Likewise.
40972 * misc/tst-hsearch.c: Likewise.
40973 * misc/tst-mntent2.c: Likewise.
40974 * nptl/tst-sem7.c: Likewise.
40975 * nptl/tst-sem8.c: Likewise.
40976 * nptl/tst-sem9.c: Likewise.
40977 * nss/test-netdb.c: Likewise.
40978 * posix/tst-fnmatch.c: Likewise.
40979 * posix/tst-getlogin.c: Likewise.
40980 * posix/tst-gnuglob.c: Likewise.
40981 * posix/tst-mmap.c: Likewise.
40982 * pwd/tst-getpw.c: Likewise.
40983 * resolv/tst-inet_ntop.c: Likewise.
40984 * rt/tst-timer.c: Likewise.
40985 * stdio-common/test-fseek.c: Likewise.
40986 * stdio-common/test-popen.c: Likewise.
40987 * stdio-common/test-vfprintf.c: Likewise.
40988 * stdio-common/tst-cookie.c: Likewise.
40989 * stdio-common/tst-fileno.c: Likewise.
40990 * stdio-common/tst-gets.c: Likewise.
40991 * stdio-common/tst-obprintf.c: Likewise.
40992 * stdio-common/tst-perror.c: Likewise.
40993 * stdio-common/tst-sprintf2.c: Likewise.
40994 * stdio-common/tst-sprintf3.c: Likewise.
40995 * stdio-common/tst-sprintf.c: Likewise.
40996 * stdio-common/tst-swprintf.c: Likewise.
40997 * stdio-common/tst-tmpnam.c: Likewise.
40998 * stdio-common/tst-unbputc.c: Likewise.
40999 * stdio-common/tst-wc-printf.c: Likewise.
41000 * stdlib/tst-environ.c: Likewise.
41001 * stdlib/tst-fmtmsg.c: Likewise.
41002 * stdlib/tst-limits.c: Likewise.
41003 * stdlib/tst-rand48-2.c: Likewise.
41004 * stdlib/tst-rand48.c: Likewise.
41005 * stdlib/tst-random2.c: Likewise.
41006 * stdlib/tst-random.c: Likewise.
41007 * stdlib/tst-strtol.c: Likewise.
41008 * stdlib/tst-strtoll.c: Likewise.
41009 * stdlib/tst-tls-atexit.c: Likewise.
41010 * stdlib/tst-xpg-basename.c: Likewise.
41011 * string/test-ffs.c: Likewise.
41012 * string/tst-bswap.c: Likewise.
41013 * string/tst-inlcall.c: Likewise.
41014 * string/tst-strtok.c: Likewise.
41015 * string/tst-strxfrm.c: Likewise.
41016 * sysdeps/x86_64/tst-audit10.c: Likewise.
41017 * sysdeps/x86_64/tst-audit3.c: Likewise.
41018 * sysdeps/x86_64/tst-audit4.c: Likewise.
41019 * sysdeps/x86_64/tst-audit5.c: Likewise.
41020 * time/tst-ftime_l.c: Likewise.
41021 * time/tst-getdate.c: Likewise.
41022 * time/tst-mktime3.c: Likewise.
41023 * time/tst-mktime.c: Likewise.
41024 * time/tst-posixtz.c: Likewise.
41025 * time/tst-strptime2.c: Likewise.
41026 * time/tst-strptime3.c: Likewise.
41027 * wcsmbs/tst-btowc.c: Likewise.
41028 * wcsmbs/tst-mbrtowc.c: Likewise.
41029 * wcsmbs/tst-mbsrtowcs.c: Likewise.
41030 * wcsmbs/tst-wchar-h.c: Likewise.
41031 * wcsmbs/tst-wcpncpy.c: Likewise.
41032 * wcsmbs/tst-wcrtomb.c: Likewise.
41033 * wcsmbs/tst-wcsnlen.c: Likewise.
41034 * wcsmbs/tst-wcstof.c: Likewise.
41035
41036 2014-11-04 Joseph Myers <joseph@codesourcery.com>
41037
41038 [BZ #14132]
41039 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
41040 INTDEF.
41041 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
41042 declaration.
41043 (_dl_mcount): Use rtld_hidden_proto.
41044 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
41045 _dl_mcount.
41046 * elf/rtld.c (_rtld_global_ro): Likewise.
41047
41048 [BZ #14132]
41049 * elf/dl-init.c (_dl_init): Don't use INTDEF.
41050 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
41051 of _dl_init_internal.
41052 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
41053 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
41054 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
41055 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
41056 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
41057 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
41058 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
41059 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
41060 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
41061 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
41062 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
41063 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
41064 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41065 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41066 * sysdeps/tile/dl-start.S (_start): Likewise.
41067 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
41068 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
41069
41070 [BZ #14132]
41071 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
41072 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
41073 (rtld_progname): Make macro definition unconditional.
41074 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
41075 INTDEF.
41076 (dlmopen_doit): Do not use INTUSE with _dl_argv.
41077 (dl_main): Likewise.
41078 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
41079 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
41080 instead of _dl_argv_internal.
41081 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41082 __GI__dl_argv instead of INTUSE(_dl_argv).
41083 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
41084 __GI__dl_argv instead of _dl_argv_internal.
41085
41086 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
41087 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
41088 macro.
41089 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
41090 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
41091 New macro.
41092 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
41093 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
41094 macro.
41095 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
41096 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
41097
41098 2014-11-04 Andreas Schwab <schwab@suse.de>
41099
41100 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
41101
41102 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41103
41104 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
41105 mtvsrd instruction in binary form.
41106
41107 2014-11-03 Andreas Schwab <schwab@suse.de>
41108
41109 [BZ #17522]
41110 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
41111 for less than MB_LEN_MAX use a local buffer of that size.
41112 * libio/tst-fputws.c: New file.
41113 * libio/Makefile (tests): Add tst-fputws.
41114
41115 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
41116
41117 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
41118 the size of the fpu_fr.fpu_dregs[] array.
41119
41120 2014-11-01 Joseph Myers <joseph@codesourcery.com>
41121
41122 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
41123 (__nanosleep): Do not define as alias.
41124 (nanosleep): Define as alias of __nanosleep.
41125 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
41126 __libc_nanosleep name.
41127
41128 2014-10-31 Joseph Myers <joseph@codesourcery.com>
41129
41130 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
41131 install.texi in comment.
41132
41133 2014-10-31 Torvald Riegel <triegel@redhat.com>
41134
41135 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
41136 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
41137 ... add here and use lwsync or sync ...
41138 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
41139 ... and add here using lwsync.
41140
41141 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
41142
41143 * elf/dl-machine-reject-phdr.h: New file.
41144 * elf/dl-load.c: #include that.
41145 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
41146 if that returned true.
41147
41148 2014-10-31 Roland McGrath <roland@hack.frob.com>
41149
41150 [BZ #17496]
41151 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
41152 gen-as-const-headers chunk. Add a big scare comment after the last
41153 safe place to touch before-compile.
41154
41155 2014-10-31 Joseph Myers <joseph@codesourcery.com>
41156
41157 * manual/install.texi (Tools for Compilation): Update autoconf
41158 version requirements.
41159 * INSTALL: Regenerated.
41160
41161 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
41162 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
41163 (__libc_pselect): Likewise.
41164
41165 [BZ #14138]
41166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
41167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41170
41171 2014-10-31 Torvald Riegel <triegel@redhat.com>
41172
41173 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
41174 correct barrier instruction.
41175 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
41176 Likewise.
41177 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
41178 Likewise.
41179
41180 2014-10-30 Roland McGrath <roland@hack.frob.com>
41181
41182 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
41183 after defining inlines. Instead, just use parens to defeat macro
41184 expansion of __isctype in its declaration.
41185
41186 2014-10-30 Joseph Myers <joseph@codesourcery.com>
41187
41188 * include/sys/uio.h (__libc_readv): Remove declaration.
41189 (__libc_writev): Likewise.
41190 * misc/readv.c (__libc_readv): Rename to __readv.
41191 (__readv): Do not define as alias.
41192 (readv): Define as alias of __readv.
41193 * misc/writev.c (__libc_writev): Rename to __writev.
41194 (__writev): Do not define as alias.
41195 (writev): Define as alias of __writev.
41196 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
41197 (__readv): Do not define as alias.
41198 (readv): Define unconditionally as alias of __readv.
41199 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
41200 (__writev): Do not define as alias.
41201 (writev): Define unconditionally as alias of __writev.
41202 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
41203 name.
41204 (writev): Do not define __libc_writev name.
41205
41206 2014-10-30 Roland McGrath <roland@hack.frob.com>
41207
41208 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
41209 (convert_charseq): New function, broken out of ...
41210 (use_from_charmap): ... here. Call it.
41211 (use_to_charmap): Use convert_charseq and free instead of duplicating
41212 its code with a variable-length stack struct.
41213
41214 2014-10-30 Joseph Myers <joseph@codesourcery.com>
41215
41216 * include/fcntl.h (__libc_creat): Remove declaration.
41217 * io/creat.c (__libc_creat): Rename to creat.
41218 (creat): Do not define as alias.
41219 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
41220 of creat instead of __libc_creat.
41221 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
41222 to creat.
41223 (creat): Do not define as alias.
41224 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
41225 __libc_creat.
41226 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
41227 __libc_creat name.
41228 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
41229 Likewise.
41230
41231 2014-10-29 Carlos O'Donell <carlos@redhat.com>
41232
41233 * manual/llio.texi: Add comments discussing why write() may be
41234 considered MT-unsafe on Linux.
41235
41236 2014-10-28 Carlos O'Donell <carlos@redhat.com>
41237
41238 * dl-load.c (local_strdup): Remove.
41239 (expand_dynamic_string_token): Use __strdup.
41240 (decompose_rpath): Likewise.
41241 (_dl_map_object): Likewise.
41242
41243 2014-10-28 Joseph Myers <joseph@codesourcery.com>
41244
41245 [BZ #14132]
41246 * sysdeps/generic/unwind-dw2-fde.c
41247 (__register_frame_info_bases_internal): Do not declare.
41248 (__register_frame_info_table_bases_internal): Likewise.
41249 (__deregister_frame_info_bases_internal): Likewise.
41250 (__register_frame_info_bases): Declare and use hidden_proto before
41251 definition. Use hidden_def instead of INTDEF.
41252 (__register_frame_info_table_bases): Likewise.
41253 (__deregister_frame_info_bases): Likewise.
41254 (__register_frame_info): Do not use INTUSE.
41255 (__register_frame): Likewise.
41256 (__register_frame_info_table): Likewise.
41257 (__register_frame_table): Likewise.
41258 (__deregister_frame_info): Likewise.
41259 (__deregister_frame): Likewise.
41260
41261 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
41262
41263 * sysdeps/unix/sysv/linux/arm/kernel-features.h
41264 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
41265 not undefine.
41266 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
41267 Likewise.
41268 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
41269 Likewise.
41270
41271 2014-10-27 Joseph Myers <joseph@codesourcery.com>
41272
41273 [BZ #14138]
41274 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
41275 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
41276 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
41277 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
41278 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
41279 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
41280 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
41281 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
41282 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
41283 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
41284 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
41285 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
41286 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
41287 syscall.
41288 (setfsuid): Likewise.
41289 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
41290 (setfsuid): Likewise.
41291 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
41292 (setfsuid): Likewise.
41293 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
41294 Likewise.
41295 (setfsuid): Likewise.
41296 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
41297 (setfsuid): Likewise.
41298 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
41299 Likewise.
41300 (setfsuid): Likewise.
41301
41302 2014-10-27 Andreas Schwab <schwab@suse.de>
41303
41304 [BZ #17501]
41305 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
41306 check for Slow_SSE4_2 feature bit.
41307 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
41308 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
41309 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
41310 Likewise. Fix check for Fast_Unaligned_Load feature bit.
41311
41312 2014-10-24 Roland McGrath <roland@hack.frob.com>
41313
41314 * configure.ac: Validate compiler version with a empirical test of
41315 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
41316 $CC -v output.
41317 * configure: Regenerated.
41318
41319 * inet/htons.c (htons): Prototypify.
41320 * inet/htonl.c (htonl): Likewise.
41321
41322 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
41323
41324 * string/strncat.c (strncat): Improve performance by using strlen.
41325
41326 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
41327
41328 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
41329
41330 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
41331
41332 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
41333 Call libc_fetestexcept_aarch64.
41334
41335 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
41336
41337 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
41338 Call libc_feholdexcept_aarch64.
41339
41340 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
41341
41342 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
41343 Call get_rounding_mode.
41344
41345 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
41346
41347 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
41348 Simplify logic.
41349
41350 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
41351
41352 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
41353 Simplify logic.
41354
41355 2014-10-24 Joseph Myers <joseph@codesourcery.com>
41356
41357 [BZ #14138]
41358 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
41359 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
41360 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
41361 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
41362 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
41363 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
41364 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
41365 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
41366 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
41367 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
41368 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
41369 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
41370 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
41371 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
41372 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
41373 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
41374 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
41375 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
41376 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
41377 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
41378 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
41379 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
41380 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
41381 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
41382 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
41383 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
41384 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
41385 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
41386 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
41387 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
41388 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
41389 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
41390 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
41391 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
41392 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
41393 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
41394 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
41395 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
41396 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
41397 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
41398 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
41399 syscall.
41400 (geteuid): Likewise.
41401 (getgid): Likewise.
41402 (getuid): Likewise.
41403 (getresgid): Likewise.
41404 (getresuid): Likewise.
41405 (getgroups): Likewise.
41406 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
41407 (geteuid): Likewise.
41408 (getgid): Likewise.
41409 (getuid): Likewise.
41410 (getresgid): Likewise.
41411 (getresuid): Likewise.
41412 (getgroups): Likewise.
41413 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
41414 (geteuid): Likewise.
41415 (getgid): Likewise.
41416 (getuid): Likewise.
41417 (getresgid): Likewise.
41418 (getresuid): Likewise.
41419 (getgroups): Likewise.
41420 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
41421 Likewise.
41422 (geteuid): Likewise.
41423 (getgid): Likewise.
41424 (getuid): Likewise.
41425 (getresgid): Likewise.
41426 (getresuid): Likewise.
41427 (getgroups): Likewise.
41428 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
41429 (geteuid): Likewise.
41430 (getgid): Likewise.
41431 (getuid): Likewise.
41432 (getresgid): Likewise.
41433 (getresuid): Likewise.
41434 (getgroups): Likewise.
41435 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
41436 Likewise.
41437 (geteuid): Likewise.
41438 (getgid): Likewise.
41439 (getuid): Likewise.
41440 (getgroups): Likewise.
41441
41442 [BZ #14138]
41443 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
41444 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
41445 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
41446 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
41447 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
41448 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
41449 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
41450 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
41451 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
41452 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
41453 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
41454 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
41455 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
41456 __chown.
41457 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
41458 (lchown): Likewise.
41459 (fchown): Likewise.
41460 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
41461 Likewise.
41462 (lchown): Likewise.
41463 (fchown): Likewise.
41464 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
41465 (lchown): Likewise.
41466 (fchown): Likewise.
41467 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
41468 Likewise.
41469 (lchown): Likewise.
41470 (fchown): Likewise.
41471
41472 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
41473
41474 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
41475 Simplify logic.
41476
41477 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
41478
41479 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
41480 Cleanup logic.
41481
41482 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
41483
41484 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
41485 Remove unused include.
41486
41487 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
41488
41489 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
41490 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
41491 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
41492 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
41493
41494 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
41495 Helge Deller <deller@gmx.de>
41496
41497 [BZ #17508]
41498 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
41499 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
41500 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
41501
41502 2014-10-23 Joseph Myers <joseph@codesourcery.com>
41503
41504 [BZ #14132]
41505 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
41506 Remove macro definition.
41507 (__ashrdi3_v_glibc20): Likewise.
41508 (__lshrdi3_v_glibc20): Likewise.
41509 (__cmpdi2_v_glibc20): Likewise.
41510 (__ucmpdi2_v_glibc20): Likewise.
41511 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
41512 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
41513 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
41514 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
41515 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
41516 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
41517
41518 2014-10-22 Roland McGrath <roland@hack.frob.com>
41519
41520 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
41521 old GNU extension [0] syntax.
41522 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
41523 alloca rather than an array member with variable length.
41524 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
41525 * nscd/nscd.c (invalidate_db): New function, broken out of ...
41526 (parse_opt): ... here. Likewise use alloca there.
41527 Validate the -i argument before checking for rootness.
41528 (send_shutdown): New function, broken out of ...
41529 (parse_opt): ... here.
41530
41531 2014-10-22 Roland McGrath <roland@hack.frob.com>
41532
41533 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
41534 macro to get at the _rt_local_ro field.
41535 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
41536 ([PIC] case) or _dl_hwcap ([!PIC] case).
41537 * sysdeps/arm/setjmp.S: Likewise.
41538
41539 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
41540 * sysdeps/arm/configure.ac: New check to define it.
41541 * sysdeps/arm/configure: Regenerated.
41542 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
41543 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
41544 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
41545 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
41546 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
41547 Use move/movt pair instead of a load.
41548 (LDST_GLOBAL): Macro removed.
41549 (LDR_GLOBAL): New macro replaces it.
41550 (LDR_HIDDEN): New macro.
41551 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
41552 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
41553
41554 * setjmp/tst-setjmp-static.c: New file.
41555 * setjmp/Makefile (tests): Add it.
41556 (tests-static): New variable.
41557
41558 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
41559
41560 [BZ #17485]
41561 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
41562
41563 2014-10-21 Joseph Myers <joseph@codesourcery.com>
41564
41565 [BZ #14132]
41566 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
41567
41568 2014-10-21 Roland McGrath <roland@hack.frob.com>
41569
41570 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
41571
41572 2014-10-20 Roland McGrath <roland@hack.frob.com>
41573
41574 * io/fts.c (dirent_not_directory): New function.
41575 (fts_build): Call it.
41576
41577 2014-10-20 Roland McGrath <roland@hack.frob.com>
41578
41579 * nptl/version.c (__nptl_main): Use normal __write rather than
41580 INTERNAL_SYSCALL.
41581 (banner): Update copyright years.
41582
41583 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
41584 gettimeofday.
41585 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
41586 * nptl/pthread_cond_timedwait.c: Likewise.
41587 * nptl/pthread_mutex_timedlock.c: Likewise.
41588 * nptl/sem_timedwait.c: Likewise.
41589
41590 * sysdeps/nptl/bits/libc-lock.h
41591 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
41592 (__libc_lock_init_recursive): Return void, not 0.
41593 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
41594 (__libc_rwlock_init): Likewise.
41595 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
41596
41597 2014-10-20 Torvald Riegel <triegel@redhat.com>
41598
41599 [BZ #15215]
41600 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
41601 (__pthread_once_slow): ... here.
41602 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
41603 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
41604
41605 2014-10-20 Torvald Riegel <triegel@redhat.com>
41606
41607 [BZ #15215]
41608 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
41609 __PTHREAD_ONCE_FORK_GEN_INCR): New.
41610 * sysdeps/nptl/fork.c (__libc_fork): Use them.
41611 * nptl/pthread_once.c (__pthread_once): Likewise.
41612 Update comments.
41613
41614 2014-10-20 Joseph Myers <joseph@codesourcery.com>
41615
41616 [BZ #14138]
41617 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
41618 name.
41619 (writev): Use __libc_writev as strong name.
41620 * sysdeps/unix/sysv/linux/readv.c: Remove file.
41621 * sysdeps/unix/sysv/linux/writev.c: Likewise.
41622
41623 2014-10-17 Roland McGrath <roland@hack.frob.com>
41624
41625 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
41626
41627 * sysdeps/i386/nptl/tls.h
41628 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
41629 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
41630 New macros.
41631 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
41632 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
41633 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
41634 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
41635 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
41636 Call CHECK_THREAD_SYSINFO instead of doing an assert.
41637
41638 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
41639 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
41640 on [__NR_futex].
41641 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
41642 broken out of ...
41643 (__pthread_mutex_init): ... here. Call it.
41644 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
41645 Conditionalize PI cases on [__NR_futex].
41646 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
41647 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
41648 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
41649
41650 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
41651 conditional on [SIGSETXID].
41652 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
41653 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
41654 is defined. Likewise for SIGSETXID.
41655 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
41656 Conditionalize definitions on [SIGSETXID].
41657 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
41658 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
41659 unblocking on [SIGCANCEL].
41660
41661 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
41662 [__NR_set_robust_list].
41663
41664 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
41665
41666 * string/strcoll_l.c (get_next_seq): Fix up formatting.
41667 (do_compare): Likewise.
41668
41669 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
41670
41671 [BZ #15884]
41672 * string/strcoll_l.c: Don't include stdio.h.
41673 (coll_seq): Remove members idxarr and rulearr.
41674 (get_next_seq_cached): Remove function.
41675 (get_next_seq): Likewise.
41676 (get_next_seq_nocache): Rename to get_next_seq.
41677 (do_compare): Remove function.
41678 (do_compare_nocache): Rename to do_compare.
41679 (STRCOLL): Remove weight and rules cache.
41680
41681 2014-10-16 Roland McGrath <roland@hack.frob.com>
41682
41683 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
41684 * sysdeps/arm/sfp-machine.h: ... to here.
41685 * sysdeps/arm/Implies: Remove arm/soft-fp.
41686
41687 2014-10-14 Joseph Myers <joseph@codesourcery.com>
41688
41689 * conform/data/sys/utsname.h-data (*_t): Allow.
41690 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
41691 [POSIX] (WEXITED): Do not expect constant.
41692 [POSIX] (WSTOPPED): Likewise.
41693 [POSIX] (WNOHANG): Likewise.
41694 [POSIX] (WNOWAIT): Likewise.
41695 [POSIX] (siginfo_t): Do not expect type or elements.
41696 [POSIX] (pid_t): Do not expect type.
41697 [POSIX] (signal.h): Do not allow header.
41698 [POSIX] (sys/resource.h): Likewise.
41699 [POSIX] (si_*): Do not allow pattern.
41700 [POSIX] (W*): Likewise.
41701 [POSIX] (P_*): Likewise.
41702 [POSIX] (BUS_*): Likewise.
41703 [POSIX] (CLD_*): Likewise.
41704 [POSIX] (FPE_*): Likewise.
41705 [POSIX] (ILL_*): Likewise.
41706 [POSIX] (POLL_*): Likewise.
41707 [POSIX] (SEGV_*): Likewise.
41708 [POSIX] (SI_*): Likewise.
41709 [POSIX] (TRAP_*): Likewise.
41710 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
41711 variable.
41712
41713 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
41714
41715 [BZ #12926]
41716 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
41717 infinite loop when __recvmsg returns 0.
41718
41719 2014-10-10 Joseph Myers <joseph@codesourcery.com>
41720
41721 * CANCEL-FCT-WAIVE: Remove file.
41722 * CANCEL-FILE-WAIVE: Likewise.
41723
41724 [BZ #14132]
41725 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
41726 instead of INTVARDEF.
41727 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
41728 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
41729 rtld_hidden_data_def instead of INTVARDEF.
41730 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
41731 * elf/dl-deps.c (expand_dst): Likewise.
41732 * elf/dl-load.c (_dl_dst_count): Likewise.
41733 (_dl_dst_substitute): Likewise.
41734 (decompose_rpath): Likewise.
41735 (_dl_init_paths): Likewise.
41736 (open_path): Likewise.
41737 (_dl_map_object): Likewise.
41738 * elf/rtld.c (dl_main): Likewise.
41739 (process_dl_audit): Likewise.
41740 (process_envvars): Likewise.
41741 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
41742 Remove declaration.
41743 (__libc_enable_secure): Use rtld_hidden_proto.
41744
41745 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
41746
41747 * elf/dl-load.c
41748 (add_path): New function broken out of _dl_rtld_di_serinfo.
41749 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
41750
41751 2014-10-09 Joseph Myers <joseph@codesourcery.com>
41752
41753 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
41754 parentheses around macro arguments.
41755 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
41756 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
41757 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
41758 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
41759 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
41760 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
41761 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
41762 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
41763 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
41764 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
41765 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
41766 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
41767 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
41768 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
41769 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
41770 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
41771 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
41772 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
41773 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
41774 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
41775 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
41776 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
41777 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
41778 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
41779 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
41780 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
41781 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
41782 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
41783 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
41784 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
41785 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
41786 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
41787 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
41788 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
41789 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
41790 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
41791 Likewise.
41792 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
41793 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
41794 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
41795 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
41796 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
41797 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
41798 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
41799 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
41800 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
41801 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
41802 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
41803 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
41804 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
41805 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
41806 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
41807 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
41808 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
41809 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
41810 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
41811 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
41812 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
41813 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
41814 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
41815 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
41816 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
41817 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
41818 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
41819 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
41820 (_FP_FRAC_SRS_1): Likewise.
41821 (_FP_FRAC_CLZ_1): Likewise.
41822 (_FP_MUL_MEAT_1_imm): Likewise.
41823 (_FP_MUL_MEAT_1_wide): Likewise.
41824 (_FP_MUL_MEAT_1_hard): Likewise.
41825 (_FP_SQRT_MEAT_1): Likewise.
41826 (_FP_FRAC_ASSEMBLE_1): Likewise.
41827 (_FP_FRAC_DISASSEMBLE_1): Likewise.
41828 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
41829 (__FP_CLZ_2): Likewise.
41830 (_FP_MUL_MEAT_2_wide): Likewise.
41831 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
41832 (_FP_MUL_MEAT_2_gmp): Likewise.
41833 (_FP_MUL_MEAT_2_120_240_double): Likewise.
41834 (_FP_SQRT_MEAT_2): Likewise.
41835 (_FP_FRAC_ASSEMBLE_2): Likewise.
41836 (_FP_FRAC_DISASSEMBLE_2): Likewise.
41837 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
41838 (_FP_FRAC_CLZ_4): Likewise.
41839 (_FP_MUL_MEAT_4_wide): Likewise.
41840 (_FP_MUL_MEAT_4_gmp): Likewise.
41841 (_FP_SQRT_MEAT_4): Likewise.
41842 (_FP_FRAC_ASSEMBLE_4): Likewise.
41843 (_FP_FRAC_DISASSEMBLE_4): Likewise.
41844 * soft-fp/op-common.h (_FP_CMP): Likewise.
41845 (_FP_CMP_EQ): Likewise.
41846 (_FP_CMP_UNORD): Likewise.
41847 (_FP_TO_INT): Likewise.
41848 (_FP_FROM_INT): Likewise.
41849 [!__FP_CLZ] (__FP_CLZ): Likewise.
41850 (_FP_DIV_HELP_imm): Likewise.
41851 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
41852 Likewise.
41853 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
41854 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
41855 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
41856 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
41857 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
41858 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
41859 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
41860 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
41861 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
41862 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
41863 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
41864 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
41865 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
41866 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
41867 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
41868 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
41869 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
41870 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
41871 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
41872 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
41873 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
41874 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
41875 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
41876 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
41877 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
41878 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
41879 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
41880 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
41881 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
41882 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
41883 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
41884 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
41885 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
41886 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
41887 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
41888 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
41889 (FP_UNPACK_RAW_SP): Likewise.
41890 (FP_PACK_RAW_S): Likewise.
41891 (FP_PACK_RAW_SP): Likewise.
41892 (FP_UNPACK_S): Likewise.
41893 (FP_UNPACK_SP): Likewise.
41894 (FP_UNPACK_SEMIRAW_S): Likewise.
41895 (FP_UNPACK_SEMIRAW_SP): Likewise.
41896 (FP_PACK_S): Likewise.
41897 (FP_PACK_SP): Likewise.
41898 (FP_PACK_SEMIRAW_S): Likewise.
41899 (FP_PACK_SEMIRAW_SP): Likewise.
41900 (_FP_SQRT_MEAT_S): Likewise.
41901 (FP_CMP_S): Likewise.
41902 (FP_CMP_EQ_S): Likewise.
41903 (FP_CMP_UNORD_S): Likewise.
41904 (FP_TO_INT_S): Likewise.
41905 (FP_FROM_INT_S): Likewise.
41906
41907 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
41908
41909 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
41910 (FP_EX_INVALID_IMZ): Likewise.
41911 (FP_EX_INVALID_IMZ_FMA): Likewise.
41912 (FP_EX_INVALID_ISI): Likewise.
41913 (FP_EX_INVALID_ZDZ): Likewise.
41914 (FP_EX_INVALID_IDI): Likewise.
41915 (FP_EX_INVALID_SQRT): Likewise.
41916 (FP_EX_INVALID_CVI): Likewise.
41917 (FP_EX_INVALID_VC): Likewise.
41918 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
41919 "invalid" exceptions.
41920 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
41921 (_FP_ADD_INTERNAL): Likewise.
41922 (_FP_MUL): Likewise.
41923 (_FP_FMA): Likewise.
41924 (_FP_DIV): Likewise.
41925 (_FP_CMP_CHECK_NAN): Likewise.
41926 (_FP_SQRT): Likewise.
41927 (_FP_TO_INT): Likewise.
41928 (FP_EXTEND): Likewise.
41929
41930 2014-10-09 Allan McRae <allan@archlinux.org>
41931
41932 * po/fr.po: Update French translation from translation project.
41933
41934 2014-10-09 Joseph Myers <joseph@codesourcery.com>
41935
41936 [BZ #14132]
41937 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
41938 of INTDEF.
41939 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
41940 (__cxa_atexit): Use libc_hidden_proto.
41941 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
41942
41943 [BZ #14132]
41944 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
41945 declaration.
41946 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
41947 [!_ISOMAC] (__iswspace_l_internal): Likewise.
41948 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
41949 [!_ISOMAC] (__iswctype_internal): Likewise.
41950 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
41951 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
41952 alias.
41953 (fcntl): Remove __fcntl_internal alias.
41954 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
41955 __connect_internal alias.
41956 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
41957 Likewise.
41958
41959 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
41960 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
41961 FP_DENORM_ZERO.
41962 (_FP_CHECK_FLUSH_ZERO): New macro.
41963 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
41964 (_FP_CMP): Likewise.
41965 (_FP_CMP_EQ): Likewise.
41966 (_FP_TO_INT): Do not set inexact for subnormal arguments if
41967 FP_DENORM_ZERO.
41968 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
41969 (FP_TRUNC): Likewise.
41970
41971 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
41972 treated as invalid conversion, not as normal exponent.
41973
41974 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
41975 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
41976 (_FP_CMP_EQ): Likewise.
41977 (_FP_CMP_UNORD): Likewise.
41978 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
41979 (FP_CMP_EQ_D): Likewise.
41980 (FP_CMP_UNORD_D): Likewise.
41981 * soft-fp/extended.h (FP_CMP_E): Likewise.
41982 (FP_CMP_EQ_E): Likewise.
41983 (FP_CMP_UNORD_E): Likewise.
41984 * soft-fp/quad.h (FP_CMP_Q): Likewise.
41985 (FP_CMP_EQ_Q): Likewise.
41986 (FP_CMP_UNORD_Q): Likewise.
41987 * soft-fp/single.h (FP_CMP_S): Likewise.
41988 (FP_CMP_EQ_S): Likewise.
41989 (FP_CMP_UNORD_S): Likewise.
41990 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
41991 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
41992 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
41993 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
41994 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
41995 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
41996 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
41997 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
41998 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
41999 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
42000 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
42001 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
42002 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
42003 to FP_CMP_Q.
42004 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
42005 FP_CMP_Q.
42006 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
42007 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
42008 FP_CMP_EQ_Q.
42009 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
42010 FP_CMP_Q.
42011 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
42012 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
42013 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
42014 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
42015 FP_CMP_EQ_Q.
42016 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
42017 FP_CMP_Q.
42018 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
42019 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
42020 FP_CMP_EQ_Q.
42021 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
42022 FP_CMP_Q.
42023 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
42024 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
42025 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
42026 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
42027 FP_CMP_EQ_Q.
42028
42029 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
42030 a subnormal result, set the underflow exception if trapping on
42031 underflow is enabled.
42032 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
42033 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
42034 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
42035 redefine to 0.
42036 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
42037 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
42038 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
42039 * soft-fp/extendxftf2.c (__extendxftf2): Use
42040 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
42041
42042 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
42043 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
42044 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42045 FP_HANDLE_EXCEPTIONS.
42046 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
42047 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42048 FP_HANDLE_EXCEPTIONS.
42049 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
42050 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42051 FP_HANDLE_EXCEPTIONS.
42052 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
42053 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42054 FP_HANDLE_EXCEPTIONS.
42055
42056 2014-10-08 Joseph Myers <joseph@codesourcery.com>
42057
42058 [BZ #14132]
42059 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
42060 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
42061 use INTUSE.
42062 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
42063 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
42064 Remove alias.
42065 (__adjtimex): Define using libc_hidden_ver.
42066 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
42067 Remove declaration.
42068 (ntp_gettime): Call __adjtimex directly.
42069 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
42070 Remove declaration.
42071 (ntp_gettimex): Call __adjtimex directly.
42072 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
42073 __adjtimex_internal alias.
42074
42075 2014-10-08 Roland McGrath <roland@hack.frob.com>
42076
42077 [BZ #17460]
42078 * nscd/nscd.c (more_help): Rewrite list of tables collection
42079 using xstrdup and asprintf.
42080
42081 * nscd/nscd_conf.c: Remove local xstrdup declaration.
42082
42083 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
42084 Roland McGrath <roland@hack.frob.com>
42085
42086 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
42087 (do_lookup_unique): ... local function 'enter' here; update callers.
42088
42089 2014-10-06 Joseph Myers <joseph@codesourcery.com>
42090
42091 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
42092 compat_symbol calls on [SHARED].
42093 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
42094 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
42095 Remove.
42096 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42097 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
42098 (oldsetrlimit): Remove.
42099 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
42101 (lchown): New syscall entry.
42102 (oldsetrlimit): Remove.
42103 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42104 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
42105 (oldsetrlimit): Remove.
42106 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42107
42108 [BZ #14138]
42109 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
42110 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
42111 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
42112 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
42113 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
42114 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
42115 (fchown): Likewise.
42116 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
42117 (fchown): Likewise.
42118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
42119 Likewise.
42120
42121 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42122
42123 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
42124 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
42125 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
42126 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
42127 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
42128 Likewise.
42129 (__old_sem_post): Likewise.
42130
42131 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
42132
42133 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
42134 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
42135 HAVE_CLOCK_GETTIME_VSYSCALL macros.
42136 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
42137 Use INLINE_VSYSCALL macro.
42138 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
42139 __vdso_clock_gettime.
42140 * sysdeps/unix/sysv/linux/tile/init-first.c
42141 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
42142 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
42143 __vdso_clock_gettime.
42144
42145 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
42146 to set up frame more cleanly.
42147
42148 * sysdeps/tile/memcmp.c: New file.
42149
42150 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
42151
42152 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
42153 * sysdeps/tile/tilegx/strcasestr.c: New file.
42154 * sysdeps/tile/tilegx/strnlen.c: New file.
42155 * sysdeps/tile/tilegx/strstr.c: New file.
42156
42157 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
42158
42159 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
42160
42161 * nptl/tst-setuid3.c: Write errors to stdout.
42162
42163 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
42164
42165 * elf/dl-deps.c
42166 (preload): New functions broken out of _dl_map_object_deps.
42167 (_dl_map_object_deps): Remove a nested function. Update call sites.
42168
42169 2014-10-01 Joseph Myers <joseph@codesourcery.com>
42170
42171 [BZ #14138]
42172 * sysdeps/unix/sysv/linux/execve.c: Remove file.
42173 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
42174
42175 2014-10-01 Steve Ellcey <sellcey@mips.com>
42176
42177 * sysdeps/mips/strcmp.S: New.
42178
42179 2014-09-30 Joseph Myers <joseph@codesourcery.com>
42180
42181 [BZ #14138]
42182 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
42183 (linkat): Likewise.
42184 (mkdirat): Likewise.
42185 (readlinkat): Likewise.
42186 (renameat): Likewise.
42187 (symlinkat): Likewise.
42188 (unlinkat): Likewise.
42189 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
42190 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
42191 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
42192 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
42193 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
42194 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
42195 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
42196
42197 2014-09-30 Will Newton <will.newton@linaro.org>
42198
42199 * math/math.h: Define long double math functions if
42200 _LIBC_TEST is defined.
42201 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
42202
42203 * localedata/Makefile: Move assignment to tests-special
42204 into an ifdef testing run-built-tests.
42205 * timezone/Makefile: Likewise.
42206
42207 2014-09-29 Joseph Myers <joseph@codesourcery.com>
42208
42209 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
42210 with $(BASH) not $(SHELL).
42211
42212 2014-09-29 Carlos O'Donell <carlos@redhat.com>
42213 Matthew LeGendre <legendre1@llnl.gov>
42214
42215 [BZ #17411]
42216 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
42217 l_reloc_result.
42218
42219 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
42220
42221 * stdio-common/printf_fp.c
42222 (hack_digit): New function, broken out of ...
42223 (__printf_fp): ... local function here. Update call sites.
42224 hack_digit now takes an additional parameter that is a pointer
42225 to a struct of the referenced locals. Those locals moved inside
42226 the struct and references updated.
42227
42228 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
42229
42230 * aclocal.m4: Require autoconf 2.69.
42231 * configure: Regenerated.
42232 * sysdeps/aarch64/configure: Likewise.
42233 * sysdeps/alpha/configure: Likewise.
42234 * sysdeps/arm/armv7/configure: Likewise.
42235 * sysdeps/arm/configure: Likewise.
42236 * sysdeps/ia64/configure: Likewise.
42237 * sysdeps/mach/configure: Likewise.
42238 * sysdeps/mips/configure: Likewise.
42239 * sysdeps/s390/configure: Likewise.
42240 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
42241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
42242
42243 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
42244 file.
42245 * sysdeps/ia64/configure.ac: Likewise.
42246
42247 2014-09-26 Joseph Myers <joseph@codesourcery.com>
42248
42249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
42250 specify symbol version for ld.so. Do not include entry for
42251 libpthread.
42252 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42253 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
42254 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
42255
42256 [BZ #14171]
42257 * Makeconfig [$(build-shared) = yes]
42258 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
42259 makefiles.
42260 [$(build-shared) = yes && $(soversions.mk-done) = t]
42261 ($(common-objpfx)gnu/lib-names.h): Remove rule.
42262 [$(build-shared) = yes && $(soversions.mk-done) = t]
42263 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
42264 to Makerules.
42265 [$(build-shared) = yes && $(soversions.mk-done) = t]
42266 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
42267 here.
42268 [$(build-shared) = yes && $(soversions.mk-done) = t]
42269 (common-generated): Don't append gnu/lib-names.h and
42270 gnu/lib-names.stmp here.
42271 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
42272 (lib-names-h-abi): New variable.
42273 [$(build-shared) = yes && $(soversions.mk-done) = t]
42274 (lib-names-stmp-abi): Likewise.
42275 [$(build-shared) = yes && $(soversions.mk-done) = t &&
42276 abi-variants] (before-compile): Append
42277 $(common-objpfx)$(lib-names-h-abi).
42278 [$(build-shared) = yes && $(soversions.mk-done) = t &&
42279 abi-variants] (common-generated): Append gnu/lib-names.h.
42280 [$(build-shared) = yes && $(soversions.mk-done) = t &&
42281 abi-variants] (install-others-nosubdir): Depend on
42282 $(inst_includedir)/$(lib-names-h-abi).
42283 [$(build-shared) = yes && $(soversions.mk-done) = t &&
42284 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
42285 [$(build-shared) = yes && $(soversions.mk-done) = t]
42286 ($(common-objpfx)$(lib-names-h-abi)): New rule.
42287 [$(build-shared) = yes && $(soversions.mk-done) = t]
42288 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
42289 [$(build-shared) = yes && $(soversions.mk-done) = t]
42290 (common-generated): Append $(lib-names-h-abi) and
42291 $(lib-names-stmp-abi).
42292 * scripts/lib-names.awk: Do not handle multi being set.
42293 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
42294 Remove variable.
42295 (abi-lp64_be-ld-soname): Likewise.
42296 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
42297 Likewise.
42298 (abi-hard-ld-soname): Likewise.
42299 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
42300 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
42301 Remove variable.
42302 (abi-o32_hard-ld-soname): Likewise.
42303 (abi-o32_soft_2008-ld-soname): Likewise.
42304 (abi-o32_hard_2008-ld-soname): Likewise.
42305 (abi-n32_soft-ld-soname): Likewise.
42306 (abi-n32_hard-ld-soname): Likewise.
42307 (abi-n32_soft_2008-ld-soname): Likewise.
42308 (abi-n32_hard_2008-ld-soname): Likewise.
42309 (abi-n64_soft-ld-soname): Likewise.
42310 (abi-n64_hard-ld-soname): Likewise.
42311 (abi-n64_soft_2008-ld-soname): Likewise.
42312 (abi-n64_hard_2008-ld-soname): Likewise.
42313 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
42314 Likewise.
42315 (abi-64-v2-ld-soname): Likewise.
42316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
42317 ld.so entries.
42318 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
42319 variable.
42320 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
42321 entry.
42322 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
42323 variable.
42324 (abi-64-ld-soname): Likewise.
42325 (abi-x32-ld-soname): Likewise.
42326 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
42327 entry.
42328 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
42329
42330 2014-09-23 Joseph Myers <joseph@codesourcery.com>
42331
42332 [BZ #14138]
42333 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
42334 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
42335 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
42336 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
42337 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
42338 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
42339 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
42340 syscall entry for GLIBC_2.2 symbol version.
42341 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
42342 Likewise.
42343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
42344 (setrlimit): Likewise.
42345 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
42346 Likewise.
42347
42348 2014-09-23 Will Newton <will.newton@linaro.org>
42349
42350 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
42351 _LINUX_ARM_SYSDEP_H include guard too.
42352 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
42353 define.
42354
42355 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
42356
42357 * sysdeps/unix/sysv/linux/eventfd.c:
42358 Make first argument unsigned.
42359 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
42360 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
42361
42362 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
42363
42364 [BZ #16852]
42365 * socket/recvmmsg.c (recvmmsg): Drop const argument.
42366 * socket/sys/socket.h: Likewise.
42367 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
42368
42369 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42370
42371 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
42372
42373 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
42374
42375 * time/tst-ftime.c: New test.
42376 * time/Makefile (tests): Add tst-ftime.
42377
42378 2014-09-17 Joseph Myers <joseph@codesourcery.com>
42379
42380 * soft-fp/extended.h: Fix comment formatting.
42381 * soft-fp/op-1.h: Likewise.
42382 * soft-fp/op-2.h: Likewise.
42383 * soft-fp/op-4.h: Likewise.
42384 * soft-fp/op-8.h: Likewise.
42385 * soft-fp/op-common.h: Likewise.
42386 * soft-fp/soft-fp.h: Likewise.
42387
42388 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
42389
42390 2014-09-16 Joseph Myers <joseph@codesourcery.com>
42391
42392 [BZ #6652]
42393 * Makeconfig (soversions-default-setname): Remove variable.
42394 ($(common-objpfx)soversions.i): Don't pass default_setname to
42395 soversions.awk.
42396 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
42397 oldest_abi to abi-versions.awk.
42398 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
42399 * config.make.in (oldest-abi): Remove variable.
42400 * configure.ac (--enable-oldest-abi): Remove configure option.
42401 * configure: Regenerated.
42402 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
42403 text.
42404 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
42405 * scripts/soversions.awk: Do not handle default_setname variable.
42406 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
42407 variable.
42408 * sysdeps/mach/hurd/configure: Regenerated.
42409 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
42410 variable.
42411 * sysdeps/unix/sysv/linux/configure: Regenerated.
42412
42413 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42414
42415 * elf/Makefile (CFLAGS-interp.c): Remove.
42416 ($(elf-objpfx)runtime-linker.h): Generate header with linker
42417 path string.
42418 * elf/interp.c: Include generated runtime-linker.h
42419
42420 * Makerules (lib%.so): Don't include $(+interp) in
42421 prerequisites.
42422 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
42423 * dlfcn/eval.c: Remove file.
42424
42425 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
42426 macros.
42427
42428 [BZ #17266]
42429 * misc/sys/cdefs.h: Define __extern_always_inline for clang
42430 4.2 and newer.
42431
42432 [BZ #17370]
42433 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
42434
42435 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42436 Jakub Jelinek <jakub@redhat.com>
42437
42438 [BZ #17266]
42439 * libio/stdio.h: Check definition of __fortify_function
42440 instead of __extern_always_inline to include bits/stdio2.h.
42441 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
42442 check if __extern_always_inline is defined.
42443 [__USE_MISC || __USE_XOPEN]: Likewise.
42444 [__USE_ISOC99] Likewise.
42445 * misc/sys/cdefs.h (__fortify_function): Define only if
42446 __extern_always_inline is defined.
42447 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
42448 __extern_always_inline and __extern_inline only for g++-4.3
42449 and newer or a compatible gcc.
42450
42451 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
42452
42453 [BZ #17371]
42454 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
42455 last change to handle zero prefix length.
42456
42457 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
42458
42459 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
42460 _SC_REGEX_VERSION.
42461
42462 * posix/getconf.c (vars): Add _POSIX_IPV6 and
42463 _POSIX_RAW_SOCKETS.
42464
42465 2014-09-13 Allan McRae <allan@archlinux.org>
42466
42467 * po/ru.po: Update Russian translation from translation project.
42468
42469 2014-09-12 Roland McGrath <roland@hack.frob.com>
42470
42471 * locale/programs/locale.c (show_locale_vars): Inline local function
42472 into its sole call site. Clean up some style nits.
42473 (print_item): New function, broken out of ...
42474 (show_info): ... local function here. Clean up style nits.
42475
42476 * locale/programs/ld-ctype.c (set_one_default): New function, broken
42477 out of ...
42478 (set_class_defaults): ... local function set_default here.
42479 Define set_default as a macro locally to pass constant parameters.
42480 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
42481 rather than a shared local.
42482
42483 * stdlib/rpmatch.c (try): New function, broken out of ...
42484 (rpmatch): ... local function here. Also, prototypify definition.
42485
42486 2014-09-12 Joseph Myers <joseph@codesourcery.com>
42487
42488 * scripts/soversions.awk: Do not handle configuration names.
42489 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
42490 vendor and os variables to soversions.awk.
42491 * configure.ac: Do not modify gnu-* host_os.
42492 * configure: Regenerated
42493 * shlib-versions: Remove first column with configuration names.
42494 * nptl/shlib-versions: Likewise.
42495 * nptl_db/shlib-versions: Likewise.
42496 * sysdeps/hppa/shlib-versions: Likewise.
42497 * sysdeps/m68k/shlib-versions: Likewise.
42498 * sysdeps/mach/hurd/shlib-versions: Likewise.
42499 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
42500 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
42501 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
42502 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
42503 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
42504 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
42505 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
42506 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
42507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
42508 Likewise.
42509 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42510 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
42511 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
42512 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
42513 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
42514 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
42515 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
42516 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
42517
42518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
42519 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
42520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
42521 Regenerated.
42522 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
42523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
42524 Condition symbol version definitions on [HAVE_ELFV2_ABI].
42525
42526 * shlib-versions: Remove OS-specific entries. Moved to files in
42527 sysdeps.
42528 * sysdeps/mach/hurd/shlib-versions: New file.
42529 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
42530
42531 * nptl/shlib-versions: Remove architecture-specific entries.
42532 Moved to files in sysdeps.
42533 * shlib-versions: Likewise.
42534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
42535 file.
42536 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42537 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
42538 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
42539 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
42540
42541 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
42542 (UDP_NO_CHECK6_RX): Likewise.
42543
42544 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
42545
42546 * sysdeps/posix/sysconf.c (__sysconf): Spell
42547 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
42548
42549 2014-08-12 Florian Weimer <fweimer@redhat.com>
42550
42551 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
42552 loading.
42553 * iconv/Versions (__gconv_transliterate): Export for use from
42554 gconv modules.
42555 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
42556 (struct __gconv_trans_data, __gconv_trans_fct,
42557 __gconv_trans_context_fct, __gconv_trans_query_fct,
42558 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
42559 definitions.
42560 (struct __gconv_step_data): Remove __trans member.
42561 (__gconv_transliterate): Declaration moved from gconv_int.h. No
42562 longer hidden. Remove unused trans_data argument.
42563 * iconv/gconv_int.h (struct trans_struct): Remove definition.
42564 (__gconv_translit_find): Remove declaration.
42565 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
42566 prototype.
42567 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
42568 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
42569 trans_data argument. Add hidden definition.
42570 (__gconv_translit_find): Remove.
42571 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
42572 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
42573 * iconv/skeleton.c: Remove transliteration initialization.
42574 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
42575 __gconv_step_data initialization.
42576 * libio/iofwide.c (__libio_translit_): Remove.
42577 (_IO_fwide): Adjust struct __gconv_step_data initialization.
42578 * wcsmbs/btowc.c (__btowc): Likewise.
42579 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
42580 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
42581 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
42582 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
42583 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
42584 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
42585 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
42586 * wcsmbs/wctob.c (wctob): Likewise.
42587
42588 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
42589
42590 [BZ #16194]
42591 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
42592 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
42593 register usage.
42594 * sysdeps/x86/Makefile: Adjust.
42595
42596 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
42597 Roland McGrath <roland@hack.frob.com>
42598
42599 * locale/weight.h: Add include guard.
42600 (findidx): Make static rather than auto; take new parameters
42601 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
42602 * locale/weightwc.h: Likewise.
42603 * posix/fnmatch_loop.c
42604 (FCT): Change type of EXTRA from int32_t to wint_t.
42605 Don't include either header inside the function.
42606 Call FINDIDX rather than findidx, and pass new arguments.
42607 #undef FINDIDX at the end of the file.
42608 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
42609 FINDIDX before including fnmatch_loop.c for the non-wide version.
42610 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
42611 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
42612 for the wide version.
42613 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
42614 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
42615 Pass new arguments to findidx.
42616 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
42617 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
42618 Don't #include it inside the function. Pass new arguments to findidx.
42619 * posix/regex_internal.h
42620 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
42621 (re_string_elem_size_at): Don't #include it inside the function.
42622 Pass new arguments to findidx.
42623 * string/strcoll_l.c: #include WEIGHT_H at top level.
42624 (get_next_seq): Don't #include it inside the function.
42625 Pass new arguments to findidx.
42626 (get_next_seq_nocache): Likewise.
42627 * string/strxfrm_l.c: #include WEIGHT_H at top level.
42628 (STRXFRM): Don't #include it inside the function.
42629 Pass new arguments to findidx.
42630
42631 2014-09-11 Florian Weimer <fweimer@redhat.com>
42632
42633 [BZ #17344]
42634 * malloc/malloc.c (unlink): Turn asserts into a call to
42635 malloc_printerr.
42636
42637 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
42638
42639 [BZ #17370]
42640 * libio/wfileops (do_ftell_wide): Free OUT.
42641
42642 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
42643
42644 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
42645
42646 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42647
42648 [BZ #17363]
42649 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
42650 group if the current group is empty.
42651
42652 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42653
42654 * benchtests/bench-memset.c (test_main): Add more test from size
42655 from 32 to 512 bytes.
42656 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42657 Add POWER8 memset object.
42658 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42659 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
42660 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
42661 implementation.
42662 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
42663 Likewise.
42664 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
42665 multiarch POWER8 memset optimization.
42666 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
42667 POWER8 memset optimization.
42668
42669 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42670 Remove bzero multiarch objects.
42671 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
42672 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
42673 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
42674 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
42675 Remove define.
42676 [__bzero]: Redefine to specific name.
42677 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
42678 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
42679 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
42680 define.
42681 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42682 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
42683
42684 2014-09-10 Florian Weimer <fweimer@redhat.com>
42685
42686 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
42687 warnings into errors.
42688
42689 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
42690 __cxa_thread_atexit_impl prototype.
42691
42692 2014-09-09 Steve Ellcey <sellcey@mips.com>
42693
42694 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
42695 Fix capitalization of error message.
42696
42697 2014-09-09 Steve Ellcey <sellcey@mips.com>
42698
42699 * sysdeps/mips/preconfigure: Modify ABI tests.
42700
42701 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
42702
42703 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
42704
42705 2014-09-07 Roland McGrath <roland@hack.frob.com>
42706 Carlos O'Donell <carlos@systemhalted.org>
42707
42708 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
42709 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
42710 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
42711 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
42712 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
42713 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
42714 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
42715 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
42716 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
42717 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
42718 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
42719 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
42720 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
42721 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
42722 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
42723 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
42724 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
42725 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
42726 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
42727 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
42728 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
42729 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
42730 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
42731 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
42732 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
42733 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
42734 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
42735 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
42736 Deconditionalize the code that was previously under [RESET_PID].
42737 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
42738 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
42739 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
42740 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
42741 include sysdep.h.
42742
42743 2014-09-08 Allan McRae <allan@archlinux.org>
42744
42745 * version.h (RELEASE): Set to "development".
42746 (VERSION): Set to "2.20.90"
42747
42748 2014-09-07 Allan McRae <allan@archlinux.org
42749
42750 * version.h (RELEASE): Set to "stable".
42751 (VERSION): Set to "2.20"
42752 * include/features.h (__GLIBC_MINOR__): Set to 20.
42753
42754 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
42755 Liebler.
42756
42757 * po/ko.po: Update Korean translation from translation project.
42758
42759 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
42760
42761 [BZ #17354]
42762 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
42763 macro for handling signed relocations.
42764
42765 2014-09-03 Florian Weimer <fweimer@redhat.com>
42766
42767 [BZ #17325]
42768 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
42769 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
42770 assert.
42771 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
42772 * iconvdata/ibm935.c (BODY): Likewise.
42773 * iconvdata/ibm937.c (BODY): Likewise.
42774 * iconvdata/ibm939.c (BODY): Likewise.
42775 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
42776 assert.
42777 * iconvdata/Makefile (iconv-test.out): Pass module list to test
42778 script.
42779 * iconvdata/run-iconv-test.sh: New test loop for checking for
42780 decoder crashers.
42781
42782 2014-09-02 Khem Raj <raj.khem@gmail.com>
42783
42784 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
42785 libm_hidden_ver.
42786
42787 2014-09-01 Allan McRae <allan@archlinux.org>
42788
42789 * po/eo.po: Update Esperanto translation from translation project.
42790
42791 * po/ca.po: Update Catalan translation from translation project.
42792
42793 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
42794
42795 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
42796 __proc_dostop call.
42797
42798 2014-08-27 Mark Wielaard <mjw@redhat.com>
42799
42800 [BZ #17319]
42801 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
42802 to call set_thread_area instead of hand written asm.
42803 (__NR_set_thread_area): Removed define.
42804 (TLS_FLAG_WRITABLE): Likewise.
42805 (__ASSUME_SET_THREAD_AREA): Remove check.
42806 (TLS_EBX_ARG): Remove define.
42807 (TLS_LOAD_EBX): Likewise.
42808
42809 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
42810
42811 Simplify atomicity of socket creation in bind.
42812
42813 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
42814 looking up the name after linking the file.
42815
42816 2014-08-27 Allan McRae <allan@archlinux.org>
42817
42818 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42819
42820 2014-08-26 Florian Weimer <fweimer@redhat.com>
42821
42822 [BZ #17187]
42823 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
42824 trans_compare, open_translit, __gconv_translit_find):
42825 Remove module loading code.
42826
42827 2014-08-26 Allan McRae <allan@archlinux.org>
42828
42829 * po/vi.po: Update Vietnamese translation from translation project.
42830
42831 * po/uk.po: Update Ukrainian translation from translation project.
42832
42833 * po/fr.po: Update French translation from translation project.
42834
42835 * po/ru.po: Update Russian translation from translation project.
42836
42837 * po/pl.po: Update Polish translation from translation project.
42838
42839 * po/cs.po: Update Czech translation from translation project.
42840
42841 * po/de.po: Update German translation from translation project.
42842
42843 * po/bg.po: Update Bulgarian translation from translation project.
42844
42845 * po/sv.po: Update Sweedish translation from translation project.
42846
42847 * po/nl.po: Update Dutch translation from translation project.
42848
42849 * po/es.po: Update Spanish translation from translation project.
42850
42851 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
42852
42853 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
42854
42855 * catgets/Makefile (CPPFLAGS-gencat): Remove.
42856 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
42857 (CPPFLAGS-iconvconfig): Likewise.
42858 * timezone/Makefile (CPPFLAGS-zic): Likewise.
42859
42860 * include/libc-symbols.h: Remove unnecessary check for
42861 NOT_IN_libc.
42862 * nptl/pthreadP.h: Likewise.
42863 * sysdeps/aarch64/setjmp.S: Likewise.
42864 * sysdeps/alpha/setjmp.S: Likewise.
42865 * sysdeps/arm/sysdep.h: Likewise.
42866 * sysdeps/i386/setjmp.S: Likewise.
42867 * sysdeps/m68k/setjmp.c: Likewise.
42868 * sysdeps/posix/getcwd.c: Likewise.
42869 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42870 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
42871 * sysdeps/s390/s390-32/setjmp.S: Likewise.
42872 * sysdeps/s390/s390-64/setjmp.S: Likewise.
42873 * sysdeps/sh/sh3/setjmp.S: Likewise.
42874 * sysdeps/sh/sh4/setjmp.S: Likewise.
42875 * sysdeps/unix/alpha/sysdep.h: Likewise.
42876 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42877 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42878 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
42879 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42882 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42883 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42884 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42885 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42886 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42887 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42888 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42889 * sysdeps/x86_64/setjmp.S: Likewise.
42890
42891 2014-08-13 Joseph Myers <joseph@codesourcery.com>
42892
42893 [BZ #17263]
42894 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
42895 <stdint.h>.
42896 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
42897 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
42898
42899 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
42900
42901 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
42902
42903 [BZ #17262]
42904 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
42905 and __x86_64__ when disabling x87 inline functions.
42906
42907 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
42908
42909 [BZ #17259]
42910 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
42911 asm statement with __cpuid_count.
42912
42913 2014-08-12 Mike Frysinger <vapier@gentoo.org>
42914
42915 * configure.ac: Change __ehdr_start code to dereference the struct.
42916 Run readelf on the output to look for relocations.
42917 * configure: Regenerated.
42918
42919 2014-08-12 Joseph Myers <joseph@codesourcery.com>
42920
42921 [BZ #17261]
42922 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
42923 value to 0.
42924 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
42925
42926 2014-08-12 Roland McGrath <roland@hack.frob.com>
42927
42928 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
42929
42930 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
42931
42932 [BZ #16892]
42933 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
42934 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
42935
42936 2014-08-12 Sean Anderson <seanga2@gmail.com>
42937
42938 * malloc/malloc.c: Fix typo in comment.
42939
42940 2014-08-09 Allan McRae <allan@archlinux.org>
42941
42942 * Regenerate libc.po.
42943
42944 2014-08-08 Mike Frysinger <vapier@gentoo.org>
42945
42946 * intl/tst-gettext2.sh: Check every lang file for creation.
42947
42948 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
42949
42950 * sysdeps/aarch64/fpu/math_private.h
42951 (libc_feholdsetround_noex_aarch64_ctx): New function.
42952
42953 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
42954
42955 * sysdeps/arm/armv6/strcpy.S (strcpy):
42956 Fix performance issue in misaligned cases.
42957
42958 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42959
42960 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
42961 Move definition from termios.h.
42962 (struct termio): Likewise.
42963 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
42964 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
42965 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
42966 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
42967 Likewise.
42968 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
42969 Move definition to ioctl-types.h
42970 (struct termio): Likewise.
42971 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
42972 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
42973 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
42974 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
42975 Likewise.
42976
42977 2014-08-05 Richard Henderson <rth@redhat.com>
42978
42979 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
42980 exceptions.
42981 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
42982 Add fraiseexcpt.
42983 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
42984 Use __feraiseexcept.
42985 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
42986 Protect libm symbols with IS_IN_libm.
42987
42988 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
42989
42990 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
42991
42992 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
42993
42994 2014-08-04 Will Newton <will.newton@linaro.org>
42995
42996 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
42997 file.
42998
42999 2014-08-04 Mike Frysinger <vapier@gentoo.org>
43000
43001 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
43002 variants for each function.
43003
43004 2014-08-04 Roland McGrath <roland@hack.frob.com>
43005
43006 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
43007 appended ...
43008 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
43009 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
43010 appended ...
43011 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
43012 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
43013 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
43014 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
43015 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
43016 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
43017 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
43018 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
43019 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
43020 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
43021 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
43022 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
43023 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
43024 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
43025 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
43026 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
43027 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
43028 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
43029 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
43030 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
43031 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
43032 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
43033 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
43034 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
43035 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
43036 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
43037 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
43038 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
43039 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
43040 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
43041 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
43042 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
43043 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
43044 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
43045 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
43046 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
43047 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
43048 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
43049 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
43050 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
43051 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
43052 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
43053 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
43054 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
43055 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
43056 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
43057 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
43058 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
43059 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
43060 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
43061 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
43062 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
43063 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
43064 Update #include.
43065 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
43066 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
43067
43068 2014-08-04 Roland McGrath <roland@hack.frob.com>
43069
43070 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
43071 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
43072 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
43073 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
43074 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
43075 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
43076
43077 2014-08-04 Roland McGrath <roland@hack.frob.com>
43078
43079 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
43080 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
43081 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43082 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
43083
43084 2014-08-04 Roland McGrath <roland@hack.frob.com>
43085
43086 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
43087 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
43088 (__libc_vfork): Define function under this name.
43089 (__vfork): Define as an alias.
43090 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
43091 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
43092
43093 2014-08-04 Roland McGrath <roland@hack.frob.com>
43094
43095 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
43096 that was previously under [RESET_PID].
43097 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
43098
43099 2014-08-04 Andreas Schwab <schwab@suse.de>
43100
43101 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
43102
43103 2014-08-03 Mike Frysinger <vapier@gentoo.org>
43104
43105 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
43106 (main): Likewise.
43107
43108 2014-08-01 Roland McGrath <roland@hack.frob.com>
43109
43110 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
43111
43112 2014-08-01 Richard Henderon <rth@redhat.com>
43113
43114 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
43115 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
43116 typo in exact zero test.
43117 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43118 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43119 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43120
43121 2014-08-01 Roland McGrath <roland@hack.frob.com>
43122
43123 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
43124 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
43125 * sysdeps/arm/sysdep.h: ... here.
43126 [!__ASSEMBLER__]: Include <stdint.h>.
43127
43128 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
43129
43130 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
43131 (HAVE_WCTYPE_H): Likewise.
43132 (HAVE_ISWCTYPE): Likewise.
43133 (ENABLE_NLS): Likewise.
43134 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
43135 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
43136
43137 * posix/regex_internal.c: Check if DEBUG is defined and is
43138 set.
43139
43140 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
43141 (HAVE_MBSRTOWCS): Likewise.
43142 * posix/fnmatch.c: Include string.h unconditionally.
43143
43144 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
43145
43146 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
43147 reversal.
43148
43149 2014-07-31 Roland McGrath <roland@hack.frob.com>
43150
43151 * sysdeps/generic/safe-fatal.h: New file.
43152 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
43153 * nptl/forward.c: Include it.
43154 (__pthread_unwind): Use __safe_fatal as default action, rather
43155 than a bogus use of INTERNAL_SYSCALL that could never work.
43156
43157 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
43158 * configure.ac (libc_cv_builtin_trap): New test.
43159 * configure: Regenerated.
43160 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
43161 (ABORT_INSTRUCTION): Define using __builtin_trap.
43162
43163 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
43164 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
43165 * sysdeps/nptl/nptl-signals.h: New file.
43166 * nptl/pthreadP.h: Include <nptl-signals.h>.
43167
43168 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
43169
43170 * sysdeps/s390/s390-64/utf16-utf32-z9.c
43171 (ONE_DIRECTION): Define.
43172 * sysdeps/s390/s390-64/utf8-utf16-z9.c
43173 (ONE_DIRECTION): Define.
43174 * sysdeps/s390/s390-64/utf8-utf32-z9.c
43175 (ONE_DIRECTION): Define.
43176
43177 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
43178
43179 * sysdeps/s390/Makefile: Delete file.
43180 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
43181 * sysdeps/s390/__longjmp.c: Delete file.
43182 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
43183 Remove fields __flags and __reserved.
43184 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
43185 and add versioning.
43186 * sysdeps/s390/rtld-__longjmp.c: Delete file.
43187 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
43188 * sysdeps/s390/rtld-setjmp.S: Likewise.
43189 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
43190 * sysdeps/s390/s390-32/__longjmp.c: ... here.
43191 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
43192 * sysdeps/s390/s390-32/setjmp.S: ... here.
43193 Add versioning.
43194 (__sigsetjmp): Remove setting __flags field.
43195 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
43196 * sysdeps/s390/s390-64/__longjmp.c: ... here.
43197 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
43198 * sysdeps/s390/s390-64/setjmp.S: ... here.
43199 Add versioning.
43200 (__sigsetjmp): Remove setting __flags field.
43201 * sysdeps/s390/setjmp.S: Delete file.
43202 * sysdeps/s390/sigjmp.c: Likewise.
43203 * sysdeps/s390/v1-longjmp.c: Likewise.
43204 * sysdeps/s390/v1-setjmp.h: Likewise.
43205 * sysdeps/s390/v1-sigjmp.c: Likewise.
43206 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
43207 Remove v1-longjmp_chk.
43208 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
43209 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
43210 Include debug/longjmp_chk.c and add versioning.
43211 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
43212 Include nptl/pt-longjmp.c and add versioning.
43213 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
43214 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
43215 Include __longjmp.c.
43216 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
43217 Move to ...
43218 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
43219 (__getcontext): Remove setting __flags field.
43220 Add versioning.
43221 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
43222 Don't restore upper high grps.
43223 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
43224 Likewise.
43225 (__swapcontext): Remove setting uc_flags field.
43226 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
43227 Delete file.
43228 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
43229 Include __longjmp.c.
43230 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
43231 Move to ...
43232 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
43233 (__getcontext): Remove setting __flags field.
43234 Add versioning.
43235 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
43236 (__swapcontext): Remove setting uc_flags field.
43237 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
43238 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
43239 Remove fields uc_high_gprs and __reserved.
43240 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
43241 New file with reverted content.
43242 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
43243 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
43244 Regenerated.
43245 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
43246 Regenerated.
43247
43248 2014-07-31 Andreas Schwab <schwab@suse.de>
43249
43250 * config.h.in (HAVE_IFUNC): Define to 0.
43251 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
43252 definedness.
43253
43254 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
43255
43256 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43257 memmove-avx-unaligned, memcpy-avx-unaligned and
43258 mempcpy-avx-unaligned.
43259 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43260 Add tests for AVX memcpy functions.
43261 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
43262 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
43263 memcpy_chk.
43264 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
43265 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
43266 memmove_chk.
43267 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
43268 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
43269 mempcpy_chk.
43270 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
43271 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
43272 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
43273
43274 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43275
43276 [BZ #17213]
43277 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
43278 powerpc64le.
43279
43280 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
43281
43282 [BZ #16839]
43283 * manual/llio.texi: Add section about open file description locks.
43284 * manual/examples/ofdlocks.c: Example of open file description
43285 lock usage.
43286 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
43287 F_OFD_SETLK, and F_OFD_SETLKW.
43288
43289 2014-07-23 Allan McRae <allan@archlinux.org>
43290
43291 * po/es.po: Update Spanish translation from translation project.
43292
43293 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
43294
43295 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
43296
43297 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
43298
43299 [BZ #17078]
43300 * sysdeps/arm/dl-machine.h (elf_machine_rela)
43301 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
43302 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
43303
43304 2014-07-17 Joseph Myers <joseph@codesourcery.com>
43305
43306 [BZ #17088]
43307 * math/fesetenv.c (__fesetenv)
43308 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
43309 * math/feupdateenv.c (__feupdateenv)
43310 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
43311
43312 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
43313 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
43314 (__ASSUME_SOCKETCALL): Do not define.
43315
43316 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
43317 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
43318 (__ASSUME_SOCKETCALL): Do not define.
43319 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
43320 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
43321 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43322 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
43323 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43324 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
43325 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43326 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43327
43328 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
43329 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
43330 (__ASSUME_SOCKETCALL): Do not define.
43331 (__ASSUME_IPC64): Define unconditionally.
43332 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
43333 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43334 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
43335 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43336 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
43337 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43338 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
43339 Likewise.
43340
43341 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
43342 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
43343 (__ASSUME_SOCKETCALL): Do not define.
43344 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
43345 (__ASSUME_FUTEX_LOCK_PI): Likewise.
43346 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43347 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
43348 (__ASSUME_REQUEUE_PI): Define unconditionally.
43349 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
43350 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
43351 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43352 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
43353 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43354 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43355
43356 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
43357 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
43358 (__ASSUME_SOCKETCALL): Do not define.
43359 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
43360 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43361 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43362 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
43363 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43364 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43365
43366 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
43367 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
43368 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43369 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
43370 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43371 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
43372 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43373 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
43374 (__ASSUME_GETCPU_SYSCALL): Likewise.
43375
43376 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
43377 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
43378 cases for individual architectures.
43379 * sysdeps/gnu/configure: Regenerated.
43380 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
43381 LIBC_SLIBDIR_RTLDDIR.
43382 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
43383 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
43384 LIBC_SLIBDIR_RTLDDIR.
43385 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
43386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
43387 LIBC_SLIBDIR_RTLDDIR.
43388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
43389 Regenerated.
43390 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
43391 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
43392 file.
43393 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
43394 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
43395 file.
43396 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
43397 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
43398 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
43399 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
43400
43401 * sysdeps/aarch64/shlib-versions: Move to ...
43402 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
43403 * sysdeps/alpha/shlib-versions: Move to ...
43404 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
43405 * sysdeps/arm/shlib-versions: Move to ...
43406 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
43407 * sysdeps/hppa/shlib-versions: Move all contents except for
43408 libgcc_s entry to ...
43409 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
43410 entry from ...
43411 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
43412 * sysdeps/ia64/shlib-versions: Move to ...
43413 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
43414 entry from ...
43415 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
43416 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
43417 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
43418 * sysdeps/microblaze/shlib-versions: Move to ...
43419 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
43420 * sysdeps/mips/shlib-versions: Move to ...
43421 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
43422 entry from ...
43423 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
43424 * sysdeps/tile/shlib-versions: Move to ...
43425 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
43426 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
43427 from ...
43428 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
43429 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
43430 entry from ...
43431 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
43432
43433 2014-07-17 Will Newton <will.newton@linaro.org>
43434
43435 * sysdeps/arm/bits/atomic.h
43436 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
43437 (__arch_compare_and_exchange_bool_16_int): Likewise.
43438 (__arch_compare_and_exchange_bool_64_int): Likewise.
43439
43440 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
43441 into an #else block.
43442
43443 2014-07-16 Roland McGrath <roland@hack.frob.com>
43444
43445 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
43446 just Linux configurations. Test empirically that the compiler sets
43447 __ARM_EABI__, rather than using the tuple to decide.
43448 * sysdeps/arm/preconfigure: Regenerated.
43449 * sysdeps/unix/sysv/linux/arm/configure: File removed.
43450 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
43451 contents appended ...
43452 * sysdeps/arm/configure.ac: ... here.
43453 * sysdeps/arm/configure: Regenerated.
43454
43455 2014-07-15 Roland McGrath <roland@hack.frob.com>
43456
43457 * nptl/pthread_kill.c: New file.
43458 * nptl/pthread_sigmask.c: New file.
43459 * nptl/pthread_sigqueue.c: New file.
43460
43461 * sysdeps/nptl/lowlevellock.h: New file.
43462 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
43463 * sysdeps/nptl/lowlevellock-futex.h: New file.
43464
43465 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
43466 Remove dead declarations.
43467
43468 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
43469
43470 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
43471 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
43472 config-cflags-avx2.
43473 * sysdeps/x86_64/configure.ac: Likewise.
43474 * sysdeps/i386/configure: Regenerated.
43475 * sysdeps/x86_64/configure: Likewise.
43476 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43477 memset-avx2 only if config-cflags-avx2 is yes.
43478 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43479 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
43480 defined.
43481 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
43482 only if HAVE_AVX2_SUPPORT is defined.
43483 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43484
43485 2014-07-14 Alan Modra <amodra@gmail.com>
43486
43487 [BZ #17153]
43488 * elf/elf.h (DT_PPC64_NUM): Correct value.
43489 * NEWS: Add to fixed bug list.
43490
43491 2014-07-13 Jim Meyering <meyering@fb.com>
43492
43493 [BZ 17150]
43494 regex: don't deref NULL upon heap allocation failure
43495 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
43496 failure in one more place.
43497 To trigger the segfault, configure grep -with-included-regex,
43498 build it, and run these commands:
43499 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
43500
43501 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
43502
43503 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
43504
43505 2014-07-11 Richard Henderson <rth@redhat.com>
43506
43507 * sysdeps/aarch64/libm-test-ulps: Update.
43508
43509 2014-07-10 Florian Weimer <fweimer@redhat.com>
43510
43511 [BZ #17135]
43512 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
43513 * nptl/allocatestack.c (__nptl_setxid_error): New function.
43514 (__nptl_setxid): Initialize error member. Call
43515 __nptl_setxid_error.
43516 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
43517 * nptl/descr.h (struct xid_command): Add error member.
43518 * nptl/tst-setuid3.c: New file.
43519 * nptl/Makefile (tests): Add it.
43520
43521 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43522
43523 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
43524 New define.
43525 (__lll_trylock): Use __lll_base_trylock.
43526 (__lll_cond_trylock): Likewise.
43527
43528 2014-07-10 Roland McGrath <roland@hack.frob.com>
43529
43530 * nptl/pthread_create.c (start_thread): Use atomic_or and
43531 lll_futex_wake directly rather than lll_robust_dead.
43532 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
43533 (lll_robust_dead): Macro removed.
43534 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
43535 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
43536 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
43537 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43538 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43539 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
43540 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
43541 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43542 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
43543 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43544 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43545 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43546 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43547 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43548 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43549
43550 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
43551 Use atomic_compare_and_exchange_val_acq directly rather than
43552 lll_robust_trylock.
43553 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
43554 (__lll_robust_trylock, lll_robust_trylock): Removed.
43555 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
43556 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
43557 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43558 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43559 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
43560 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
43561 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43562 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
43563 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43564 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43565 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43566 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43567 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43568 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43569
43570 2014-07-02 Florian Weimer <fweimer@redhat.com>
43571
43572 * manual/locale.texi (Locale Names): New section documenting
43573 locale name syntax. Adjust menu and node chaining accordingly.
43574 (Choosing Locale): Reference Locale Names, Locale Categories.
43575 Mention setting LC_ALL=C. Reflect that name syntax is now
43576 documented.
43577 (Locale Categories): New section title. Reference Locale Names.
43578 LC_ALL is an environment variable, but not a category.
43579 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
43580 description, now in Locale Name. Reference that section. Locale
43581 name syntax is now documented.
43582
43583 2014-07-02 Florian Weimer <fweimer@redhat.com>
43584
43585 [BZ #17137]
43586 * locale/findlocale.c (name_present, valid_locale_name): New
43587 functions.
43588 (_nl_find_locale): Use the loc_name variable to store name
43589 candidates. Call name_present and valid_locale_name to check and
43590 validate locale names. Return an error if the locale is invalid.
43591
43592 2014-07-02 Florian Weimer <fweimer@redhat.com>
43593
43594 * locale/setlocale.c (setlocale): Use strdup for allocating
43595 composite name copy.
43596
43597 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43598
43599 Sync up with gnulib.
43600 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
43601 [!_LIBC && ENABLE_NLS]: Include gettext.h.
43602 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
43603 and _GL_ARG_NONNULL.
43604 [USE_UNLOCKED_IO]: Include unlocked-io.h.
43605 [!_LIBC]: Include code for Windows and Cygwin.
43606 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
43607 Include prototype for int strerror_r.
43608 [!_LIBC] (is_open): New function.
43609 (flush_stdout): New function.
43610 (print_errno_message): Use it.
43611 (error): Likewise.
43612 (error_at_line): Likewise.
43613 (error_tail) Add function attribute macros. Use
43614 __builtin_expect.
43615
43616 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
43617
43618 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
43619
43620 * io/ftw.c: Include sys/param.h unconditionally.
43621
43622 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
43623
43624 [BZ #17125]
43625 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
43626 libc_freeres_ptr.
43627 (freecache): New function to free CACHE on exit.
43628
43629 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
43630 initialization.
43631
43632 2014-07-09 David S. Miller <davem@davemloft.net>
43633
43634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43635
43636 * sysdeps/sparc/nptl/internaltypes.h: Delete.
43637 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
43638 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
43639 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
43640 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
43641 * sysdeps/sparc/nptl/sem_init.c: Likewise.
43642 * sysdeps/sparc/nptl/sem_post.c: Likewise.
43643 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
43644 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
43645 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
43646 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
43647 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
43648 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
43649
43650 2014-07-09 Andreas Schwab <schwab@suse.de>
43651
43652 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
43653 output.
43654 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
43655 (do_test): Likewise.
43656
43657 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43658
43659 2014-07-09 Will Newton <will.newton@linaro.org>
43660
43661 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
43662 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
43663 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
43664 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
43665 * sysdeps/hppa/start.S (_start): Likewise.
43666
43667 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
43668
43669 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
43670
43671 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
43672 defined.
43673
43674 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
43675
43676 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
43677 after checking that it is non-NULL.
43678
43679 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
43680
43681 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43682
43683 * sysdeps/powerpc/memmove.c: Remove file.
43684 * sysdeps/powerpc/powerpc32/power4/memcopy.h
43685 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
43686 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
43687 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
43688 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
43689 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
43690 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
43691 string memmove instead of removed powerpc one.
43692
43693 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43694 [weak_alias]: Fix compiler warning due trailing data.
43695 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
43696 [weak_alias]: Likewise.
43697 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
43698 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
43699
43700 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43701 (__libc_ifunc_impl_list): Add memmove functions.
43702
43703 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
43704
43705 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
43706 Remove code.
43707 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
43708 Likewise.
43709 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
43710 Likewise.
43711 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
43712 Likewise.
43713 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
43714 Likewise.
43715 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
43716 Likewise.
43717 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
43718 Likewise.
43719 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
43720 Likewise.
43721 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
43722 Likewise.
43723 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
43724 Likewise.
43725 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
43726 Likewise.
43727 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
43728 Likewise.
43729 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
43730 Likewise.
43731 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
43732 Likewise.
43733 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
43734 Likewise.
43735 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
43736 Likewise.
43737 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
43738 Likewise.
43739
43740 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43741
43742 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
43743 to avoid alignment traps in non-cacheable memory.
43744 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
43745
43746 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
43747 multiarch objects.
43748 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
43749 file: multiarch power7 memmove.
43750 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
43751 multiarch default memmove.
43752 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
43753 multiarch memove for powerpc32/power4.
43754
43755 * string/bcopy.c: Use full path to include memmove.c.
43756 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
43757 multiarch objects.
43758 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
43759 bcopy for powerpc64.
43760 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
43761 bcopy for powerpc64.
43762 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
43763 and memmove implementations.
43764 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
43765 optimized multiarch memmove for POWER7/powerpc64.
43766 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
43767 default multiarch memmove for powerpc64.
43768 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
43769 multiarch for powerpc64.
43770 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
43771 for POWER7/powerpc64.
43772 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
43773 memmove for POWER7/powerpc64.
43774
43775 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
43776 glibc default one.
43777
43778 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
43779 __ELF_NATIVE_CLASS equal to 64.
43780
43781 2014-07-07 Roland McGrath <roland@hack.frob.com>
43782
43783 * sysdeps/nptl/lowlevellock.h: File removed.
43784
43785 * NEWS: NPTL is no longer an add-on!
43786 * nptl/internaltypes.h: Moved ...
43787 * sysdeps/nptl/internaltypes.h: ... here.
43788 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
43789 * sysdeps/nptl/fork.c: Likewise.
43790 * sysdeps/nptl/gai_misc.h: Likewise.
43791 * sysdeps/nptl/librt-cancellation.c: Likewise.
43792 * sysdeps/nptl/jmp-unwind.c: Likewise.
43793 * sysdeps/nptl/setxid.h: Likewise.
43794 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
43795 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
43796 * sysdeps/unix/sysv/linux/arm/Implies: New file.
43797 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
43798 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
43799 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
43800 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
43801 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
43802 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
43803 * sysdeps/unix/sysv/linux/mips/Implies: New file.
43804 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
43805 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
43806 * sysdeps/unix/sysv/linux/sh/Implies: New file.
43807 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
43808 * sysdeps/unix/sysv/linux/tile/Implies: New file.
43809 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
43810 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
43811 * nptl/Makeconfig: Moved ...
43812 * sysdeps/nptl/Makeconfig: ... here.
43813 * nptl/configure: File removed.
43814 * nptl/ANNOUNCE: File removed.
43815 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
43816 * sysdeps/unix/sysv/linux/configure: Regenerated.
43817
43818 * nptl/Makefile (routines): Add libc_pthread_init,
43819 libc_multiple_threads, register-atfork and unregister-atfork.
43820 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
43821 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
43822 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
43823 pthread-pi-defines.sym, structsem.sym.
43824 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
43825 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
43826 [$(subdir) = nptl] (tests): Add tst-setgetname.
43827 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
43828 * sysdeps/unix/sysv/linux/sigaction.c: Just include
43829 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
43830 [!LIBC_SIGACTION]: Remove aliases.
43831 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
43832 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
43833 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
43834 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
43835 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
43836 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
43837 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43838 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43839 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
43840 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
43841 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
43842 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
43843 __libc_allocate_rtsig_private.
43844 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
43845 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
43846 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
43847 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
43848 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
43849 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
43850 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
43851 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
43852 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
43853 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
43854 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
43855 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
43856 * nptl/internaltypes.h: ... here.
43857 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
43858 * sysdeps/nptl/jmp-unwind.c: ... here.
43859 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
43860 * nptl/libc-lowlevellock.c: ... here.
43861 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
43862 * nptl/libc_multiple_threads.c: ... here.
43863 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
43864 * nptl/libc_pthread_init.c: ... here.
43865 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
43866 * nptl/lowlevelbarrier.sym: ... here.
43867 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
43868 * nptl/lowlevelcond.sym: ... here.
43869 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
43870 * nptl/lowlevellock.c: ... here.
43871 * nptl/lowlevellock.h: Moved ...
43872 * sysdeps/nptl/lowlevellock.h: ... here.
43873 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
43874 * nptl/lowlevelrobustlock.c: ... here.
43875 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
43876 * nptl/lowlevelrobustlock.sym: ... here.
43877 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
43878 * nptl/lowlevelrwlock.sym: ... here.
43879 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
43880 * nptl/pt-fork.c: ... here.
43881 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
43882 * nptl/pthread-pi-defines.sym: ... here.
43883 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
43884 * nptl/pthread_attr_getaffinity.c: ... here.
43885 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
43886 * nptl/pthread_attr_setaffinity.c: ... here.
43887 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
43888 * nptl/pthread_mutex_cond_lock.c: ... here.
43889 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
43890 Update #include.
43891 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
43892 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
43893 * nptl/pthread_once.c: ... here, replacing old file.
43894 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
43895 * nptl/pthread_yield.c: ... here.
43896 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
43897 * nptl/register-atfork.c: ... here.
43898 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
43899 * nptl/sem_post.c: ... here.
43900 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
43901 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
43902 * nptl/sem_timedwait.c: ... here.
43903 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
43904 * nptl/sem_trywait.c: ... here.
43905 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
43906 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
43907 * nptl/sem_wait.c: ... here.
43908 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
43909 * nptl/structsem.sym: ... here.
43910 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
43911 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
43912 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
43913 * nptl/unregister-atfork.c: ... here.
43914 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
43915 * nptl/unwindbuf.sym: ... here.
43916 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
43917 * sysdeps/nptl/fork.c: ... here.
43918 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
43919 * sysdeps/nptl/fork.h: ... here.
43920 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
43921 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
43922 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
43923 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
43924 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
43925 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
43926 * sysdeps/unix/sysv/linux/getpid.c: ... here.
43927 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
43928 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
43929 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
43930 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
43931 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
43932 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
43933 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
43934 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
43935 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
43936 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
43937 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
43938 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
43939 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
43940 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
43941 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
43942 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
43943 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
43944 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
43945 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
43946 * sysdeps/unix/sysv/linux/raise.c: ... here.
43947 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
43948 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
43949 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
43950 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
43951 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
43952 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
43953 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
43954 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
43955 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
43956 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
43957 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
43958 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
43959 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
43960 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
43961 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
43962
43963 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
43964
43965 * sysdeps/generic/memcopy.h: Add comment for
43966 MEMCPY_OK_FOR_FWD_MEMMOVE.
43967
43968 2014-07-04 Will Newton <will.newton@linaro.org>
43969
43970 * string/memchr.c: Merge from gnulib.
43971 [_LIBC]: Remove conditionals.
43972 (__ptr_t): Remove define.
43973 (LONG_MAX_32_BITS): Likewise.
43974 (LONG_MAX): Likewise.
43975 (MEMCHR): Use ANSI prototype and optimize algorithm.
43976
43977 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
43978
43979 2014-07-03 Roland McGrath <roland@hack.frob.com>
43980
43981 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
43982 (lll_futex_timed_wait_bitset): Fix syscall argument count.
43983
43984 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
43985 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
43986 in a bare environment with no <stdlib.h> installed.
43987 * sysdeps/nptl/configure: Regenerated.
43988
43989 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
43990
43991 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
43992 AC_EGREP_CPP for kernel header checks, so they only succeed if
43993 including <linux/version.h> actually works right.
43994 * sysdeps/unix/sysv/linux/configure: Regenerated.
43995
43996 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
43997 value so it's not diagnosed as unused.
43998
43999 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
44000 thing) with "ifeq ($(subdir),rt)".
44001
44002 2014-07-03 Richard Henderson <rth@redhat.com>
44003
44004 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
44005 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
44006 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
44007
44008 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
44009 (math_force_eval): New.
44010
44011 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
44012 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
44013
44014 * sysdeps/alpha/fpu/s_round.c: Remove file.
44015 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
44016
44017 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
44018 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
44019 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
44020 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
44021 (_dl_start, print_statistics): Likewise.
44022 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
44023 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
44024
44025 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44026 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44027 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44028 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44029 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44030 (HP_SMALL_TIMING_AVAIL): Define.
44031 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44032 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
44033 (HP_SMALL_TIMING_AVAIL): Define.
44034 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44035 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44036
44037 * sysdeps/aarch64/hp-timing.h: New file.
44038
44039 * sysdeps/generic/hp-timing.h: Remove dead comment.
44040 * sysdeps/generic/hp-timing-common.h: New file.
44041 * sysdeps/alpha/hp-timing.h: Include it.
44042 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
44043 * sysdeps/i386/i686/hp-timing.h: Likewise.
44044 * sysdeps/ia64/hp-timing.h: Likewise.
44045 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44046 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44047 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44048 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44049 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
44050 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
44051 (hp_timing_t): New.
44052
44053 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
44054 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
44055 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
44056 * elf/rtld.c (_dl_start_final): Likewise.
44057 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
44058 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44059 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44060 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44061 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44062 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44063 (HP_TIMING_DIFF_INIT): Remove.
44064 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44065 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
44066 (HP_TIMING_DIFF_INIT): Remove.
44067 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44068 * sysdeps/i386/i686/hp-timing.c: Remove file.
44069 * sysdeps/x86_64/hp-timing.c: Remove file.
44070 * sysdeps/ia64/hp-timing.c: Remove file.
44071 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
44072 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
44073 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
44074 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
44075
44076 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
44077 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
44078 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
44079 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44080 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44081 (HP_TIMING_ACCUM): Remove.
44082 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44083 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
44084 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44085
44086 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
44087 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
44088 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
44089 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
44090 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
44091 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
44092 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
44093 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
44094
44095 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
44096
44097 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
44098
44099 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
44100
44101 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
44102
44103 Sync up with gettext.
44104 * intl/loadmsgcat.c: Define O_BINARY if not defined.
44105 [_MSC_VER]: Include malloc.h
44106 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
44107 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
44108 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
44109 TEMP_FAILURE_RETRY. Cast return of alloca.
44110 [!_LIBC] Call gl_rwlock_init.
44111 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
44112
44113 2014-07-02 Roland McGrath <roland@hack.frob.com>
44114
44115 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
44116 before checking its value.
44117
44118 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
44119
44120 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
44121
44122 * debug/memcpy_chk.c: Don't include pagecopy.h.
44123 * debug/mempcpy_chk.c: Likewise.
44124 * string/memcpy.c: Likewise.
44125 * string/memmove.c: Likewise.
44126 * sysdeps/powerpc/memmove.c: Likewise.
44127 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
44128 definition of PAGE_COPY_FWD_MAYBE here...
44129 * sysdeps/generic/pagecopy.h: ... from here.
44130 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
44131
44132 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
44133 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44134
44135 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
44136 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
44137 optimizations.
44138 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44139 (__libc_ifunc_impl_list): Likewise.
44140 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
44141 multiarch strcat for PPC64.
44142 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
44143 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
44144
44145 2014-07-02 Roland McGrath <roland@hack.frob.com>
44146
44147 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
44148
44149 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
44150
44151 * intl/loadmsgcat.c: Remove declaration of
44152 get_sysdep_segment_value.
44153 (get_sysdep_segment_value): Use ISO C style.
44154 (_nl_load_domain): Use ISO C style. Get rid of redundant
44155 semicolon. Fix typo and formatting in comment.
44156 (_nl_unload_domain): Use ISO C style.
44157
44158 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
44159
44160 2014-07-02 Will Newton <will.newton@linaro.org>
44161
44162 * malloc/obstack.c: Merge from gnulib master.
44163 [HAVE_CONFIG_H]: Remove conditional code.
44164 [!_LIBC]: Include config.h.
44165 [!ELIDE_CODE]: Don't include inttypes.h, include
44166 stdint.h unconditionally.
44167 (print_and_abort): Mark as _Noreturn.
44168 (_obstack_allocated_p): Mark as __attribute_pure__.
44169 (obstack_free): Rename to __obstack_free.
44170 [!__attribute__]: Remove conditional code.
44171 * malloc/obstack.h: Merge from gnulib master.
44172 [__cplusplus]: Move conditional down.
44173 [!__attribute_pure__]: Define __attribute_pure__ here
44174 if it is not already defined.
44175 (_obstack_memory_used): Mark as __attribute_pure__.
44176 [!__obstack_free]: Define as obstack_free.
44177 [__GNUC__]: Remove check for ancient NeXT gcc.
44178
44179 2014-07-02 Will Newton <will.newton@linaro.org>
44180 Paul Eggert <eggert@cs.ucla.edu>
44181
44182 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
44183
44184 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
44185
44186 * resolv/gethnamaddr.c: Add comment warning that the file is
44187 not maintained.
44188
44189 2014-07-01 Carlos O'Donell <carlos@redhat.com>
44190
44191 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
44192 entries.
44193
44194 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
44195 entry for aio_cancel and aio_cancel64.
44196 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
44197 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
44198 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
44199 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
44200 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
44201 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
44202 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
44203 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
44204 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
44205 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
44206 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
44207 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
44208 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
44209
44210 2014-07-01 Roland McGrath <roland@hack.frob.com>
44211
44212 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
44213 * nptl/pthread_mutex_lock.c: Likewise.
44214 * nptl/pthread_mutex_timedlock.c: Likewise.
44215 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
44216
44217 2014-07-01 Richard henderson <rth@redhat.com>
44218
44219 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
44220 (__isnan, __isnanl): Remove.
44221 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
44222
44223 * sysdeps/alpha/fpu/libm-test-ulps: Update.
44224
44225 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
44226
44227 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44228
44229 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
44230
44231 * resolv/nss_dns/dns-host.c (getanswer_r)
44232 [MULTI_PTRS_ARE_ALIASES]: Remove code.
44233
44234 2014-07-01 Joseph Myers <joseph@codesourcery.com>
44235
44236 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44237 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
44238 undefine.
44239 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
44240 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
44241
44242 2014-07-01 Roland McGrath <roland@hack.frob.com>
44243
44244 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
44245 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
44246
44247 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
44248 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
44249
44250 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
44251 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
44252 ... here.
44253 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
44254 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
44255
44256 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
44257 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
44258 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
44259 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
44260
44261 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
44262 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
44263 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
44264 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
44265 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
44266 Moved ...
44267 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
44268 ... here.
44269 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
44270 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
44271 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
44272 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
44273 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
44274 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
44275 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
44276 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
44277 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
44278 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
44279 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
44280 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
44281 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
44282 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
44283 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
44284 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
44285 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
44286 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
44287 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
44288 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
44289 ... here.
44290 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
44291 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
44292 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
44293 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
44294 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
44295 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
44296 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
44297 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
44298
44299 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
44300
44301 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
44302 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
44303 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
44304 Add sysdep.
44305
44306 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44307
44308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44309
44310 2014-06-30 Joseph Myers <joseph@codesourcery.com>
44311
44312 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
44313 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
44314
44315 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44316
44317 * sysdeps/arm/libm-test-ulps: Regenerated.
44318
44319 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
44320 Roland McGrath <roland@hack.frob.com>
44321
44322 * test-skeleton.c (signal_handler): Kill the whole process group
44323 before killing the child individually.
44324 (main): Report any failure on `setpgid'.
44325
44326 2014-06-30 Roland McGrath <roland@hack.frob.com>
44327
44328 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
44329 from _TLS_H to _ARM_NPTL_TLS_H.
44330 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
44331 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
44332
44333 2014-06-30 Joseph Myers <joseph@codesourcery.com>
44334
44335 [BZ #16539]
44336 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
44337 (__expm1l): Return argument unchanged when small but not
44338 subnormal.
44339
44340 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
44341 include macro name.
44342 (_FP_UNPACK_RAW_1_P): Likewise.
44343 (_FP_PACK_RAW_1): Likewise.
44344 (_FP_PACK_RAW_1_P): Likewise.
44345 (_FP_MUL_MEAT_1_wide): Likewise.
44346 (_FP_MUL_MEAT_DW_1_hard): Likewise.
44347 (_FP_MUL_MEAT_1_hard): Likewise.
44348 (_FP_DIV_MEAT_1_imm): Likewise.
44349 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
44350 (_FP_DIV_MEAT_1_udiv): Likewise.
44351 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
44352 (_FP_UNPACK_RAW_2): Likewise.
44353 (_FP_UNPACK_RAW_2_P): Likewise.
44354 (_FP_PACK_RAW_2): Likewise.
44355 (_FP_PACK_RAW_2_P): Likewise.
44356 (_FP_MUL_MEAT_DW_2_wide): Likewise.
44357 (_FP_MUL_MEAT_2_wide): Likewise.
44358 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
44359 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
44360 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
44361 (_FP_MUL_MEAT_2_gmp): Likewise.
44362 (_FP_DIV_MEAT_2_udiv): Likewise.
44363 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
44364 (_FP_FRAC_SRL_4): Likewise.
44365 (_FP_FRAC_SRST_4): Likewise.
44366 (_FP_FRAC_SRS_4): Likewise.
44367 (_FP_UNPACK_RAW_4): Likewise.
44368 (_FP_UNPACK_RAW_4_P): Likewise.
44369 (_FP_PACK_RAW_4): Likewise.
44370 (_FP_PACK_RAW_4_P): Likewise.
44371 (_FP_MUL_MEAT_DW_4_wide): Likewise.
44372 (_FP_MUL_MEAT_4_wide): Likewise.
44373 (_FP_MUL_MEAT_4_gmp): Likewise.
44374 (umul_ppppmnnn): Likewise.
44375 (_FP_DIV_MEAT_4_udiv): Likewise.
44376 (__FP_FRAC_ADD_4): Likewise.
44377 (__FP_FRAC_SUB_3): Likewise.
44378 (__FP_FRAC_SUB_4): Likewise.
44379 (__FP_FRAC_DEC_3): Likewise.
44380 (__FP_FRAC_DEC_4): Likewise.
44381 (__FP_FRAC_ADDI_4): Likewise.
44382 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
44383 (_FP_FRAC_SRL_8): Likewise.
44384 (_FP_FRAC_SRS_8): Likewise.
44385
44386 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
44387 include macro name.
44388 (FP_UNPACK_RAW_EP): Likewise.
44389 (FP_PACK_RAW_E): Likewise.
44390 (FP_PACK_RAW_EP): Likewise.
44391 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
44392 (_FP_ISSIGNAN): Likewise.
44393 (_FP_ADD_INTERNAL): Likewise.
44394 (_FP_FMA): Likewise.
44395 (_FP_CMP): Likewise.
44396 (_FP_SQRT): Likewise.
44397 (_FP_TO_INT): Likewise.
44398 (_FP_FROM_INT): Likewise.
44399 (FP_EXTEND): Likewise.
44400 (_FP_DIV_MEAT_N_loop): Likewise.
44401
44402 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
44403
44404 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
44405 throughout.
44406
44407 2014-06-29 Joseph Myers <joseph@codesourcery.com>
44408
44409 [BZ #17097]
44410 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
44411 result with correct sign in case of exponents that produce
44412 overflow except for X very close to 1.
44413
44414 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
44415
44416 mktime: merge #if/#ifdef usage from glibc
44417 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
44418 as that works with both Glibc's and Gnulib's style.
44419 See thread starting at Siddhesh Poyarekar's bug report at:
44420 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
44421
44422 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44423
44424 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
44425 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
44426 * sysdeps/tile/tilegx/memmove.c: Remove file.
44427
44428 2014-06-27 Joseph Myers <joseph@codesourcery.com>
44429
44430 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
44431 abi-name definition.
44432 * scripts/soversions.awk: Do not handle or generate ABI lines.
44433 * shlib-versions: Remove ABI entries.
44434 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
44435 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
44436
44437 2014-06-27 Roland McGrath <roland@hack.frob.com>
44438
44439 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
44440 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
44441 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
44442 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
44443 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
44444 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
44445 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
44446 Moved ...
44447 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
44448 ... here.
44449 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
44450 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
44451 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
44452 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
44453 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
44454 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
44455 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
44456 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
44457 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
44458 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
44459 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
44460 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
44461 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
44462 Moved ...
44463 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
44464 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
44465 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
44466 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
44467 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
44468 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
44469 Moved ...
44470 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
44471 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
44472 Moved ...
44473 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
44474 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
44475 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
44476 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
44477 Moved ...
44478 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
44479 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
44480 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
44481 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
44482 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
44483 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
44484 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
44485 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
44486 Moved ...
44487 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
44488 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
44489 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
44490 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
44491 Moved ...
44492 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
44493 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
44494 Moved ...
44495 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
44496 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
44497 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
44498 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
44499 Moved ...
44500 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
44501 ... here.
44502 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
44503 Identical file removed.
44504 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
44505 Moved ...
44506 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
44507 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
44508 Identical file removed.
44509 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
44510 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
44511 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
44512 Moved ...
44513 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
44514 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
44515 Identical file removed.
44516 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
44517 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
44518 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
44519 Identical file removed.
44520 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
44521 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
44522 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
44523 Identical file removed.
44524 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
44525 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
44526 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
44527 Identical file removed.
44528 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
44529 Moved ...
44530 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
44531 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
44532 Identical file removed.
44533 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
44534 Moved ...
44535 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
44536 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
44537 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
44538 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
44539 Identical file removed.
44540 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
44541 Moved ...
44542 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
44543 ... here.
44544 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
44545 Identical file removed.
44546 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
44547 Moved ...
44548 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
44549 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
44550 Identical file removed.
44551 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
44552 Moved ...
44553 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
44554 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
44555 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
44556 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
44557 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
44558 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
44559 Moved ...
44560 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
44561 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
44562 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
44563
44564 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
44565 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
44566 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
44567 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
44568 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
44569
44570 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
44571
44572 [BZ #17092]
44573 * nscd/nscd.c (monitor_child): Return exit status of child
44574 instead of return value from wait syscall.
44575
44576 2014-06-27 Joseph Myers <joseph@codesourcery.com>
44577
44578 * configure.ac (libc_commonpagesize): Remove variable.
44579 (libc_relro_required): Likewise.
44580 (libc_cv_z_relro): Remove configure test.
44581 * configure: Regenerated.
44582 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
44583 variable.
44584 (libc_relro_required): Likewise.
44585 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
44586 (libc_relro_required): Likewise.
44587 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
44588 (libc_relro_required): Likewise.
44589 * sysdeps/arm/preconfigure: Regenerated.
44590 * sysdeps/ia64/preconfigure: Remove file.
44591 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
44592 variable.
44593 (libc_relro_required): Likewise.
44594
44595 [BZ #16561]
44596 [BZ #16562]
44597 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
44598 (__ieee754_yn): Set FE_TONEAREST mode internally and then
44599 recompute overflowing results in original rounding mode.
44600 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
44601 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
44602 recompute overflowing results in original rounding mode.
44603 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
44604 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44605 recompute overflowing results in original rounding mode.
44606 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
44607 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44608 recompute overflowing results in original rounding mode.
44609 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
44610 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44611 recompute overflowing results in original rounding mode.
44612 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
44613 (libc_feholdsetround_ctx): New macro.
44614 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
44615 * sysdeps/i386/fpu/libm-test-ulps: Update.
44616 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
44617
44618 2014-06-26 Joseph Myers <joseph@codesourcery.com>
44619
44620 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
44621 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
44622 corresponding .cpsetup call.
44623
44624 2014-06-26 Roland McGrath <roland@hack.frob.com>
44625
44626 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
44627 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
44628 * sysdeps/arm/Makefile [$(subdir) = csu]
44629 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
44630 (static-only-routines): Add aeabi_read_tp here.
44631 (shared-only-routines): Add libc-aeabi_read_tp here.
44632 (CFLAGS-libc-start.c): Add -fexceptions here.
44633 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
44634 (sysdep_routines, static-only-routines, shared-only-routines):
44635 Don't add to these here.
44636 (CFLAGS-libc-start.c): Likewise.
44637
44638 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
44639 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
44640 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
44641 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
44642 * sysdeps/arm/Makefile [$(subdir) = rt]
44643 (librt-sysdep_routines, librt-shared-only-routines):
44644 Append rt-aeabi_unwind_cpp_pr1 here.
44645 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
44646 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
44647 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
44648 (libpthread-sysdep_routines, libpthread-shared-only-routines):
44649 Append nptl-aeabi_unwind_cpp_pr1 here.
44650 (tests): Filter out tst-cleanupx4 here.
44651 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
44652 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
44653 Don't do those here.
44654
44655 2014-06-26 Joseph Myers <joseph@codesourcery.com>
44656
44657 * scripts/list-sources.sh: Do not handle ports specially.
44658
44659 2014-06-26 Roland McGrath <roland@hack.frob.com>
44660
44661 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
44662 * sysdeps/arm/feupdateenv.c: Likewise.
44663
44664 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
44665
44666 2014-06-26 Joseph Myers <joseph@codesourcery.com>
44667
44668 * manual/texinfo.tex: Update to version 2014-05-05.10 with
44669 trailing whitespace removed.
44670 * scripts/config.guess: Update to version 2014-03-23.
44671 * scripts/config.sub: Update to version 2014-05-01
44672 * scripts/install-sh: Update to version 2013-12-25.23.
44673 * scripts/move-if-change: Update from gnulib.
44674
44675 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44676
44677 * debug/memmove_chk.c: Remove pagecopy.h include.
44678
44679 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
44680
44681 * time/mktime.c (leapyear): Remove inline keyword. The code is now
44682 identical to gnulib mktime.
44683
44684 2014-06-26 Joseph Myers <joseph@codesourcery.com>
44685
44686 * configure.ac: Do not test for machine being rs6000. Do not test
44687 for powerpc*-*soft.
44688 * configure: Regenerated.
44689
44690 [BZ #11505]
44691 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
44692 test.
44693 * configure: Regenerated.
44694 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
44695 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
44696 Remove configure test.
44697 * sysdeps/arm/configure: Regenerated.
44698 * sysdeps/nptl/configure.ac: Do not check
44699 libc_cv_asm_cfi_directives.
44700 * sysdeps/nptl/configure: Regenerated.
44701 * sysdeps/x86_64/nptl/configure.ac: Remove file.
44702 * sysdeps/x86_64/nptl/configure: Remove generated file.
44703 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
44704 unconditional.
44705 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
44706
44707 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44708
44709 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
44710 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
44711 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
44712 it is defined.
44713
44714 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
44715 instead of whether it is defined.
44716 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
44717 * sysdeps/hppa/dl-machine.h: Likewise.
44718 * sysdeps/ia64/dl-machine.h: Likewise.
44719 * sysdeps/m68k/dl-machine.h: Likewise.
44720 * sysdeps/microblaze/dl-machine.h: Likewise.
44721 * sysdeps/mips/dl-machine.: Likewise.
44722 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44723 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44724 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44725 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44726 * sysdeps/sh/dl-machine.h: Likewise.
44727 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44728 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44729 * sysdeps/tile/dl-machine.h: Likewise.
44730 * sysdeps/x86_64/dl-machine.h: Likewise.
44731
44732 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
44733 code.
44734 (verify_persistent_db): Likewise.
44735
44736 2014-06-26 Roland McGrath <roland@hack.frob.com>
44737
44738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
44739 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
44740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
44741 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
44742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44743 Moved ...
44744 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
44745 ... here.
44746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
44747 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
44748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
44749 Identical file removed.
44750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
44751 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
44752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
44753 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
44754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
44755 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
44756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
44757 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
44758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
44759 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
44760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44761 Moved ...
44762 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
44763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
44764 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
44765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
44766 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
44767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44768 Moved ...
44769 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
44770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
44771 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
44772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
44773 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
44774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44775 Identical file removed.
44776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
44777 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
44778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
44779 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
44780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44781 Moved ...
44782 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
44783 ... here.
44784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
44785 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
44786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
44787 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
44788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
44789 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
44790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
44791 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
44792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
44793 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
44794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44795 Moved ...
44796 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
44797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
44798 Moved ...
44799 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
44800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
44801 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
44802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44803 Moved ...
44804 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
44805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
44806 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
44807
44808 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
44809 folded into ...
44810 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
44811 * sysdeps/unix/sysv/linux/s390/Versions
44812 (libpthread: GLIBC_2.19): New version set.
44813 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
44814 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
44815 (librt: GLIBC_2.3.3): New version set.
44816 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
44817 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
44818 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
44819 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
44820 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
44821 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
44822 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
44823 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
44824 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
44825 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
44826 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
44827 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
44828 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
44829 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
44830 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
44831 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
44832 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
44833 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
44834 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
44835 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
44836 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
44837 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
44838 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
44839 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
44840 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
44841 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
44842 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
44843 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
44844 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
44845 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
44846 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
44847 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
44848 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
44849 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
44850 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
44851 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
44852 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
44853 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
44854 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
44855 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
44856 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
44857 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
44858 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
44859 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
44860 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
44861
44862 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
44863 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
44864 (__libc_vfork): Define the function under this name.
44865 [!NOT_IN_libc] (__vfork): Make this an alias.
44866 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
44867 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
44868 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
44869 (__libc_vfork): Define the function under this name.
44870 [!NOT_IN_libc] (__vfork): Make this an alias.
44871 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
44872 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
44873 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
44874 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
44875 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
44876 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44877
44878 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
44879 code that was previously under [RESET_PID].
44880 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
44881 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
44882 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
44883
44884 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
44885 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
44886 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
44887 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
44888 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
44889 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
44890 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
44891 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
44892 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
44893 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
44894 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
44895 Moved ...
44896 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
44897 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
44898 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
44899 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
44900 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
44901 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
44902 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
44903 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
44904 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
44905 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
44906 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
44907 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
44908 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
44909 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
44910 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
44911 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
44912 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
44913 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
44914 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
44915 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
44916 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
44917 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
44918 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
44919 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
44920 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
44921 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
44922 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
44923 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
44924 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
44925
44926 2014-06-25 Roland McGrath <roland@hack.frob.com>
44927
44928 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
44929 that was previously under [RESET_PID].
44930 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
44931
44932 2014-06-25 Joseph Myers <joseph@codesourcery.com>
44933
44934 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
44935 not undefine and redefine.
44936 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
44937 [O_CLOEXEC]: Make code unconditional.
44938 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
44939 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
44940 <kernel-features.h>.
44941 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
44942 conditional variable definition.
44943 (shm_open) [O_CLOEXEC]: Make code unconditional.
44944 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
44945 code.
44946
44947 * configure.ac (USE_REGPARMS): Don't define here.
44948 * configure: Regenerated.
44949 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
44950 * sysdeps/i386/configure: Regenerated.
44951
44952 * nptl/createthread.c: Don't include kernel-features.h.
44953 * nptl/pthread_cancel.c: Likewise.
44954 * nptl/pthread_condattr_setclock.c: Likewise.
44955 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
44956 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
44957 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
44958 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
44959 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
44960 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
44961 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
44962 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
44963 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
44964 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
44965 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
44966 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
44967 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
44968 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
44969 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
44970 * nscd/gai.c: Likewise.
44971 * nss/nss_db/db-open.c: Likewise.
44972 * sysdeps/generic/ldsodefs.h: Likewise.
44973 * sysdeps/sh/nptl/tls.h: Likewise.
44974 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
44975 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
44976 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
44977 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
44978 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
44979 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
44980 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
44981 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
44982 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
44983 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
44984 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
44985 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
44986 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
44987 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
44988 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
44989 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
44990 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
44991 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
44992 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
44993 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
44994 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
44995 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
44996 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
44997 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
44998 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
44999 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
45000 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
45001 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
45002 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
45003 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
45004 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
45005 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
45006 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
45007 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45008 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45009 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
45010 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45011 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
45012 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
45013 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
45014 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45015 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
45016 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
45017 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45018 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
45019 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
45020 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
45021 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
45022 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
45023 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
45024 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
45025 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
45026 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
45027 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
45028 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
45029 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
45030 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45031 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
45032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
45033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
45034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
45035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
45036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
45037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
45038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
45039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
45040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
45041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
45042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
45043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
45044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
45045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
45046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
45047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
45052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
45053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
45054 * sysdeps/unix/sysv/linux/pread.c: Likewise.
45055 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
45056 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
45057 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
45058 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
45059 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
45060 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
45061 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
45062 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
45063 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
45064 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
45065 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
45066 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
45067 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
45068 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
45069 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
45070 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45071 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
45072 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
45073 * sysdeps/unix/sysv/linux/system.c: Likewise.
45074 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
45075 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
45076 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45077 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45078 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
45079 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
45080 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
45081
45082 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
45083 * configure: Regenerated.
45084 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
45085
45086 * configure.ac (base_machine): Do not set specially for particular
45087 machines here.
45088 * configure: Regenerated.
45089 * sysdeps/powerpc/preconfigure: Move machine and base_machine
45090 settings from configure.ac.
45091 * sysdeps/i386/preconfigure: New file.
45092 * sysdeps/s390/preconfigure: Likewise.
45093 * sysdeps/sh/preconfigure: Likewise.
45094 * sysdeps/sparc/preconfigure: Likewise.
45095
45096 2014-06-25 Roland McGrath <roland@hack.frob.com>
45097
45098 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
45099 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
45100 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
45101 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
45102 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
45103 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
45104 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
45105 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
45106 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
45107 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
45108 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
45109 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
45110 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
45111 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
45112 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
45113 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
45114 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
45115 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
45116 * sysdeps/sparc/sparc64/Makefile: ... appended here.
45117
45118 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
45119 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
45120 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
45121 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
45122 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
45123 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
45124 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
45125 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
45126 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
45127 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
45128 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
45129 * sysdeps/sparc/sparc32/sem_post.c: ... here.
45130 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
45131 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
45132 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
45133 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
45134 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
45135 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
45136 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
45137 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
45138 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
45139 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
45140 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
45141 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
45142 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
45143 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
45144 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
45145 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
45146 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
45147 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
45148 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
45149 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
45150 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
45151 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
45152 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
45153 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
45154 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
45155 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
45156
45157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
45158 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
45159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
45160 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
45161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45162 Moved ...
45163 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
45164 ... here.
45165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
45166 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
45167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
45168 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
45169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
45170 Moved ...
45171 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
45172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
45173 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
45174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
45175 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
45176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
45177 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
45178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45179 Moved ...
45180 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
45181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45182 Moved ...
45183 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
45184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
45185 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
45186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45187 Moved ...
45188 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
45189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
45190 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
45191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
45192 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
45193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
45194 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
45195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
45196 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
45197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45198 Moved ...
45199 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
45200 ... here.
45201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
45202 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
45203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
45204 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
45205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
45206 Moved ...
45207 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
45208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
45209 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
45210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
45211 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
45212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
45213 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
45214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45215 Moved ...
45216 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
45217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45218 Moved ...
45219 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
45220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
45221 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
45222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45223 Moved ...
45224 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
45225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
45226 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
45227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
45228 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
45229
45230 2014-06-25 Joseph Myers <joseph@codesourcery.com>
45231
45232 * timezone/checktab.awk: Update from tzcode 2014e.
45233 * timezone/private.h: Likewise.
45234 * timezone/tzfile.h: Likewise.
45235 * timezone/zdump.c: Likewise.
45236 * timezone/zic.c: Likewise.
45237
45238 * sysdeps/unix/sysv/linux/kernel-features.h
45239 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
45240 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
45241 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
45242 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
45243 Remove conditional code.
45244
45245 2014-06-25 Will Newton <will.newton@linaro.org>
45246
45247 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
45248 (_dl_arm_cap_flags): Add HWCAP2 values.
45249 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
45250 (_DL_HWCAP_COUNT): Increase to 37.
45251 (_DL_HWCAP_LAST): New define.
45252 (_DL_HWCAP2_LAST): New define.
45253 (_dl_procinfo): Add support for printing
45254 AT_HWCAP2 entries.
45255 (_dl_string_hwcap): Use _dl_hwcap_string.
45256
45257 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45258
45259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45260
45261 2014-06-25 Joseph Myers <joseph@codesourcery.com>
45262
45263 * README: Do not mention ports directory.
45264
45265 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
45266 Remove macro.
45267 * sysdeps/unix/sysv/linux/futimes.c: Do not include
45268 <kernel-features.h>.
45269 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
45270 conditional variable definition.
45271 (__futimes): Update comment.
45272 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
45273 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
45274
45275 [BZ #16560]
45276 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
45277 arguments close to 0.
45278 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
45279 Likewise.
45280 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
45281 Likewise.
45282 * math/auto-libm-test-in: Add more tests of exp10.
45283 * math/auto-libm-test-out: Regenerated.
45284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45285
45286 * sysdeps/unix/sysv/linux/kernel-features.h
45287 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
45288 * sysdeps/unix/sysv/linux/readv.c: Do not include
45289 <kernel-features.h>.
45290 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
45291 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
45292 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
45293 unconditional.
45294 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
45295 conditional code.
45296 * sysdeps/unix/sysv/linux/writev.c: Do not include
45297 <kernel-features.h>.
45298 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
45299 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
45300 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
45301 unconditional.
45302 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
45303 conditional code.
45304
45305 2014-06-25 Will Newton <will.newton@linaro.org>
45306
45307 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
45308 comment changes throughout the file. Remove checks
45309 for HAVE_*_H definitions that are not required.
45310 (__gen_tempname): Call abort if an unknown kind value is
45311 passed.
45312
45313 2014-06-25 Andreas Schwab <schwab@suse.de>
45314
45315 [BZ #17086]
45316 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
45317 scalbln, scalblnf, scalblnl in libc.
45318
45319 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45320
45321 [BZ #17086]
45322 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
45323 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
45324 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
45325
45326 2014-06-24 Roland McGrath <roland@hack.frob.com>
45327
45328 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
45329 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
45330 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
45331 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
45332 Update #include.
45333 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
45334 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
45335 Update #include.
45336 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
45337 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
45338 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
45339 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
45340 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
45341 * sysdeps/x86/bits/pthreadtypes.h: ... here.
45342 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
45343 * sysdeps/x86/bits/semaphore.h: ... here.
45344 * sysdeps/x86/nptl/elide.h: Moved ...
45345 * sysdeps/x86/elide.h: ... here.
45346 * sysdeps/x86_64/nptl/Implies: File removed.
45347 * sysdeps/i386/nptl/Implies: File removed.
45348
45349 2014-06-24 Joseph Myers <joseph@codesourcery.com>
45350
45351 [BZ #16539]
45352 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
45353 return the argument for normal arguments with exponent below -64.
45354 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
45355 Likewise.
45356 * math/auto-libm-test-in: Add another test of expm1.
45357 * math/auto-libm-test-out: Regenerated.
45358
45359 [BZ #16287]
45360 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
45361 calling __erfcl for arguments at least 16.
45362 * math/auto-libm-test-in: Add more tests of erf.
45363 * math/auto-libm-test-out: Regenerated.
45364
45365 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
45366 individual architectures.
45367 * sysdeps/unix/sysv/linux/configure: Regenerated.
45368 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
45369 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
45370 * sysdeps/unix/sysv/linux/powerpc/configure.ac
45371 (ldd_rewrite_script): Define variable.
45372 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
45374 file.
45375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
45376 generated file.
45377 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
45378 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
45379 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
45380 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
45381 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
45382 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
45383 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
45384 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
45385
45386 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
45387
45388 [BZ #17084]
45389 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
45390 Rename member __data.d to __data.__elision_data.
45391
45392 2014-06-24 Wilco <wdijkstr@arm.com>
45393
45394 * NEWS: Add 16918 to fixed bug list.
45395
45396 2014-06-24 Wilco <wdijkstr@arm.com>
45397
45398 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
45399
45400 2014-06-24 Wilco <wdijkstr@arm.com>
45401
45402 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
45403 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
45404 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
45405 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
45406 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
45407 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
45408 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
45409 Use _FPU_MASK_RM.
45410
45411 2014-06-24 Wilco <wdijkstr@arm.com>
45412
45413 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
45414
45415 2014-06-24 Wilco <wdijkstr@arm.com>
45416
45417 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
45418 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
45419 * sysdeps/arm/fesetround.c (fesetround): Remove space.
45420 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
45421
45422 2014-06-24 Wilco <wdijkstr@arm.com>
45423
45424 [BZ #16918]
45425 * sysdeps/arm/feupdateenv.c (feupdateenv):
45426 Rewrite to reduce FPSCR accesses and fix return value.
45427
45428 2014-06-24 Wilco <wdijkstr@arm.com>
45429
45430 * sysdeps/arm/fclrexcpt.c (feclearexcept):
45431 Optimize to avoid unnecessary FPSCR writes.
45432 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
45433 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
45434 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
45435 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
45436
45437 2014-06-24 Wilco <wdijkstr@arm.com>
45438
45439 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
45440 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
45441 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
45442 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
45443 Call libc_fetestexcept_vfp.
45444 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
45445 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
45446 __SOFTFP__ ifdef so that they can be built for softfp.
45447
45448 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
45449
45450 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
45451 argument type signed char.
45452
45453 * Makerules (check-abi): Dump diff of symlist if the test
45454 fails.
45455
45456 2014-06-23 Roland McGrath <roland@hack.frob.com>
45457
45458 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
45459 using abort.
45460
45461 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
45462 Remove unused variable ST.
45463
45464 2014-06-23 Joseph Myers <joseph@codesourcery.com>
45465
45466 [BZ #16354]
45467 [BZ #17061]
45468 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
45469 small arguments before calling __expm1.
45470 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
45471 small arguments before calling __expm1f.
45472 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
45473 small arguments before calling __expm1l.
45474 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
45475 Likewise.
45476 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
45477 * math/auto-libm-test-in: Add more cosh tests. Do not allow
45478 spurious underflow for some cosh tests.
45479 * math/auto-libm-test-out: Regenerated.
45480 * sysdeps/i386/fpu/libm-test-ulps: Update.
45481
45482 [BZ #17050]
45483 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
45484 (__ieee754_y1): Set errno if return value overflows.
45485 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
45486 (__ieee754_y1f): Set errno if return value overflows.
45487 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
45488 (__ieee754_y1l): Set errno if return value overflows.
45489 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
45490 (__ieee754_y1l): Set errno if return value overflows.
45491 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
45492 * math/auto-libm-test-out: Regenerated.
45493
45494 * math/gen-auto-libm-tests.c: Document use of
45495 ignore-zero-inf-sign.
45496 (input_flag_type): Add value flag_ignore_zero_inf_sign.
45497 (input_flags): Add ignore-zero-inf-sign.
45498 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
45499 * math/gen-libm-test.pl (generate_testfile): Handle
45500 ignore-zero-inf-sign.
45501 * math/auto-libm-test-in: Mark some cpow tests with
45502 ignore-zero-inf-sign and some with xfail-rounding.
45503 * math/auto-libm-test-out: Regenerated.
45504 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
45505 * sysdeps/i386/fpu/libm-test-ulps: Update.
45506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45507
45508 [BZ #16315]
45509 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
45510 overflowing or underflowing operations take place with sign of
45511 result.
45512 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45513 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45514 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
45515 (__ieee754_pow): Recompute overflowing and underflowing results in
45516 original rounding mode.
45517 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
45518 (__powl_helper): Allow negative argument X and scale negated value
45519 as needed. Avoid passing value outside [-1, 1] to f2xm1.
45520 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
45521 overflowing or underflowing operations take place with sign of
45522 result.
45523 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
45524 Include <math.h>.
45525 * math/auto-libm-test-in: Add more tests of pow.
45526 * math/auto-libm-test-out: Regenerated.
45527 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
45528 (pow_tonearest_test_data): Remove.
45529 (pow_test_tonearest): Likewise.
45530 (pow_towardzero_test_data): Likewise.
45531 (pow_test_towardzero): Likewise.
45532 (pow_downward_test_data): Likewise.
45533 (pow_test_downward): Likewise.
45534 (pow_upward_test_data): Likewise.
45535 (pow_test_upward): Likewise.
45536 (main): Don't call removed functions.
45537 * sysdeps/i386/fpu/libm-test-ulps: Update.
45538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45539
45540 2014-06-23 Roland McGrath <roland@hack.frob.com>
45541
45542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
45543 Moved ...
45544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
45545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45546 Moved ...
45547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
45548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45549 Moved ...
45550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
45551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45552 Moved ...
45553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
45554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45555 File removed.
45556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45557 File removed.
45558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
45559 File removed.
45560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
45561 File removed.
45562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
45563 File removed.
45564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
45565 File removed.
45566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
45567 File removed.
45568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45569 File removed.
45570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
45571 File removed.
45572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45573 File removed.
45574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
45575 File removed.
45576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
45577 File removed.
45578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
45579 Moved ...
45580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
45581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
45582 Moved ...
45583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
45584 ... here.
45585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
45586 Moved ...
45587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
45588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
45589 Moved ...
45590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
45591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
45592 Moved ...
45593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
45594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
45595 Moved ...
45596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
45597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
45598 Moved ...
45599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
45600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
45601 Moved ...
45602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
45603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
45604 Moved ...
45605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
45606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
45607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
45608 ... here.
45609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
45610 Moved ...
45611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
45612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
45613 Moved ...
45614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
45615 ... here.
45616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
45617 Moved ...
45618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
45619 ... here.
45620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45621 Moved ...
45622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
45623 ... here.
45624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45625 Moved ...
45626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
45627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
45628 Moved ...
45629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
45630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
45631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
45632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
45633 Moved ...
45634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
45635 ... here.
45636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45637 Moved ...
45638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
45639 ... here.
45640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
45641 Moved ...
45642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
45643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45644 Moved ...
45645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
45646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
45647 Moved ...
45648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
45649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45650 Moved ...
45651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
45652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
45653 Moved ...
45654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
45655 ... here.
45656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45657 Moved ...
45658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
45659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
45660 Moved ...
45661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
45662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45663 Moved ...
45664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
45665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
45666 Moved ...
45667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
45668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
45669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
45670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
45671 Moved ...
45672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
45673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45674 Moved ...
45675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
45676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
45677 Moved ...
45678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
45679 ... here.
45680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45681 Moved ...
45682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
45683 ... here.
45684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
45685 Moved ...
45686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
45687 ... here.
45688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45689 Moved ...
45690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
45691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
45692 Moved ...
45693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
45694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45695 Moved ...
45696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
45697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
45698 Moved ...
45699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
45700 ... here.
45701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45702 Moved ...
45703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
45704 ... here.
45705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
45706 Moved ...
45707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
45708 ... here.
45709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45710 Moved ...
45711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
45712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45713 Moved ...
45714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
45715
45716 2014-06-23 Will Newton <will.newton@linaro.org>
45717 Wilco <wdijkstr@arm.com>
45718
45719 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
45720 implementation. Include get-rounding-mode.h.
45721 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
45722 [!libc_feholdsetround_noex_ctx]: Define
45723 libc_feholdsetround_noex_ctx.
45724 [!libc_feholdsetround_noexf_ctx]: Define
45725 libc_feholdsetround_noexf_ctx.
45726 [!libc_feholdsetround_noexl_ctx]: Define
45727 libc_feholdsetround_noexl_ctx.
45728 (libc_feholdsetround_ctx): New function.
45729 (libc_feresetround_ctx): New function.
45730 (libc_feholdsetround_noex_ctx): New function.
45731 (libc_feresetround_noex_ctx): New function.
45732
45733 2014-06-23 Roland McGrath <roland@hack.frob.com>
45734
45735 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
45736 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
45737 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
45738 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
45739 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
45740 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
45741
45742 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
45743 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
45744 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
45745 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
45746 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
45747 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
45748 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
45749 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
45750 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
45751 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
45752 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
45753 Moved ...
45754 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
45755 ... here.
45756 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
45757 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
45758 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
45759 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
45760 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
45761 Moved ...
45762 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
45763 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
45764 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
45765 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
45766 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
45767 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
45768 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
45769 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
45770 Moved ...
45771 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
45772 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
45773 Moved ...
45774 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
45775 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
45776 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
45777 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
45778 Moved ...
45779 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
45780 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
45781 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
45782 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
45783 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
45784 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
45785 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
45786 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
45787 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
45788 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
45789 Moved ...
45790 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
45791 ... here.
45792 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
45793 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
45794 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
45795 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
45796 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
45797 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
45798 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
45799 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
45800 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
45801 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
45802 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
45803 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
45804 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
45805 Moved ...
45806 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
45807 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
45808 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
45809 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
45810 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
45811 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
45812 Moved ...
45813 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
45814 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
45815 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
45816 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
45817 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
45818
45819 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
45820 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
45821 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
45822 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
45823 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
45824 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
45825 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
45826 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
45827 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
45828 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
45829 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
45830 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
45831 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
45832 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
45833 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
45834 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
45835 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
45836 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
45837 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
45838 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
45839 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
45840 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
45841 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
45842 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
45843 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
45844 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
45845 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
45846 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
45847
45848 2014-06-23 Joseph Myers <joseph@codesourcery.com>
45849
45850 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
45851 (FALLOC_FL_COLLAPSE_RANGE): New macro.
45852 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
45853 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
45854 (IPV6_PMTUDISC_INTERFACE): Likewise.
45855 (IPV6_PMTUDISC_OMIT): Likewise.
45856
45857 2014-06-23 Andreas Schwab <schwab@suse.de>
45858
45859 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
45860 Remove unused errout label.
45861
45862 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45863
45864 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
45865 macro: hardware supports Vector Crypto instructions.
45866
45867 2014-06-23 Will Newton <will.newton@linaro.org>
45868
45869 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
45870 rather than __builtin_expect.
45871
45872 * elf/dl-lookup.c (undefined_msg): Remove variable.
45873 (_dl_lookup_symbol_x): Replace undefined_msg with string
45874 literal.
45875
45876 * elf/dl-lookup.c (do_lookup_unique): New function.
45877 (do_lookup_x): Move STB_GNU_UNIQUE handling code
45878 to a separate function.
45879
45880 2014-06-23 Andreas Schwab <schwab@suse.de>
45881
45882 [BZ #17079]
45883 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
45884 before reading the next line.
45885
45886 2014-06-23 Will Newton <will.newton@linaro.org>
45887
45888 * test-skeleton.c (signal_handler): Use printf and %m
45889 rather than perror. Use printf rather than fprintf to
45890 stderr. Use puts rather than fputs to stderr.
45891 (main): Likewise.
45892
45893 2014-06-22 Ludovic Courtès <ludo@gnu.org>
45894
45895 * nscd/nscd.c (thread_info_t): Remove typedef.
45896 (thread_info): Remove variable.
45897
45898 2014-06-21 Allan McRae <allan@archlinux.org>
45899
45900 * NEWS: Mention CVE-2014-4043.
45901
45902 2014-06-20 Roland McGrath <roland@hack.frob.com>
45903
45904 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
45905 * nptl/smp.h: ... here.
45906
45907 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
45908
45909 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
45910 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
45911 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
45912 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
45913
45914 * nptl/allocatestack.c: Include <stack-aliasing.h>.
45915 * nptl/stack-aliasing.h: New file.
45916 * sysdeps/i386/i686/stack-aliasing.h: New file.
45917 * sysdeps/i386/i686/nptl/Makefile: File removed.
45918 * sysdeps/x86_64/stack-aliasing.h: New file.
45919 * sysdeps/x86_64/nptl/Makefile
45920 (CFLAGS-pthread_create.c): Variable removed.
45921
45922 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
45923 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
45924 old file.
45925 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
45926 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
45927 old file.
45928
45929 2014-06-21 Joseph Myers <joseph@codesourcery.com>
45930
45931 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45932 (__ASSUME_SIGFRAME_V2): Remove macro.
45933 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
45934 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
45935 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
45936 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
45937 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
45938 Declare as function. Remove conditional macro definitions.
45939 (__default_rt_sa_restorer): Likewise.
45940 (__default_sa_restorer_v1): Remove declaration.
45941 (__default_sa_restorer_v2): Likewise.
45942 (__default_rt_sa_restorer_v1): Likewise.
45943 (__default_rt_sa_restorer_v2): Likewise.
45944 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
45945 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
45946 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
45947
45948 2014-06-20 Roland McGrath <roland@hack.frob.com>
45949
45950 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
45951 (libpthread-routines): Add sysdep.
45952 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
45953 * sysdeps/unix/sysv/linux/sparc/Versions
45954 (libpthread: GLIBC_2.3.3): New version set.
45955 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
45956 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
45957 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
45958 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
45959 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
45960 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
45961 Moved ...
45962 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
45963 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
45964 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
45965 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
45966 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
45967 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
45968 * sysdeps/sparc/nptl/sem_init.c: ... here.
45969 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
45970 * sysdeps/sparc/nptl/sem_post.c: ... here.
45971 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
45972 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
45973 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
45974 * sysdeps/sparc/nptl/sem_wait.c: ... here.
45975 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
45976 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
45977 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
45978 (libpthread-routines): Add cpu_relax.
45979 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
45980 File removed.
45981 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
45982 (librt: GLIBC_2.3.3): New version set.
45983 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
45984 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
45985 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
45986 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
45987 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
45988 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
45989 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
45990 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
45991 Moved ...
45992 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
45993 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
45994 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
45995 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
45996 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
45997 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
45998 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
45999 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
46000 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
46001 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
46002 Moved ...
46003 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
46004 Update #include.
46005 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
46006 Moved ...
46007 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
46008 Update #include.
46009 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
46010 Moved ...
46011 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
46012 Update #include.
46013 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
46014 Moved ...
46015 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
46016 Update #include.
46017 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
46018 Moved ...
46019 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
46020 Update #include.
46021 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
46022 Moved ...
46023 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
46024 Update #include.
46025 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
46026 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
46027 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
46028 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
46029 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
46030 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
46031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
46032 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
46033 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
46034 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
46035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
46036 Moved ...
46037 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
46038 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
46039 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
46040 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
46041 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
46042
46043 2014-06-20 Joseph Myers <joseph@codesourcery.com>
46044
46045 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
46046 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
46047 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
46048 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
46049 * nscd/nscd.c: Likewise.
46050 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
46051 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
46052 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
46053 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
46054
46055 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
46056 <kernel-features.h>.
46057 (init_mq_netlink): Remove conditional have_sock_cloexec
46058 definitions. Remove code conditional on have_sock_cloexec < 0.
46059 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
46060 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
46061 * sysdeps/unix/sysv/linux/opensock.c: Do not include
46062 <kernel-features.h>.
46063 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
46064 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
46065
46066 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
46067
46068 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46069 Add tests for memset_chk and memset.
46070
46071 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
46072 with AVX2_Usable.
46073
46074 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
46075
46076 [BZ #16046]
46077 * elf/tst-dl-iter-static.c: New file.
46078 * elf/Makefile (tests-static): Add tst-dl-iter-static.
46079
46080 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
46081 error.
46082
46083 2014-06-20 Joseph Myers <joseph@codesourcery.com>
46084
46085 * sysdeps/unix/sysv/linux/kernel-features.h
46086 (__ASSUME_F_GETOWN_EX): Remove macro.
46087 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
46088 <kernel-features.h>.
46089 (miss_F_GETOWN_EX): Remove variable or macro.
46090 (do_fcntl): Do not check miss_F_GETOWN_EX.
46091 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
46092
46093 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
46094 Remove macro.
46095 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
46096 [!__ASSUME_AT_RANDOM]: Remove conditional code.
46097 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
46098
46099 * sysdeps/unix/sysv/linux/kernel-features.h
46100 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
46101 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
46102 [ADJ_OFFSET_SS_READ]: Make code unconditional.
46103 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
46104
46105 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
46106
46107 [BZ #17075]
46108 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
46109 Fix calculation of the symbol's value.
46110 * sysdeps/arm/tst-armtlsdescloc.c: New file.
46111 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
46112 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
46113 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
46114 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
46115 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
46116 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
46117 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
46118 (modules-names): Add `tst-armtlsdescmod',
46119 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
46120 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
46121 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
46122 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
46123 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
46124 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
46125 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
46126 ($(objpfx)tst-armtlsdescloc): New dependency.
46127 ($(objpfx)tst-armtlsdescextnow): Likewise.
46128 ($(objpfx)tst-armtlsdescextlazy): Likewise.
46129 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
46130 TLS scheme support.
46131 * sysdeps/arm/configure: Regenerate.
46132
46133 2014-06-20 Joseph Myers <joseph@codesourcery.com>
46134
46135 * include/fcntl.h (__atfct_seterrno): Remove prototype.
46136 (__atfct_seterrno_2): Likewise.
46137 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
46138 <kernel-features.h>.
46139 (__ASSUME_ATFCTS): Do not undefine and redefine.
46140 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
46141 (__have_atfcts): Remove conditional definition.
46142 (__fxstatat([__NR_fstatat64]: Make code unconditional.
46143 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
46144 unreachable if [__ASSUME_ATFCTS].
46145 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
46146 not undefine and redefine.
46147 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
46148 <kernel-features.h>.
46149 (faccessat) [__NR_faccessat]: Make code unconditional.
46150 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
46151 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
46152 <kernel-features.h>.
46153 (fchmodat) [__NR_fchmodat]: Make code unconditional.
46154 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
46155 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
46156 <kernel-features.h>.
46157 (fchownat) [__NR_fchownat]: Make code unconditional.
46158 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
46159 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
46160 <kernel-features.h>.
46161 (futimesat) [__NR_futimesat]: Make code unconditional.
46162 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
46163 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
46164 <kernel-features.h>.
46165 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
46166 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
46167 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
46168 <kernel-features.h>.
46169 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
46170 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
46171 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
46172 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
46173 <kernel-features.h>.
46174 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
46175 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
46176 * sysdeps/unix/sysv/linux/linkat.c: Do not include
46177 <kernel-features.h>.
46178 (linkat) [__NR_linkat]: Make code unconditional.
46179 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
46180 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
46181 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
46182 <kernel-features.h>.
46183 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
46184 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
46185 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
46186 <kernel-features.h>.
46187 (mkdirat) [__NR_mkdirat]: Make code unconditional.
46188 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
46189 * sysdeps/unix/sysv/linux/openat.c: Do not include
46190 <kernel-features.h>.
46191 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
46192 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
46193 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
46194 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
46195 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
46196 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
46197 <kernel-features.h>.
46198 (readlinkat) [__NR_readlinkat]: Make code unconditional.
46199 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
46200 result of INLINE_SYSCALL directly, not via int variable.
46201 * sysdeps/unix/sysv/linux/renameat.c: Do not include
46202 <kernel-features.h>.
46203 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
46204 (renameat) [__NR_renameat]: Make code unconditional.
46205 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
46206 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
46207 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
46208 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
46209 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
46210 (__ASSUME_ATFCTS): Do not undefine and redefine.
46211 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
46212 <kernel-features.h>.
46213 (symlinkat) [__NR_symlinkat]: Make code unconditional.
46214 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
46215 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
46216 <kernel-features.h>.
46217 (unlinkat) [__NR_unlinkat]: Make code unconditional.
46218 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
46219 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
46220 (__ASSUME_ATFCTS): Do not undefine and redefine.
46221 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
46222 <kernel-features.h>.
46223 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
46224 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
46225 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
46226 <kernel-features.h>.
46227 (__xmknodat) [__NR_mknodat]: Make code unconditional.
46228 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
46229
46230 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
46231
46232 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
46233
46234 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
46235
46236 [BZ #17069]
46237 * posix/regcomp.c (parse_reg_exp): Deallocate partially
46238 constructed tree before returning error.
46239 * posix/bug-regexp36.c: Expand test case.
46240
46241 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
46242
46243 [BZ #6803]
46244 * math/libm-test.inc (scalbln_test_date):
46245 Add errno expectations.
46246 * math/w_scalblnf.c: New File.
46247 Add wrapper which checks for setting errno to ERANGE.
46248 Add weak_alias for corresponding scalbln function.
46249 * math/w_scalbln.c: Likewise.
46250 * math/w_scalblnl.c: Likewise.
46251 * math/Makefile (libm-calls): Add w_scalbln.
46252 * sysdeps/ieee754/flt-32/s_scalblnf.c:
46253 Remove weak_alias for corresponding scalbln function.
46254 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46255 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46256 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46257 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46258 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
46259 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
46260 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
46261 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
46262 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
46263 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
46264 Remove long_double_symbol for scalblnl function in libm, libc.
46265 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
46266 Add wrapper which checks for setting errno to ERANGE.
46267 Add long_double_symbol for scalblnl function in libm, libc.
46268 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
46269 Remove long_double_symbol for scalblnl in libm.
46270 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
46271 Add wrapper which checks for setting errno to ERANGE.
46272 Add long_double_symbol for scalblnl function in libm.
46273 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
46274 Do not use wrapper because of own implementation.
46275
46276 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
46277
46278 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
46279 3 bytes for __pad1 for x32.
46280 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
46281
46282 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
46283 H.J. Lu <hongjiu.lu@intel.com>
46284
46285 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
46286 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
46287 * sysdeps/x86_64/multiarch/memset.S: Likewise.
46288 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46289 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
46290
46291 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
46292
46293 [BZ #17069]
46294 * posix/regcomp.c (parse_expression): Deallocate partially
46295 constructed tree before returning error.
46296 * posix/Makefile.c (tests): Add bug-regex36.
46297 (generated): Add bug-regex36.mtrace.
46298 (tests-special): Add $(objpfx)bug-regex36-mem.out
46299 (bug-regex36-ENV): New variable.
46300 ($(objpfx)bug-regex36-mem.out): New rule.
46301 * posix/bug-regex36.c: New file.
46302
46303 2014-06-19 Will Newton <will.newton@linaro.org>
46304
46305 * malloc/malloc.c (systrim): If extra is zero then return
46306 early.
46307
46308 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
46309
46310 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
46311
46312 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
46313
46314 * sysdeps/aarch64/strchr.S: New file.
46315
46316 2014-06-18 Joseph Myers <joseph@codesourcery.com>
46317
46318 [BZ #17022]
46319 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
46320 from arguments -2 or below.
46321 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
46322 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
46323
46324 2014-06-18 Andreas Schwab <schwab@suse.de>
46325
46326 [BZ #17062]
46327 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
46328 of a bracket expr not to run off the end of the string.
46329 * posix/Makefile (tests): Add tst-fnmatch3.
46330 * posix/tst-fnmatch3.c: New file.
46331
46332 2014-06-18 Joseph Myers <joseph@codesourcery.com>
46333
46334 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
46335 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
46336 [$(cross-compiling) = no]: Likewise.
46337 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
46338 [$(cross-compiling) = no]: Likewise.
46339
46340 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
46341
46342 [BZ #17031]
46343 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
46344 double, adjusted for any remainder from the high double.
46345 * math/libm-test.inc (nearbyint): Add tests.
46346 (rint): Likewise.
46347
46348 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46349
46350 * nptl/sysdeps/powerpc/Makefile: Moved ...
46351 * sysdeps/powerpc/nptl/Makefile: ... here.
46352 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
46353 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
46354 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
46355 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
46356 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
46357 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
46358 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
46359 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
46360 * nptl/sysdeps/powerpc/tls.h: Moved ...
46361 * sysdeps/powerpc/nptl/tls.h: ... here.
46362
46363 2014-06-16 Joseph Myers <joseph@codesourcery.com>
46364
46365 [BZ #16681]
46366 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
46367 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
46368 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
46369 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
46370 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
46371 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
46372 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
46373 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
46374 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
46375
46376 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
46377
46378 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
46379
46380 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
46381
46382 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
46383 defined operator.
46384
46385 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
46386 $TIMEOUTFACTOR.
46387
46388 2014-06-16 Florian Weimer <fweimer@redhat.com>
46389
46390 [BZ #17058]
46391 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
46392 non-executed part of the test.
46393
46394 2014-06-16 Andreas Schwab <schwab@suse.de>
46395
46396 * string/bits/string2.h (strdup, strndup): Update feature guard.
46397
46398 2014-06-14 David S. Miller <davem@davemloft.net>
46399
46400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46401
46402 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
46403
46404 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
46405 that was previously under [RESET_PID].
46406 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
46407
46408 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
46409 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
46410 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
46411 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46412 (__libc_vfork): New strong alias.
46413 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
46414
46415 2014-06-14 Andi Kleen <ak@linux.intel.com>
46416
46417 * sysdeps/generic/elide.h: New file.
46418
46419 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
46420
46421 * Makefile (installed-headers): Adjust path of pthread.h header.
46422
46423 2014-06-13 Roland McGrath <roland@hack.frob.com>
46424
46425 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
46426 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
46427 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
46428 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
46429
46430 * nptl/sysdeps/s390/Makefile: Moved ...
46431 * sysdeps/s390/nptl/Makefile: ... here.
46432 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
46433 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
46434 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
46435 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
46436 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
46437 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
46438 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
46439 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
46440 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
46441 * sysdeps/s390/nptl/pthreaddef.h: ... here.
46442 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
46443 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
46444 * nptl/sysdeps/s390/tls.h: Moved ...
46445 * sysdeps/s390/nptl/tls.h: ... here.
46446
46447 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
46448 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
46449
46450 2014-06-13 David S. Miller <davem@davemloft.net>
46451
46452 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
46453 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
46454 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
46455 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
46456 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
46457 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
46458 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
46459 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
46460 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
46461 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
46462 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
46463 Remove RESET_PID cpp guards.
46464 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
46465 Remove RESET_PID cpp guards.
46466 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
46467
46468 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
46469
46470 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
46471 __sp to uintptr_t.
46472
46473 2014-06-13 Andi Kleen <ak@linux.intel.com>
46474
46475 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
46476 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
46477 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
46478 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
46479 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
46480 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
46481 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
46482 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
46483 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
46484 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
46485 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
46486 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
46487 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
46488 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
46489 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
46490 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
46491 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
46492 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
46493 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
46494 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
46495
46496 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
46497 (pthread_rwlock_rdlock): Add elision.
46498 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
46499 (pthread_rwlock_wrlock): Add elision.
46500 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
46501 (pthread_rwlock_trywrlock): Add elision.
46502 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
46503 (pthread_rwlock_tryrdlock): Add elision.
46504 * nptl/pthread_rwlock_unlock.c: Include elide.h.
46505 (pthread_rwlock_tryrdlock): Add elision unlock.
46506 * nptl/sysdeps/pthread/pthread.h:
46507 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
46508 (PTHREAD_RWLOCK_INITIALIZER,
46509 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
46510 Handle new elision field.
46511 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
46512 * sysdeps/arm/nptl/bits/pthreadtypes.h
46513 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46514 * sysdeps/sh/nptl/bits/pthreadtypes.h
46515 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46516 * sysdeps/tile/nptl/bits/pthreadtypes.h
46517 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46518 * sysdeps/a/nptl/bits/pthreadtypes.h
46519 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46520 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
46521 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46522 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
46523 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46524 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
46525 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46526 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
46527 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46528 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
46529 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46530 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
46531 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46532 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
46533 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46534 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
46535 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46536 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
46537 (elision_init): Set try_xbegin to zero when no RTM.
46538 * sysdeps/x86/nptl/bits/pthreadtypes.h
46539 (pthread_rwlock_t): Change __pad1 to __rwelision.
46540 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46541
46542 2014-06-13 Andi Kleen <ak@linux.intel.com>
46543
46544 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
46545 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
46546 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
46547 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
46548
46549 2014-06-13 Meador Inge <meadori@codesourcery.com>
46550
46551 [BZ #16996]
46552 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
46553 that the cached result has been set before returning it.
46554
46555 2014-06-12 Roland McGrath <roland@hack.frob.com>
46556
46557 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
46558 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
46559 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
46560 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
46561 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
46562 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
46563
46564 * nptl/sysdeps/sparc/Makefile: Moved ...
46565 * sysdeps/sparc/nptl/Makefile: ... here.
46566 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
46567 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
46568 * nptl/sysdeps/sparc/tls.h: Moved ...
46569 * sysdeps/sparc/nptl/tls.h: ... here.
46570 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
46571 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
46572 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
46573 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
46574 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
46575 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
46576 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
46577 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
46578 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
46579 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
46580 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
46581 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
46582 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
46583 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
46584 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
46585 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
46586 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
46587 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
46588 Update #include.
46589 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
46590 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
46591 Update #include.
46592 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
46593 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
46594 Update #include.
46595 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
46596 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
46597 Update #include.
46598
46599 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
46600
46601 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
46602 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
46603
46604 * sysdeps/pthread/posix-timer.h: Include <list.h>.
46605 (struct list_links): Type removed.
46606 (struct thread_node, struct timer_node): Replace struct list_links
46607 with struct list_head.
46608 (list_unlink_ip): Likewise.
46609 * sysdeps/pthread/timer_routines.c
46610 (timer_free_list, thread_free_list, thread_active_list): Likewise.
46611 (list_append, list_insbefore): Likewise.
46612 (list_init): Function removed.
46613 (thread_init, init_module): Use INIT_LIST_HEAD instead.
46614 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
46615 * sysdeps/pthread/Makefile: ... here, new file.
46616
46617 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
46618 * sysdeps/nptl/Implies: ... here.
46619 * sysdeps/unix/sysv/linux/Implies: Add nptl.
46620 * nptl/sysdeps/pthread/list.h: Moved ...
46621 * include/list.h: ... here.
46622 * nptl/sysdeps/pthread/createthread.c: Moved ...
46623 * nptl/createthread.c: ... here.
46624 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
46625 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
46626 * nptl/pt-longjmp.c: ... here.
46627 * nptl/sysdeps/pthread/Makefile: Moved ...
46628 * sysdeps/nptl/Makefile: ... here.
46629 * nptl/sysdeps/pthread/Subdirs: Moved ...
46630 * sysdeps/nptl/Subdirs: ... here.
46631 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
46632 * sysdeps/nptl/aio_misc.h: ... here.
46633 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
46634 * sysdeps/nptl/bits/libc-lock.h: ... here.
46635 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
46636 * sysdeps/nptl/bits/libc-lockP.h: ... here.
46637 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
46638 * sysdeps/nptl/bits/stdio-lock.h: ... here.
46639 * nptl/sysdeps/pthread/configure: Moved ...
46640 * sysdeps/nptl/configure: ... here.
46641 * nptl/sysdeps/pthread/configure.ac: Moved ...
46642 * sysdeps/nptl/configure.ac: ... here.
46643 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
46644 * sysdeps/nptl/gai_misc.h: ... here.
46645 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
46646 * sysdeps/nptl/librt-cancellation.c: ... here.
46647 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
46648 * sysdeps/nptl/malloc-machine.h: ... here.
46649 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
46650 * sysdeps/nptl/pthread-functions.h: ... here.
46651 * nptl/sysdeps/pthread/pthread.h: Moved ...
46652 * sysdeps/nptl/pthread.h: ... here.
46653 * nptl/sysdeps/pthread/setxid.h: Moved ...
46654 * sysdeps/nptl/setxid.h: ... here.
46655 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
46656 * sysdeps/nptl/sigfillset.c: ... here.
46657 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
46658 * sysdeps/nptl/tcb-offsets.h: ... here.
46659 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
46660 * sysdeps/nptl/tst-mqueue8x.c: ... here.
46661 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
46662 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
46663 * nptl/sysdeps/pthread/allocalim.h: Moved ...
46664 * sysdeps/pthread/allocalim.h: ... here.
46665 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
46666 * sysdeps/pthread/bits/sigthread.h: ... here.
46667 * nptl/sysdeps/pthread/flockfile.c: Moved ...
46668 * sysdeps/pthread/flockfile.c: ... here.
46669 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
46670 * sysdeps/pthread/ftrylockfile.c: ... here.
46671 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
46672 * sysdeps/pthread/funlockfile.c: ... here.
46673 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
46674 * sysdeps/pthread/posix-timer.h: ... here.
46675 * nptl/sysdeps/pthread/timer_create.c: Moved ...
46676 * sysdeps/pthread/timer_create.c: ... here.
46677 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
46678 * sysdeps/pthread/timer_delete.c: ... here.
46679 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
46680 * sysdeps/pthread/timer_getoverr.c: ... here.
46681 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
46682 * sysdeps/pthread/timer_gettime.c: ... here.
46683 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
46684 * sysdeps/pthread/timer_routines.c: ... here.
46685 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
46686 * sysdeps/pthread/timer_settime.c: ... here.
46687 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
46688 * sysdeps/pthread/tst-timer.c: ... here.
46689 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
46690 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
46691
46692 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
46693 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
46694
46695 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
46696 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
46697 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
46698 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
46699 Update #include target.
46700 * nptl/sysdeps/i386/i686/Makefile: Moved ...
46701 * sysdeps/i386/i686/nptl/Makefile: ... here.
46702 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
46703 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
46704 Update #include target.
46705 * nptl/sysdeps/i386/i686/tls.h: Moved ...
46706 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
46707 * nptl/sysdeps/i386/Makefile: Moved ...
46708 * sysdeps/i386/nptl/Makefile: ... here.
46709 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
46710 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
46711 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
46712 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
46713 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
46714 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
46715 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
46716 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
46717 * sysdeps/i386/nptl/pthreaddef.h: ... here.
46718 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
46719 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
46720 * nptl/sysdeps/i386/tls.h: Moved ...
46721 * sysdeps/i386/nptl/tls.h: ... here.
46722
46723 * sysdeps/sh/Makefile [$(subdir) = csu]
46724 (gen-as-const-headers): Add tcb-offsets.sym.
46725 * nptl/sysdeps/sh/Makefile: File removed.
46726 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
46727 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
46728 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
46729 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
46730 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
46731 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
46732 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
46733 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
46734 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
46735 * sysdeps/sh/nptl/pthreaddef.h: ... here.
46736 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
46737 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
46738 * nptl/sysdeps/sh/tls.h: Moved ...
46739 * sysdeps/sh/nptl/tls.h: ... here.
46740 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
46741 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
46742 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
46743 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
46744 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
46745 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
46746 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
46747 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
46748 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
46749 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
46750 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
46751 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
46752 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
46753 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
46754 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
46755 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
46756 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
46757 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
46758 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
46759 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
46760 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
46761 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
46762 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
46763 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
46764 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
46765 Moved ...
46766 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
46767 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
46768 Moved ...
46769 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
46770 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
46771 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
46772 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
46773 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
46774 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
46775 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
46776 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
46777 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
46778 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
46779 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
46780 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
46781 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
46782 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
46783 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
46784 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
46785 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
46786 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
46787 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
46788
46789 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
46790
46791 * posix/spawn_faction_addopen.c: Include string.h.
46792
46793 2014-06-11 Roland McGrath <roland@hack.frob.com>
46794
46795 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
46796 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
46797 * nptl/sysdeps/x86_64/Makefile: Moved ...
46798 * sysdeps/x86_64/nptl/Makefile: ... here.
46799 * nptl/sysdeps/x86_64/configure: Moved ...
46800 * sysdeps/x86_64/nptl/configure: ... here.
46801 * nptl/sysdeps/x86_64/configure.ac: Moved ...
46802 * sysdeps/x86_64/nptl/configure.ac: ... here.
46803 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
46804 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
46805 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
46806 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
46807 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
46808 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
46809 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
46810 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
46811 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
46812 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
46813 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
46814 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
46815 * nptl/sysdeps/x86_64/tls.h: Moved ...
46816 * sysdeps/x86_64/nptl/tls.h: ... here.
46817 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
46818 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
46819 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
46820 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
46821
46822 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
46823
46824 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46825
46826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46827
46828 2014-06-11 Joseph Myers <joseph@codesourcery.com>
46829
46830 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
46831 type.
46832 [POSIX] (off_t): Likewise.
46833 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
46834 [POSIX] (S_ISBLK): Require macro.
46835 [POSIX] (S_ISCHR): Likewise.
46836 [POSIX] (S_ISDIR): Likewise.
46837 [POSIX] (S_ISFIFO): Likewise.
46838 [POSIX] (S_ISREG): Likewise.
46839 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
46840 optional-macro.
46841 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
46842 type.
46843 [POSIX] (time_t): Likewise.
46844 [POSIX] (timer_t): Likewise.
46845
46846 2014-06-11 Florian Weimer <fweimer@redhat.com>
46847
46848 [BZ #17048]
46849 * posix/spawn_int.h (struct __spawn_action): Make the path string
46850 non-const to support deallocation.
46851 * posix/spawn_faction_addopen.c
46852 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
46853 * posix/spawn_faction_destroy.c
46854 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
46855 path in all spawn_do_open actions.
46856 * posix/tst-spawn.c (do_test): Exercise the copy operation in
46857 posix_spawn_file_actions_addopen.
46858
46859 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
46860
46861 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
46862 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
46863 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
46864 conditional code always true.
46865 (__libc_vfork): New alias.
46866
46867 2014-06-11 Roland McGrath <roland@hack.frob.com>
46868
46869 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46870 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
46871
46872 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
46873
46874 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46875 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
46876
46877 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
46878 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
46879
46880 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46881 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
46882
46883 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
46884
46885 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
46886 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
46887 multiarch strcmp for PPC64.
46888 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
46889 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
46890 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
46891 multiarch optimizations.
46892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46893 (__libc_ifunc_impl_list): Likewise.
46894
46895 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
46896
46897 * benchtests/scripts/validate_benchout.py: New script.
46898 * benchtests/Makefile (bench-func): Call it.
46899 * benchtests/scripts/benchout.schema.json: New file.
46900
46901 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
46902
46903 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
46904 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
46905 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
46906 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
46907 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
46908 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
46909 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
46910 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
46911 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
46912 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
46913 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
46914 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
46915 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
46916 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
46917 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
46918 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
46919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
46920 Moved ...
46921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
46922 ... here.
46923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
46924 Moved ...
46925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
46926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
46927 Moved ...
46928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
46929 ... here.
46930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
46931 Moved ...
46932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
46933 ... here.
46934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
46935 Moved ...
46936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
46937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
46938 Moved ...
46939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
46940 ... here.
46941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
46942 Moved ...
46943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
46944 ... here.
46945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
46946 Moved ...
46947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
46948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
46949 Moved ...
46950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
46951 ... here.
46952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
46953 Moved ...
46954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
46955 ... here.
46956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
46957 Moved ...
46958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
46959 ... here.
46960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
46961 Moved ...
46962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
46963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
46964 Moved ...
46965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
46966 ... here.
46967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
46968 Moved ...
46969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
46970 ... here.
46971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
46972 Moved ...
46973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
46974 ... here.
46975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
46976 Moved ...
46977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
46978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
46979 Moved ...
46980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
46981 ... here.
46982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
46983 Moved ...
46984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
46985 ... here.
46986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
46987 Moved ...
46988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
46989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
46990 Moved ...
46991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
46992 ... here.
46993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
46994 Moved ...
46995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
46996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
46997 Moved ...
46998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
46999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
47000 Moved ...
47001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
47002 ... here.
47003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
47004 Moved ...
47005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
47006 ... here.
47007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
47008 Moved ...
47009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
47010 ... here.
47011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
47012 Moved ...
47013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
47014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
47015 Moved ...
47016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
47017 ... here.
47018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
47019 Moved ...
47020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
47021 ... here.
47022 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
47023 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
47024 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
47025 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
47026 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
47027 Moved ...
47028 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
47029 ... here.
47030 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
47031 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
47032 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
47033 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
47034 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
47035 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
47036 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
47037 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
47038 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
47039 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
47040 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
47041 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
47042 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
47043 Moved ...
47044 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
47045 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
47046 Moved ...
47047 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
47048 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
47049 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
47050 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
47051 Moved ...
47052 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
47053 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
47054 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
47055 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
47056 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
47057 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
47058 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
47059
47060 2014-06-10 Wilco <wdijkstr@arm.com>
47061
47062 * math/test-fenv-return.c: New file.
47063 * math/Makefile: Add new test test-fenv-return.
47064
47065 2014-06-10 Joseph Myers <joseph@codesourcery.com>
47066
47067 [BZ #17042]
47068 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
47069 when x - 1 is zero.
47070 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
47071 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
47072 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
47073 0.0L for an argument of 1.0L.
47074 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
47075 Likewise.
47076 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
47077 value when x - 1 is zero.
47078 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
47079 * sysdeps/i386/fpu/libm-test-ulps: Update.
47080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47081
47082 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
47083
47084 [BZ #15119]
47085 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
47086
47087 2014-06-09 Roland McGrath <roland@hack.frob.com>
47088
47089 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
47090 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
47091
47092 2014-06-09 Roland McGrath <roland@hack.frob.com>
47093
47094 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47095 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
47096
47097 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47098 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
47099
47100 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47101 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
47102
47103 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47104 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
47105
47106 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
47107 if not already defined.
47108 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
47109 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
47110 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
47111 (TLS_INIT_TP): Use it.
47112 (TLS_DEFINE_INIT_TP): New macro.
47113 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
47114
47115 2014-06-09 Joseph Myers <joseph@codesourcery.com>
47116
47117 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
47118 constant.
47119 [POSIX] (IXANY): Likewise.
47120 [POSIX] (OLCUC): Likewise.
47121 [POSIX || POSIX2008] (CBAUD): Do not allow.
47122 [POSIX || POSIX2008] (DEFECHO): Likewise.
47123 [POSIX || POSIX2008] (ECHOCTL): Likewise.
47124 [POSIX || POSIX2008] (ECHOKE): Likewise.
47125 [POSIX || POSIX2008] (ECHOPRT): Likewise.
47126 [POSIX || POSIX2008] (EXTA): Likewise.
47127 [POSIX || POSIX2008] (EXTB): Likewise.
47128 [POSIX || POSIX2008] (FLUSHO): Likewise.
47129 [POSIX || POSIX2008] (LOBLK): Likewise.
47130 [POSIX || POSIX2008] (PENDIN): Likewise.
47131 [POSIX || POSIX2008] (SWTCH): Likewise.
47132 [POSIX || POSIX2008] (VDISCARD): Likewise.
47133 [POSIX || POSIX2008] (VDSUSP): Likewise.
47134 [POSIX || POSIX2008] (VLNEXT): Likewise.
47135 [POSIX || POSIX2008] (VREPRINT): Likewise.
47136 [POSIX || POSIX2008] (VSTATUS): Likewise.
47137 [POSIX || POSIX2008] (VWERASE): Likewise.
47138 (B*): Change to B[0123456789]*.
47139 * conform/data/time.h-data [POSIX || UNIX98]
47140 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
47141 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
47142 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
47143 [POSIX] (tm_*): Do not allow.
47144
47145 2014-06-07 Joseph Myers <joseph@codesourcery.com>
47146
47147 * Makefile (install): Don't set LANGUAGE.
47148 * Makefile.in (install): Likewise.
47149 * assert/Makefile (test-assert-ENV): Remove variable.
47150 (test-assert-perr-ENV): Likewise.
47151 * elf/Makefile (neededtest4-ENV): Likewise.
47152 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
47153 [$(cross-compiling) = no]: Don't set LANGUAGE.
47154 * io/ftwtest-sh (LANG): Remove variable.
47155 * libio/Makefile (tst-widetext-ENV): Likewise.
47156 * manual/install.texi (Running make install): Don't refer to
47157 environment settings for make install.
47158 * INSTALL: Regenerated.
47159 * nptl/tst-tls6.sh: Don't set LANG.
47160 * posix/globtest.sh (LANG): Remove variable.
47161 * string/Makefile (tester-ENV): Likewise.
47162 (inl-tester-ENV): Likewise.
47163 (noinl-tester-ENV): Likewise.
47164 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
47165 [$(cross-compiling) = no]: Don't set LANGUAGE.
47166 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
47167 without explicit environment settings.
47168
47169 2014-06-06 Roland McGrath <roland@hack.frob.com>
47170
47171 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
47172 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
47173 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
47174 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
47175
47176 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
47177
47178 * crypt/crypt-private.h [DOS]: Add some includes taken from the
47179 other files in the crypt directory.
47180 * crypt/crypt.c: Remove duplicate includes.
47181 * crypt/crypt-entry.c: Likewise.
47182 * crypt/crypt_util.c: Likewise.
47183
47184 2014-06-06 Joseph Myers <joseph@codesourcery.com>
47185
47186 * Makeconfig (run-program-env): New variable.
47187 (run-program-prefix-before-env): Likewise.
47188 (run-program-prefix-after-env): Likewise.
47189 (run-program-prefix): Define in terms of new variables.
47190 (built-program-cmd-before-env): New variable.
47191 (built-program-cmd-after-env): Likewise.
47192 (built-program-cmd): Define in terms of new variables.
47193 (test-program-prefix-before-env): New variable.
47194 (test-program-prefix-after-env): Likewise.
47195 (test-program-prefix): Define in terms of new variables.
47196 (test-program-cmd-before-env): New variable.
47197 (test-program-cmd-after-env): Likewise.
47198 (test-program-cmd): Define in terms of new variables.
47199 * Rules (make-test-out): Use $(run-program-env).
47200 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
47201 (help): Do not mention environment variables. Mention
47202 --timeoutfactor option.
47203 (timeoutfactor): New variable.
47204 (blacklist_exports): Remove function.
47205 (exports): Remove variable.
47206 (command): Do not include ${exports}.
47207 * manual/install.texi (Configuring and compiling): Do not mention
47208 test wrappers preserving environment variables. Mention that last
47209 assignment to a variable must take precedence.
47210 * INSTALL: Regenerated.
47211 * benchtests/Makefile (run-bench): Use $(run-program-env).
47212 * catgets/Makefile ($(objpfx)test1.cat): Use
47213 $(built-program-cmd-before-env), $(run-program-env) and
47214 $(built-program-cmd-after-env).
47215 ($(objpfx)test2.cat): Do not specify environment variables
47216 explicitly.
47217 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
47218 $(run-program-env) and $(built-program-cmd-after-env).
47219 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
47220 $(run-program-env) and $(test-program-cmd-after-env).
47221 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
47222 explicitly.
47223 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
47224 run_program_env and test_program_cmd_after_env arguments.
47225 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
47226 * elf/tst-pathopt.sh: Use run_program_env argument.
47227 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
47228 $(test-wrapper-env) and $(run-program-env).
47229 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
47230 run_program_env arguments.
47231 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
47232 * intl/Makefile ($(objpfx)tst-gettext.out): Use
47233 $(test-program-prefix-before-env), $(run-program-env) and
47234 $(test-program-prefix-after-env).
47235 ($(objpfx)tst-gettext2.out): Likewise.
47236 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
47237 run_program_env and test_program_prefix_after_env arguments.
47238 * intl/tst-gettext2.sh: Likewise.
47239 * intl/tst-gettext4.sh: Do not set environment variables
47240 explicitly.
47241 * intl/tst-gettext6.sh: Likewise.
47242 * intl/tst-translit.sh: Likewise.
47243 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
47244 $(test-program-prefix-before-env), $(run-program-env) and
47245 $(test-program-prefix-after-env).
47246 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
47247 run_program_env and test_program_prefix_after_env arguments.
47248 * math/Makefile (run-regen-ulps): Use $(run-program-env).
47249 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
47250 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
47251 explicitly with each use of ${test_wrapper_env}.
47252 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
47253 $(test-program-prefix-before-env), $(run-program-env) and
47254 $(test-program-prefix-after-env).
47255 * posix/tst-getconf.sh: Do not set environment variables
47256 explicitly.
47257 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
47258 run_program_env and test_program_prefix_after_env arguments.
47259 * stdio-common/tst-printf.sh: Do not set environment variables
47260 explicitly.
47261 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
47262 $(test-program-prefix-before-env), $(run-program-env) and
47263 $(test-program-prefix-after-env).
47264 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
47265 run_program_env and test_program_prefix_after_env arguments.
47266 Split $test calls into $test_pre and $test.
47267 * timezone/Makefile (build-testdata): Use
47268 $(built-program-cmd-before-env), $(run-program-env) and
47269 $(built-program-cmd-after-env).
47270
47271 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47272
47273 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
47274 strlen for non SHARED builds.
47275
47276 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47277
47278 * nptl/allocatestack.c (check_list): Inlined function...
47279 (__reclaim_stacks): ... here.
47280
47281 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
47282
47283 [BZ #15698]
47284 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
47285 memory overrun.
47286
47287 2014-06-05 Joseph Myers <joseph@codesourcery.com>
47288
47289 * Rules (make-test-out): Include
47290 LOCPATH=$(common-objpfx)localedata in default environment.
47291 * debug/Makefile (tst-chk1-ENV): Remove variable.
47292 (tst-chk2-ENV): Likewise.
47293 (tst-chk3-ENV): Likewise.
47294 (tst-chk4-ENV): Likewise.
47295 (tst-chk5-ENV): Likewise.
47296 (tst-chk6-ENV): Likewise.
47297 (tst-lfschk1-ENV): Likewise.
47298 (tst-lfschk2-ENV): Likewise.
47299 (tst-lfschk3-ENV): Likewise.
47300 (tst-lfschk4-ENV): Likewise.
47301 (tst-lfschk5-ENV): Likewise.
47302 (tst-lfschk6-ENV): Likewise.
47303 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
47304 (tst-iconv7-ENV): Likewise.
47305 * intl/Makefile (LOCPATH-ENV): Likewise.
47306 (tst-codeset-ENV): Likewise.
47307 (tst-gettext3-ENV): Likewise.
47308 (tst-gettext5-ENV): Likewise.
47309 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
47310 (tst-fopenloc-ENV): Likewise.
47311 (tst-fgetws-ENV): Remove variable.
47312 (tst-ungetwc1-ENV): Likewise.
47313 (tst-ungetwc2-ENV): Likewise.
47314 (bug-ungetwc2-ENV): Likewise.
47315 (tst-swscanf-ENV): Likewise.
47316 (bug-ftell-ENV): Likewise.
47317 (tst-fgetwc-ENV): Likewise.
47318 (tst-fseek-ENV): Likewise.
47319 (tst-ftell-partial-wide-ENV): Likewise.
47320 (tst-ftell-active-handler-ENV): Likewise.
47321 (tst-ftell-append-ENV): Likewise.
47322 * posix/Makefile (tst-fnmatch-ENV): Likewise.
47323 (tst-regexloc-ENV): Likewise.
47324 (bug-regex1-ENV): Likewise.
47325 (tst-regex-ENV): Likewise.
47326 (tst-regex2-ENV): Likewise.
47327 (bug-regex5-ENV): Likewise.
47328 (bug-regex6-ENV): Likewise.
47329 (bug-regex17-ENV): Likewise.
47330 (bug-regex18-ENV): Likewise.
47331 (bug-regex19-ENV): Likewise.
47332 (bug-regex20-ENV): Likewise.
47333 (bug-regex22-ENV): Likewise.
47334 (bug-regex23-ENV): Likewise.
47335 (bug-regex25-ENV): Likewise.
47336 (bug-regex26-ENV): Likewise.
47337 (bug-regex30-ENV): Likewise.
47338 (bug-regex32-ENV): Likewise.
47339 (bug-regex33-ENV): Likewise.
47340 (bug-regex34-ENV): Likewise.
47341 (bug-regex35-ENV): Likewise.
47342 (tst-rxspencer-ENV): Likewise.
47343 (tst-rxspencer-no-utf8-ENV): Likewise.
47344 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
47345 (tst-sscanf-ENV): Likewise.
47346 (tst-swprintf-ENV): Likewise.
47347 (tst-swscanf-ENV): Likewise.
47348 (test-vfprintf-ENV): Likewise.
47349 (scanf13-ENV): Likewise.
47350 (bug14-ENV): Likewise.
47351 (tst-grouping-ENV): Likewise.
47352 * stdlib/Makefile (tst-strtod-ENV): Likewise.
47353 (tst-strtod3-ENV): Likewise.
47354 (tst-strtod4-ENV): Likewise.
47355 (tst-strtod5-ENV): Likewise.
47356 (testmb2-ENV): Likewise./
47357 * string/Makefile (tst-strxfrm-ENV): Likewise.
47358 (tst-strxfrm2-ENV): Likewise.
47359 (bug-strcoll1-ENV): Likewise.
47360 (test-strcasecmp-ENV): Likewise.
47361 (test-strncasecmp-ENV): Likewise.
47362 * time/Makefile (tst-strptime-ENV): Likewise.
47363 (tst-ftime_l-ENV): Likewise.
47364 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
47365 (tst-mbrtowc-ENV): Likewise.
47366 (tst-wcrtomb-ENV): Likewise.
47367 (tst-mbrtowc2-ENV): Likewise.
47368 (tst-c16c32-1-ENV): Likewise.
47369 (tst-mbsnrtowcs-ENV): Likewise.
47370
47371 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
47372
47373 * manual/resource.texi (How to get information about the memory
47374 subsystem?): Fix typo.
47375 Reported by Peon de la Parra Ivan <peon@keba.com>
47376
47377 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
47378
47379 [BZ #16882]
47380 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
47381 (pthread_spin_lock): Branch out of spin loop to proper location.
47382 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
47383 (pthread_spin_lock): Likewise.
47384
47385 * nptl/tst-spin4.c: New test.
47386 * nptl/Makefile (tests): Add tst-spin4.
47387
47388 2014-06-03 Andreas Schwab <schwab@suse.de>
47389
47390 [BZ #15946]
47391 * resolv/res_send.c (send_dg): Reload file descriptor after
47392 calling reopen.
47393
47394 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
47395
47396 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47397
47398 2014-06-03 Richard Henderson <rth@redhat.com>
47399
47400 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
47401 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
47402 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
47403 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
47404 in the SAVE_PID block.
47405 (__libc_vfork): New alias.
47406 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
47407
47408 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
47409 child in registers, not on the stack. Remove RESET_PID conditionals.
47410 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
47411
47412 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
47413
47414 * sysdeps/aarch64/libm-test-ulps: Regenerate.
47415
47416 2014-06-03 Wilco <wdijkstr@arm.com>
47417
47418 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
47419 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
47420 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
47421 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
47422 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
47423 Likewise.
47424
47425 2014-06-03 Wilco <wdijkstr@arm.com>
47426
47427 * sysdeps/aarch64/fpu/math_private.h
47428 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
47429 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
47430 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
47431 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
47432 Fix declarations.
47433
47434 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
47435
47436 * crypt/crypt-private.h: Include ufc-crypt.h.
47437 (__b64_from_24bit): Declare extern.
47438 * crypt/crypt_util.c(__b64_from_24bit): New function.
47439 (b64t): New static const variable.
47440 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
47441 (b64t): Remove variable.
47442 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
47443 * crypt/sha256-crypt.c: Include crypt-private.h.
47444 (b64t): Remove variable.
47445 (__sha256_crypt_r): Remove b64_from_24bit and replace
47446 with __b64_from_24bit.
47447 * crypt/sha512-crypt.c: Likewise.
47448
47449 2014-06-02 Roland McGrath <roland@hack.frob.com>
47450
47451 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
47452 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
47453 Label the code __libc_vfork rather than __vfork.
47454 [!NOT_IN_libc] (vfork): Define as weak alias.
47455 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
47456 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
47457 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
47458
47459 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47460
47461 * malloc/malloc.c (malloc_info): Fix format specifier for
47462 n_mmaps.
47463
47464 2014-06-02 Wilco <wdijkstr@arm.com>
47465
47466 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
47467 FPCR write.
47468
47469 2014-06-02 Wilco <wdijkstr@arm.com>
47470
47471 [BZ #17009]
47472 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
47473 Rewrite to reduce FPCR/FPSR accesses.
47474
47475 2014-06-01 David S. Miller <davem@davemloft.net>
47476
47477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47478
47479 2014-05-31 David S. Miller <davem@davemloft.net>
47480
47481 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
47482 to occur in round to nearest mode when |x| >= 2.0
47483
47484 2014-05-30 Richard Henderson <rth@twiddle.net>
47485
47486 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
47487 (PSEUDO_RET_NOERRNO): Remove.
47488 (ret): Don't redefine.
47489 (ret_NOERRNO): Define in terms of ret.
47490 (ret_ERRVAL): Likewise.
47491
47492 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
47493 use of PSEUDO_RET; perform the error check directly.
47494
47495 2014-05-30 Marko Myllynen <myllynen@redhat.com>
47496
47497 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
47498 with __int128_t.
47499
47500 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
47501
47502 * malloc/malloc (malloc_info): Fix formatting.
47503
47504 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
47505 Roland McGrath <roland@hack.frob.com>
47506
47507 * malloc/malloc (malloc_info): Also print mmapped statistics.
47508
47509 2014-05-30 Roland McGrath <roland@hack.frob.com>
47510
47511 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
47512 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
47513
47514 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
47515
47516 * malloc/malloc.c (malloc_info): Inline mi_arena.
47517
47518 2014-05-29 Richard Henderson <rth@twiddle.net>
47519
47520 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
47521 Remove comma before expanding ASM_ARGS_##nr.
47522 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
47523 Make _x0 a strict output; make _x8 a strict input; adjust expansion
47524 of ASM_ARGS_##nr.
47525 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
47526 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
47527 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
47528 (ASM_ARGS_1): Add leading comma.
47529
47530 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
47531 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
47532 to __errno_location.
47533 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
47534 Remove the expected plt for __errno_location.
47535
47536 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47537 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
47538 call to __read_tp.
47539
47540 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47541 Always allocate 64 bytes of stack frame. Use ldp/stp to create
47542 it and break it down.
47543 (DOCARGS_0, DOCARGS_1): Do nothing.
47544 (DOCARGS_2): Update to store into the new stack frame.
47545 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
47546 (UNDOCARGS_1): Update to restore from the new stack frame.
47547 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
47548 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
47549
47550 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47551 (SINGLE_THREAD_P): New parameter for result regno.
47552 (PSEUDO): Update to match; use cbz instead of beq.
47553
47554 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47555 Use ENTRY to define the _nocancel entry point. Share the syscall
47556 and syscall error check paths with the cancel path.
47557 (PSEUDO_END): New.
47558
47559 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
47560 whitespace; tabs before and after asm mnemonics.
47561
47562 2014-05-29 Eric Wong <normalperson@yhbt.net>
47563
47564 [BZ #15132]
47565 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47566 Call fstat64 or stat64 internally, depending on arguments passed.
47567 Replace stat buffer argument with file descriptor argument.
47568 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
47569 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
47570 Pass fd to __internal_statvfs instead of calling fstat64.
47571 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
47572 Pass fd to __internal_statvfs64 instead of calling fstat64.
47573 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
47574 Pass -1 to __internal_statvfs instead of calling stat64.
47575 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
47576 Pass -1 to __internal_statvfs64 instead of calling stat64.
47577
47578 2014-05-28 Roland McGrath <roland@hack.frob.com>
47579
47580 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
47581 that was previously under [RESET_PID].
47582 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
47583
47584 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
47585 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
47586
47587 2014-05-27 Roland McGrath <roland@hack.frob.com>
47588
47589 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
47590
47591 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
47592 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
47593
47594 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
47595
47596 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
47597
47598 2014-05-27 Andreas Schwab <schwab@suse.de>
47599
47600 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
47601 TLS_INIT_TP macro.
47602 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
47603 * elf/rtld.c (init_tls, dl_main): Likewise.
47604 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
47605 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
47606 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
47607 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
47608 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
47609 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
47610 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
47611 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
47612 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
47613 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
47614 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
47615 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
47616 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
47617 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
47618 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
47619 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
47620 * sysdeps/generic/tls.h: Update description.
47621
47622 2014-05-27 Will Newton <will.newton@linaro.org>
47623
47624 [BZ #16990]
47625 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
47626 and restore r2 rather than just restoring.
47627
47628 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
47629
47630 [BZ #16724]
47631 * libio/tst-ftell-append.c: New test case.
47632 * libio/Makefile (tests): Add test case.
47633 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
47634 append mode.
47635 * libio/wfileops.c (do_ftell_wide): Likewise.
47636
47637 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47638
47639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47640
47641 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
47642 ...
47643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
47644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
47645 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
47646 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
47647 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
47648 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
47649 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
47650 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
47651 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
47652 Moved ...
47653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
47654 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
47655 Moved ...
47656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
47657 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
47658 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
47659 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
47660 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
47661 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
47662 ...
47663 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
47664 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
47665 Moved ...
47666 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
47667 here.
47668 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
47669 ...
47670 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
47671 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
47672 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
47673
47674 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
47675 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
47676 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
47677 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
47678
47679 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
47680 merge into ...
47681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
47682 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
47683 ...
47684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
47685 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
47686 ...
47687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
47688 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
47689 Moved ...
47690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
47691 here.
47692 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
47693 Moved ...
47694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
47695 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
47696 Moved ...
47697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
47698
47699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
47700 conditional [RESET_PID].
47701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
47702 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
47703 removed.
47704 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
47705 removed.
47706
47707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
47708 <tcb-offsets.h>.
47709 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
47710 (__libc_vfork): New strong alias.
47711 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
47712 removed.
47713 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
47714 Removed.
47715
47716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
47717 <tcb-offsets.h>.
47718 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
47719 (__libc_vfork): New strong alias.
47720 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
47721 removed.
47722 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
47723 removed.
47724
47725 2014-05-26 Carlos O'Donell <carlos@redhat.com>
47726
47727 * malloc/malloc.c (mi_arena): New function.
47728 (malloc_info): Remove nested function mi_arena. Call non-nosted
47729 function mi_arena.
47730
47731 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47732
47733 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
47734 by insrwi.
47735 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
47736 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
47737 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
47738 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
47739 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
47740 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
47741 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
47742
47743 2014-05-26 Andreas Schwab <schwab@suse.de>
47744
47745 [BZ #16984]
47746 * locale/programs/repertoire.c (repertoire_read): Add slash
47747 between I18NPATH element and file name.
47748 * locale/programs/locfile.c (locfile_read): Likewise.
47749
47750 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
47751
47752 * nptl/pthread_mutexattr_settype.c
47753 (__pthread_mutexattr_settype):
47754 Disable lock elision for PTHREAD_MUTEX_NORMAL.
47755
47756 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
47757
47758 * nptl/tst-mutex5 (do_test):
47759 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
47760
47761 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47762
47763 * benchtests/README: Document 'init' directive.
47764 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
47765 BENCH_INIT.
47766 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
47767 (parse_file): Recognize 'init' directive.
47768
47769 2014-05-26 Kyle McMartin <kyle@redhat.com>
47770
47771 [BZ #16796]
47772 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
47773 alignment of struct pthread.
47774
47775 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47776
47777 [BZ #16878]
47778 * nscd/netgroupcache.c (addgetnetgrentX): Look for
47779 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
47780 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
47781 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
47782
47783 2014-05-25 Richard Henderson <rth@twiddle.net>
47784
47785 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47786 (SINGLE_THREAD_P_PIC): Remove.
47787 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
47788 (SINGLE_THREAD_P_PIC): Remove.
47789
47790 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
47791 branch to syscall error ...
47792 (PSEUDO): ... here.
47793 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
47794 from __local_syscall_error to .Lsyscall_error.
47795 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
47796 (SYSCALL_ERROR): Update label name.
47797
47798 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47799 Do not use DOARGS/UNDOARGS.
47800 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
47801 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
47802 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
47803 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
47804 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
47805
47806 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
47807 block comment.
47808
47809 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
47810 define if !NOT_IN_libc.
47811 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
47812 define with non-default symbol versions.
47813
47814 2014-05-23 Richard Henderson <rth@twiddle.net>
47815
47816 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
47817 (vfork, __vfork): Define via compat_symbol.
47818
47819 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
47820 [!HAVE_IFUNC] (vfork_compat): Remove.
47821 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
47822
47823 2014-05-23 Joseph Myers <joseph@codesourcery.com>
47824
47825 [BZ #16978]
47826 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
47827 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
47828 variable.
47829
47830 2014-05-23 Richard Henderson <rth@twiddle.net>
47831
47832 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
47833 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
47834 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
47835 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
47836
47837 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
47838 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
47839 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
47840 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
47841 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
47842 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
47843 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
47844 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
47845 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
47846 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
47847 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
47848 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
47849 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
47850 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
47851 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
47852 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
47853 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
47854 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
47855 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
47856 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
47857 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
47858 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
47859 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
47860 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
47861 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
47862 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
47863 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
47864 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
47865 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
47866 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
47867 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
47868 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
47869 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
47870 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
47871 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
47872 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
47873 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
47874 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
47875 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
47876 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
47877 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
47878 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
47879 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
47880 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
47881 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
47882 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
47883 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
47884 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
47885 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
47886 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
47887 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
47888 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
47889 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
47890 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
47891 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
47892 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
47893
47894 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
47895 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
47896 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
47897 before exiting on error.
47898 (__libc_vfork): New strong alias.
47899 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
47900 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
47901
47902 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
47903 that was previously under [RESET_PID].
47904 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
47905
47906 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
47907
47908 2014-05-23 Joseph Myers <joseph@codesourcery.com>
47909
47910 [BZ #16977]
47911 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
47912 value when x - 1 is zero.
47913 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
47914 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
47915 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
47916 0.0L for an argument of 1.0L.
47917 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
47918 Likewise.
47919 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
47920 value when x - 1 is zero.
47921 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
47922 * sysdeps/i386/fpu/libm-test-ulps: Update.
47923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47924
47925 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
47926
47927 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
47928 alphasort and versionsort.
47929
47930 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47931
47932 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
47933 macro.
47934 [copysignf]: Likewise.
47935
47936 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
47937
47938 * crypt/md5-crypt.c: Fix formatting.
47939
47940 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
47941
47942 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
47943 (b64_from_24bit): New function.
47944
47945 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47946
47947 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
47948 libc_hidden_builtin_def to ifunc.
47949 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
47950 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
47951
47952 2014-05-21 Roland McGrath <roland@hack.frob.com>
47953
47954 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
47955 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
47956
47957 2014-05-21 Joseph Myers <joseph@codesourcery.com>
47958
47959 * nscd/Depend (linuxthreads): Remove.
47960 (nptl): Add.
47961 * resolv/Depend (linuxthreads): Remove.
47962 * rt/Depend (linuxthreads): Remove.
47963
47964 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
47965 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
47966 $(common-objpfx)elf/.
47967 (link-libc-before-gnulib): Likewise.
47968 (elfobjdir): Remove variable.
47969 * Makefile (install): Use $(elf-objpfx) instead of
47970 $(common-objpfx)elf/.
47971 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
47972 $(elfobjdir)/.
47973 (link-libc-deps): Likewise.
47974 ($(common-objpfx)libc.so): Likewise.
47975 ($(common-objpfx)linkobj/libc.so): Likewise.
47976 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
47977 instead of $(common-objpfx)elf/.
47978 (symbolic-link-list): Likewise.
47979 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
47980 [$(cross-compiling) = no]: Likewise.
47981 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
47982 $(elfobjdir)/.
47983 (static-gnulib-arch): Likewise.
47984 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
47985 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
47986 $(common-objpfx)elf/.
47987
47988 2014-05-21 Richard Henderson <rth@redhat.com>
47989
47990 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47991 (SINGLE_THREAD_P): Use the correct width load. Fold
47992 into the ldr offset.
47993
47994 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
47995 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
47996
47997 2014-05-20 Joseph Myers <joseph@codesourcery.com>
47998
47999 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
48000 (libgcc_s_resume): Use __attribute_used__.
48001 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
48002 Likewise.
48003
48004 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48005
48006 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
48007 optimization when used with float constants.
48008
48009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48010
48011 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
48012
48013 [BZ #16915]
48014 * locale/nl_langinfo_l.c: Make direct reference to every
48015 _nl_current_CATEGORY symbol.
48016 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
48017 (tests-static): Add tst-langinfo-static.
48018 (tests-special): Add tst-langinfo-static.out.
48019 ($(objpfx)tst-langinfo.out): Redirect output.
48020 ($(objpfx)tst-langinfo-static.out): New.
48021 * localedata/tst-langinfo.sh: Send output to stdout.
48022 * localedata/tst-langinfo-static.c: New file.
48023
48024 [BZ #16965]
48025 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
48026 when the shift amount is modulo the limb size.
48027
48028 2014-05-20 Richard Henderson <rth@redhat.com>
48029
48030 [BZ #16967]
48031 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
48032 Change type of sa_flags from unsigned int to int.
48033
48034 [BZ #16966]
48035 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
48036
48037 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
48038
48039 2014-05-20 Will Newton <will.newton@linaro.org>
48040
48041 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48042 Test the return value of the system call in the nocancel case.
48043
48044 2014-05-20 Will Newton <will.newton@linaro.org>
48045 Yvan Roux <yvan.roux@linaro.org>
48046
48047 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
48048 #include of asm/ptrace.h.
48049 (PTRACE_GET_THREAD_AREA): Remove #undef.
48050 (PTRACE_GETHBPREGS): Likewise.
48051 (PTRACE_SETHBPREGS): Likewise.
48052 (struct user_regs_struct): New structure.
48053 (struct user_fpsimd_struct): New structure.
48054 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
48055 #include of asm/ptrace.h and second #include of sys/user.h.
48056 (PTRACE_GET_THREAD_AREA): Remove #undef.
48057 (PTRACE_GETHBPREGS): Likewise.
48058 (PTRACE_SETHBPREGS): Likewise.
48059 (ELF_NGREG): Use new struct user_regs_struct.
48060 (elf_fpregset_t): Use new struct user_fpsimd_struct.
48061
48062 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48063
48064 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
48065 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
48066
48067 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
48068
48069 [BZ #16958]
48070 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
48071 membar to avoid block loads/stores to overlap previous stores.
48072
48073 2014-05-17 Richard Henderson <rth@redhat.com>
48074
48075 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
48076 Create the __##syscall_name##_nocancel entry point.
48077 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
48078 Remove; let the sysdep-cancel.h code create it.
48079
48080 2014-05-17 David S. Miller <davem@davemloft.net>
48081
48082 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
48083 Protect with __USE_GNU.
48084 (TIOCSET_TEMPT): Likewise.
48085 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
48086 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
48087 these are already provided in bits/ioctl-types.h
48088
48089 2014-05-16 Roland McGrath <roland@hack.frob.com>
48090
48091 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
48092 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
48093
48094 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
48095 Use wait4 regardless of [__NR_waitpid].
48096
48097 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
48098
48099 PR libgcc/60166
48100 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
48101 (_FP_NANSIGN_Q): Set the quiet bit.
48102
48103 2014-05-16 Joseph Myers <joseph@codesourcery.com>
48104
48105 * benchtests/Makefile
48106 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
48107 not $(common-objpfx)math/libm.so.
48108 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
48109 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
48110 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
48111 $(common-objpfx)dlfcn/libdl.so.
48112 ($(objpfx)tst-audit8): Depend on $(libm), not
48113 $(common-objpfx)math/libm.so.
48114 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
48115 not $(common-objpfx)dlfcn/libdl.so.
48116 * math/Makefile
48117 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
48118 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
48119 [$(build-shared) = yes].
48120 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
48121 $(common-objpfx)nptl/libpthread.so.
48122 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
48123 $(common-objpfx)math/libm.so$(libm.so-version) or
48124 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
48125 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
48126 $(common-objpfx)dlfcn/libdl.so.
48127 * setjmp/Makefile (link-libm): Remove variable.
48128 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
48129 * stdio-common/Makefile (link-libm): Remove variable.
48130 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
48131 * stdlib/Makefile (link-libm): Remove variable.
48132 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
48133 ($(objpfx)tst-strtod-round): Likewise.
48134 ($(objpfx)tst-tininess): Likewise.
48135 ($(objpfx)tst-strtod-underflow): Likewise.
48136 ($(objpfx)tst-strtod6): Likewise.
48137 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
48138 $(libdl), not $(common-objpfx)nptl/libpthread.so and
48139 $(common-objpfx)dlfcn/libdl.so.
48140
48141 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48142
48143 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
48144 BSD terminal modes definitions.
48145
48146 2014-05-16 Roland McGrath <roland@hack.frob.com>
48147
48148 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
48149 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
48150
48151 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
48152 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
48153 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
48154 Don't do #include_next.
48155 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
48156 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
48157 Don't do #include_next.
48158 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
48159 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
48160 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
48161 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
48162
48163 2014-05-16 Allan McRae <allan@archlinux.org>
48164
48165 * po/sv.po: Update Swedish translation from translation project.
48166
48167 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
48168 in sed expression.
48169
48170 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
48171
48172 [BZ #16917]
48173 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
48174 errno if the TIOCGPTN ioctl fails with an error different than
48175 EINVAL.
48176 * login/tst-ptsname.c: New file.
48177 * login/Makefile (tests): Add tst-ptsname.
48178
48179 [BZ #16943]
48180 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
48181 and prlimit64.
48182
48183 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
48184
48185 [BZ #16849]
48186 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
48187 herrno to return EAI_AGAIN.
48188
48189 2014-05-14 Roland McGrath <roland@hack.frob.com>
48190
48191 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
48192 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
48193 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
48194 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
48195 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
48196 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
48197 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
48198 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
48199 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
48200 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
48201 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
48202 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
48203 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
48204 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
48205 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
48206 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
48207 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
48208 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
48209 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
48210 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
48211 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
48212 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
48213 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
48214 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
48215 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
48216 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
48217 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
48218 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
48219 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
48220 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
48221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
48222 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
48223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
48224 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
48225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48226 Moved ...
48227 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
48228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
48229 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
48230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
48231 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
48232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
48233 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
48234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
48235 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
48236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
48237 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
48238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
48239 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
48240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
48241 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
48242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
48243 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
48244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
48245 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
48246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
48247 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
48248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
48249 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
48250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
48251 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
48252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
48253 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
48254 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48255 Moved ...
48256 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
48257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
48258 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
48259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
48260 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
48261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
48262 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
48263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
48264 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
48265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
48266 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
48267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
48268 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
48269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
48270 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
48271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
48272 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
48273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
48274 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
48275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48276 Moved ...
48277 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
48278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
48279 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
48280
48281 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
48282 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
48283 (libpthread-sysdep_routines): Add elision-related stuff here instead.
48284 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
48285 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
48286 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
48287 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
48288 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
48289 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
48290 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
48291 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
48292 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
48293 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
48294 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
48295 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
48296 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
48297 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
48298 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
48299 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
48300 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
48301 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
48302 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
48303 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
48304 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
48305 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
48306 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
48307 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
48308 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
48309 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
48310 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
48311 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
48312
48313 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
48314 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
48315
48316 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
48317 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
48318 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
48319 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
48320 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
48321 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
48322 Moved ...
48323 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
48324 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
48325 Moved ...
48326 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
48327 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
48328 Moved ...
48329 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
48330 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
48331 Moved ...
48332 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
48333 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
48334 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
48335 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
48336 Moved ...
48337 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
48338 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
48339 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
48340 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
48341 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
48342 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
48343 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
48344 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
48345 Moved ...
48346 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
48347 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
48348 Moved ...
48349 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
48350 ... here.
48351 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
48352 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
48353 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
48354 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
48355 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
48356 Moved ...
48357 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
48358 ... here.
48359 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
48360 Moved ...
48361 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
48362 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
48363 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
48364 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
48365 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
48366 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
48367 Moved ...
48368 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
48369 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
48370 Moved ...
48371 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
48372 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
48373 Moved ...
48374 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
48375 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
48376 Moved ...
48377 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
48378 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
48379 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
48380 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
48381 Moved ...
48382 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
48383 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
48384 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
48385 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
48386 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
48387 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
48388 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
48389 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
48390 Moved ...
48391 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
48392 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
48393 Moved ...
48394 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
48395 ... here.
48396 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
48397 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
48398 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
48399 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
48400 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
48401 Moved ...
48402 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
48403 ... here.
48404 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
48405 Moved ...
48406 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
48407 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
48408 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
48409 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
48410 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
48411 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
48412 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
48413 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
48414 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
48415 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
48416 Moved ...
48417 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
48418 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
48419 Moved ...
48420 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
48421 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
48422 Moved ...
48423 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
48424 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
48425 Moved ...
48426 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
48427 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
48428 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
48429 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
48430 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
48431 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
48432 Moved ...
48433 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
48434 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
48435 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
48436 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
48437 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
48438 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
48439 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
48440 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
48441 Moved ...
48442 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
48443 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
48444 Moved ...
48445 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
48446 ... here.
48447 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
48448 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
48449 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
48450 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
48451 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
48452 Moved ...
48453 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
48454 ... here.
48455 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
48456 Moved ...
48457 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
48458 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
48459 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
48460 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
48461 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
48462 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
48463 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
48464 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
48465 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
48466 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
48467 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
48468
48469 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
48470 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
48471
48472 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
48473 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
48474
48475 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
48476 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
48477 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
48478 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
48479 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
48480 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
48481 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
48482 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
48483 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
48484 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
48485 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
48486 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
48487 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
48488 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
48489 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
48490 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
48491 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
48492 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
48493 Moved ...
48494 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
48495 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
48496 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
48497 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
48498 Moved ...
48499 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
48500 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
48501 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
48502 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
48503 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
48504 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
48505 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
48506 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
48507 Moved ...
48508 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
48509 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
48510 Moved ...
48511 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
48512 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
48513 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
48514 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
48515 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
48516 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
48517 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
48518 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
48519 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
48520 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
48521 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
48522 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
48523 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
48524 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
48525 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
48526 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
48527 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
48528
48529 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
48530 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
48531 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
48532 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
48533 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
48534
48535 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
48536 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
48537 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
48538 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
48539 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
48540 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
48541 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
48542 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
48543 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
48544 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
48545
48546 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
48547 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
48548
48549 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
48550 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
48551 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
48552 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
48553 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
48554 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
48555 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
48556 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
48557 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
48558 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
48559 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
48560 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
48561 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
48562 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
48563 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
48564 Update #include.
48565 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
48566 Likewise.
48567 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
48568 Likewise.
48569 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
48570 Likewise.
48571 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
48572 Likewise.
48573 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
48574 Likewise.
48575 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
48576 Likewise.
48577 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
48578 Likewise.
48579 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
48580 Likewise.
48581 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
48582 Likewise.
48583 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
48584 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
48585 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
48586 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
48587 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
48588 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
48589 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
48590 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
48591 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
48592 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
48593 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
48594 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
48595 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
48596 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
48597 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
48598
48599 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
48600 that was previously under [RESET_PID].
48601 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
48602 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
48603 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
48604
48605 * sysdeps/i386/nptl/Implies: New file.
48606 * sysdeps/x86_64/nptl/Implies: New file.
48607 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
48608 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
48609 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
48610 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
48611
48612 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
48613 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48614 (__libc_vfork): New strong alias.
48615 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
48616 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
48617
48618 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
48619 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48620 (__libc_vfork): New strong alias.
48621 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
48622 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
48623
48624 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
48625 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48626 (__libc_vfork): New strong alias.
48627 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
48628 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
48629 * nptl/pt-vfork.c: New file.
48630 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
48631 (libpthread: GLIBC_2.20): New version set (empty).
48632
48633 2014-05-14 Will Newton <will.newton@linaro.org>
48634
48635 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
48636 rather than #if.
48637
48638 2014-05-14 Joseph Myers <joseph@codesourcery.com>
48639
48640 [BZ #16564]
48641 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
48642 arguments with exponent 65 or above.
48643 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
48644 arguments 0x1p113L or above.
48645 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
48646 to arguments 0x1p107L or above.
48647 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
48648 positive arguments with exponent 65 or above.
48649 * math/auto-libm-test-in: Add more tests of log1p.
48650 * math/auto-libm-test-out: Regenerated.
48651
48652 [BZ #16928]
48653 * math/s_cacos.c (__cacos): Ensure zero real part of result from
48654 non-finite arguments is +0.
48655 * math/s_cacosf.c (__cacosf): Likewise.
48656 * math/s_cacosl.c (__cacosl): Likewise.
48657 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
48658 * sysdeps/i386/fpu/libm-test-ulps: Update.
48659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48660
48661 [BZ #16927]
48662 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
48663 value.
48664 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
48665 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
48666 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
48667 for explicit high bit of mantissa when testing for argument equal
48668 to 1.
48669 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
48670 * sysdeps/i386/fpu/libm-test-ulps: Update.
48671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48672
48673 [BZ #16516]
48674 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
48675 (__erf): Scale by 16 instead of 8 in potentially underflowing
48676 case. Ensure exception if result actually underflows.
48677 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
48678 (__erff): Scale by 16 instead of 8 in potentially underflowing
48679 case. Ensure exception if result actually underflows.
48680 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
48681 (efx8): Remove variable.
48682 (__erfl): Scale by 16 instead of 8 in potentially underflowing
48683 case. Ensure exception if result actually underflows.
48684 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
48685 (efx8): Remove variable.
48686 (__erfl): Scale by 16 instead of 8 in potentially underflowing
48687 case. Ensure exception if result actually underflows.
48688 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
48689 (efx8): Remove variable.
48690 (__erfl): Scale by 16 instead of 8 in potentially underflowing
48691 case. Ensure exception if result actually underflows.
48692 * math/auto-libm-test-in: Add more tests of erf.
48693 * math/auto-libm-test-out: Regenerated.
48694
48695 2014-05-14 Andreas Schwab <schwab@suse.de>
48696
48697 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
48698 Remove code conditionalized on USE___THREAD.
48699
48700 * config.h.in (HAVE_PT_CHOWN): Define as 0.
48701 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
48702 not definedness.
48703
48704 2014-05-14 Joseph Myers <joseph@codesourcery.com>
48705
48706 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
48707 Define unconditionally.
48708 (__ASSUME_O_CLOEXEC): Likewise.
48709 (__ASSUME_SOCK_CLOEXEC): Likewise.
48710 (__ASSUME_IN_NONBLOCK): Likewise.
48711 (__ASSUME_PIPE2): Likewise.
48712 (__ASSUME_EVENTFD2): Likewise.
48713 (__ASSUME_SIGNALFD4): Likewise.
48714 (__ASSUME_DUP3): Likewise.
48715 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48716 (__ASSUME_DUP3): Do not define.
48717 (__ASSUME_EVENTFD2): Likewise.
48718 (__ASSUME_IN_NONBLOCK): Likewise.
48719 (__ASSUME_O_CLOEXEC): Likewise.
48720 (__ASSUME_PIPE2): Likewise.
48721 (__ASSUME_SIGNALFD4): Likewise.
48722 (__ASSUME_SOCK_CLOEXEC): Likewise.
48723 (__ASSUME_UTIMES): Undefine.
48724 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48725 (__ASSUME_UTIMES): Do not define.
48726 (__ASSUME_O_CLOEXEC): Likewise.
48727 (__ASSUME_SOCK_CLOEXEC): Likewise.
48728 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
48729 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
48730 0x020621].
48731 (__ASSUME_PIPE2): Likewise.
48732 (__ASSUME_EVENTFD2): Likewise.
48733 (__ASSUME_SIGNALFD4): Likewise.
48734 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
48735 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
48736 Do not define.
48737 (__ASSUME_EVENTFD2): Likewise.
48738 (__ASSUME_SIGNALFD4): Likewise.
48739 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
48740 (__ASSUME_32BITUIDS): Likewise.
48741 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48742 (__ASSUME_IPC64): Likewise.
48743 (__ASSUME_ST_INO_64_BIT): Likewise.
48744 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
48745 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
48746 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48747 (__ASSUME_UTIMES): Do not define.
48748 (__ASSUME_PSELECT): Likewise.
48749 (__ASSUME_PPOLL): Likewise.
48750 (__ASSUME_O_CLOEXEC): Likewise.
48751 (__ASSUME_SOCK_CLOEXEC): Likewise.
48752 (__ASSUME_IN_NONBLOCK): Likewise.
48753 (__ASSUME_PIPE2): Likewise.
48754 (__ASSUME_EVENTFD2): Likewise.
48755 (__ASSUME_SIGNALFD4): Likewise.
48756 (__ASSUME_DUP3): Likewise.
48757 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48758 (__ASSUME_UTIMES): Likewise.
48759 (__ASSUME_O_CLOEXEC): Likewise.
48760 (__ASSUME_SOCK_CLOEXEC): Likewise.
48761 (__ASSUME_IN_NONBLOCK): Likewise.
48762 (__ASSUME_PIPE2): Likewise.
48763 (__ASSUME_EVENTFD2): Likewise.
48764 (__ASSUME_SIGNALFD4): Likewise.
48765 (__ASSUME_DUP3): Likewise.
48766 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48767 (__ASSUME_UTIMES): Likewise.
48768 (__ASSUME_O_CLOEXEC): Likewise.
48769 (__ASSUME_SOCK_CLOEXEC): Likewise.
48770 (__ASSUME_IN_NONBLOCK): Likewise.
48771 (__ASSUME_PIPE2): Likewise.
48772 (__ASSUME_EVENTFD2): Likewise.
48773 (__ASSUME_SIGNALFD4): Likewise.
48774 (__ASSUME_DUP3): Likewise.
48775 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
48776 Likewise.
48777 (__ASSUME_UTIMES): Likewise.
48778 (__ASSUME_EVENTFD2): Likewise.
48779 (__ASSUME_SIGNALFD4): Likewise.
48780 * sysdeps/unix/sysv/linux/tile/kernel-features.h
48781 (__ASSUME_O_CLOEXEC): Likewise.
48782 (__ASSUME_SOCK_CLOEXEC): Likewise.
48783 (__ASSUME_IN_NONBLOCK): Likewise.
48784 (__ASSUME_PIPE2): Likewise.
48785 (__ASSUME_EVENTFD2): Likewise.
48786 (__ASSUME_SIGNALFD4): Likewise.
48787 (__ASSUME_DUP3): Likewise.
48788 (__ASSUME_UTIMES): Undefine.
48789
48790 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
48791 feclearexcept. Remove symbol versioning code.
48792 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
48793 symbol versioning code.
48794 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
48795 symbol versioning code.
48796 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
48797 feupdateenv. Remove symbol versioning code.
48798 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
48799 fegetexceptflag. Remove symbol versioning code.
48800 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
48801 fesetexceptflag. Remove symbol versioning code.
48802 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
48803 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
48804 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
48805 (__posix_fadvise64_l32): Remove prototype.
48806 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
48807 code.
48808
48809 2014-05-13 Roland McGrath <roland@hack.frob.com>
48810
48811 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
48812 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
48813 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
48814 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
48815
48816 2014-05-13 Sami Kerola <kerolasa@iki.fi>
48817
48818 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
48819 current working directory
48820
48821 2014-05-13 Roland McGrath <roland@hack.frob.com>
48822
48823 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
48824 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
48825 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
48826 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
48827 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
48828 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
48829 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
48830 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
48831 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
48832 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
48833 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
48834 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
48835 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
48836 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
48837 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
48838 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
48839 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
48840 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
48841 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
48842 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
48843 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
48844 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
48845 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
48846 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
48847 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
48848 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
48849 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
48850 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
48851 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
48852 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
48853 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
48854 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
48855 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
48856 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
48857 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
48858 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
48859 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
48860 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
48861 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
48862 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
48863 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
48864 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
48865
48866 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
48867 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
48868
48869 * sysdeps/unix/sysv/linux/arm/Makefile
48870 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
48871 Add rt-aeabi_unwind_cpp_pr1.
48872 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
48873 Add nptl-aeabi_unwind_cpp_pr1.
48874 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
48875 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
48876 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
48877 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48878 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
48879 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48880
48881 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
48882 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
48883 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
48884 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
48885
48886 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
48887 Deconditionalize the code that was previously under [RESET_PID].
48888 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
48889
48890 * sysdeps/generic/exit-thread.h: New file.
48891 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
48892 * include/unistd.h (__exit_thread): Remove declaration.
48893 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
48894 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
48895 * csu/libc-start.c: Include <exit-thread.h>.
48896 (LIBC_START_MAIN): Pass no argument to __exit_thread.
48897 * nptl/pthread_create.c: Include <exit-thread.h>.
48898 (start_thread): Call __exit_thread in place of __exit_thread_inline.
48899 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
48900 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
48901 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
48902 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
48903 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
48904 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
48905 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
48906 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
48907 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
48908 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
48909 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
48910 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
48911 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
48912 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
48913 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
48914 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
48915
48916 2014-05-13 Andreas Schwab <schwab@suse.de>
48917
48918 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
48919
48920 2014-05-12 Joseph Myers <joseph@codesourcery.com>
48921
48922 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
48923 (__ASSUME_UTIMES): Do not condition on kernel version.
48924 (__ASSUME_PSELECT): Define unconditionally.
48925 (__ASSUME_PPOLL): Likewise.
48926 (__ASSUME_ATFCTS): Likewise.
48927 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
48928 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
48929 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
48930 (__ASSUME_UTIMENSAT): Define unconditionally.
48931 (__ASSUME_PRIVATE_FUTEX): Likewise.
48932 (__ASSUME_FALLOCATE): Likewise.
48933 (__ASSUME_O_CLOEXEC): Likewise.
48934 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
48935 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
48936 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
48937 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
48938 (__ASSUME_IN_NONBLOCK): Likewise.
48939 (__ASSUME_PIPE2): Likewise.
48940 (__ASSUME_EVENTFD2): Likewise.
48941 (__ASSUME_SIGNALFD4): Likewise.
48942 (__ASSUME_DUP3): Likewise.
48943 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
48944 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
48945 (__ASSUME_AT_RANDOM): Likewise.
48946 (__ASSUME_PREADV): Likewise.
48947 (__ASSUME_PWRITEV): Likewise.
48948 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
48949 (__ASSUME_F_GETOWN_EX): Define unconditionally.
48950 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
48951 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
48952 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
48953 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48954 (__ASSUME_O_CLOEXEC): Define unconditionally.
48955 (__ASSUME_PSELECT): Do not undefine conditionally.
48956 (__ASSUME_PPOLL): Likewise.
48957 (__ASSUME_ATFCTS): Likewise.
48958 (__ASSUME_SET_ROBUST_LIST): Likewise.
48959 (__ASSUME_UTIMENSAT): Likewise.
48960 (__ASSUME_FDATASYNC): Define unconditionally.
48961 * sysdeps/unix/sysv/linux/arm/kernel-features.h
48962 (__ASSUME_SIGFRAME_V2): Likewise.
48963 )__ASSUME_EVENTFD2): Likewise.
48964 (__ASSUME_SIGNALFD4): Likewise.
48965 (__ASSUME_PSELECT): Do not undefine conditionally.
48966 (__ASSUME_PPOLL): Likewise.
48967 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48968 (__ASSUME_PSELECT): Define unconditionally.
48969 (__ASSUME_PPOLL): Likewise.
48970 (__ASSUME_O_CLOEXEC): Likewise.
48971 (__ASSUME_SOCK_CLOEXEC): Likewise.
48972 (__ASSUME_IN_NONBLOCK): Likewise.
48973 (__ASSUME_PIPE2): Likewise.
48974 (__ASSUME_EVENTFD2): Likewise.
48975 (__ASSUME_SIGNALFD4): Likewise.
48976 (__ASSUME_DUP3): Likewise.
48977 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48978 (__ASSUME_O_CLOEXEC): Likewise.
48979 (__ASSUME_SOCK_CLOEXEC): Likewise.
48980 (__ASSUME_IN_NONBLOCK): Likewise.
48981 (__ASSUME_PIPE2): Likewise.
48982 (__ASSUME_EVENTFD2): Likewise.
48983 (__ASSUME_SIGNALFD4): Likewise.
48984 (__ASSUME_DUP3): Likewise.
48985 * sysdeps/unix/sysv/linux/mips/kernel-features.h
48986 (__ASSUME_EVENTFD2): Likewise.
48987 (__ASSUME_SIGNALFD4): Likewise.
48988 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
48989
48990 2014-05-12 Andreas Schwab <schwab@suse.de>
48991
48992 [BZ #16932]
48993 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
48994 (_nss_nis_gethostbyname4_r): Return error if item length is larger
48995 than maximum RPC packet size.
48996 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
48997 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
48998 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
48999 (_nss_nis_getservbyport_r): Likewise.
49000
49001 2014-05-12 Will Newton <will.newton@linaro.org>
49002
49003 * malloc/Makefile (tests): Add tst-mallopt.
49004 * malloc/tst-mallopt.c: New file.
49005
49006 2014-05-09 Roland McGrath <roland@hack.frob.com>
49007
49008 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
49009 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
49010
49011 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49012
49013 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
49014 (tst-tlsmod6.so): Likewise.
49015
49016 2014-05-09 Roland McGrath <roland@hack.frob.com>
49017
49018 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
49019
49020 2014-05-09 Joseph Myers <joseph@codesourcery.com>
49021
49022 [BZ #16064]
49023 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
49024 and <dl-procinfo.h>.
49025 (__fegetenv): Save SSE state in envp->__eip if supported.
49026 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
49027 envp->__eip if supported.
49028 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
49029 and <dl-procinfo.h>.
49030 (__fesetenv): Always set __eip, __cs_selector, __opcode,
49031 __data_offset and __data_selector in environment to 0. Set SSE
49032 state if supported.
49033 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
49034 test-fenv-sse.
49035 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
49036 -mfpmath=sse.
49037 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
49038
49039 2014-05-09 Will Newton <will.newton@linaro.org>
49040
49041 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
49042 and libc_relro_required for ARM.
49043 * sysdeps/arm/preconfigure: Regenerate.
49044
49045 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
49046 Stefan Liebler <stli@linux.vnet.ibm.com>
49047
49048 * config.make.in (enable-lock-elision): New Makefile variable.
49049 * configure.ac: Likewise.
49050 * configure: Regenerate.
49051 * sysdeps/s390/configure.ac:
49052 Add check for gcc transactions support.
49053 * sysdeps/s390/configure: Regenerate.
49054 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
49055 Build elision files if enabled.
49056 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
49057 Add lock elision support for s390.
49058 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
49059 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
49060 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
49061 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
49062 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
49063 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
49064 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
49065 Likewise.
49066 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
49067 Likewise.
49068 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
49069 Likewise.
49070 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
49071 Likewise.
49072 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
49073 (__lll_timedlock_elision, __lll_lock_elision)
49074 (__lll_unlock_elision, __lll_trylock_elision)
49075 (lll_timedlock_elision, lll_lock_elision)
49076 (lll_unlock_elision, lll_trylock_elision): Add.
49077 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
49078 (pthread_mutex_t): Add lock elision support for s390.
49079
49080 2014-05-14 Wilco <wdijkstr@arm.com>
49081
49082 * sysdeps/arm/fclrexcpt.c: Cleanup.
49083 * sysdeps/arm/fedisblxcpt.c: Cleanup.
49084 * sysdeps/arm/feenablxcpt.c: Cleanup.
49085 * sysdeps/arm/fegetenv.c: Cleanup.
49086 * sysdeps/arm/fegetexcept.c: Cleanup.
49087 * sysdeps/arm/fegetround.c: Cleanup.
49088 * sysdeps/arm/feholdexcpt.c: Cleanup.
49089 * sysdeps/arm/fesetenv.c: Cleanup.
49090 * sysdeps/arm/fesetround.c: Cleanup.
49091 * sysdeps/arm/feupdateenv.c: Cleanup.
49092 * sysdeps/arm/fgetexcptflg.c: Cleanup.
49093 * sysdeps/arm/fraiseexcpt.c: Cleanup.
49094 * sysdeps/arm/fsetexcptflg.c: Cleanup.
49095 * sysdeps/arm/ftestexcept.c: Cleanup.
49096 * sysdeps/arm/get-rounding-mode.h: Cleanup.
49097 * sysdeps/arm/setfpucw.c: Cleanup.
49098
49099 2014-05-09 Will Newton <will.newton@linaro.org>
49100
49101 * sysdeps/arm/armv7/strcmp.S: New file.
49102 * NEWS: Mention addition of ARMv7 optimized strcmp.
49103
49104 2014-05-08 Roland McGrath <roland@hack.frob.com>
49105
49106 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
49107 look for %.ac rather than %.in.
49108
49109 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
49110 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
49111 * sysdeps/mach/hurd/configure: Regenerated.
49112 * sysdeps/unix/sysv/linux/configure: Regenerated.
49113
49114 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
49115
49116 2014-05-07 Steve Ellcey <sellcey@mips.com>
49117
49118 [BZ #16922]
49119 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
49120 (LONG_SUB): Ditto.
49121 (PTR_SUB): Ditto.
49122
49123 2014-05-07 Andreas Schwab <schwab@suse.de>
49124
49125 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
49126 when skipping over non-matching result from nscd.
49127
49128 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
49129
49130 [BZ #16876]
49131 * nptl/sockperf.c (client): Check socket return value.
49132
49133 [BZ #16877]
49134 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
49135 nscd security class.
49136
49137 2014-05-06 Roland McGrath <roland@hack.frob.com>
49138
49139 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
49140 * sysdeps/arm/unwind.h: ... here.
49141
49142 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
49143
49144 [BZ #16916]
49145 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
49146 Define.
49147
49148 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
49149
49150 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
49151 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
49152 multiarch strncpy for PPC64.
49153 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
49154 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
49155 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
49156 multiarch optimizations.
49157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49158 (__libc_ifunc_impl_list): Likewise.
49159 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
49160 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
49161 multiarch stpncpy for PPC64.
49162 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
49163 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
49164
49165 2014-05-06 Andreas Schwab <schwab@suse.de>
49166
49167 [BZ #16912]
49168 * gmon/mcount.c (_MCOUNT_DECL): Use
49169 atomic_compare_and_exchange_bool_acq instead of
49170 catomic_compare_and_exchange_bool_acq.
49171
49172 2014-05-05 Roland McGrath <roland@hack.frob.com>
49173
49174 * elf/Makefile (others, install-bin): Remove pldd.
49175 (pldd-modules): Variable removed.
49176 ($(objpfx)pldd): Target removed.
49177 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
49178 (others, install-bin): Append pldd here.
49179 ($(objpfx)pldd): New target.
49180
49181 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
49182 to 0, so the first #if test emitted later doesn't see it undefined.
49183 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
49184 * sysdeps/gnu/errlist.c: Regenerated.
49185
49186 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49187
49188 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
49189 [libc_hidden_builtin_def]: Define to empty value.
49190 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
49191 [libc_hidden_builtin_def]: Likewise.
49192 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
49193 [libc_hidden_builtin_def]: Likewise.
49194 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
49195 [libc_hidden_builtin_def]: Likewise.
49196 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
49197 __redirect_memcpy and define ifunc as default hidden symbol.
49198 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
49199 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
49200
49201 2014-05-04 Adam Conrad <adconrad@0c3.net>
49202
49203 * locale/iso-4217.def: Reintroduce XDR currency.
49204
49205 2014-05-04 Allan McRae <allan@archlinux.org>
49206
49207 * po/eo.po: Update Esperanto translation from translation project.
49208
49209 2014-05-02 Carlos O'Donell <carlos@redhat.com>
49210
49211 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
49212 and FEATURE_INDEX_MAX to 1.
49213 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
49214
49215 2014-05-01 Steve Ellcey <sellcey@mips.com>
49216
49217 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
49218 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
49219 * iconvdata/big5.c (ONE_DIRECTION): Define.
49220 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
49221 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
49222 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
49223 * iconvdata/cp932.c (ONE_DIRECTION): Define.
49224 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
49225 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
49226 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
49227 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
49228 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
49229 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
49230 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
49231 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
49232 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
49233 * iconvdata/gbk.c (ONE_DIRECTION): Define.
49234 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
49235 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
49236 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
49237 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
49238 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
49239 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
49240 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
49241 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
49242 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
49243 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
49244 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
49245 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
49246 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
49247 * iconvdata/iso646.c (ONE_DIRECTION): Define.
49248 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
49249 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
49250 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
49251 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
49252 * iconvdata/johab.c (ONE_DIRECTION): Define.
49253 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
49254 * iconvdata/sjis.c (ONE_DIRECTION): Define.
49255 * iconvdata/t.61.c (ONE_DIRECTION): Define.
49256 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
49257 * iconvdata/tscii.c (ONE_DIRECTION): Define.
49258 * iconvdata/uhc.c (ONE_DIRECTION): Define.
49259 * iconvdata/unicode.c (ONE_DIRECTION): Define.
49260 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
49261 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
49262 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
49263
49264 2014-05-01 Roland McGrath <roland@hack.frob.com>
49265
49266 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
49267 (_IO_JUMPS_OFFSET): Define to 0.
49268
49269 * nptl/sysdeps/pthread/bits/libc-lock.h
49270 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
49271 (__libc_lock_define_initialized_recursive): Always define using
49272 initializer. Modern compilers treat uninitialized (implicit zero) and
49273 explicit zero initializers the same (i.e. put the datum in bss).
49274
49275 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
49276
49277 * nscd/nscd-client.h: Include <string.h>.
49278
49279 2014-05-01 David S. Miller <davem@davemloft.net>
49280
49281 [BZ #16885]
49282 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
49283 multiple zero bytes exist at the end of a string.
49284 Reported by Aurelien Jarno <aurelien@aurel32.net>
49285
49286 * string/test-strcmp.c (check): Add explicit test for situations where
49287 there are multiple zero bytes after the first.
49288
49289 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
49290
49291 [BZ #16890]
49292 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
49293 when compiling wprintf.
49294 * stdio-common/tstdiomisc.c (t3): New function.
49295 (main): Call it.
49296
49297 2014-05-01 Steve Ellcey <sellcey@mips.com>
49298
49299 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
49300 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
49301 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
49302 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
49303
49304 2014-05-01 Steve Ellcey <sellcey@mips.com>
49305
49306 * stdlib/longlong.h: Updated from GCC.
49307
49308 2014-05-01 Will Newton <will.newton@linaro.org>
49309 Bernard Ogden <bernie.ogden@linaro.org>
49310
49311 * NEWS: Update fixed bug list.
49312
49313 [BZ #15119]
49314 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
49315
49316 2014-04-30 David S. Miller <davem@davemloft.net>
49317
49318 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
49319 (libc_feholdexcept_setround_sparc_ctx): New function.
49320 (libc_fesetenv_sparc_ctx): Likewise.
49321 (libc_feupdateenv_sparc_ctx): Likewise.
49322 (libc_feholdsetround_sparc_ctx): Likewise.
49323 (libc_feholdexcept_setround_ctx): Define.
49324 (libc_feholdexcept_setroundf_ctx): Likewise.
49325 (libc_feholdexcept_setroundl_ctx): Likewise.
49326 (libc_fesetenv_ctx): Likewise.
49327 (libc_fesetenvf_ctx): Likewise.
49328 (libc_fesetenvl_ctx): Likewise.
49329 (libc_feupdateenv_ctx): Likewise.
49330 (libc_feupdateenvf_ctx): Likewise.
49331 (libc_feupdateenvl_ctx): Likewise.
49332 (libc_feresetround_ctx): Likewise.
49333 (libc_feresetroundf_ctx): Likewise.
49334 (libc_feresetroundl_ctx): Likewise.
49335 (libc_feholdsetround_ctx): Likewise.
49336 (libc_feholdsetroundf_ctx): Likewise.
49337 (libc_feholdsetroundl_ctx): Likewise.
49338
49339 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
49340 with __USE_GNU instead of XOPEN cpp guards.
49341
49342 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
49343 0.
49344
49345 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
49346 with XOPEN cpp guards.
49347
49348 2014-04-30 Julian Brown <julian@codesourcery.com>
49349
49350 [BZ #16888]
49351 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
49352 handling.
49353
49354 2014-04-30 Joseph Myers <joseph@codesourcery.com>
49355
49356 [BZ #9894]
49357 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
49358 Change to 2.6.32.
49359 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
49360 * sysdeps/unix/sysv/linux/configure: Regenerated.
49361 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
49362 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
49363 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
49364 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
49365 * README: Update reference to required Linux kernel version.
49366 * manual/install.texi (Linux): Update reference to required Linux
49367 kernel headers version.
49368 * INSTALL: Regenerated.
49369
49370 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
49371 header inclusion.
49372 [POSIX] (limits.h): Likewise.
49373 [POSIX] (math.h): Likewise.
49374 [POSIX] (sys/wait.h): Likewise.
49375 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
49376 function.
49377 [POSIX] (stddef.h): Do not allow header inclusion.
49378
49379 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49380
49381 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
49382
49383 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
49384
49385 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
49386 Return immediately after lll_futex_wake.
49387
49388 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
49389
49390 [BZ #16791]
49391 * nscd/nscd-client.h (datahead_init_common): Initialize entire
49392 structure.
49393 (datahead_init_pos): Call datahead_init_common early.
49394 (datahead_init_neg): Likewise.
49395
49396 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
49397 datahead_init_neg): New functions.
49398 * nscd/aicache.c (addhstaiX): Use them.
49399 * nscd/grpcache.c (cache_addgr): Likewise.
49400 * nscd/hstcache.c (cache_addhst): Likewise.
49401 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49402 * nscd/netgroupcache.c (do_notfound): Likewise.
49403 (addgetnetgrentX): Likewise.
49404 (addinnetgrX): Likewise.
49405 * nscd/pwdcache.c (cache_addpw): Likewise.
49406 * nscd/servicescache.c (cache_addserv): Likewise.
49407
49408 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
49409 Atsushi Onoe <atsushi@onoe.org>
49410
49411 [BZ #14308]
49412 [BZ #12994]
49413 [BZ #13651]
49414 * resolv/res_query.c (__libc_res_nsearch): Return if at least
49415 one response is valid.
49416 * resolv/res_send.c (send_dg): Check for validity of other
49417 response if the current response is a referral.
49418
49419 2014-04-29 Steve Ellcey <sellcey@mips.com>
49420
49421 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
49422
49423 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
49424
49425 [BZ #16823]
49426 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
49427 Always divide by positive zero when computing -Inf result.
49428 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
49429 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
49430
49431 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49432
49433 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
49434 FPSCR if value do not change.
49435 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49436 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
49437 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
49438 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
49439 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
49440 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
49441 function.
49442
49443 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
49444
49445 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
49446 * sysdeps/unix/sysv/linux/hppa: Move directory from
49447 ports/systeps/unix/sysv/linux/hppa.
49448 * README: Update listing for hppa-*-linux-gnu.
49449
49450 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
49451
49452 [BZ #16754]
49453 * manual/stdio.texi (Hook functions): Fix types of stream hook
49454 functions.
49455 [BZ #16854]
49456 * socket/sys/socket.h: Fix typo in comment.
49457
49458 2014-04-28 Wilco <wdijkstr@arm.com>
49459
49460 * sysdeps/arm/fenv_private.h: New file.
49461 * sysdeps/arm/math_private.h: New file.
49462 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
49463
49464 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
49465
49466 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
49467 with __int128_t.
49468 (La_x86_64_retval): Likewise.
49469
49470 2014-04-24 Ian Bolton <ian.bolton@arm.com>
49471
49472 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
49473 fpsr if value didn't change.
49474 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
49475 to fpcr if value didn't change.
49476 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
49477 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
49478 fpsr or fpcr if value didn't change.
49479 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
49480 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
49481 fpcr if value didn't change.
49482 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
49483 to fpsr if value didn't change.
49484
49485 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
49486
49487 * nptl/tst-sem3.c: Use test-skeleton.c
49488 (main): Rename to do_test. Use return instead of
49489 exit.
49490 * nptl/tst-sem4.c: Use test-skeleton.c
49491 (main): Rename to do_test.
49492
49493 2014-04-22 David S. Miller <davem@davemloft.net>
49494
49495 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
49496 (struct sigaction): New struct member __glibc_reserved0, change
49497 type of sa_flags to int.
49498
49499 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
49500
49501 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
49502 (COUNT_LEADING_ZEROS_0): Define for AArch64.
49503
49504 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
49505
49506 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
49507 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
49508
49509 2014-04-22 Will Newton <will.newton@linaro.org>
49510 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
49511
49512 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
49513 (__longjmp): Add longjmp and longjmp_target SystemTap
49514 probes.
49515 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
49516 (__sigsetjmp): Add setjmp SystemTap probe.
49517
49518 2014-04-17 Carlos O'Donell <carlos@redhat.com>
49519
49520 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
49521 match manual order.
49522
49523 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49524
49525 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
49526
49527 * sysdeps/powerpc/fpu/fenv_private.h
49528 (libc_feholdexcept_setroundl_ctx): Define to
49529 libc_feholdexcept_setround_ppc_ctx.
49530 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
49531 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
49532 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
49533 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
49534
49535 2014-04-17 Ian Bolton <ian.bolton@arm.com>
49536
49537 * sysdeps/aarch64/math-tests.h: New file.
49538
49539 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
49540
49541 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
49542 New.
49543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49544 Check and set bit_AVX2_Usable.
49545 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
49546 macro.
49547 (bit_AVX2): Likewise.
49548 (index_AVX2_Usable): Likewise.
49549 (CPUID_AVX2): Likewise.
49550 (HAS_AVX2): Likewise.
49551
49552 2014-04-17 Will Newton <will.newton@linaro.org>
49553
49554 * manual/setjmp.texi (System V contexts): Add note that
49555 calling setcontext on a context created by a call to a
49556 signal handler is undefined. Update text to note that
49557 setcontext from a signal handler is possible but not
49558 recommended.
49559
49560 [BZ #16629]
49561 * stdlib/tst-setcontext.c: Include signal.h.
49562 (main): Check that the signal stack before and
49563 after swapcontext is the same.
49564
49565 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
49566 Re-implement to restore registers in user code and avoid
49567 rt_sigreturn system call.
49568
49569 2014-04-17 Wilco <wdijkstr@arm.com>
49570
49571 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
49572 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
49573 * math/test-fenv.c: Skip exception trap tests on targets which only
49574 support non-stop mode.
49575
49576 2014-04-17 Ian Bolton <ian.bolton@arm.com>
49577 Wilco Dijkstra <wilco.dijkstra@arm.com>
49578
49579 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
49580 (libc_feholdsetround_aarch64_ctx)
49581 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
49582 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
49583 (libc_feresetround_ctx, libc_feresetroundf_ctx)
49584 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
49585 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
49586 (libc_feresetround_noexl_ctx): Define.
49587
49588 2014-04-16 Richard Henderson <rth@redhat.com>
49589
49590 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
49591
49592 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
49593 unwind tables.
49594
49595 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
49596 const from the non-libc, non-ldso copy.
49597
49598 * sysdeps/alpha/libm-test-ulps: Regenerate.
49599
49600 2014-04-16 Ian Bolton <ian.bolton@arm.com>
49601 Wilco Dijkstra <wilco.dijkstra@arm.com>
49602
49603 * sysdeps/aarch64/fpu/math_private.h: New file.
49604
49605 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
49606
49607 * sysdeps/aarch64/libm-test-ulps: Regenerate.
49608
49609 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
49610
49611 [BZ #16275]
49612 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
49613 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
49614 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
49615 Intel MPX bound registers before _dl_profile_fixup.
49616 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
49617 registers after _dl_profile_fixup. Save and restore bound
49618 registers bnd0/bnd1 when calling _dl_call_pltexit.
49619 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
49620 (LR_BND_OFFSET): Likewise.
49621 (LRV_BND0_OFFSET): Likewise.
49622 (LRV_BND1_OFFSET): Likewise.
49623
49624 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
49625
49626 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
49627 to...
49628 * sysdeps/mach/hurd/i386/tls.h: ... here.
49629 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
49630 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
49631 fields.
49632
49633 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
49634
49635 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
49636
49637 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
49638
49639 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49640
49641 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
49642
49643 [BZ #14770]
49644 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
49645 * sysdeps/s390/configure: Regenerate.
49646
49647 [BZ #16824]
49648 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
49649 Set round-to-nearest internally to reduce error accumulation.
49650
49651 2014-04-16 Alan Modra <amodra@gmail.com>
49652
49653 [BZ #16740]
49654 [BZ #16619]
49655 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
49656 * math/libm-test.inc (frexp_test_data): Add tests.
49657 * NEWS: Update fixed bug list.
49658
49659 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
49660
49661 * benchtests/Makefile: Depend on libraries in build directory.
49662 (bench-math): Separate out math tests.
49663 (bench-pthread): Separate out pthread tests.
49664 (bench): Include math and pthread tests.
49665
49666 2014-04-14 Carlos O'Donell <carlos@redhat.com>
49667
49668 [BZ #16831]
49669 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
49670 _dl_debug_initialize.
49671
49672 * configure.ac: Remove SELinux header check.
49673 * configure: Regenerate.
49674 * nscd/selinux.c (perms): Array of const char* to permission names.
49675 (nscd_request_avc_has_perm): Call security_deny_unknown to find
49676 default policy. Call string_to_security_class and string_to_av_perm to
49677 translate strings. Enforce default policy and call avs_has_perm with
49678 results of translated strings.
49679
49680 2014-04-13 David S. Miller <davem@davemloft.net>
49681
49682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49683
49684 2014-04-12 Allan McRae <allan@archlinux.org>
49685
49686 [BZ #16838]
49687 * manual/string.texi (Collation Functions): Fix qsort argument
49688 order in example.
49689 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49690
49691 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
49692
49693 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
49694 Make the test a no-op if there are no exceptions defined.
49695
49696 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
49697
49698 * elf/Makefile (tests): make tst-dlopen-aout conditional on
49699 enable-hardcoded-path-in-tests
49700
49701 2014-04-11 Will Newton <will.newton@linaro.org>
49702
49703 * benchtests/Makefile (extra-objs): Add json-lib.o.
49704 (bench-func): Tidy up JSON output.
49705 * benchtests/bench-skeleton.c: Include json-lib.h.
49706 (main): Use JSON library functions to do output of
49707 benchmark results.
49708 * benchtests/bench-timing-type.c (main): Output the
49709 timing type simply, leaving formatting to the user.
49710 * benchtests/json-lib.c: New file.
49711 * benchtests/json-lib.h: Likewise.
49712
49713 2014-04-11 Torvald Riegel <triegel@redhat.com>
49714
49715 [BZ #15215]
49716 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
49717 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
49718 memory barriers. Add comments.
49719 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
49720 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
49721 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
49722 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
49723 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
49724 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
49725
49726 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
49727
49728 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
49729 * sysdeps/s390/s390-64/configure.ac: ... this ...
49730 * sysdeps/s390/configure.ac: ... to here.
49731 * sysdeps/s390/s390-32/configure: Delete file.
49732 * sysdeps/s390/s390-64/configure: Delete file.
49733 * sysdeps/s390/configure: Regenerate.
49734
49735 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
49736
49737 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
49738
49739 2014-04-11 Will Newton <will.newton@linaro.org>
49740
49741 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
49742 to zero if it is not defined elsewhere. (mtrim): Test
49743 the value of MALLOC_DEBUG with #if rather than #ifdef.
49744
49745 2014-04-10 Torvald Riegel <triegel@redhat.com>
49746
49747 * benchtests/pthread_once-inputs: New file.
49748 * benchtests/pthread_once-source.c: New file.
49749 * benchtests/README: Update documentation.
49750
49751 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
49752 H.J. Lu <hongjiu.lu@intel.com>
49753
49754 [BZ #16275]
49755 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
49756 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
49757 * sysdeps/x86_64/configure: Regenerated.
49758 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
49759 macro.
49760 (REGISTER_SAVE_RAX): Likewise.
49761 (REGISTER_SAVE_RCX): Likewise.
49762 (REGISTER_SAVE_RDX): Likewise.
49763 (REGISTER_SAVE_RSI): Likewise.
49764 (REGISTER_SAVE_RDI): Likewise.
49765 (REGISTER_SAVE_R8): Likewise.
49766 (REGISTER_SAVE_R9): Likewise.
49767 (REGISTER_SAVE_BND0): Likewise.
49768 (REGISTER_SAVE_BND1): Likewise.
49769 (REGISTER_SAVE_BND2): Likewise.
49770 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
49771 bound registers when calling _dl_fixup.
49772
49773 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49774
49775 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
49776 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
49777 of its definition.
49778 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
49779 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
49780 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
49781 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
49782 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
49783 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
49784 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
49785
49786 2014-04-09 Peter Brett <peter@peter-b.co.uk>
49787
49788 [BZ #15514]
49789 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
49790 pathconf(_PC_NAME_MAX).
49791
49792 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49793
49794 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
49795 Remove macro usage.
49796 (__PTHREAD_SPINS): Move definition to ...
49797 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
49798 (__PTHREAD_SPINS): ... here.
49799 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
49800 (__PTHREAD_SPIN): Likewise.
49801 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
49802 (__PTHREAD_SPIN): Likewise.
49803 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
49804 (__PTHREAD_SPIN): Likewise.
49805 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
49806 (__PTHREAD_SPIN): Likewise.
49807 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
49808 (__PTHREAD_SPIN): Likewise.
49809 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
49810 (__PTHREAD_SPIN): Likewise.
49811 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
49812 (__PTHREAD_SPIN): Likewise.
49813 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
49814 (__PTHREAD_SPIN): Likewise.
49815 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
49816 (__PTHREAD_SPIN): Likewise.
49817 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
49818 (__PTHREAD_SPIN): Likewise.
49819 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
49820 (__PTHREAD_SPIN): Likewise.
49821 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
49822 (__PTHREAD_SPIN): Likewise.
49823
49824 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
49825 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
49826 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
49827 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
49828 imply folder.
49829 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
49830 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
49831 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
49832 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
49833 correct imply path.
49834 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
49835 strlen symbol for non multi-arch builds.
49836 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
49837 missing hidden_def and weak_alias.
49838
49839 2014-04-08 Carlos O'Donell <carlos@redhat.com>
49840
49841 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
49842
49843 2014-04-07 Will Newton <will.newton@linaro.org>
49844
49845 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
49846 and contents. [!_LIBC] Remove #ifndef and contents.
49847 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
49848 * string/memccpy.c (__memccpy): Use ANSI prototype.
49849 * string/memfrob.c (memfrob): Likewise.
49850 * string/strcoll.c (STRCOLL): Likewise.
49851 * string/strlen.c (strlen): Likewise.
49852 * string/strtok.c (STRTOK): Likewise.
49853 * string/strcat.c: Remove unused #include of memcopy.h.
49854 (strcat): Use ANSI prototype.
49855 * string/strchr.c: Remove unused #include of memcopy.h.
49856 (strchr): Use ANSI prototype.
49857 * string/strcmp.c: Remove unused #include of memcopy.h.
49858 (strcmp): Use ANSI prototype.
49859 * string/strcpy.c: Remove unused #include of memcopy.h.
49860 (strcpy): Use ANSI prototype.
49861
49862 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49863
49864 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
49865 * config.make.in (config-extra-cppflags): Set it from
49866 libc_extra_cppflags.
49867 * configure.ac (libc_extra_cflags): Make it accumulate over
49868 configure fragments.
49869 (libc_extra_cppflags): New flag.
49870 * configure. Regenerate.
49871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
49872 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
49873 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
49874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
49875
49876 [BZ #16815]
49877 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
49878 result for FE_DOWNWARD rounding mode.
49879 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
49880 Likewise.
49881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49882
49883 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
49884
49885 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
49886 in function argument name.
49887
49888 2014-04-03 David Svoboda <svoboda@cert.org>
49889
49890 [BZ #5666]
49891 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
49892 explicitly.
49893
49894 2014-04-03 Roland McGrath <roland@hack.frob.com>
49895
49896 * elf/dl-unmap-segments.h: New file.
49897 * sysdeps/generic/ldsodefs.h
49898 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
49899 * elf/dl-close.c: Include <dl-unmap-segments.h>.
49900 * elf/dl-fptr.c: Likewise.
49901 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
49902 * sysdeps/aarch64/tlsdesc.c: Likewise.
49903 * sysdeps/arm/tlsdesc.c: Likewise.
49904 * sysdeps/i386/tlsdesc.c: Likewise.
49905 * sysdeps/tile/dl-runtime.c: Likewise.
49906 * sysdeps/x86_64/tlsdesc.c: Likewise.
49907 * elf/dl-load.h: New file.
49908 * elf/dl-load.c: Include it.
49909 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
49910 Macros moved to dl-load.h.
49911 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
49912 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
49913 Use _dl_unmap_segments in place of __munmap.
49914 Break out segment-mapping loop into ...
49915 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
49916
49917 2014-04-03 Will Newton <will.newton@linaro.org>
49918
49919 * elf/dl-lookup.c (do_lookup_x): Remove comment
49920 referring to nested function and move variable
49921 declarations down to before first use.
49922
49923 2014-04-02 Joseph Myers <joseph@codesourcery.com>
49924
49925 [BZ #16799]
49926 [BZ #16800]
49927 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
49928 with 0 numerator.
49929 * math/s_catanf.c (__catanf): Likewise.
49930 * math/s_catanh.c (__catanh): Likewise.
49931 * math/s_catanhf.c (__catanhf): Likewise.
49932 * math/s_catanhl.c (__catanhl): Likewise.
49933 * math/s_catanl.c (__catanl): Likewise.
49934 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
49935 by positive zero when computing -Inf result.
49936 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
49937 (catanh_test): Likewise.
49938 * sysdeps/i386/fpu/libm-test-ulps: Update.
49939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49940
49941 [BZ #16789]
49942 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
49943 instead of using underflowing value in computing result.
49944 * math/s_clog10.c (__clog10): Likewise.
49945 * math/s_clog10f.c (__clog10f): Likewise.
49946 * math/s_clog10l.c (__clog10l): Likewise.
49947 * math/s_clogf.c (__clogf): Likewise.
49948 * math/s_clogl.c (__clogl): Likewise.
49949 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
49950 (clog10_test): Likewise.
49951 * sysdeps/i386/fpu/libm-test-ulps: Update.
49952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49953
49954 2014-04-02 Alan Modra <amodra@gmail.com>
49955
49956 [BZ #16739]
49957 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
49958 output when value is near a power of two. Use int64_t for lx and
49959 remove casts. Use decimal rather than hex exponent constants.
49960 Don't use long double multiplication when double will suffice.
49961 * math/libm-test.inc (nextafter_test_data): Add tests.
49962 * NEWS: Add 16739 and 16786 to bug list.
49963
49964 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
49965
49966 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
49967
49968 2014-04-01 Will Newton <will.newton@linaro.org>
49969
49970 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
49971 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
49972
49973 2014-04-01 Florian Weimer <fweimer@redhat.com>
49974
49975 [BZ #13347]
49976 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
49977 * nptl/tst-setuid2.c: New file.
49978 * nptl/Makefile (xtests): Add tst-setuid2.
49979
49980 2014-04-01 Alan Modra <amodra@gmail.com>
49981
49982 [BZ #16786]
49983 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
49984
49985 2014-03-31 Joseph Myers <joseph@codesourcery.com>
49986
49987 [BZ #6803]
49988 [BZ #6804]
49989 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
49990 set errno as appropriate.
49991 * math/w_scalbf.c (__scalbf): Likewise.
49992 * math/w_scalbl.c (__scalbl): Likewise.
49993 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
49994 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
49995 * math/libm-test.inc (scalb_test_data): Add errno expectations.
49996 Add more NaN tests.
49997
49998 [BZ #16349]
49999 * math/w_atan2.c: Include <errno.h>.
50000 (__atan2): Set errno for result underflowing to zero.
50001 * math/w_atan2f.c: Include <errno.h>.
50002 (__atan2f): Set errno for result underflowing to zero.
50003 * math/w_atan2l.c: Include <errno.h>.
50004 (__atan2l): Set errno for result underflowing to zero.
50005 * math/auto-libm-test-in: Don't allow missing errno for some atan2
50006 tests.
50007 * math/auto-libm-test-out: Regenerated.
50008
50009 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50010
50011 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
50012 Encode instruction correctly in little endian.
50013 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
50014 Likewise.
50015 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
50016 Likewise.
50017 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
50018 Likewise.
50019 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
50020 Likewise.
50021
50022 2014-03-31 Joseph Myers <joseph@codesourcery.com>
50023
50024 [BZ #9894]
50025 * sysdeps/unix/sysv/linux/kernel-features.h
50026 [__sparc__ && !__arch64__ && !__sparc_v9__]
50027 (__ASSUME_SET_ROBUST_LIST): Do not define.
50028 [__sparc__ && !__arch64__ && !__sparc_v9__]
50029 (__ASSUME_FUTEX_LOCK_PI): Likewise.
50030 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
50031 Likewise.
50032 * sysdeps/unix/sysv/linux/arm/kernel-features.h
50033 (__ASSUME_FUTEX_LOCK_PI): Undefine.
50034 (__ASSUME_REQUEUE_PI): Likewise.
50035 (__ASSUME_SET_ROBUST_LIST): Likewise.
50036 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50037 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
50038 Undefine.
50039 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50040 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
50041 Likewise.
50042 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
50043 Likewise.
50044 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
50045 Likewise.
50046 * sysdeps/unix/sysv/linux/mips/kernel-features.h
50047 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
50048 Undefine.
50049 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
50050 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
50051 Likewise.
50052
50053 [BZ #16648]
50054 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50055 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
50056 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
50057
50058 2014-03-31 Will Newton <will.newton@linaro.org>
50059
50060 * benchtests/Makefile (bench): Add ffs and ffsll to list
50061 of tests.
50062 * benchtests/ffs-inputs: New file.
50063 * benchtests/ffsll-inputs: Likewise.
50064
50065 2014-03-29 Joseph Myers <joseph@codesourcery.com>
50066
50067 [BZ #16770]
50068 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
50069 too large before casting to int.
50070 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
50071 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
50072 * math/libm-test.inc (scalb_test_data): Add more tests.
50073
50074 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
50075
50076 * benchtests/Makefile (DETAILED_OPT): New make option.
50077 (bench-func): Run benchmark program with -d if DETAILED_OPT is
50078 set.
50079 * benchtests/bench-skeleton.c: Include stdbool.h.
50080 (main): Store and print timings per input.
50081 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
50082 member to each argument value.
50083 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
50084 (_print_arg_data): Initialize per-input timing to 0.
50085
50086 * benchtests/Makefile (timing-type): New binary.
50087 (bench-clean): Also remove bench-timing-type.
50088 (bench): New target for timing-type.
50089 (bench-func): Print output in JSON format.
50090 * benchtests/bench-skeleton.c (main): Print output in JSON
50091 format.
50092 * benchtests/bench-timing-type.c: New file.
50093 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
50094 (TIMING_PRINT_STATS): Remove.
50095 * benchtests/scripts/bench.py (_print_arg_data): Store variant
50096 name separately.
50097
50098 * benchtests/bench-modf.c: Remove.
50099 * benchtests/modf-inputs: New inputs file.
50100
50101 2014-03-28 Joseph Myers <joseph@codesourcery.com>
50102
50103 [BZ #16362]
50104 * math/s_clog10.c (M_PI_LOG10E): New macro.
50105 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
50106 imaginary parts are 0.
50107 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
50108 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
50109 imaginary parts are 0.
50110 * math/s_clog10l.c (M_PI_LOG10El): New macro.
50111 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
50112 imaginary parts are 0.
50113 * math/libm-test.inc (clog10_test_data): Update expected results
50114 for when real and imaginary parts are 0.
50115
50116 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
50117
50118 * elf/dl-load.c: Finish conversion of __builtin_expect into
50119 __glibc_{un}likely.
50120
50121 2014-03-27 Joseph Myers <joseph@codesourcery.com>
50122
50123 [BZ #16348]
50124 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
50125 1+x for argument with exponent below -67.
50126 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
50127 Likewise.
50128 * math/auto-libm-test-in: Add more tests of exp.
50129 * math/auto-libm-test-out: Regenerated.
50130
50131 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
50132
50133 [BZ #16759]
50134 * inet/getnetgrent_r.c (get_nonempty_val): New function.
50135 (nscd_getnetgrent): Use it.
50136
50137 [BZ #16760]
50138 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
50139 of stpcpy.
50140
50141 2014-03-27 Andi Kleen <ak@linux.intel.com>
50142
50143 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
50144 (lll_robust_lock, lll_cond_lock, lll_timedlock)
50145 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
50146 (lll_robust_unlock): Remove out of line section. Use cfi
50147 intrinsics.
50148 (LLL_STUB_UNWIND_INFO*): Remove.
50149 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
50150 (lll_robust_lock, lll_cond_lock, lll_timedlock)
50151 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
50152 (lll_robust_unlock): Remove out of line section. Use cfi
50153 intrinsics.
50154 (LLL_STUB_UNWIND_INFO*): Remove.
50155
50156 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
50157
50158 [BZ #16758]
50159 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
50160 blank values.
50161
50162 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
50163
50164 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
50165
50166 2014-03-26 Joseph Myers <joseph@codesourcery.com>
50167
50168 [BZ #16198]
50169 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
50170 fnstenv.
50171 * math/test-fenv-preserve.c: New file.
50172 * math/Makefile (tests): Add test-fenv-preserve.
50173
50174 2014-03-26 Will Newton <will.newton@linaro.org>
50175
50176 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
50177
50178 2014-03-25 Roland McGrath <roland@hack.frob.com>
50179
50180 * scripts/versionlist.awk: Partition the version sets and emit all
50181 GLIBC_* (sorted) before all others (sorted).
50182
50183 2014-03-25 Joseph Myers <joseph@codesourcery.com>
50184
50185 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
50186 GLIBC_2.2.5 version.
50187
50188 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50189
50190 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
50191 calls.
50192
50193 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
50194 previous change.
50195
50196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50197
50198 2014-03-25 Andreas Schwab <schwab@suse.de>
50199
50200 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
50201 label to be used after in6ailist is initialized.
50202
50203 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50204
50205 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
50206 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
50207
50208 2014-03-25 Joseph Myers <joseph@codesourcery.com>
50209
50210 [BZ #16357]
50211 [BZ #16599]
50212 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
50213 min_plus_half.
50214 (fp_formats): Update initializers.
50215 (init_fp_formats): Initialize new field.
50216 (output_for_one_input_case): Allow underflow for results up to
50217 min_plus_half.
50218 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
50219 * math/auto-libm-test-in: Don't mark some underflows from asin and
50220 atanh as spurious.
50221 * math/auto-libm-test-out: Regenerated.
50222 * sysdeps/i386/fpu/libm-test-ulps: Update.
50223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50224
50225 2014-03-25 Andreas Schwab <schwab@suse.de>
50226
50227 * libio/Makefile (tst-ftell-partial-wide-ENV)
50228 (tst-ftell-active-handler-ENV): Define.
50229
50230 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
50231
50232 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
50233
50234 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
50235
50236 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
50237
50238 2014-03-24 Joseph Myers <joseph@codesourcery.com>
50239
50240 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
50241 * sysdeps/x86_64/fpu/multiarch/e_exp.c
50242 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
50243
50244 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
50245
50246 [BZ #16634]
50247 * elf/dl-load.c (open_verify): Add mode parameter.
50248 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
50249 (open_path): Change from boolean 'secure' to complete flag 'mode'
50250 (_dl_map_object): Adjust.
50251 * elf/Makefile (tests): Add tst-dlopen-aout.
50252 * elf/tst-dlopen-aout.c: New test.
50253
50254 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
50255
50256 [BZ #16714]
50257 * sysdeps/unix/sysv/linux/s390/bits/stat.h
50258 (struct stat): Rename member pad0 to __glibc_reserved0.
50259
50260 [BZ #16712]
50261 * sysdeps/s390/s390-32/bits/wordsize.h
50262 (__WORDSIZE32_SIZE_ULONG): New define.
50263 * sysdeps/s390/s390-64/bits/wordsize.h
50264 (__WORDSIZE32_SIZE_ULONG): Likewise.
50265 * sysdeps/generic/stdint.h (SIZE_MAX):
50266 Define as UL if __WORDSIZE32_SIZE_ULONG.
50267
50268 [BZ #16713]
50269 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
50270 (__glibc_reserved0): New variable.
50271 (sa_flags): Change type to int.
50272
50273 * posix/Makefile (before-compile): Use += before-compile instead
50274 of a :=.
50275
50276 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
50277 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
50278
50279 2014-03-20 Andreas Schwab <schwab@suse.de>
50280
50281 [BZ #16743]
50282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
50283 non-matching result from nscd.
50284
50285 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
50286
50287 * scripts/bench.py: Moved to ...
50288 * benchtests/scripts/bench.py: ... here.
50289 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
50290
50291 2014-03-24 Andreas Schwab <schwab@suse.de>
50292
50293 [BZ #16002]
50294 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
50295 alloca_account and account alloca use for struct in6ailist.
50296
50297 2014-03-24 Joseph Myers <joseph@codesourcery.com>
50298
50299 [BZ #16284]
50300 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
50301 rounding mode to recompute results that overflow to infinity or
50302 underflow to zero.
50303 * math/auto-libm-test-in: Don't mark tests as expected to fail for
50304 bug 16284.
50305 * math/auto-libm-test-out: Regenerated.
50306 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
50307 (ccosh_test): Likewise.
50308 (csin_test_data): Use plus_oflow.
50309 (csin_test): Use ALL_RM_TEST.
50310 (csinh_test_data): Use plus_oflow.
50311 (csinh_test): Use ALL_RM_TEST.
50312 * sysdeps/i386/fpu/libm-test-ulps: Update.
50313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50314
50315 2014-03-21 Joseph Myers <joseph@codesourcery.com>
50316
50317 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
50318 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
50319 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
50320
50321 [BZ #16731]
50322 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
50323 when x - 1 is zero.
50324 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
50325 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
50326 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
50327 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
50328 argument is 1.
50329 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
50330 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
50331 zero.
50332 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
50333 * sysdeps/i386/fpu/libm-test-ulps: Update.
50334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50335
50336 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
50337
50338 * scripts/bench.pl: Remove file.
50339 * scripts/bench.py: New benchmark script.
50340 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
50341 * benchtests/README: Mention python dependency.
50342 * scripts/pylintrc: New file.
50343 * scripts/pylint: New file.
50344
50345 * bits/mathdef.h: Use #ifdef instead of #if.
50346 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
50347 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
50348 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
50349 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
50350 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
50351 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
50352
50353 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50354 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
50355
50356 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
50357 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
50358 and strpbrk-ppc64 objects.
50359 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50360 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
50361 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
50362 multiarch strpbrk for POWER7.
50363 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
50364 multiarch strpbrk for PPC64.
50365 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
50366 ifunc selector.
50367 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
50368 strpbrk for POWER7.
50369
50370 2014-03-20 Joseph Myers <joseph@codesourcery.com>
50371
50372 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
50373 (atan_test): Likewise.
50374 (atanh_test_data): Use NO_TEST_INLINE for two tests.
50375 (atanh_test): Use ALL_RM_TEST.
50376 (atan2_test_data): Likewise.
50377 (cabs_test): Likewise.
50378 (cacosh_test): Likewise.
50379 (carg_test): Likewise.
50380 (casin_test): Likewise.
50381 (casinh_test): Likewise.
50382 (cbrt_test): Likewise.
50383 (csqrt_test): Likewise.
50384 (erf_test): Likewise.
50385 (erfc_test): Likewise.
50386 (pow10_test): Likewise.
50387 (exp2_test): Likewise.
50388 (hypot_test): Likewise.
50389 (j0_test): Likewise.
50390 (j1_test): Likewise.
50391 (lgamma_test): Likewise.
50392 (gamma_test): Likewise.
50393 (sincos_test): Likewise.
50394 (tanh_test): Likewise.
50395 (y0_test): Likewise.
50396 (y1_test): Likewise.
50397 * sysdeps/i386/fpu/libm-test-ulps: Update.
50398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50399
50400 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50401
50402 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
50403 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
50404 and strcspn-ppc64 objects.
50405 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50406 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
50407 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
50408 multiarch strcspn for POWER7.
50409 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
50410 multiarch strcspn for PPC64.
50411 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
50412 ifunc selector.
50413 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
50414 strcspn for POWER7.
50415
50416 2014-03-20 Joseph Myers <joseph@codesourcery.com>
50417
50418 * math/gen-libm-test.pl (generate_testfile): Expect only function
50419 name as argument to AUTO_TESTS_* and pass results for all rounding
50420 modes to parse_args.
50421 (parse_auto_input): Separate inputs of automatic tests from
50422 outputs before storing in %auto_tests.
50423 * math/libm-test.inc (acos_test_data): Update call to
50424 AUTO_TESTS_f_f.
50425 (acos_test): Use ALL_RM_TEST.
50426 (acos_tonearest_test_data): Remove.
50427 (acos_test_tonearest): Likewise.
50428 (acos_towardzero_test_data): Likewise.
50429 (acos_test_towardzero): Likewise.
50430 (acos_downward_test_data): Likewise.
50431 (acos_test_downward): Likewise.
50432 (acos_upward_test_data): Likewise.
50433 (acos_test_upward): Likewise.
50434 (acosh_test_data): Update call to AUTO_TESTS_f_f.
50435 (asin_test_data): Likewise.
50436 (asin_test): Use ALL_RM_TEST.
50437 (asin_tonearest_test_data): Remove.
50438 (asin_test_tonearest): Likewise.
50439 (asin_towardzero_test_data): Likewise.
50440 (asin_test_towardzero): Likewise.
50441 (asin_downward_test_data): Likewise.
50442 (asin_test_downward): Likewise.
50443 (asin_upward_test_data): Likewise.
50444 (asin_test_upward): Likewise.
50445 (asinh_test_data): Update call to AUTO_TESTS_f_f.
50446 (atan_test_data): Likewise.
50447 (atanh_test_data): Likewise.
50448 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
50449 (cabs_test_data): Update call to AUTO_TESTS_c_f.
50450 (carg_test_data): Likewise.
50451 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
50452 (ccos_test_data): Update call to AUTO_TESTS_c_c.
50453 (ccosh_test_data): Likewise.
50454 (cexp_test_data): Likewise.
50455 (clog_test_data): Likewise.
50456 (clog10_test_data): Likewise.
50457 (cos_test_data): Update call to AUTO_TESTS_f_f.
50458 (cos_test): Use ALL_RM_TEST.
50459 (cos_tonearest_test_data): Remove.
50460 (cos_test_tonearest): Likewise.
50461 (cos_towardzero_test_data): Likewise.
50462 (cos_test_towardzero): Likewise.
50463 (cos_downward_test_data): Likewise.
50464 (cos_test_downward): Likewise.
50465 (cos_upward_test_data): Likewise.
50466 (cos_test_upward): Likewise.
50467 (cosh_test_data): Update call to AUTO_TESTS_f_f.
50468 (cosh_test): Use ALL_RM_TEST.
50469 (cosh_tonearest_test_data): Remove.
50470 (cosh_test_tonearest): Likewise.
50471 (cosh_towardzero_test_data): Likewise.
50472 (cosh_test_towardzero): Likewise.
50473 (cosh_downward_test_data): Likewise.
50474 (cosh_test_downward): Likewise.
50475 (cosh_upward_test_data): Likewise.
50476 (cosh_test_upward): Likewise.
50477 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
50478 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
50479 (ctan_test_data): Likewise.
50480 (ctan_test): Use ALL_RM_TEST.
50481 (ctan_tonearest_test_data): Remove.
50482 (ctan_test_tonearest): Likewise.
50483 (ctan_towardzero_test_data): Likewise.
50484 (ctan_test_towardzero): Likewise.
50485 (ctan_downward_test_data): Likewise.
50486 (ctan_test_downward): Likewise.
50487 (ctan_upward_test_data): Likewise.
50488 (ctan_test_upward): Likewise.
50489 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
50490 (ctanh_test): Use ALL_RM_TEST.
50491 (ctanh_tonearest_test_data): Remove.
50492 (ctanh_test_tonearest): Likewise.
50493 (ctanh_towardzero_test_data): Likewise.
50494 (ctanh_test_towardzero): Likewise.
50495 (ctanh_downward_test_data): Likewise.
50496 (ctanh_test_downward): Likewise.
50497 (ctanh_upward_test_data): Likewise.
50498 (ctanh_test_upward): Likewise.
50499 (erf_test_data): Update call to AUTO_TESTS_f_f.
50500 (erfc_test_data): Likewise.
50501 (exp_test_data): Likewise.
50502 (exp_test): Use ALL_RM_TEST.
50503 (exp_tonearest_test_data): Remove.
50504 (exp_test_tonearest): Likewise.
50505 (exp_towardzero_test_data): Likewise.
50506 (exp_test_towardzero): Likewise.
50507 (exp_downward_test_data): Likewise.
50508 (exp_test_downward): Likewise.
50509 (exp_upward_test_data): Likewise.
50510 (exp_test_upward): Likewise.
50511 (exp10_test_data): Update call to AUTO_TESTS_f_f.
50512 (exp10_test): Use ALL_RM_TEST.
50513 (exp10_tonearest_test_data): Remove.
50514 (exp10_test_tonearest): Likewise.
50515 (exp10_towardzero_test_data): Likewise.
50516 (exp10_test_towardzero): Likewise.
50517 (exp10_downward_test_data): Likewise.
50518 (exp10_test_downward): Likewise.
50519 (exp10_upward_test_data): Likewise.
50520 (exp10_test_upward): Likewise.
50521 (exp2_test_data): Update call to AUTO_TESTS_f_f.
50522 (expm1_test_data): Likewise.
50523 (expm1_test): Use ALL_RM_TEST.
50524 (expm1_tonearest_test_data): Remove.
50525 (expm1_test_tonearest): Likewise.
50526 (expm1_towardzero_test_data): Likewise.
50527 (expm1_test_towardzero): Likewise.
50528 (expm1_downward_test_data): Likewise.
50529 (expm1_test_downward): Likewise.
50530 (expm1_upward_test_data): Likewise.
50531 (expm1_test_upward): Likewise.
50532 (fma_test_data): Update call to AUTO_TESTS_fff_f.
50533 (fma_test): Use ALL_RM_TEST.
50534 (fma_towardzero_test_data): Remove.
50535 (fma_test_towardzero): Likewise.
50536 (fma_downward_test_data): Likewise.
50537 (fma_test_downward): Likewise.
50538 (fma_upward_test_data): Likewise.
50539 (fma_test_upward): Likewise.
50540 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
50541 (j0_test_data): Update call to AUTO_TESTS_f_f.
50542 (j1_test_data): Likewise.
50543 (jn_test_data): Update call to AUTO_TESTS_if_f.
50544 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
50545 (log_test_data): Update call to AUTO_TESTS_f_f.
50546 (log10_test_data): Likewise.
50547 (log1p_test_data): Likewise.
50548 (log2_test_data): Likewise.
50549 (pow_test_data): Update call to AUTO_TESTS_ff_f.
50550 (pow_tonearest_test_data): Likewise.
50551 (sin_test_data): Update call to AUTO_TESTS_f_f.
50552 (sin_test): Use ALL_RM_TEST.
50553 (sin_tonearest_test_data): Remove.
50554 (sin_test_tonearest): Likewise.
50555 (sin_towardzero_test_data): Likewise.
50556 (sin_test_towardzero): Likewise.
50557 (sin_downward_test_data): Likewise.
50558 (sin_test_downward): Likewise.
50559 (sin_upward_test_data): Likewise.
50560 (sin_test_upward): Likewise.
50561 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
50562 (sinh_test_data): Update call to AUTO_TESTS_f_f.
50563 (sinh_test): Use ALL_RM_TEST.
50564 (sinh_tonearest_test_data): Remove.
50565 (sinh_test_tonearest): Likewise.
50566 (sinh_towardzero_test_data): Likewise.
50567 (sinh_test_towardzero): Likewise.
50568 (sinh_downward_test_data): Likewise.
50569 (sinh_test_downward): Likewise.
50570 (sinh_upward_test_data): Likewise.
50571 (sinh_test_upward): Likewise.
50572 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
50573 (sqrt_test): Use ALL_RM_TEST.
50574 (sqrt_tonearest_test_data): Remove.
50575 (sqrt_test_tonearest): Likewise.
50576 (sqrt_towardzero_test_data): Likewise.
50577 (sqrt_test_towardzero): Likewise.
50578 (sqrt_downward_test_data): Likewise.
50579 (sqrt_test_downward): Likewise.
50580 (sqrt_upward_test_data): Likewise.
50581 (sqrt_test_upward): Likewise.
50582 (tan_test_data): Update call to AUTO_TESTS_f_f.
50583 (tan_test): Use ALL_RM_TEST.
50584 (tan_tonearest_test_data): Remove.
50585 (tan_test_tonearest): Likewise.
50586 (tan_towardzero_test_data): Likewise.
50587 (tan_test_towardzero): Likewise.
50588 (tan_downward_test_data): Likewise.
50589 (tan_test_downward): Likewise.
50590 (tan_upward_test_data): Likewise.
50591 (tan_test_upward): Likewise.
50592 (tanh_test_data): Update call to AUTO_TESTS_f_f.
50593 (tgamma_test_data): Likewise.
50594 (y0_test_data): Likewise.
50595 (y1_test_data): Likewise.
50596 (yn_test_data): Update call to AUTO_TESTS_if_f.
50597 (main): Do not call removed functions.
50598
50599 2014-03-19 Joseph Myers <joseph@codesourcery.com>
50600
50601 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
50602 (ldexp_test_data): Remove.
50603 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
50604 scalbn_test_data.
50605 (scalb_test): Use ALL_RM_TEST.
50606
50607 2014-03-19 Andreas Schwab <schwab@suse.de>
50608
50609 * nscd/nscd.service: Also invalidate netgroup cache on reload.
50610
50611 2014-03-19 Joseph Myers <joseph@codesourcery.com>
50612
50613 [BZ #16649]
50614 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50615 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
50616 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
50617 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50618 (__ASSUME_PREADV): Undefine.
50619 (__ASSUME_PWRITEV): Likewise.
50620
50621 2014-03-18 Roland McGrath <roland@hack.frob.com>
50622
50623 * bits/mman-linux.h: Add comment about non-Linux use.
50624 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
50625 bits/mman-linux.h resting place.
50626
50627 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
50628 * bits/mman-linux.h: ... here.
50629
50630 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50631
50632 * conform/conformtest.pl: Add standard definition when calling C
50633 preprocessor on data files.
50634 (checknamespace): Remove unused variable.
50635
50636 2014-03-18 Joseph Myers <joseph@codesourcery.com>
50637
50638 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
50639 minus_oflow, plus_uflow and minus_uflow in expected results.
50640 * math/libm-test.inc (scalbn_test_data): Add more tests of
50641 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
50642 minus_uflow.
50643 (scalbn_test): Use ALL_RM_TEST.
50644 (scalbln_test_data): Add more tests of negative arguments. Use
50645 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
50646 (scalbln_test): Use ALL_RM_TEST.
50647
50648 2014-03-18 Roland McGrath <roland@hack.frob.com>
50649
50650 * scripts/abilist.awk: Ignore symbols marked with .hidden.
50651
50652 2014-03-18 Will Newton <will.newton@linaro.org>
50653
50654 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
50655 inaccurate comment.
50656
50657 2014-03-18 Joseph Myers <joseph@codesourcery.com>
50658
50659 * Makerules [!subdir] (check-abi): Exit with error status if a
50660 test failed.
50661
50662 2014-03-17 Joseph Myers <joseph@codesourcery.com>
50663
50664 * math/libm-test.inc (nearbyint_test_data): Include all tests used
50665 for rint. Include results for all rounding modes.
50666 (nearbyint_test): Use ALL_RM_TEST.
50667 (rint_test_data): Include all tests used for nearbyint.
50668
50669 2014-03-17 Will Newton <will.newton@linaro.org>
50670
50671 * nptl/sysdeps/pthread/pthread.h: Revert previous
50672 change.
50673
50674 * sysdeps/generic/ldsodefs.h: Revert previous
50675 change.
50676
50677 * libio/genops.c: Revert previous change.
50678 * libio/libioP.h: Likewise.
50679 * stdio-common/vfprintf.c: Likewise.
50680
50681 * sysdeps/generic/math_private.h: Revert previous
50682 change.
50683
50684 * sysdeps/generic/math_private.h: Check whether
50685 HAVE_RM_CTX is defined with #ifdef rather
50686 than #if.
50687
50688 * argp/argp-fmtstream.h: Check whether
50689 __STRICT_ANSI__ is defined with #ifdef rather
50690 than #if.
50691 * argp/argp.h: Likewise.
50692
50693 * libio/genops.c: Check whether
50694 _IO_JUMPS_OFFSET is defined with #ifdef rather
50695 than #if.
50696 * libio/libioP.h: Likewise.
50697 * stdio-common/vfprintf.c: Likewise.
50698
50699 * sysdeps/generic/ldsodefs.h: Check whether
50700 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
50701 than #if.
50702
50703 * nptl/sysdeps/pthread/pthread.h: Check
50704 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
50705 its value.
50706
50707 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
50708
50709 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
50710 setting O_APPEND.
50711 * libio/tst-ftell-active-handler.c (do_append_test): Add a
50712 test case.
50713
50714 [BZ #16680]
50715 * libio/fileops.c (_IO_file_open): Seek to end of file but
50716 don't cache the offset.
50717 (get_file_offset): Remove function.
50718 (do_ftell): Use cached offset when available.
50719 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
50720 don't cache the offset.
50721 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
50722 case.
50723 (do_one_test): Call it.
50724 (do_ftell_test): Fix up expected old offset for a+ mode.
50725 * libio/wfileops.c (do_ftell_wide): Used cached offset when
50726 available.
50727
50728 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
50729 up test status with function return status.
50730 (do_write_test): Likewise.
50731 (do_append_test): Likewise.
50732
50733 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
50734 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
50735 Remove.
50736
50737 2014-03-17 Joseph Myers <joseph@codesourcery.com>
50738
50739 * math/gen-libm-test.pl (parse_args): Handle results specified for
50740 each rounding mode separately.
50741 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
50742 tests and results from lrint_tonearest_test_data,
50743 lrint_towardzero_test_data, lrint_downward_test_data and
50744 lrint_upward_test_data.
50745 (lrint_test): Use ALL_RM_TEST.
50746 (lrint_tonearest_test_data): Remove.
50747 (lrint_test_tonearest): Likewise.
50748 (lrint_towardzero_test_data): Likewise.
50749 (lrint_test_towardzero): Likewise.
50750 (lrint_downward_test_data): Likewise.
50751 (lrint_test_downward): Likewise.
50752 (lrint_upward_test_data): Likewise.
50753 (lrint_test_upward): Likewise.
50754 (llrint_test_data): Merge in per-rounding-mode tests and results
50755 from llrint_tonearest_test_data, llrint_towardzero_test_data,
50756 llrint_downward_test_data and llrint_upward_test_data.
50757 (llrint_test): Use ALL_RM_TEST.
50758 (llrint_tonearest_test_data): Remove.
50759 (llrint_test_tonearest): Likewise.
50760 (llrint_towardzero_test_data): Likewise.
50761 (llrint_test_towardzero): Likewise.
50762 (llrint_downward_test_data): Likewise.
50763 (llrint_test_downward): Likewise.
50764 (llrint_upward_test_data): Likewise.
50765 (llrint_test_upward): Likewise.
50766 (rint_test_data): Merge in per-rounding-mode tests and results
50767 from rint_tonearest_test_data, rint_towardzero_test_data,
50768 rint_downward_test_data and rint_upward_test_data. Add
50769 per-rounding-mode results for tests not in those arrays.
50770 (rint_test): Use ALL_RM_TEST.
50771 (rint_tonearest_test_data): Remove.
50772 (rint_test_tonearest): Likewise.
50773 (rint_towardzero_test_data): Likewise.
50774 (rint_test_towardzero): Likewise.
50775 (rint_downward_test_data): Likewise.
50776 (rint_test_downward): Likewise.
50777 (rint_upward_test_data): Likewise.
50778 (rint_test_upward): Likewise.
50779 (main): Don't call removed functions.
50780
50781 2014-03-14 Roland McGrath <roland@hack.frob.com>
50782
50783 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
50784 "Compiled on ..." crapola. It is anti-useful.
50785
50786 2014-03-14 Joseph Myers <joseph@codesourcery.com>
50787
50788 * scripts/evaluate-test.sh: Handle fourth argument to determine
50789 whether test run should stop on failure.
50790 * Makeconfig (stop-on-test-failure): New variable.
50791 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
50792 $(stop-on-test-failure).
50793 * Makefile (tests): Give a summary of results from testing and
50794 exit with failure status if they include an ERROR or FAIL.
50795 (xtests): Likewise.
50796 * manual/install.texi (Configuring and compiling): Mention
50797 stop-on-test-failure=y.
50798 * INSTALL: Regenerated.
50799
50800 2014-03-14 Roland McGrath <roland@hack.frob.com>
50801
50802 * scripts/versionlist.awk: New file.
50803 * Makerules [$(build-shared) = yes]
50804 (postclean-generated): Add Versions.def, not Versions.def.v and
50805 Versions.def.v.i.
50806 ($(common-objpfx)Versions.def.v.i): Target removed.
50807 ($(common-objpfx)Versions.def): New target.
50808 ($(common-objpfx)Versions.all): Depend on that rather that
50809 $(common-objpfx)Versions.def.v.
50810 * Versions.def: File removed.
50811
50812 * Makeconfig (+gccwarn): Add -Wundef.
50813 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
50814 a dl-sysdep.h breaking its contract.
50815 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
50816 * include/stackinfo.h: New file.
50817 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
50818 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
50819 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
50820 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
50821 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
50822 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
50823 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50824 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50825 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50826 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50827 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50828 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
50829 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50830 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50831 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50832
50833 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50834
50835 [BZ #16707]
50836 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
50837 implementation.
50838 * math/libm-test.inc (round_test_data): Add more tests.
50839
50840 [BZ #16706]
50841 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
50842 implementation.
50843 * math/libm-test.inc (nearbyint_test_data): Add more tests.
50844
50845 [BZ #16701]
50846 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
50847 implementation.
50848 * math/libm-test.inc (ceil_test_data): Add more tests.
50849
50850 * math/libm-test.inc (trunc_test_data): Add more tests related to
50851 BZ#16414.
50852
50853 2014-03-14 Roland McGrath <roland@hack.frob.com>
50854
50855 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
50856 with #if rather than #ifdef.
50857 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
50858
50859 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
50860
50861 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
50862 first. Disable AVX-512 GCC support if assembler doesn't support
50863 it.
50864 * sysdeps/x86_64/configure: Regenerated.
50865
50866 2014-03-13 Carlos O'Donell <carlos@redhat.com>
50867
50868 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
50869 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
50870 (__old_pthread_attr_setstack): Likewise.
50871 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
50872 [!_STACK_GROWS_DOWN]: Likewise.
50873
50874 2014-03-13 Mike Frysinger <vapier@gentoo.org>
50875
50876 * config.make.in (have-bash2): Delete.
50877 * configure.ac (libc_cv_have_bash2): Delete.
50878 * configure: Regenerate.
50879 * elf/Makefile (common-ldd-rewrite): Rename to ...
50880 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
50881 (sh-ldd-rewrite): Delete.
50882 (bash-ldd-rewrite): Delete.
50883 (have-bash2): Delete checks.
50884 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
50885 ldd-rewrite.
50886
50887 * config.make.in (have-ksh): Delete.
50888 (KSH): Delete.
50889 * configure.ac (libc_cv_have_ksh): Delete.
50890 * configure: Regenerate.
50891
50892 * elf/Makefile: Delete $(have-ksh) check.
50893 ($(objpfx)sotruss): Change KSH to BASH.
50894 * elf/sotruss.ksh: Rename to ...
50895 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
50896 function style to match POSIX. Drop ksh vim mode setting.
50897
50898 * manual/time.texi (Specifying the Time Zone with TZ): Change
50899 Tuesday to Thursday.
50900
50901 * debug/tst-longjmp_chk2.c: Update header comment.
50902 (stackoverflow_handler): Add comment. Call assert on pass value.
50903
50904 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
50905
50906 [BZ #16194]
50907 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
50908 (HAVE_AVX512_ASM_SUPPORT): Likewise.
50909 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
50910 (La_x86_64_vector): Add zmm.
50911 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
50912 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
50913 ($(objpfx)tst-audit10): New target.
50914 ($(objpfx)tst-audit10.out): Likewise.
50915 (tst-audit10-ENV): New.
50916 (AVX512-CFLAGS): Likewise.
50917 (CFLAGS-tst-audit10.c): Likewise.
50918 (CFLAGS-tst-auditmod10a.c): Likewise.
50919 (CFLAGS-tst-auditmod10b.c): Likewise.
50920 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
50921 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
50922 * sysdeps/x86_64/configure: Regenerated.
50923 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
50924 AVX-512 zmm register support.
50925 (_dl_x86_64_save_sse): Likewise.
50926 (_dl_x86_64_restore_sse): Likewise.
50927 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
50928 size vector registers.
50929 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
50930 (ZMM_SIZE): Likewise.
50931 * sysdeps/x86_64/tst-audit10.c: New file.
50932 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
50933 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
50934
50935 2014-03-13 Roland McGrath <roland@hack.frob.com>
50936
50937 * configure.ac (HAVE_EHDR_START): New check.
50938 * configure: Regenerated.
50939 * config.h.in (HAVE_EHDR_START): New #undef.
50940 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
50941 assuming the lowest-addressed segment maps the start of the file.
50942
50943 2014-03-13 Joseph Myers <joseph@codesourcery.com>
50944
50945 * INSTALL: Regenerated.
50946
50947 2014-03-13 Will Newton <will.newton@linaro.org>
50948
50949 * manual/setjmp.texi (System V contexts): Improve
50950 clarity and grammar of documentation.
50951
50952 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
50953
50954 [BZ #16381]
50955 * elf/Makefile (tests): Add tst-pie2.
50956 (tests-pie): Add tst-pie2.
50957 * elf/tst-pie2.c: New file.
50958 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
50959 for ET_EXEC.
50960 * elf/rtld.c (map_doit): Load executable as lt_executable.
50961 (dl_main): Likewise.
50962
50963 2014-03-12 Joseph Myers <joseph@codesourcery.com>
50964
50965 [BZ #16642]
50966 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50967 (__ASSUME_PSELECT): Undefine.
50968
50969 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50970
50971 [BZ #16689]
50972 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
50973 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
50974 static build.
50975 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
50976 selector for static builds.
50977
50978 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
50979
50980 [BZ #16695]
50981 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
50982 key in the buffer.
50983
50984 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50985
50986 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
50987 IFUNC selector for static builds.
50988
50989 2014-03-11 Joseph Myers <joseph@codesourcery.com>
50990
50991 * sysdeps/mips/math_private.h [__mips_hard_float]
50992 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
50993 libc_feresetround_mips_ctx.
50994 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
50995 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
50996 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
50997
50998 [BZ #16677]
50999 * math/s_nextafter.c (__nextafter): Do not return value from
51000 overflowing computation.
51001 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
51002 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
51003 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
51004 Likewise.
51005 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
51006 Likewise.
51007 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
51008 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
51009
51010 2014-03-11 Roland McGrath <roland@hack.frob.com>
51011
51012 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
51013 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
51014 Move sfi_sp use from the load-multiple (that no longer sets sp) to
51015 the new mov targetting sp.
51016
51017 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51018
51019 [BZ #16683]
51020 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
51021 Define it for static builds as well.
51022 (NO_BZERO_IMPL): Likewise.
51023
51024 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
51025
51026 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
51027 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
51028 multiarch strspn for PPC64.
51029 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
51030 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
51031 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51032 (__libc_ifunc_impl_list): Likewise.
51033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
51034 multiarch optimizations
51035 * string/strspn.c (strspn): Using macro to redefine symbol name.
51036
51037 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
51038 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51039
51040 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
51041 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
51042 multiarch strncat for PPC64.
51043 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
51044 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
51045 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51046 (__libc_ifunc_impl_list): Likewise.
51047 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
51048 multiarch optimizations
51049
51050 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
51051
51052 [BZ #16639]
51053 * nscd/nscd.service: Make service type forking.
51054
51055 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51056
51057 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
51058 sign in non default rounding modes.
51059 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
51060
51061 2014-03-08 Joseph Myers <joseph@codesourcery.com>
51062
51063 * math/libm-test.inc (ALL_RM_TEST): New macro.
51064 (ceil_test): Use ALL_RM_TEST.
51065 (cimag_test): Likewise.
51066 (conj_test): Likewise.
51067 (copysign_test): Likewise.
51068 (cproj_test): Likewise.
51069 (creal_test): Likewise.
51070 (fabs_test): Likewise.
51071 (floor_test): Likewise.
51072 (fmax_test): Likewise.
51073 (fmin_test): Likewise.
51074 (fmod_test): Likewise.
51075 (fpclassify_test): Likewise.
51076 (frexp_test): Likewise.
51077 (ilogb_test): Likewise.
51078 (isfinite_test): Likewise.
51079 (finite_test): Likewise.
51080 (isgreater_test): Likewise.
51081 (isgreaterequal_test): Likewise.
51082 (isinf_test): Likewise.
51083 (isless_test): Likewise.
51084 (islessequal_test): Likewise.
51085 (islessgreater_test): Likewise.
51086 (isnan_test): Likewise.
51087 (isnormal_test): Likewise.
51088 (issignaling_test): Likewise.
51089 (isunordered_test): Likewise.
51090 (logb_test): Likewise.
51091 (logb_downward_test_data): Remove.
51092 (logb_test_downward): Likewise.
51093 (lround_test): Use ALL_RM_TEST.
51094 (llround_test): Likewise.
51095 (modf_test): Likewise.
51096 (nexttoward_test): Likewise.
51097 (remainder_test): Likewise.
51098 (drem_test): Likewise.
51099 (remainder_tonearest_test_data): Likewise.
51100 (remainder_test_tonearest): Likewise.
51101 (drem_test_tonearest): Likewise.
51102 (remainder_towardzero_test_data): Likewise.
51103 (remainder_test_towardzero): Likewise.
51104 (drem_test_towardzero): Likewise.
51105 (remainder_downward_test_data): Likewise.
51106 (remainder_test_downward): Likewise.
51107 (drem_test_downward): Likewise.
51108 (remainder_upward_test_data): Likewise.
51109 (remainder_test_upward): Likewise.
51110 (drem_test_upward): Likewise.
51111 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
51112 (round_test): Use ALL_RM_TEST.
51113 (signbit_test): Likewise.
51114 (trunc_test): Likewise.
51115 (significand_test): Likewise.
51116 (main): Don't call removed functions.
51117
51118 2014-03-07 Joseph Myers <joseph@codesourcery.com>
51119
51120 [BZ #16674]
51121 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
51122 || __USE_XOPEN2K8].
51123 (ILL_ILLOPN): Likewise.
51124 (ILL_ILLADR): Likewise.
51125 (ILL_ILLTRP): Likewise.
51126 (ILL_PRVOPC): Likewise.
51127 (ILL_PRVREG): Likewise.
51128 (ILL_COPROC): Likewise.
51129 (ILL_BADSTK): Likewise.
51130 (FPE_INTDIV): Likewise.
51131 (FPE_INTOVF): Likewise.
51132 (FPE_FLTDIV): Likewise.
51133 (FPE_FLTOVF): Likewise.
51134 (FPE_FLTUND): Likewise.
51135 (FPE_FLTRES): Likewise.
51136 (FPE_FLTINV): Likewise.
51137 (FPE_FLTSUB): Likewise.
51138 (SEGV_MAPERR): Likewise.
51139 (SEGV_ACCERR): Likewise.
51140 (BUS_ADRALN): Likewise.
51141 (BUS_ADRERR): Likewise.
51142 (BUS_OBJERR): Likewise.
51143 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51144 (TRAP_TRACE): Likewise.
51145 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51146 __USE_XOPEN2K8].
51147 (CLD_KILLED): Likewise.
51148 (CLD_DUMPED): Likewise.
51149 (CLD_TRAPPED): Likewise.
51150 (CLD_STOPPED): Likewise.
51151 (CLD_CONTINUED): Likewise.
51152 (POLL_IN): Likewise.
51153 (POLL_OUT): Likewise.
51154 (POLL_MSG): Likewise.
51155 (POLL_ERR): Likewise.
51156 (POLL_PRI): Likewise.
51157 (POLL_HUP): Likewise.
51158 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
51159 Likewise.
51160 (ILL_ILLOPN): Likewise.
51161 (ILL_ILLADR): Likewise.
51162 (ILL_ILLTRP): Likewise.
51163 (ILL_PRVOPC): Likewise.
51164 (ILL_PRVREG): Likewise.
51165 (ILL_COPROC): Likewise.
51166 (ILL_BADSTK): Likewise.
51167 (FPE_INTDIV): Likewise.
51168 (FPE_INTOVF): Likewise.
51169 (FPE_FLTDIV): Likewise.
51170 (FPE_FLTOVF): Likewise.
51171 (FPE_FLTUND): Likewise.
51172 (FPE_FLTRES): Likewise.
51173 (FPE_FLTINV): Likewise.
51174 (FPE_FLTSUB): Likewise.
51175 (SEGV_MAPERR): Likewise.
51176 (SEGV_ACCERR): Likewise.
51177 (BUS_ADRALN): Likewise.
51178 (BUS_ADRERR): Likewise.
51179 (BUS_OBJERR): Likewise.
51180 (BUS_MCEERR_AR): Likewise.
51181 (BUS_MCEERR_AO): Likewise.
51182 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51183 (TRAP_TRACE): Likewise.
51184 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51185 __USE_XOPEN2K8].
51186 (CLD_KILLED): Likewise.
51187 (CLD_DUMPED): Likewise.
51188 (CLD_TRAPPED): Likewise.
51189 (CLD_STOPPED): Likewise.
51190 (CLD_CONTINUED): Likewise.
51191 (POLL_IN): Likewise.
51192 (POLL_OUT): Likewise.
51193 (POLL_MSG): Likewise.
51194 (POLL_ERR): Likewise.
51195 (POLL_PRI): Likewise.
51196 (POLL_HUP): Likewise.
51197 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
51198 (ILL_ILLOPN): Likewise.
51199 (ILL_ILLADR): Likewise.
51200 (ILL_ILLTRP): Likewise.
51201 (ILL_PRVOPC): Likewise.
51202 (ILL_PRVREG): Likewise.
51203 (ILL_COPROC): Likewise.
51204 (ILL_BADSTK): Likewise.
51205 (FPE_INTDIV): Likewise.
51206 (FPE_INTOVF): Likewise.
51207 (FPE_FLTDIV): Likewise.
51208 (FPE_FLTOVF): Likewise.
51209 (FPE_FLTUND): Likewise.
51210 (FPE_FLTRES): Likewise.
51211 (FPE_FLTINV): Likewise.
51212 (FPE_FLTSUB): Likewise.
51213 (SEGV_MAPERR): Likewise.
51214 (SEGV_ACCERR): Likewise.
51215 (BUS_ADRALN): Likewise.
51216 (BUS_ADRERR): Likewise.
51217 (BUS_OBJERR): Likewise.
51218 (BUS_MCEERR_AR): Likewise.
51219 (BUS_MCEERR_AO): Likewise.
51220 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51221 (TRAP_TRACE): Likewise.
51222 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51223 __USE_XOPEN2K8].
51224 (CLD_KILLED): Likewise.
51225 (CLD_DUMPED): Likewise.
51226 (CLD_TRAPPED): Likewise.
51227 (CLD_STOPPED): Likewise.
51228 (CLD_CONTINUED): Likewise.
51229 (POLL_IN): Likewise.
51230 (POLL_OUT): Likewise.
51231 (POLL_MSG): Likewise.
51232 (POLL_ERR): Likewise.
51233 (POLL_PRI): Likewise.
51234 (POLL_HUP): Likewise.
51235 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
51236 Likewise.
51237 (ILL_ILLOPN): Likewise.
51238 (ILL_ILLADR): Likewise.
51239 (ILL_ILLTRP): Likewise.
51240 (ILL_PRVOPC): Likewise.
51241 (ILL_PRVREG): Likewise.
51242 (ILL_COPROC): Likewise.
51243 (ILL_BADSTK): Likewise.
51244 (ILL_BADIADDR): Likewise.
51245 (ILL_BREAK): Likewise.
51246 (FPE_INTDIV): Likewise.
51247 (FPE_INTOVF): Likewise.
51248 (FPE_FLTDIV): Likewise.
51249 (FPE_FLTOVF): Likewise.
51250 (FPE_FLTUND): Likewise.
51251 (FPE_FLTRES): Likewise.
51252 (FPE_FLTINV): Likewise.
51253 (FPE_FLTSUB): Likewise.
51254 (FPE_DECOVF): Likewise.
51255 (FPE_DECDIV): Likewise.
51256 (FPE_DECERR): Likewise.
51257 (FPE_INVASC): Likewise.
51258 (FPE_INVDEC): Likewise.
51259 (SEGV_MAPERR): Likewise.
51260 (SEGV_ACCERR): Likewise.
51261 (SEGV_PSTKOVF): Likewise.
51262 (BUS_ADRALN): Likewise.
51263 (BUS_ADRERR): Likewise.
51264 (BUS_OBJERR): Likewise.
51265 (BUS_MCEERR_AR): Likewise.
51266 (BUS_MCEERR_AO): Likewise.
51267 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51268 (TRAP_TRACE): Likewise.
51269 (TRAP_BRANCH): Likewise.
51270 (TRAP_HWBKPT): Likewise.
51271 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51272 __USE_XOPEN2K8].
51273 (CLD_KILLED): Likewise.
51274 (CLD_DUMPED): Likewise.
51275 (CLD_TRAPPED): Likewise.
51276 (CLD_STOPPED): Likewise.
51277 (CLD_CONTINUED): Likewise.
51278 (POLL_IN): Likewise.
51279 (POLL_OUT): Likewise.
51280 (POLL_MSG): Likewise.
51281 (POLL_ERR): Likewise.
51282 (POLL_PRI): Likewise.
51283 (POLL_HUP): Likewise.
51284 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
51285 (ILL_ILLOPN): Likewise.
51286 (ILL_ILLADR): Likewise.
51287 (ILL_ILLTRP): Likewise.
51288 (ILL_PRVOPC): Likewise.
51289 (ILL_PRVREG): Likewise.
51290 (ILL_COPROC): Likewise.
51291 (ILL_BADSTK): Likewise.
51292 (FPE_INTDIV): Likewise.
51293 (FPE_INTOVF): Likewise.
51294 (FPE_FLTDIV): Likewise.
51295 (FPE_FLTOVF): Likewise.
51296 (FPE_FLTUND): Likewise.
51297 (FPE_FLTRES): Likewise.
51298 (FPE_FLTINV): Likewise.
51299 (FPE_FLTSUB): Likewise.
51300 (SEGV_MAPERR): Likewise.
51301 (SEGV_ACCERR): Likewise.
51302 (BUS_ADRALN): Likewise.
51303 (BUS_ADRERR): Likewise.
51304 (BUS_OBJERR): Likewise.
51305 (BUS_MCEERR_AR): Likewise.
51306 (BUS_MCEERR_AO): Likewise.
51307 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51308 (TRAP_TRACE): Likewise.
51309 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51310 __USE_XOPEN2K8].
51311 (CLD_KILLED): Likewise.
51312 (CLD_DUMPED): Likewise.
51313 (CLD_TRAPPED): Likewise.
51314 (CLD_STOPPED): Likewise.
51315 (CLD_CONTINUED): Likewise.
51316 (POLL_IN): Likewise.
51317 (POLL_OUT): Likewise.
51318 (POLL_MSG): Likewise.
51319 (POLL_ERR): Likewise.
51320 (POLL_PRI): Likewise.
51321 (POLL_HUP): Likewise.
51322 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
51323 (ILL_ILLOPN): Likewise.
51324 (ILL_ILLADR): Likewise.
51325 (ILL_ILLTRP): Likewise.
51326 (ILL_PRVOPC): Likewise.
51327 (ILL_PRVREG): Likewise.
51328 (ILL_COPROC): Likewise.
51329 (ILL_BADSTK): Likewise.
51330 (FPE_INTDIV): Likewise.
51331 (FPE_INTOVF): Likewise.
51332 (FPE_FLTDIV): Likewise.
51333 (FPE_FLTOVF): Likewise.
51334 (FPE_FLTUND): Likewise.
51335 (FPE_FLTRES): Likewise.
51336 (FPE_FLTINV): Likewise.
51337 (FPE_FLTSUB): Likewise.
51338 (SEGV_MAPERR): Likewise.
51339 (SEGV_ACCERR): Likewise.
51340 (BUS_ADRALN): Likewise.
51341 (BUS_ADRERR): Likewise.
51342 (BUS_OBJERR): Likewise.
51343 (BUS_MCEERR_AR): Likewise.
51344 (BUS_MCEERR_AO): Likewise.
51345 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51346 (TRAP_TRACE): Likewise.
51347 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51348 __USE_XOPEN2K8].
51349 (CLD_KILLED): Likewise.
51350 (CLD_DUMPED): Likewise.
51351 (CLD_TRAPPED): Likewise.
51352 (CLD_STOPPED): Likewise.
51353 (CLD_CONTINUED): Likewise.
51354 (POLL_IN): Likewise.
51355 (POLL_OUT): Likewise.
51356 (POLL_MSG): Likewise.
51357 (POLL_ERR): Likewise.
51358 (POLL_PRI): Likewise.
51359 (POLL_HUP): Likewise.
51360 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
51361 (ILL_ILLOPN): Likewise.
51362 (ILL_ILLADR): Likewise.
51363 (ILL_ILLTRP): Likewise.
51364 (ILL_PRVOPC): Likewise.
51365 (ILL_PRVREG): Likewise.
51366 (ILL_COPROC): Likewise.
51367 (ILL_BADSTK): Likewise.
51368 (FPE_INTDIV): Likewise.
51369 (FPE_INTOVF): Likewise.
51370 (FPE_FLTDIV): Likewise.
51371 (FPE_FLTOVF): Likewise.
51372 (FPE_FLTUND): Likewise.
51373 (FPE_FLTRES): Likewise.
51374 (FPE_FLTINV): Likewise.
51375 (FPE_FLTSUB): Likewise.
51376 (SEGV_MAPERR): Likewise.
51377 (SEGV_ACCERR): Likewise.
51378 (BUS_ADRALN): Likewise.
51379 (BUS_ADRERR): Likewise.
51380 (BUS_OBJERR): Likewise.
51381 (BUS_MCEERR_AR): Likewise.
51382 (BUS_MCEERR_AO): Likewise.
51383 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51384 (TRAP_TRACE): Likewise.
51385 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51386 __USE_XOPEN2K8].
51387 (CLD_KILLED): Likewise.
51388 (CLD_DUMPED): Likewise.
51389 (CLD_TRAPPED): Likewise.
51390 (CLD_STOPPED): Likewise.
51391 (CLD_CONTINUED): Likewise.
51392 (POLL_IN): Likewise.
51393 (POLL_OUT): Likewise.
51394 (POLL_MSG): Likewise.
51395 (POLL_ERR): Likewise.
51396 (POLL_PRI): Likewise.
51397 (POLL_HUP): Likewise.
51398 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
51399 (ILL_ILLOPN): Likewise.
51400 (ILL_ILLADR): Likewise.
51401 (ILL_ILLTRP): Likewise.
51402 (ILL_PRVOPC): Likewise.
51403 (ILL_PRVREG): Likewise.
51404 (ILL_COPROC): Likewise.
51405 (ILL_BADSTK): Likewise.
51406 (ILL_DBLFLT): Likewise.
51407 (ILL_HARDWALL): Likewise.
51408 (FPE_INTDIV): Likewise.
51409 (FPE_INTOVF): Likewise.
51410 (FPE_FLTDIV): Likewise.
51411 (FPE_FLTOVF): Likewise.
51412 (FPE_FLTUND): Likewise.
51413 (FPE_FLTRES): Likewise.
51414 (FPE_FLTINV): Likewise.
51415 (FPE_FLTSUB): Likewise.
51416 (SEGV_MAPERR): Likewise.
51417 (SEGV_ACCERR): Likewise.
51418 (BUS_ADRALN): Likewise.
51419 (BUS_ADRERR): Likewise.
51420 (BUS_OBJERR): Likewise.
51421 (BUS_MCEERR_AR): Likewise.
51422 (BUS_MCEERR_AO): Likewise.
51423 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51424 (TRAP_TRACE): Likewise.
51425 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51426 __USE_XOPEN2K8].
51427 (CLD_KILLED): Likewise.
51428 (CLD_DUMPED): Likewise.
51429 (CLD_TRAPPED): Likewise.
51430 (CLD_STOPPED): Likewise.
51431 (CLD_CONTINUED): Likewise.
51432 (POLL_IN): Likewise.
51433 (POLL_OUT): Likewise.
51434 (POLL_MSG): Likewise.
51435 (POLL_ERR): Likewise.
51436 (POLL_PRI): Likewise.
51437 (POLL_HUP): Likewise.
51438 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
51439 (ILL_ILLOPN): Likewise.
51440 (ILL_ILLADR): Likewise.
51441 (ILL_ILLTRP): Likewise.
51442 (ILL_PRVOPC): Likewise.
51443 (ILL_PRVREG): Likewise.
51444 (ILL_COPROC): Likewise.
51445 (ILL_BADSTK): Likewise.
51446 (FPE_INTDIV): Likewise.
51447 (FPE_INTOVF): Likewise.
51448 (FPE_FLTDIV): Likewise.
51449 (FPE_FLTOVF): Likewise.
51450 (FPE_FLTUND): Likewise.
51451 (FPE_FLTRES): Likewise.
51452 (FPE_FLTINV): Likewise.
51453 (FPE_FLTSUB): Likewise.
51454 (SEGV_MAPERR): Likewise.
51455 (SEGV_ACCERR): Likewise.
51456 (BUS_ADRALN): Likewise.
51457 (BUS_ADRERR): Likewise.
51458 (BUS_OBJERR): Likewise.
51459 (BUS_MCEERR_AR): Likewise.
51460 (BUS_MCEERR_AO): Likewise.
51461 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51462 (TRAP_TRACE): Likewise.
51463 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51464 __USE_XOPEN2K8].
51465 (CLD_KILLED): Likewise.
51466 (CLD_DUMPED): Likewise.
51467 (CLD_TRAPPED): Likewise.
51468 (CLD_STOPPED): Likewise.
51469 (CLD_CONTINUED): Likewise.
51470 (POLL_IN): Likewise.
51471 (POLL_OUT): Likewise.
51472 (POLL_MSG): Likewise.
51473 (POLL_ERR): Likewise.
51474 (POLL_PRI): Likewise.
51475 (POLL_HUP): Likewise.
51476 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
51477 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
51478
51479 [BZ #16670]
51480 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
51481 before #include of <time.h>.
51482 [!__USE_XOPEN2K] (__need_timespec): Likewise.
51483 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
51484 (test-xfail-UNIX98/sched.h/conform): Likewise.
51485
51486 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
51487
51488 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
51489 error absence of trapping exception support.
51490 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
51491
51492 2014-03-07 Joseph Myers <joseph@codesourcery.com>
51493
51494 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
51495 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
51496 * timezone/Makefile (testdata): Move definition above include of
51497 Rules.
51498 (test-zones): New variable.
51499 (tests-special): Add zone files.
51500 (build-testdata): Use $(evaluate-test).
51501
51502 * elf/Makefile (tests-special): Rename tests to end with .out.
51503 ($(objpfx)noload-mem): Likewise.
51504 ($(objpfx)tst-leaks1-mem): Likewise.
51505 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
51506 * iconv/Makefile (xtests-special): Change test-iconvconfig to
51507 $(objpfx)test-iconvconfig.out.
51508 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
51509 set -e inside subshell and redirect output to file.
51510 * iconvdata/Makefile (generated): Rename tests to end with .out.
51511 Correct type.
51512 (tests-special): Rename tests to end with .out.
51513 ($(objpfx)mtrace-tst-loading): Likewise.
51514 * intl/Makefile (generated): Likewise.
51515 (tests-special): Likewise.
51516 ($(objpfx)mtrace-tst-gettext): Likewise.
51517 * misc/Makefile (generated): Likewise.
51518 (tests-special): Likewise.
51519 ($(objpfx)tst-error1-mem): Likewise.
51520 * nptl/Makefile (tests-special): Likewise.
51521 ($(objpfx)tst-stack3-mem): Likewise.
51522 (generated): Likewise.
51523 * posix/Makefile (generated): Likewise.
51524 (tests-special): Likewise.
51525 (xtests-special): Likewise.
51526 ($(objpfx)tst-fnmatch-mem): Likewise.
51527 ($(objpfx)bug-regex2-mem): Likewise.
51528 ($(objpfx)bug-regex14-mem): Likewise.
51529 ($(objpfx)bug-regex21-mem): Likewise.
51530 ($(objpfx)bug-regex31-mem): Likewise.
51531 ($(objpfx)tst-vfork3-mem): Likewise.
51532 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
51533 ($(objpfx)tst-pcre-mem): Likewise.
51534 ($(objpfx)tst-boost-mem): Likewise.
51535 ($(objpfx)bug-ga2-mem): Likewise.
51536 ($(objpfx)bug-glob2-mem): Likewise.
51537 * resolv/Makefile (generate): Likewise.
51538 (tests-special): Likewise.
51539 (xtests-special): Likewise.
51540 (generated): Likewise.
51541 ($(objpfx)mtrace-tst-leaks): Likewise.
51542 ($(objpfx)mtrace-tst-leaks2): Likewise.
51543
51544 * scripts/merge-test-results.sh: New file.
51545 * Makefile (tests-special-notdir): New variable.
51546 (tests): Run merge-test-results.sh.
51547 (xtests): Likewise.
51548 * Rules (tests-special-notdir): New variable.
51549 (xtests-special-notdir): Likewise.
51550 (tests): Run merge-test-results.sh
51551 (xtests): Likewise.
51552
51553 * Makeconfig (test-xfail-name): New variable.
51554 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
51555 compute variable name for expected failures.
51556 * conform/Makefile (conformtest-headers-data): New variable.
51557 (conformtest-standards): Likewise.
51558 (conformtest-headers-ISO): Likewise.
51559 (conformtest-headers-ISO99): Likewise.
51560 (conformtest-headers-ISO11): Likewise.
51561 (conformtest-headers-POSIX): Likewise.
51562 (conformtest-headers-XPG3): Likewise.
51563 (conformtest-headers-XPG4): Likewise.
51564 (conformtest-headers-UNIX98): Likewise.
51565 (conformtest-headers-XOPEN2K): Likewise.
51566 (conformtest-headers-POSIX2008): Likewise.
51567 (conformtest-headers-XOPEN2K8): Likewise.
51568 (conformtest-header-list-base): Likewise.
51569 (conformtest-header-list-tests): Likewise.
51570 (conformtest-header-base): Likewise.
51571 (conformtest-header-tests): Likewise.
51572 (tests-special): Add $(conformtest-header-list-tests). If
51573 [$(fast-check) && !$(cross-compiling)], add
51574 $(conformtest-header-tests) instead of
51575 $(objpfx)run-conformtest.out.
51576 (generated): Add $(conformtest-header-list-base). If
51577 [$(fast-check) && !$(cross-compiling)], add
51578 $(conformtest-header-base). Remove previous setting.
51579 ($(conformtest-header-list-tests)): New target.
51580 (test-xfail-run-conformtest): Remove variable.
51581 ($(objpfx)run-conformtest.out): Remove target.
51582 (test-xfail-ISO11/complex.h/conform): New variable.
51583 (test-xfail-ISO11/stdalign.h/conform): Likewise.
51584 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
51585 (test-xfail-XPG3/varargs.h/conform): Likewise.
51586 (test-xfail-XPG4/varargs.h/conform): Likewise.
51587 (test-xfail-UNIX98/varargs.h/conform): Likewise.
51588 (test-xfail-XPG4/ndbm.h/conform): Likewise.
51589 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
51590 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
51591 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
51592 (test-xfail-XPG3/fcntl.h/conform): Likewise.
51593 (test-xfail-XPG3/ftw.h/conform): Likewise.
51594 (test-xfail-XPG3/grp.h/conform): Likewise.
51595 (test-xfail-XPG3/langinfo.h/conform): Likewise.
51596 (test-xfail-XPG3/limits.h/conform): Likewise.
51597 (test-xfail-XPG3/pwd.h/conform): Likewise.
51598 (test-xfail-XPG3/search.h/conform): Likewise.
51599 (test-xfail-XPG3/signal.h/conform): Likewise.
51600 (test-xfail-XPG3/stdio.h/conform): Likewise.
51601 (test-xfail-XPG3/stdlib.h/conform): Likewise.
51602 (test-xfail-XPG3/string.h/conform): Likewise.
51603 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
51604 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
51605 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
51606 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
51607 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
51608 (test-xfail-XPG3/sys/types.h/conform): Likewise.
51609 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
51610 (test-xfail-XPG3/termios.h/conform): Likewise.
51611 (test-xfail-XPG3/time.h/conform): Likewise.
51612 (test-xfail-XPG3/unistd.h/conform): Likewise.
51613 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
51614 (test-xfail-XPG4/fcntl.h/conform): Likewise.
51615 (test-xfail-XPG4/langinfo.h/conform): Likewise.
51616 (test-xfail-XPG4/netdb.h/conform): Likewise.
51617 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
51618 (test-xfail-XPG4/signal.h/conform): Likewise.
51619 (test-xfail-XPG4/stdio.h/conform): Likewise.
51620 (test-xfail-XPG4/stdlib.h/conform): Likewise.
51621 (test-xfail-XPG4/stropts.h/conform): Likewise.
51622 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
51623 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
51624 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
51625 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
51626 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
51627 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
51628 (test-xfail-XPG4/sys/time.h/conform): Likewise.
51629 (test-xfail-XPG4/sys/types.h/conform): Likewise.
51630 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
51631 (test-xfail-XPG4/termios.h/conform): Likewise.
51632 (test-xfail-XPG4/ucontext.h/conform): Likewise.
51633 (test-xfail-XPG4/unistd.h/conform): Likewise.
51634 (test-xfail-XPG4/utmpx.h/conform): Likewise.
51635 (test-xfail-POSIX/sched.h/conform): Likewise.
51636 (test-xfail-POSIX/signal.h/conform): Likewise.
51637 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
51638 (test-xfail-POSIX/tar.h/conform): Likewise.
51639 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
51640 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
51641 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
51642 (test-xfail-UNIX98/netdb.h/conform): Likewise.
51643 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
51644 (test-xfail-UNIX98/sched.h/conform): Likewise.
51645 (test-xfail-UNIX98/signal.h/conform): Likewise.
51646 (test-xfail-UNIX98/stdio.h/conform): Likewise.
51647 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
51648 (test-xfail-UNIX98/stropts.h/conform): Likewise.
51649 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
51650 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
51651 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
51652 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
51653 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
51654 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
51655 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
51656 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
51657 (test-xfail-UNIX98/unistd.h/conform): Likewise.
51658 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
51659 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
51660 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
51661 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
51662 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
51663 (test-xfail-XOPEN2K/math.h/conform): Likewise.
51664 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
51665 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
51666 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
51667 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
51668 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
51669 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
51670 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
51671 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
51672 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
51673 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
51674 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
51675 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
51676 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
51677 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
51678 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
51679 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
51680 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
51681 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
51682 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
51683 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
51684 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
51685 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
51686 (test-xfail-POSIX2008/signal.h/conform): Likewise.
51687 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
51688 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
51689 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
51690 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
51691 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
51692 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
51693 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
51694 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
51695 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
51696 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
51697 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
51698 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
51699 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
51700 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
51701 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
51702 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
51703 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
51704 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
51705 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
51706 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
51707 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
51708 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
51709 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
51710 (conformtest-cc-flags): Likewise.
51711 ($(conformtest-header-tests): New target.
51712 * conform/check-header-lists.sh: New file.
51713 * conform/run-conformtest.sh: Remove.
51714
51715 * conform/conformtest.pl: Allow ' and \ in values given for
51716 constants.
51717 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
51718 inclusion.
51719 [POSIX] (sys/types.h): Likewise.
51720 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
51721 inclusion.
51722 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
51723 inclusion.
51724 * conform/data/signal.h-data (SIGIO): Remove expectation.
51725 [XPG3] (SIGBUS): Do not expect.
51726 [POSIX || XPG3] (SIGPOLL): Likewise.
51727 [POSIX || XPG3] (SIGPROF): Likewise.
51728 [POSIX || XPG3] (SIGSYS): Likewise.
51729 [XPG3] (SIGTRAP): Likewise.
51730 [POSIX || XPG3] (SIGURG): Likewise.
51731 [POSIX || XPG3] (SIGVTALRM): Likewise.
51732 [POSIX || XPG3] (SIGXCPU): Likewise.
51733 [POSIX || XPG3] (SIGXFSZ): Likewise.
51734 [POSIX] (SA_SIGINFO): Expect.
51735 [XPG3] (siginfo_t): Do not expect type or contents.
51736 [POSIX] (si_pid): Do not expect element.
51737 [POSIX] (si_uid): Likewise.
51738 [POSIX] (si_addr): Likewise.
51739 [POSIX] (si_status): Likewise.
51740 [POSIX] (si_band): Likewise.
51741 [XPG4] (si_value): Likewise.
51742 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
51743 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
51744 [POSIX || XPG3] (ILL_ILLADR): Likewise.
51745 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
51746 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
51747 [POSIX || XPG3] (ILL_PRVREG): Likewise.
51748 [POSIX || XPG3] (ILL_COPROC): Likewise.
51749 [POSIX || XPG3] (ILL_BADSTK): Likewise.
51750 [POSIX || XPG3] (FPE_INTDIV): Likewise.
51751 [POSIX || XPG3] (FPE_INTOVF): Likewise.
51752 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
51753 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
51754 [POSIX || XPG3] (FPE_FLTUND): Likewise.
51755 [POSIX || XPG3] (FPE_FLTRES): Likewise.
51756 [POSIX || XPG3] (FPE_FLTINV): Likewise.
51757 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
51758 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
51759 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
51760 [POSIX || XPG3] (BUS_ADRALN): Likewise.
51761 [POSIX || XPG3] (BUS_ADRERR): Likewise.
51762 [POSIX || XPG3] (BUS_OBJERR): Likewise.
51763 [POSIX || XPG3] (CLD_EXITED): Likewise.
51764 [POSIX || XPG3] (CLD_KILLED): Likewise.
51765 [POSIX || XPG3] (CLD_DUMPED): Likewise.
51766 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
51767 [POSIX || XPG3] (CLD_STOPPED): Likewise.
51768 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
51769 [POSIX || XPG3] (POLL_IN): Likewise.
51770 [POSIX || XPG3] (POLL_OUT): Likewise.
51771 [POSIX || XPG3] (POLL_MSG): Likewise.
51772 [POSIX || XPG3] (POLL_ERR): Likewise.
51773 [POSIX || XPG3] (POLL_PRI): Likewise.
51774 [POSIX || XPG3] (POLL_HUP): Likewise.
51775 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
51776 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
51777 (SIG*): Do not allow.
51778 [XPG3] (si_*): Likewise.
51779 [XPG3] (SI_*): Likewise.
51780 [XPG3 || XPG4] (sigev_*): Likewise.
51781 [XPG3 || XPG4] (SIGEV_*): Likewise.
51782 [XPG3 || XPG4] (sival_*): Likewise.
51783 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
51784 [POSIX || XPG3] (BUS_*): Likewise.
51785 [POSIX || XPG3] (CLD_*): Likewise.
51786 [POSIX || XPG3] (FPE_*): Likewise.
51787 [POSIX || XPG3] (ILL_*): Likewise.
51788 [POSIX || XPG3] (POLL_*): Likewise.
51789 [POSIX || XPG3] (SEGV_*): Likewise.
51790 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
51791 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
51792 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
51793 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
51794 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
51795 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
51796 Specify type and value.
51797 (TVERSLEN): Likewise.
51798 (REGTYPE): Likewise.
51799 (AREGTYPE): Likewise.
51800 (LNKTYPE): Likewise.
51801 (SYMTYPE): Likewise.
51802 (CHRTYPE): Likewise.
51803 (BLKTYPE): Likewise.
51804 (DIRTYPE): Likewise.
51805 (FIFOTYPE): Likewise.
51806 (CONTTYPE): Likewise.
51807 (TSUID): Likewise.
51808 (TSGID): Likewise.
51809 (TSVTX): Likewise.
51810 (TUREAD): Likewise.
51811 (TUWRITE): Likewise.
51812 (TUEXEC): Likewise.
51813 (TGREAD): Likewise.
51814 (TGWRITE): Likewise.
51815 (TGEXEC): Likewise.
51816 (TOREAD): Likewise.
51817 (TOWRITE): Likewise.
51818 (TOEXEC): Likewise.
51819 [POSIX] (TSVTX): Expect constant.
51820
51821 2014-03-06 Joseph Myers <joseph@codesourcery.com>
51822
51823 * Makefile (tests): Change dependencies to ....
51824 (tests-special): ... additions to this variable.
51825 (tests): Depend on $(tests-special).
51826 * Makerules (check-abi-list): New variable.
51827 (check-abi): Depend on $(check-abi-list).
51828 [$(subdir) = elf] (tests-special): Add
51829 $(objpfx)check-abi-libc.out.
51830 [$(build-shared) = yes && subdir] (tests-special): Add
51831 $(check-abi-list).
51832 [$(build-shared) = yes && subdir] (tests): Do not depend on
51833 check-abi.
51834 * Rules (tests): Depend on $(tests-special).
51835 (xtests): Depend on $(xtests-special).
51836 * catgets/Makefile (tests): Change dependencies to ....
51837 (tests-special): ... additions to this variable.
51838 * conform/Makefile (tests): Change dependencies to ....
51839 (tests-special): ... additions to this variable.
51840 * elf/Makefile (tests): Change dependencies to ....
51841 (tests-special): ... additions to this variable.
51842 * grp/Makefile (tests): Change dependencies to ....
51843 (tests-special): ... additions to this variable.
51844 * iconv/Makefile (xtests): Change dependencies to ....
51845 (xtests-special): ... additions to this variable.
51846 * iconvdata/Makefile (tests): Change dependencies to ....
51847 (tests-special): ... additions to this variable.
51848 * intl/Makefile (tests): Change dependencies to ....
51849 (tests-special): ... additions to this variable. Also add
51850 $(objpfx)tst-gettext.out.
51851 * io/Makefile (tests): Change dependencies to ....
51852 (tests-special): ... additions to this variable.
51853 * libio/Makefile (tests): Change dependencies to ....
51854 (tests-special): ... additions to this variable.
51855 * malloc/Makefile (tests): Change dependencies to ....
51856 (tests-special): ... additions to this variable.
51857 * misc/Makefile (tests): Change dependencies to ....
51858 (tests-special): ... additions to this variable.
51859 * nptl/Makefile (tests): Change dependencies to ....
51860 (tests-special): ... additions to this variable.
51861 * nptl_db/Makefile (tests): Change dependencies to ....
51862 (tests-special): ... additions to this variable.
51863 * posix/Makefile (tests): Change dependencies to ....
51864 (tests-special): ... additions to this variable.
51865 (xtests): Change dependencies to ....
51866 (xtests-special): ... additions to this variable.
51867 * resolv/Makefile (tests): Change dependencies to ....
51868 (tests-special): ... additions to this variable.
51869 (xtests): Change dependencies to ....
51870 (xtests-special): ... additions to this variable.
51871 * stdio-common/Makefile (tests): Change dependencies to ....
51872 (tests-special): ... additions to this variable.
51873 (do-tst-unbputc): Remove target.
51874 (do-tst-printf): Likewise.
51875 * stdlib/Makefile (tests): Change dependencies to ....
51876 (tests-special): ... additions to this variable.
51877 * string/Makefile (tests): Change dependencies to ....
51878 (tests-special): ... additions to this variable.
51879 * sysdeps/x86/Makefile (tests): Change dependencies to ....
51880 (tests-special): ... additions to this variable.
51881
51882 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
51883 whole file.
51884 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
51885 whole file.
51886 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
51887 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
51888
51889 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
51890 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
51891 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
51892 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
51893 * conform/data/libgen.h-data [XPG3]: Likewise.
51894 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
51895 * conform/data/ndbm.h-data [XPG3]: Likewise.
51896 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
51897 * conform/data/netdb.h-data [XPG3]: Likewise.
51898 * conform/data/netinet/in.h-data [XPG3]: Likewise.
51899 * conform/data/poll.h-data [XPG3]: Likewise.
51900 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
51901 * conform/data/strings.h-data [XPG3]: Likewise.
51902 * conform/data/stropts.h-data [XPG3]: Likewise.
51903 * conform/data/sys/mman.h-data [XPG3]: Likewise.
51904 * conform/data/sys/resource.h-data [XPG3]: Likewise.
51905 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
51906 Likewise.
51907 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
51908 * conform/data/sys/time.h-data [XPG3]: Likewise.
51909 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
51910 * conform/data/sys/uio.h-data [XPG3]: Likewise.
51911 * conform/data/sys/un.h-data [XPG3]: Likewise.
51912 * conform/data/syslog.h-data [XPG3]: Likewise.
51913 * conform/data/ucontext.h-data [XPG3]: Likewise.
51914 * conform/data/utmpx.h-data [XPG3]: Likewise.
51915 * conform/data/varargs.h-data [UNIX98]: Enable file.
51916
51917 * manual/Makefile (INSTALL_INFO): Remove variable setting.
51918
51919 * math/libm-test.inc (struct test_f_f_data): Move expected results
51920 into structure for each rounding mode.
51921 (struct test_ff_f_data): Likewise.
51922 (struct test_ff_f_data_nexttoward): Likewise.
51923 (struct test_fi_f_data): Likewise.
51924 (struct test_fl_f_data): Likewise.
51925 (struct test_if_f_data): Likewise.
51926 (struct test_fff_f_data): Likewise.
51927 (struct test_c_f_data): Likewise.
51928 (struct test_f_f1_data): Likewise.
51929 (struct test_fF_f1_data): Likewise.
51930 (struct test_ffI_f1_data): Likewise.
51931 (struct test_c_c_data): Likewise.
51932 (struct test_cc_c_data): Likewise.
51933 (struct test_f_i_data): Likewise.
51934 (struct test_ff_i_data): Likewise.
51935 (struct test_f_l_data): Likewise.
51936 (struct test_f_L_data): Likewise.
51937 (struct test_fFF_11_data): Likewise.
51938 (RM_): New macro.
51939 (RM_FE_DOWNWARD): Likewise.
51940 (RM_FE_TONEAREST): Likewise.
51941 (RM_FE_TOWARDZERO): Likewise.
51942 (RM_FE_UPWARD): Likewise.
51943 (RUN_TEST_LOOP_f_f): Update references to expected results.
51944 (RUN_TEST_LOOP_2_f): Likewise.
51945 (RUN_TEST_LOOP_fff_f): Likewise.
51946 (RUN_TEST_LOOP_c_f): Likewise.
51947 (RUN_TEST_LOOP_f_f1): Likewise.
51948 (RUN_TEST_LOOP_fF_f1): Likewise.
51949 (RUN_TEST_LOOP_fI_f1): Likewise.
51950 (RUN_TEST_LOOP_ffI_f1): Likewise.
51951 (RUN_TEST_LOOP_c_c): Likewise.
51952 (RUN_TEST_LOOP_cc_c): Likewise.
51953 (RUN_TEST_LOOP_f_i): Likewise.
51954 (RUN_TEST_LOOP_f_i_tg): Likewise.
51955 (RUN_TEST_LOOP_ff_i_tg): Likewise.
51956 (RUN_TEST_LOOP_f_b): Likewise.
51957 (RUN_TEST_LOOP_f_b_tg): Likewise.
51958 (RUN_TEST_LOOP_f_l): Likewise.
51959 (RUN_TEST_LOOP_f_L): Likewise.
51960 (RUN_TEST_LOOP_fFF_11): Likewise.
51961 * math/gen-libm-test.pl (parse_args): Output four copies of
51962 expected results for each test.
51963
51964 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51965 (__ASSUME_UTIMES): Remove.
51966 * sysdeps/unix/sysv/linux/tile/kernel-features.h
51967 (__ASSUME_UTIMES): Likewise.
51968
51969 * math/gen-auto-libm-tests.c: Update comment on output format.
51970 (output_for_one_input_case): Generate before-rounding and
51971 after-rounding information as conditions on output flags not
51972 floating-point format.
51973 * math/auto-libm-test-out: Regenerated.
51974 * math/gen-libm-test.pl (cond_value): New function.
51975 (or_cond_value): Use cond_value.
51976 (generate_testfile): Handle conditional exceptions.
51977
51978 2014-03-05 Joseph Myers <joseph@codesourcery.com>
51979
51980 * math/libm-test.inc (max_valid_error): New variable.
51981 (init_max_error): Take new argument specifying whether function
51982 results are exactly determined. Set max_valid_error and bound
51983 other variables for errors based on this argument.
51984 (set_max_error): Do not record results above max_valid_error.
51985 (check_float_internal): Only accept errors of up to 0.5ulps if
51986 also at most max_valid_error.
51987 (START): Take new argument EXACT and pass it to init_max_error.
51988 (acos_test): Update call to START.
51989 (acos_test_tonearest): Likewise.
51990 (acos_test_towardzero): Likewise.
51991 (acos_test_downward): Likewise.
51992 (acos_test_upward): Likewise.
51993 (acosh_test): Likewise.
51994 (asin_test): Likewise.
51995 (asin_test_tonearest): Likewise.
51996 (asin_test_towardzero): Likewise.
51997 (asin_test_downward): Likewise.
51998 (asin_test_upward): Likewise.
51999 (asinh_test): Likewise.
52000 (atan_test): Likewise.
52001 (atanh_test): Likewise.
52002 (atan2_test): Likewise.
52003 (cabs_test): Likewise.
52004 (cacos_test): Likewise.
52005 (cacosh_test): Likewise.
52006 (carg_test): Likewise.
52007 (casin_test): Likewise.
52008 (casinh_test): Likewise.
52009 (catan_test): Likewise.
52010 (catanh_test): Likewise.
52011 (cbrt_test): Likewise.
52012 (ccos_test): Likewise.
52013 (ccosh_test): Likewise.
52014 (ceil_test): Likewise.
52015 (cexp_test): Likewise.
52016 (cimag_test): Likewise.
52017 (clog_test): Likewise.
52018 (clog10_test): Likewise.
52019 (conj_test): Likewise.
52020 (copysign_test): Likewise.
52021 (cos_test): Likewise.
52022 (cos_test_tonearest): Likewise.
52023 (cos_test_towardzero): Likewise.
52024 (cos_test_downward): Likewise.
52025 (cos_test_upward): Likewise.
52026 (cosh_test): Likewise.
52027 (cosh_test_tonearest): Likewise.
52028 (cosh_test_towardzero): Likewise.
52029 (cosh_test_downward): Likewise.
52030 (cosh_test_upward): Likewise.
52031 (cpow_test): Likewise.
52032 (cproj_test): Likewise.
52033 (creal_test): Likewise.
52034 (csin_test): Likewise.
52035 (csinh_test): Likewise.
52036 (csqrt_test): Likewise.
52037 (ctan_test): Likewise.
52038 (ctan_test_tonearest): Likewise.
52039 (ctan_test_towardzero): Likewise.
52040 (ctan_test_downward): Likewise.
52041 (ctan_test_upward): Likewise.
52042 (ctanh_test): Likewise.
52043 (ctanh_test_tonearest): Likewise.
52044 (ctanh_test_towardzero): Likewise.
52045 (ctanh_test_downward): Likewise.
52046 (ctanh_test_upward): Likewise.
52047 (erf_test): Likewise.
52048 (erfc_test): Likewise.
52049 (exp_test): Likewise.
52050 (exp_test_tonearest): Likewise.
52051 (exp_test_towardzero): Likewise.
52052 (exp_test_downward): Likewise.
52053 (exp_test_upward): Likewise.
52054 (exp10_test): Likewise.
52055 (exp10_test_tonearest): Likewise.
52056 (exp10_test_towardzero): Likewise.
52057 (exp10_test_downward): Likewise.
52058 (exp10_test_upward): Likewise.
52059 (pow10_test): Likewise.
52060 (exp2_test): Likewise.
52061 (expm1_test): Likewise.
52062 (expm1_test_tonearest): Likewise.
52063 (expm1_test_towardzero): Likewise.
52064 (expm1_test_downward): Likewise.
52065 (expm1_test_upward): Likewise.
52066 (fabs_test): Likewise.
52067 (fdim_test): Likewise.
52068 (floor_test): Likewise.
52069 (fma_test): Likewise.
52070 (fma_test_towardzero): Likewise.
52071 (fma_test_downward): Likewise.
52072 (fma_test_upward): Likewise.
52073 (fmax_test): Likewise.
52074 (fmin_test): Likewise.
52075 (fmod_test): Likewise.
52076 (fpclassify_test): Likewise.
52077 (frexp_test): Likewise.
52078 (hypot_test): Likewise.
52079 (ilogb_test): Likewise.
52080 (isfinite_test): Likewise.
52081 (finite_test): Likewise.
52082 (isgreater_test): Likewise.
52083 (isgreaterequal_test): Likewise.
52084 (isinf_test): Likewise.
52085 (isless_test): Likewise.
52086 (islessequal_test): Likewise.
52087 (islessgreater_test): Likewise.
52088 (isnan_test): Likewise.
52089 (isnormal_test): Likewise.
52090 (issignaling_test): Likewise.
52091 (isunordered_test): Likewise.
52092 (j0_test): Likewise.
52093 (j1_test): Likewise.
52094 (jn_test): Likewise.
52095 (ldexp_test): Likewise.
52096 (lgamma_test): Likewise.
52097 (gamma_test): Likewise.
52098 (lrint_test): Likewise.
52099 (lrint_test_tonearest): Likewise.
52100 (lrint_test_towardzero): Likewise.
52101 (lrint_test_downward): Likewise.
52102 (lrint_test_upward): Likewise.
52103 (llrint_test): Likewise.
52104 (llrint_test_tonearest): Likewise.
52105 (llrint_test_towardzero): Likewise.
52106 (llrint_test_downward): Likewise.
52107 (llrint_test_upward): Likewise.
52108 (log_test): Likewise.
52109 (log10_test): Likewise.
52110 (log1p_test): Likewise.
52111 (log2_test): Likewise.
52112 (logb_test): Likewise.
52113 (logb_test_downward): Likewise.
52114 (lround_test): Likewise.
52115 (llround_test): Likewise.
52116 (modf_test): Likewise.
52117 (nearbyint_test): Likewise.
52118 (nextafter_test): Likewise.
52119 (nexttoward_test): Likewise.
52120 (pow_test): Likewise.
52121 (pow_test_tonearest): Likewise.
52122 (pow_test_towardzero): Likewise.
52123 (pow_test_downward): Likewise.
52124 (pow_test_upward): Likewise.
52125 (remainder_test): Likewise.
52126 (drem_test): Likewise.
52127 (remainder_test_tonearest): Likewise.
52128 (drem_test_tonearest): Likewise.
52129 (remainder_test_towardzero): Likewise.
52130 (drem_test_towardzero): Likewise.
52131 (remainder_test_downward): Likewise.
52132 (drem_test_downward): Likewise.
52133 (remainder_test_upward): Likewise.
52134 (drem_test_upward): Likewise.
52135 (remquo_test): Likewise.
52136 (rint_test): Likewise.
52137 (rint_test_tonearest): Likewise.
52138 (rint_test_towardzero): Likewise.
52139 (rint_test_downward): Likewise.
52140 (rint_test_upward): Likewise.
52141 (round_test): Likewise.
52142 (scalb_test): Likewise.
52143 (scalbn_test): Likewise.
52144 (scalbln_test): Likewise.
52145 (signbit_test): Likewise.
52146 (sin_test): Likewise.
52147 (sin_test_tonearest): Likewise.
52148 (sin_test_towardzero): Likewise.
52149 (sin_test_downward): Likewise.
52150 (sin_test_upward): Likewise.
52151 (sincos_test): Likewise.
52152 (sinh_test): Likewise.
52153 (sinh_test_tonearest): Likewise.
52154 (sinh_test_towardzero): Likewise.
52155 (sinh_test_downward): Likewise.
52156 (sinh_test_upward): Likewise.
52157 (sqrt_test): Likewise.
52158 (sqrt_test_tonearest): Likewise.
52159 (sqrt_test_towardzero): Likewise.
52160 (sqrt_test_downward): Likewise.
52161 (sqrt_test_upward): Likewise.
52162 (tan_test): Likewise.
52163 (tan_test_tonearest): Likewise.
52164 (tan_test_towardzero): Likewise.
52165 (tan_test_downward): Likewise.
52166 (tan_test_upward): Likewise.
52167 (tanh_test): Likewise.
52168 (tgamma_test): Likewise.
52169 (trunc_test): Likewise.
52170 (y0_test): Likewise.
52171 (y1_test): Likewise.
52172 (yn_test): Likewise.
52173 (significand_test): Likewise.
52174
52175 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
52176 individual tests in comment.
52177 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
52178 (prev_max_error): New variable.
52179 (prev_real_max_error): Likewise.
52180 (prev_imag_max_error): Likewise.
52181 (compare_ulp_data): Don't refer to test names in comment.
52182 (find_test_ulps): Remove function.
52183 (find_function_ulps): Likewise.
52184 (find_complex_function_ulps): Likewise.
52185 (init_max_error): Take function name as argument. Look up ulps
52186 for that function.
52187 (print_ulps): Remove function.
52188 (print_max_error): Use prev_max_error instead of calling
52189 find_function_ulps.
52190 (print_complex_max_error): Use prev_real_max_error and
52191 prev_imag_max_error instead of calling find_complex_function_ulps.
52192 (check_float_internal): Take max_ulp parameter instead of calling
52193 find_test_ulps. Don't call print_ulps.
52194 (check_float): Update call to check_float_internal.
52195 (check_complex): Update calls to check_float_internal.
52196 (START): Pass argument to init_max_error.
52197 * math/gen-libm-test.pl (%results): Don't include "kind"
52198 information.
52199 (parse_ulps): Don't handle ulps of individual tests.
52200 (print_ulps_file): Likewise.
52201 (output_ulps): Likewise.
52202 * math/README.libm-test: Update.
52203 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
52204 individual tests.
52205 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
52206 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
52207 * sysdeps/arm/libm-test-ulps: Likewise.
52208 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
52209 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
52210 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
52211 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
52212 * sysdeps/microblaze/libm-test-ulps: Likewise.
52213 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
52214 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
52215 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52216 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
52217 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
52218 * sysdeps/sh/libm-test-ulps: Likewise.
52219 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
52220 * sysdeps/tile/libm-test-ulps: Likewise.
52221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52222
52223 2014-03-04 Joseph Myers <joseph@codesourcery.com>
52224
52225 * math/libm-test.inc (print_complex_max_error): Check separately
52226 whether real and imaginary errors are within allowed range and
52227 pass 0 to print_complex_function_ulps instead of value within
52228 allowed range.
52229
52230 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
52231
52232 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
52233 formatting.
52234 (get_handles_fopen): Likewise.
52235 (do_write_test): Likewise.
52236
52237 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
52238
52239 * libio/fileops.c (do_ftell): Use cached offset when
52240 available.
52241 * libio/iofwide.c (do_ftell_wide): Likewise.
52242 * libio/iofdopen.c (_IO_new_fdopen): Don't use
52243 _IO_file_attach.
52244 * libio/wfileops.c (_IO_fwide): Don't cache offset.
52245
52246 [BZ #16532]
52247 * libio/libioP.h (get_file_offset): New function.
52248 * libio/fileops.c (get_file_offset): Likewise.
52249 (do_ftell): Likewise.
52250 (_IO_new_file_seekoff): Split out ftell logic.
52251 * libio/wfileops.c (do_ftell_wide): Likewise.
52252 (_IO_wfile_seekoff): Split out ftell logic.
52253 * libio/tst-ftell-active-handler.c: New test case.
52254 * libio/Makefile (tests): Add it.
52255
52256 2014-03-03 Roland McGrath <roland@hack.frob.com>
52257
52258 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
52259 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
52260
52261 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
52262
52263 [BZ #16639]
52264 * nscd/connections.c (nscd_init): Call do_exit.
52265 (start_threads): Call do_exit and notify_parent.
52266 (begin_drop_privileges): Call do_exit.
52267 (finish_drop_privileges): Likewise.
52268 * nscd/selinux.c (preserve_capabilities): Likewise.
52269 (install_real_capabilities): Likewise.
52270 (nscd_selinux_enabled): Likewise.
52271 (avc_create_thread): Likewise.
52272 (avc_alloc_lock): Likewise.
52273 (nscd_avc_init): Likewise.
52274 * nscd/nscd.c (parent_fd): New static variable.
52275 (main): Create a pipe between parent and child processes.
52276 Skip closing parent_fd.
52277 (monitor_child): New function.
52278 (do_exit): Likewise.
52279 (notify_parent): Likewise.
52280 * nscd/nscd.h (notify_parent): Likewise.
52281 (do_exit): Likewise.
52282
52283 2014-03-03 Carlos O'Donell <carlos@redhat.com>
52284
52285 * malloc/malloc.c (__libc_calloc): Revert last change.
52286
52287 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52288
52289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52290
52291 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
52292
52293 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
52294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
52295 implementation.
52296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52297 (__libc_ifunc_impl_list): Likewise.
52298 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
52299 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
52300 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
52301 * string/strrchr.c: Define STRRCHR.
52302
52303 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
52304
52305 * benchtest/bench-strtok.c (simple_strtok): Delete.
52306 (strtok_string): Use as benchmark.
52307 * string/strtok (STRTOK): New macro.
52308
52309 2014-02-28 Carlos O'Donell <carlos@redhat.com>
52310
52311 * manual/threads.texi: Add header and standard comments to all
52312 functions.
52313
52314 * elf/dl-lookup.c (check_match): New function.
52315 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
52316 (do_lookup_x): Remove nested function check_match. Use non-nested
52317 function check_match.
52318
52319 2014-02-28 Roland McGrath <roland@hack.frob.com>
52320
52321 * csu/Makefile (generated, before-compile): Use += rather than =.
52322 * catgets/Makefile (generated, generated-dirs): Likewise.
52323 * debug/Makefile (generated): Likewise.
52324 * dlfcn/Makefile (generated): Likewise.
52325 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
52326 * iconvdata/Makefile (before-compile, generated): Likewise.
52327 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
52328 * libio/Makefile (generated): Likewise.
52329 * malloc/Makefile (generated): Likewise.
52330 * manual/Makefile (generated, generated-dirs): Likewise.
52331 * misc/Makefile (generated): Likewise.
52332 * posix/Makefile (generated): Likewise.
52333 * resolv/Makefile (generated): Likewise.
52334 * sunrpc/Makefile (generated, generated-dirs): Likewise.
52335 * timezone/Makefile (generated, generated-dirs): Likewise.
52336
52337 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
52338
52339 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52340
52341 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
52342 power8 implementation.
52343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
52344 file: POWER8 llround ifunc implementation.
52345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
52346 (__lllround): Add POWER8 implementation.
52347 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
52348 POWER8 llround implementation.
52349
52350 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
52351 power8 implementation.
52352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
52353 file: POWER8 llrint ifunc implementation.
52354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
52355 Add POWER8 implementation.
52356 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
52357 POWER8 llrint implementation.
52358
52359 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
52360 power8 implementation.
52361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
52362 file: POWER8 finite ifunc implementation.
52363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
52364 Add POWER8 implementation.
52365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
52366 Likewise.
52367 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
52368 POWER8 finite implementation.
52369 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
52370
52371 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
52372 power8 implementation.
52373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
52374 file: POWER8 isinf ifunc implementation.
52375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
52376 POWER8 implementation.
52377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
52378 Likewise.
52379 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
52380 isinf implementation.
52381 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
52382
52383 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
52384 (INIT_ARCH): Add hwcap2 initialization.
52385 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
52386 power8 implementation.
52387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
52388 file: POWER8 isnan ifunc implementation.
52389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
52390 POWER8 implementation.
52391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
52392 Likewise.
52393 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
52394 isnan implementation.
52395 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
52396
52397 2014-02-27 Joey Ye <joey.ye@arm.com>
52398
52399 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
52400 (_FP_NANFRAC_Q): Set to zero.
52401
52402 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
52403
52404 [BZ #16623]
52405 * math/auto-libm-test-in: New test inputs.
52406 * math/auto-libm-test-out: Regenerate.
52407 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
52408 and DA.
52409 (__cos): Likewise.
52410 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52411
52412 2014-02-27 Joseph Myers <joseph@codesourcery.com>
52413
52414 * scripts/evaluate-test.sh: Take new argument indicating whether
52415 failure is expected.
52416 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
52417 indicating whether failure is expected.
52418 * conform/Makefile (test-xfail-run-conformtest): New variable.
52419 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
52420 level.
52421 * posix/Makefile (test-xfail-annexc): New variable.
52422 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
52423
52424 2014-02-26 Joseph Myers <joseph@codesourcery.com>
52425
52426 * argp/Makefile: Include Makeconfig immediately after defining
52427 subdir.
52428 * assert/Makefile: Likewise.
52429 * benchtests/Makefile: Likewise.
52430 * catgets/Makefile: Likewise.
52431 * conform/Makefile: Likewise.
52432 * crypt/Makefile: Likewise.
52433 * csu/Makefile: Likewise.
52434 (all): Remove target.
52435 * ctype/Makefile: Include Makeconfig immediately after defining
52436 subdir.
52437 * debug/Makefile: Likewise.
52438 * dirent/Makefile: Likewise.
52439 * dlfcn/Makefile: Likewise.
52440 * gmon/Makefile: Likewise.
52441 * gnulib/Makefile: Likewise.
52442 * grp/Makefile: Likewise.
52443 * gshadow/Makefile: Likewise.
52444 * hesiod/Makefile: Likewise.
52445 * hurd/Makefile: Likewise.
52446 (all): Remove target.
52447 * iconvdata/Makefile: Include Makeconfig immediately after
52448 defining subdir.
52449 * inet/Makefile: Likewise.
52450 * intl/Makefile: Likewise.
52451 * io/Makefile: Likewise.
52452 * libio/Makefile: Likewise.
52453 (all): Remove target.
52454 * locale/Makefile: Include Makeconfig immediately after defining
52455 subdir.
52456 * login/Makefile: Likewise.
52457 * mach/Makefile: Likewise.
52458 (all): Remove target.
52459 * malloc/Makefile: Include Makeconfig immediately after defining
52460 subdir.
52461 (all): Remove target.
52462 * manual/Makefile: Include Makeconfig immediately after defining
52463 subdir.
52464 * math/Makefile: Likewise.
52465 * misc/Makefile: Likewise.
52466 * nis/Makefile: Likewise.
52467 * nss/Makefile: Likewise.
52468 * po/Makefile: Likewise.
52469 (all): Remove target.
52470 * posix/Makefile: Include Makeconfig immediately after defining
52471 subdir.
52472 * pwd/Makefile: Likewise.
52473 * resolv/Makefile: Likewise.
52474 * resource/Makefile: Likewise.
52475 * rt/Makefile: Likewise.
52476 * setjmp/Makefile: Likewise.
52477 * shadow/Makefile: Likewise.
52478 * signal/Makefile: Likewise.
52479 * socket/Makefile: Likewise.
52480 * soft-fp/Makefile: Likewise.
52481 * stdio-common/Makefile: Likewise.
52482 * stdlib/Makefile: Likewise.
52483 * streams/Makefile: Likewise.
52484 * string/Makefile: Likewise.
52485 * sunrpc/Makefile: Likewise.
52486 (all): Remove target.
52487 * sysvipc/Makefile: Include Makeconfig immediately after defining
52488 subdir.
52489 * termios/Makefile: Likewise.
52490 * time/Makefile: Likewise.
52491 * timezone/Makefile: Likewise.
52492 (all): Remove target.
52493 * wcsmbs/Makefile: Include Makeconfig immediately after defining
52494 subdir.
52495 * wctype/Makefile: Likewise.
52496
52497 2014-02-26 Steve Ellcey <sellcey@mips.com>
52498
52499 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
52500 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
52501 (libc_feholdexcept_setround_mips): Ditto.
52502 (libc_feholdsetround): New.
52503 (libc_feholdsetroundf): New.
52504 (libc_feholdsetroundl): New.
52505 (libc_feupdateenv_test_mips): New.
52506 (libc_feupdateenv_test): New.
52507 (libc_feupdateenv_testf): New.
52508 (libc_feupdateenv_testl): New.
52509 (libc_feresetround): New.
52510 (libc_feresetroundf): New.
52511 (libc_feresetroundl): New.
52512 (libc_fetestexcept_mips): New.
52513 (libc_fetestexcept): New.
52514 (libc_fetestexceptf): New.
52515 (libc_fetestexceptl): New.
52516 (HAVE_RM_CTX): New.
52517 (libc_feholdexcept_setround_mips_ctx): New.
52518 (libc_feholdexcept_setround_ctx): New.
52519 (libc_feholdexcept_setroundf_ctx): New.
52520 (libc_feholdexcept_setroundl_ctx): New.
52521 (libc_fesetenv_mips_ctx): New.
52522 (libc_fesetenv_ctx): New.
52523 (libc_fesetenv_ctxf): New.
52524 (libc_fesetenv_ctxl): New.
52525 (libc_feupdateenv_mips_ctx): New.
52526 (libc_feupdateenv_ctx): New.
52527 (libc_feupdateenvf_ctx): New.
52528 (libc_feupdateenvl_ctx): New.
52529 (libc_feholdsetround_mips_ctx): New.
52530 (libc_feholdsetround_ctx): New.
52531 (libc_feholdsetroundf_ctx): New.
52532 (libc_feholdsetroundl_ctx): New.
52533 (libc_feresetround_mips_ctx): New.
52534 (libc_feresetround_ctx): New.
52535 (libc_feresetroundf_ctx): New.
52536 (libc_feresetroundl_ctx): New.
52537
52538 2014-02-26 Carlos O'Donell <carlos@redhat.com>
52539
52540 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
52541
52542 * manual/ipc.texi: New file.
52543 * manual/Makefile (chapters): Add ipc.
52544 * manual/job.texi: Add "Inter-Process Communication" to next.
52545 * manual/process.texi: Add "Inter-Process Communication" to prev.
52546
52547 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52548
52549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52550
52551 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
52552
52553 * malloc/malloc.c (__libc_calloc): Simplify implementation.
52554
52555 * manual/arith.texi: Fix spaces after sentences.
52556 * manual/charset.texi: Likewise.
52557 * manual/errno.texi: Likewise.
52558 * manual/install.texi: Likewise.
52559 * manual/llio.texi: Likewise.
52560 * manual/locale.texi: Likewise.
52561 * manual/maint.texi: Likewise.
52562 * manual/math.texi: Likewise.
52563 * manual/memory.texi: Likewise.
52564 * manual/message.texi: Likewise.
52565 * manual/probes.texi: Likewise.
52566 * manual/resource.texi: Likewise.
52567 * manual/signal.texi: Likewise.
52568 * manual/socket.texi: Likewise.
52569 * manual/stdio.texi: Likewise.
52570 * manual/string.texi: Likewise.
52571 * manual/time.texi: Likewise.
52572 * manual/users.texi: Likewise.
52573
52574 2014-02-25 Carlos O'Donell <carlos@redhat.com>
52575
52576 [BZ #16632]
52577 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
52578 _DEFAULT_SOURCE is defined.
52579
52580 2014-02-25 Ulrich Drepper <drepper@gmail.com>
52581 Carlos O'Donell <carlos@redhat.com>
52582
52583 [BZ #16613]
52584 * elf/dl-tls.c (_dl_count_modids): New function.
52585 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
52586 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
52587 audit library and increment generation counter.
52588 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
52589 * elf/tst-audit9.c: New file.
52590 * elf/tst-auditmod9a.c: New file.
52591 * elf/tst-auditmod9b.c: New file.
52592 * elf/Makefile: Add rules to build and run tst-audit9.
52593
52594 2014-02-25 Florian Weimer <fweimer@redhat.com>
52595
52596 [BZ #15347]
52597 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
52598
52599 2014-02-25 Will Newton <will.newton@linaro.org>
52600
52601 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
52602 (__longjmp): Restore sp and lr before restoring callee
52603 saved registers. Add longjmp and longjmp_target
52604 SystemTap probe point.
52605 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
52606 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
52607 Define to zero to match jmpbuf layout.
52608 * sysdeps/arm/setjmp.S: Include stap-probe.h.
52609 (__sigsetjmp): Save sp and lr before saving callee
52610 saved registers. Add setjmp SystemTap probe point.
52611
52612 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
52613
52614 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52615
52616 2014-02-24 Andreas Schwab <schwab@suse.de>
52617
52618 [BZ #15804]
52619 * elf/pldd.c (wait_for_ptrace_stop): New function.
52620 (main): Call it after attaching.
52621
52622 2014-02-22 Roland McGrath <roland@hack.frob.com>
52623
52624 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
52625 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
52626 Versions files is now verboten.
52627 * hurd/Versions (libc: GLIBC_2.0):
52628 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
52629 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
52630 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
52631 * mach/Versions: Likewise.
52632
52633 * csu/Versions: Remove unused %include.
52634 * resolv/Versions: Likewise.
52635
52636 2014-02-21 Joseph Myers <joseph@codesourcery.com>
52637
52638 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
52639 ($(objpfx)check-local-headers.out): Likewise.
52640 ($(objpfx)begin-end-check.out): Likewise.
52641 * Makerules (check-abi-%.out): Likewise.
52642 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
52643 ($(objpfx)test2.cat): Likewise.
52644 ($(objpfx)de/libc.cat): Likewise.
52645 ($(objpfx)test-gencat.out): Likewise.
52646 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
52647 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
52648 ($(objpfx)noload-mem): Likewise.
52649 ($(objpfx)tst-pathopt.out): Likewise.
52650 ($(objpfx)tst-rtld-load-self.out): Likewise.
52651 ($(objpfx)tst-array1-cmp.out): Likewise.
52652 ($(objpfx)tst-array1-static-cmp.out): Likewise.
52653 ($(objpfx)tst-array2-cmp.out): Likewise.
52654 ($(objpfx)tst-array3-cmp.out): Likewise.
52655 ($(objpfx)tst-array4-cmp.out): Likewise.
52656 ($(objpfx)tst-array5-cmp.out): Likewise.
52657 ($(objpfx)tst-array5-static-cmp.out): Likewise.
52658 ($(objpfx)check-textrel.out): Likewise.
52659 ($(objpfx)check-execstack.out): Likewise.
52660 ($(objpfx)check-localplt.out): Likewise.
52661 ($(objpfx)order2-cmp.out): Likewise.
52662 ($(objpfx)tst-leaks1-mem): Likewise.
52663 ($(objpfx)tst-leaks1-static-mem): Likewise.
52664 ($(objpfx)tst-initorder-cmp.out): Likewise.
52665 ($(objpfx)tst-initorder2-cmp.out): Likewise.
52666 ($(objpfx)tst-unused-dep.out): Likewise.
52667 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
52668 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
52669 * iconv/Makefile (test-iconvconfig): Likewise.
52670 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
52671 ($(objpfx)iconv-test.out): Likewise.
52672 ($(objpfx)tst-tables.out): Likewise.
52673 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
52674 ($(objpfx)tst-gettext.out): Likewise.
52675 ($(objpfx)tst-translit.out): Likewise.
52676 ($(objpfx)tst-gettext2.out): Likewise.
52677 ($(objpfx)tst-gettext4.out): Likewise.
52678 ($(objpfx)tst-gettext6.out): Likewise.
52679 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
52680 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
52681 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
52682 ($(objpfx)tst-fopenloc-mem.out): Likewise.
52683 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
52684 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
52685 * posix/Makefile ($(objpfx)globtest.out): Likewise.
52686 ($(objpfx)wordexp-tst.out): Likewise.
52687 ($(objpfx)annexc.out): Likewise.
52688 ($(objpfx)tst-fnmatch-mem): Likewise.
52689 ($(objpfx)bug-regex2-mem): Likewise.
52690 ($(objpfx)bug-regex14-mem): Likewise.
52691 ($(objpfx)bug-regex21-mem): Likewise.
52692 ($(objpfx)bug-regex31-mem): Likewise.
52693 ($(objpfx)tst-vfork3-mem): Likewise.
52694 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
52695 ($(objpfx)tst-pcre-mem): Likewise.
52696 ($(objpfx)tst-boost-mem): Likewise.
52697 ($(objpfx)tst-getconf.out): Likewise.
52698 ($(objpfx)bug-ga2-mem): Likewise.
52699 ($(objpfx)bug-glob2-mem): Likewise.
52700 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
52701 ($(objpfx)mtrace-tst-leaks2): Likewise.
52702 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
52703 ($(objpfx)tst-printf.out): Likewise.
52704 ($(objpfx)tst-setvbuf1.out): Likewise.
52705 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
52706 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
52707 ($(objpfx)tst-fmtmsg.out): Likewise.
52708 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
52709 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
52710
52711 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
52712 * bits/sigaction.h [__USE_MISC]: Likewise.
52713 * bits/waitstatus.h: Update #endif comments.
52714 * ctype/ctype.h: Likewise.
52715 * dirent/dirent.h: Likewise.
52716 [__USE_MISC]: Remove redundant conditionals.
52717 * grp/grp.h: Update #endif comments.
52718 [__USE_GNU]: Remove redundant conditionals.
52719 [__USE_MISC]: Likewise.
52720 * inet/netinet/in.h [__USE_GNU]: Likewise.
52721 * io/sys/stat.h [__USE_MISC]: Likewise.
52722 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
52723 * libio/bits/stdio.h: Update #endif comments.
52724 [__USE_MISC]: Remove redundant conditionals.
52725 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
52726 * libio/stdio.h: Update #endif comments.
52727 [__USE_MISC]: Remove redundant conditionals.
52728 * math/bits/math-finite.h [__USE_MISC]: Likewise.
52729 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
52730 * math/math.h: Update #else and #endif comments.
52731 [__USE_MISC]: Remove redundant conditionals.
52732 * misc/sys/uio.h: Update #endif comments.
52733 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
52734 * posix/glob.h [__USE_MISC]: Likewise.
52735 * posix/sys/types.h: Update #endif comments.
52736 [__USE_MISC]: Remove redundant conditionals.
52737 * posix/sys/wait.h: Update #endif comments.
52738 [__USE_MISC]: Remove redundant conditionals.
52739 * posix/unistd.h: Update #endif comments.
52740 [__USE_MISC]: Remove redundant conditionals.
52741 * pwd/pwd.h [__USE_GNU]: Likewise.
52742 [__USE_MISC]: Likewise.
52743 * resolv/netdb.h [__USE_GNU]: Likewise.
52744 * signal/signal.h: Update #endif comments.
52745 [__USE_MISC]: Remove redundant conditionals.
52746 * stdlib/stdlib.h: Update #else and #endif comments.
52747 [__USE_MISC]: Remove redundant conditionals.
52748 [__USE_GNU]: Likewise.
52749 * string/bits/string2.h [__USE_MISC]: Likewise.
52750 * string/string.h: Update #endif comments.
52751 [__USE_MISC]: Remove redundant conditionals.
52752 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
52753 Likewise.
52754 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
52755 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
52756 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
52757 Likewise.
52758 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
52759 Likewise.
52760 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
52761 comments.
52762 [__USE_MISC]: Remove redundant conditionals.
52763 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
52764 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
52765 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
52766 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
52767 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
52768 Likewise.
52769 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
52770 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
52771 Likewise.
52772 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
52773 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
52774 Likewise.
52775 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
52776 Likewise.
52777 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
52778 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
52779 Likewise.
52780 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
52781 Likewise.
52782 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
52783 * sysdeps/x86/bits/string.h: Update #endif comments.
52784 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
52785 conditionals.
52786 * time/sys/time.h: Update #endif comments.
52787 * time/time.h: Likewise.
52788 [__USE_MISC]: Remove redundant conditionals.
52789
52790 2014-02-21 Yury Gribov <y.gribov@samsung.com>
52791
52792 [BZ #16600]
52793 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
52794
52795 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
52796
52797 * Versions.def (librt): Add GLIBC_2.17.
52798
52799 2014-02-21 Adam Conrad <adconrad@0c3.net>
52800
52801 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
52802 synonym for _SYS_AUXV_H to allow direct inclusion.
52803 * sysdeps/sparc/bits/hwcap.h: Likewise.
52804 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
52805 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
52806 * sysdeps/sparc/sysdep.h: Likewise.
52807
52808 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
52809
52810 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
52811
52812 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
52813
52814 * benchtests/bench-strrchr.c: Print length instead of position.
52815
52816 2014-02-20 Joseph Myers <joseph@codesourcery.com>
52817
52818 [BZ #16611]
52819 * sysdeps/unix/sysv/linux/kernel-features.h
52820 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
52821 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
52822 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
52823 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
52824 Likewise.
52825 [__i386__ || __powerpc__ || __sh__ || __sparc__]
52826 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
52827 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
52828 (__ASSUME_SENDMMSG): Define instead of using previous
52829 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
52830 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52831 (__ASSUME_SENDMMSG_SYSCALL): Define.
52832 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52833 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
52834 Likewise.
52835 * sysdeps/unix/sysv/linux/arm/kernel-features.h
52836 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
52837 Likewise.
52838 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52839 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
52840 Likewise.
52841 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
52842 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
52843 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
52844 [__ASSUME_SENDMMSG]: Change conditionals to
52845 [__ASSUME_SENDMMSG_SOCKETCALL].
52846 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52847 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
52848 Define.
52849 * sysdeps/unix/sysv/linux/mips/kernel-features.h
52850 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
52851 Likewise.
52852 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
52853 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
52854 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
52855 [!__ASSUME_SENDMMSG]: Change conditional to
52856 [!__ASSUME_SENDMMSG_SOCKETCALL].
52857 * sysdeps/unix/sysv/linux/tile/kernel-features.h
52858 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
52859 Define.
52860
52861 [BZ #16610]
52862 * sysdeps/unix/sysv/linux/kernel-features.h
52863 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
52864 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
52865 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
52866 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
52867 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
52868 [__i386__ || __sparc__]
52869 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
52870 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
52871 (__ASSUME_RECVMMSG): Define instead of using previous
52872 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
52873 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52874 (__ASSUME_RECVMMSG_SYSCALL): Define.
52875 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52876 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52877 Likewise.
52878 * sysdeps/unix/sysv/linux/arm/kernel-features.h
52879 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52880 Likewise.
52881 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52882 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52883 Likewise.
52884 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
52885 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
52886 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
52887 [__ASSUME_RECVMMSG]: Change condition to
52888 [__ASSUME_RECVMMSG_SOCKETCALL].
52889 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52890 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52891 Define.
52892 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
52893 * sysdeps/unix/sysv/linux/mips/kernel-features.h
52894 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52895 Likewise.
52896 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
52897 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
52898 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
52899 [!__ASSUME_RECVMMSG]: Change condition to
52900 [!__ASSUME_RECVMMSG_SOCKETCALL].
52901 * sysdeps/unix/sysv/linux/tile/kernel-features.h
52902 (__ASSUME_RECVMMSG_SYSCALL): Define.
52903
52904 [BZ #16609]
52905 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
52906 __powerpc__ || __s390__ || __sh__ || __sparc__]
52907 (__ASSUME_SOCKETCALL): Define.
52908 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
52909 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
52910 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
52911 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
52912 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52913 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
52914 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
52915 (__ASSUME_ACCEPT4): Define instead of using previous
52916 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
52917 __powerpc__ || __sparc__ || __s390__)] condition.
52918 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52919 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
52920 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
52921 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
52922 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
52923 [!__ASSUME_ACCEPT4]: Change condition to
52924 [!__ASSUME_ACCEPT4_SOCKETCALL].
52925 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52926 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
52927 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
52928 * sysdeps/unix/sysv/linux/arm/kernel-features.h
52929 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
52930 __ASSUME_ACCEPT4_SYSCALL.
52931 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
52932 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
52933 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52934 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
52935 __ASSUME_ACCEPT4_SYSCALL.
52936 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
52937 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
52938 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
52939 [__ASSUME_ACCEPT4]: Change condition to
52940 [__ASSUME_ACCEPT4_SOCKETCALL].
52941 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52942 (__ASSUME_SOCKETCALL): Define.
52943 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
52944 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52945 (__ASSUME_SOCKETCALL): Define.
52946 (__ASSUME_ACCEPT4): Remove.
52947 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
52948 Define.
52949 * sysdeps/unix/sysv/linux/mips/kernel-features.h
52950 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
52951 Likewise.
52952 * sysdeps/unix/sysv/linux/tile/kernel-features.h
52953 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
52954
52955 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
52956 macro.
52957 (HWCAP_ARM_LPAE): Likewise.
52958 (HWCAP_ARM_EVTSTRM): Likewise.
52959 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
52960 Add vpfd32, lpae and evtstrm.
52961 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
52962 Increase to 22.
52963
52964 2014-02-19 Joseph Myers <joseph@codesourcery.com>
52965
52966 * math/auto-libm-test-in: Add tests of clog10.
52967 * math/auto-libm-test-out: Regenerated.
52968 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
52969 * sysdeps/i386/fpu/libm-test-ulps: Update.
52970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52971
52972 2014-02-18 Andreas Schwab <schwab@suse.de>
52973
52974 [BZ #16574]
52975 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
52976 Store non-zero if the second buffer was newly allocated.
52977 (send_dg): Likewise.
52978 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
52979 to send_vc and send_dg.
52980 (res_nsend): Pass NULL for ansp2_malloced.
52981 * resolv/res_query.c (__libc_res_nquery): Add parameter
52982 answerp2_malloced and pass it down to __libc_res_nsend.
52983 (res_nquery): Pass additional NULL to __libc_res_nquery.
52984 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
52985 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
52986 second answer buffer if answerp2_malloced was set.
52987 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
52988 (__libc_res_nquerydomain): Add parameter
52989 answerp2_malloced and pass it down to __libc_res_nquery.
52990 (res_nquerydomain): Pass additional NULL to
52991 __libc_res_nquerydomain.
52992 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
52993 additional NULL to __libc_res_nsend and __libc_res_nquery.
52994 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
52995 additional NULL to __libc_res_nsearch.
52996 (_nss_dns_gethostbyname4_r): Revert last change. Use new
52997 parameter of __libc_res_nsearch to check for separately allocated
52998 second buffer.
52999 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
53000 __libc_res_nquery.
53001 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
53002 additional NULL to __libc_res_nquery.
53003 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
53004 __libc_res_nsearch.
53005 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
53006 * include/resolv.h: Update prototypes of __libc_res_nquery,
53007 __libc_res_nsearch, __libc_res_nsend.
53008
53009 2014-02-18 Joseph Myers <joseph@codesourcery.com>
53010
53011 * math/auto-libm-test-in: Add tests of fma.
53012 * math/auto-libm-test-out: Regenerated.
53013 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
53014 (fma_towardzero_test_data): Likewise.
53015 (fma_downward_test_data): Likewise.
53016 (fma_upward_test_data): Likewise.
53017 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
53018 mpc_mode.
53019 (rounding_modes): Add values for new field.
53020 (func_calc_method): Add value mpfr_fff_f.
53021 (func_calc_desc): Add mpfr_fff_f union field.
53022 (test_function): Add field exact_args.
53023 (FUNC): Add macro argument EXACT_ARGS.
53024 (FUNC_mpfr_f_f): Update call to FUNC.
53025 (FUNC_mpfr_f_f): Likewise.
53026 (FUNC_mpfr_ff_f): Likewise.
53027 (FUNC_mpfr_if_f): Likewise.
53028 (FUNC_mpc_c_f): Likewise.
53029 (FUNC_mpc_c_c): Likewise.
53030 (test_functions): Add fma. Update calls to FUNC.
53031 (handle_input_arg): Add argument exact_args.
53032 (add_test): Update call to handle_input_arg.
53033 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
53034 (output_for_one_input_case): Update call to calc_generic_results.
53035 Recalculate exact zero results in each rounding mode.
53036
53037 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
53038 non-negative before setting low bit.
53039 * math/auto-libm-test-in: Mark one asin test possibly having
53040 spurious underflow.
53041 * math/auto-libm-test-out: Regenerated.
53042 * sysdeps/i386/fpu/libm-test-ulps: Update.
53043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53044
53045 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
53046
53047 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
53048 * sysdeps/unix/sysv/linux/microblaze: Move directory from
53049 ports/sysdeps/unix/sysv/linux/microblaze.
53050 * README: Add missing listing for microblaze*-*-linux-gnu.
53051
53052 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
53053
53054 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
53055 duplicate code
53056
53057 2014-02-16 Mike Frysinger <vapier@gentoo.org>
53058
53059 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
53060 * sysdeps/unix/sysv/linux/ia64: Move directory from
53061 ports/sysdeps/unix/sysv/linux/ia64.
53062 * README: Update listing for ia64-*-linux-gnu.
53063
53064 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
53065 Joseph Myers <joseph@codesourcery.com>
53066
53067 * Makeconfig (test-name): New variable.
53068 (evaluate-test): Likewise.
53069 * Makerules (do-test-clean): Remove .test-result files.
53070 (common-mostlyclean): Likewise.
53071 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
53072 * scripts/evaluate-test.sh: New file.
53073
53074 2014-02-14 Joseph Myers <joseph@codesourcery.com>
53075
53076 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
53077 separate $(objpfx)tst-fopenloc-cmp.out and
53078 $(objpfx)tst-fopenloc-mem.out targets.
53079 (tests): Update dependencies.
53080 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
53081 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
53082 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
53083 (tst-rxspencer-no-utf8-ARGS): New variable.
53084 (tst-rxspencer-no-utf8-ENV): Likewise.
53085 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
53086 instead of $(objpfx)tst-rxspencer-mem.
53087 ($(objpfx)tst-rxspencer-mem): Change target to
53088 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
53089 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
53090 * posix/tst-rxspencer-no-utf8.c: New file.
53091
53092 * elf/Makefile ($(objpfx)order.out): Remove rule.
53093 [$(run-built-tests) = yes] (tests): Depend on
53094 $(objpfx)order-cmp.out.
53095 ($(objpfx)order-cmp.out): New rule.
53096 [$(run-built-tests) = yes] (tests): Depend on
53097 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
53098 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
53099 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
53100 $(objpfx)tst-array5-static-cmp.out.
53101 ($(objpfx)tst-array1.out): Remove rule.
53102 ($(objpfx)tst-array1-cmp.out): New rule.
53103 ($(objpfx)tst-array1-static.out): Remove rule.
53104 ($(objpfx)tst-array1-static-cmp.out): New rule.
53105 ($(objpfx)tst-array2.out): Remove rule.
53106 ($(objpfx)tst-array2-cmp.out): New rule.
53107 ($(objpfx)tst-array3.out): Remove rule.
53108 ($(objpfx)tst-array3-cmp.out): New rule.
53109 ($(objpfx)tst-array4.out): Remove rule.
53110 ($(objpfx)tst-array4-cmp.out): New rule.
53111 ($(objpfx)tst-array5.out): Remove rule.
53112 ($(objpfx)tst-array5-cmp.out): New rule.
53113 ($(objpfx)tst-array5-static.out): Remove rule.
53114 ($(objpfx)tst-array5-static-cmp.out): New rule.
53115 [$(run-built-tests) = yes] (tests): Depend on
53116 $(objpfx)order2-cmp.out.
53117 ($(objpfx)order2.out): Remove rule.
53118 ($(objpfx)order2-cmp.out): New rule.
53119 ($(objpfx)tst-initorder.out): Remove rule.
53120 [$(run-built-tests) = yes] (tests): Depend on
53121 $(objpfx)tst-initorder-cmp.out.
53122 ($(objpfx)tst-initorder-cmp.out): New rule.
53123 ($(objpfx)tst-initorder2.out): Remove rule.
53124 [$(run-built-tests) = yes] (tests): Depend on
53125 $(objpfx)tst-initorder2-cmp.out.
53126 ($(objpfx)tst-initorder2-cmp.out): New rule.
53127 [$(run-built-tests) = yes] (tests): Depend on
53128 $(objpfx)tst-unused-dep-cmp.out.
53129 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
53130 ($(objpfx)tst-unused-dep-cmp.out): New rule.
53131 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
53132 on $(objpfx)tst-setvbuf1-cmp.out.
53133 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
53134 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
53135 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
53136 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
53137 ($(objpfx)tst-svc.out): Remove rule.
53138 ($(objpfx)tst-svc-cmp.out): New rule.
53139
53140 2014-02-13 Joseph Myers <joseph@codesourcery.com>
53141
53142 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
53143 * ctype/ctype.h [__USE_MISC]: Likewise.
53144 * dirent/dirent.h [__USE_MISC]: Likewise.
53145 * grp/grp.h [__USE_MISC]: Likewise.
53146 * io/fcntl.h [__USE_MISC]: Likewise.
53147 * io/sys/stat.h [__USE_MISC]: Likewise.
53148 * libio/stdio.h [__USE_MISC]: Likewise.
53149 * posix/unistd.h [__USE_MISC]: Likewise.
53150 * pwd/pwd.h [__USE_MISC]: Likewise.
53151 * stdlib.h [__USE_MISC]: Likewise.
53152 * string/bits/string2.h [__USE_MISC]: Likewise.
53153 * string/string.h [__USE_MISC]: Likewise.
53154 * time/time.h [__USE_MISC]: Likewise.
53155
53156 2014-02-13 Andreas Schwab <schwab@suse.de>
53157
53158 [BZ #16574]
53159 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
53160 second answer buffer if it was separately allocated.
53161
53162 2014-02-12 Joseph Myers <joseph@codesourcery.com>
53163
53164 * sysdeps/mips/math-tests.h: Include <features.h>.
53165 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
53166 (ROUNDING_TESTS_long_double): Do not define.
53167 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
53168 (EXCEPTION_TESTS_long_double): Likewise.
53169 * sysdeps/mips/mips64/libm-test-ulps: Update.
53170
53171 * include/features.h (__USE_BSD): Remove macro definitions.
53172 (__USE_SVID): Likewise.
53173 (_BSD_SOURCE): Likewise.
53174 (_SVID_SOURCE): Likewise.
53175 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
53176 from definition of _DEFAULT_SOURCE.
53177 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
53178 [_DEFAULT_SOURCE].
53179 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
53180 * bits/mman.h [__USE_BSD]: Likewise.
53181 * bits/termios.h [__USE_BSD]: Likewise.
53182 * bits/waitstatus.h [__USE_BSD]: Likewise.
53183 * ctype/ctype.h [__USE_SVID]: Likewise.
53184 * dirent/dirent.h [__USE_BSD]: Likewise.
53185 * grp/grp.h [__USE_SVID]: Likewise.
53186 [__USE_BSD]: Likewise.
53187 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
53188 * io/fcntl.h [__USE_BSD]: Likewise.
53189 * io/ftw.h [__USE_BSD]: Likewise.
53190 * io/sys/stat.h [__USE_BSD]: Likewise.
53191 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
53192 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
53193 * libio/stdio.h [__USE_SVID]: Likewise.
53194 [__USE_BSD]: Likewise.
53195 * math/math.h [__USE_SVID]: Likewise.
53196 [__USE_BSD]: Likewise.
53197 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
53198 * misc/bits/syslog.h [__USE_BSD]: Likewise.
53199 * misc/search.h [__USE_SVID]: Likewise.
53200 * misc/sys/mman.h [__USE_BSD]: Likewise.
53201 * misc/sys/syslog.h [__USE_BSD]: Likewise.
53202 * misc/sys/uio.h [__USE_BSD]: Likewise.
53203 * posix/bits/unistd.h [__USE_BSD]: Likewise.
53204 * posix/glob.h [__USE_BSD]: Likewise.
53205 * posix/regex.h [__USE_BSD]: Likewise.
53206 * posix/sys/types.h [__USE_BSD]: Likewise.
53207 [__USE_SVID]: Likewise.
53208 * posix/sys/utsname.h [__USE_SVID]: Likewise.
53209 * posix/sys/wait.h [__USE_BSD]: Likewise.
53210 [__USE_SVID]: Likewise.
53211 * posix/unistd.h [__USE_BSD]: Likewise.
53212 [__USE_SVID]: Likewise.
53213 * pwd/pwd.h [__USE_SVID]: Likewise.
53214 * resolv/netdb.h [__USE_BSD]: Likewise.
53215 * setjmp/setjmp.h [__USE_BSD]: Likewise.
53216 * signal/signal.h [__USE_BSD]: Likewise.
53217 [__USE_SVID]: Likewise.
53218 * socket/sys/socket.h [__USE_BSD]: Likewise.
53219 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
53220 * stdlib/stdlib.h [__USE_BSD]: Likewise.
53221 [__USE_SVID]: Likewise.
53222 * string/bits/string2.h [__USE_BSD]: Likewise.
53223 [__USE_SVID]: Likewise.
53224 * string/bits/string3.h [__USE_BSD]: Likewise.
53225 * string/endian.h [__USE_BSD]: Likewise.
53226 * string/string.h [__USE_SVID]: Likewise.
53227 [__USE_BSD]: Likewise.
53228 * string/strings.h [__USE_BSD]: Likewise.
53229 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
53230 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
53231 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
53232 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
53233 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
53234 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
53235 Likewise.
53236 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
53237 Likewise.
53238 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
53239 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
53240 Likewise.
53241 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
53242 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
53243 Likewise.
53244 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
53245 Likewise.
53246 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
53247 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
53248 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
53249 Likewise.
53250 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
53251 Likewise.
53252 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
53253 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
53254 * termios/termios.h [__USE_BSD]: Likewise.
53255 * time/sys/time.h [__USE_BSD]: Likewise.
53256 * time/time.h [__USE_BSD]: Likewise.
53257 [__USE_SVID]: Likewise.
53258
53259 * Makefile (subdir_targets): Remove subdir_lint.out.
53260
53261 * stdio-common/Makefile (do-tst-unbputc): Remove target.
53262 (do-tst-printf): Likewise.
53263 (tests): Depend directly on $(objpfx)tst-unbputc.out and
53264 $(objpfx)tst-printf.out.
53265
53266 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
53267
53268 * Makerules (check-abi-%): Change target to
53269 $(objpfx)check-abi-%.out.
53270 (check-abi target): Update dependencies.
53271 (check-abi-pattern variable): Redirect output of diff to $@.
53272 (check-abi variable): Likewise.
53273 * elf/Makefile (check-abi): Update dependencies.
53274
53275 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
53276 unused.
53277 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
53278 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
53279 subnormal range.
53280 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
53281 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
53282 value has largest subnormal exponent.
53283 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
53284 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
53285 * sysdeps/aarch64/soft-fp/sfp-machine.h
53286 (_FP_TININESS_AFTER_ROUNDING): New macro.
53287 * sysdeps/alpha/soft-fp/sfp-machine.h
53288 (_FP_TININESS_AFTER_ROUNDING): Likewise.
53289 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
53290 Likewise.
53291 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
53292 (_FP_TININESS_AFTER_ROUNDING): Likewise.
53293 * sysdeps/mips/soft-fp/sfp-machine.h
53294 (_FP_TININESS_AFTER_ROUNDING): Likewise.
53295 * sysdeps/powerpc/soft-fp/sfp-machine.h
53296 (_FP_TININESS_AFTER_ROUNDING): Likewise.
53297 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
53298 Likewise.
53299 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
53300 (_FP_TININESS_AFTER_ROUNDING): Likewise.
53301 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
53302 (_FP_TININESS_AFTER_ROUNDING): Likewise.
53303 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
53304 Likewise.
53305
53306 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
53307
53308 [BZ #16545]
53309 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
53310 model 1.
53311
53312 2014-02-12 Richard Henderson <rth@redhat.com>
53313
53314 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
53315 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
53316 * sysdeps/unix/sysv/linux/alpha: Move directory from
53317 ports/sysdeps/unix/sysv/linux/alpha.
53318 * README: Update listing for alpha-*-linux-gnu.
53319
53320 2014-02-11 Joseph Myers <joseph@codesourcery.com>
53321
53322 * include/features.h: Update comment documenting feature test
53323 macros.
53324 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
53325 _DEFAULT_SOURCE.
53326 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
53327 (_SVID_SOURCE): Likewise.
53328 (_DEFAULT_SOURCE): Update description of default features.
53329 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
53330 with _GNU_SOURCE.
53331 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
53332 (S_ISVTX): Likewise.
53333 * manual/math.texi (Mathematical Constants): Likewise.
53334 * manual/signal.texi (Interrupted Primitives): Likewise.
53335 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
53336 * math/test-matherr.c (_SVID_SOURCE): Do not define.
53337 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
53338 Don't refer to _SVID_SOURCE in warning text.
53339
53340 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53341
53342 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
53343 already defined.
53344 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
53345 * sysdeps/mips/dl-lookup.c: Remove.
53346 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
53347
53348 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
53349
53350 [BZ #16447]
53351 * math/auto-libm-test-in: Add testcase for expl.
53352 * math/auto-libm-test-out: Regenerate.
53353 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
53354 calculation of unsafe.
53355 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
53356
53357 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
53358
53359 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
53360 * sysdeps/unix/sysv/linux/aarch64: Move directory from
53361 ports/sysdeps/unix/sysv/linux/aarch64.
53362 * README: Update listing for aarch64*-*-linux-gnu.
53363
53364 2014-02-11 Will Newton <will.newton@linaro.org>
53365
53366 * manual/probes.texi (Mathematical Function Probes): Use
53367 "triggered" instead of "hit".
53368
53369 * manual/probes.texi (Internal Probes): Add documentation
53370 of setjmp, longjmp and longjmp_target probes.
53371
53372 * include/stap-probe.h: Add comment about probe argument
53373 format.
53374
53375 * malloc/mtrace.c (attribute_hidden): Remove unused macro
53376 definition. (tr_where, tr_freehook, tr_mallochook,
53377 tr_reallochook, tr_memalignhook): Use ANSI protoype.
53378
53379 2014-02-11 David S. Miller <davem@davemloft.net>
53380
53381 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
53382 processing int_tests.
53383
53384 2014-02-10 Joseph Myers <joseph@codesourcery.com>
53385
53386 * sysdeps/mips: Move directory from ports/sysdeps/mips.
53387 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
53388 * sysdeps/unix/sysv/linux/mips: Move directory from
53389 ports/sysdeps/unix/sysv/linux/mips.
53390 * README: Update listing for mips-*-linux-gnu and
53391 mips64-*-linux-gnu.
53392
53393 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
53394
53395 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
53396 * sysdeps/unix/sysv/linux/m68k: Move directory from
53397 ports/sysdeps/unix/sysv/linux/m68k.
53398 * README: Update listing for m68k-*-linux-gnu.
53399
53400 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
53401
53402 * sysdeps/tile: Move directory from ports/sysdeps/tile.
53403 * sysdeps/unix/sysv/linux/generic: Move directory from
53404 ports/sysdeps/unix/sysv/linux/generic.
53405 * sysdeps/unix/sysv/linux/tile: Move directory from
53406 ports/sysdeps/unix/sysv/linux/tile.
53407 * README: Update listing for tile*-*-linux-gnu.
53408
53409 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
53410
53411 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
53412 __builtin_expect.
53413 * benchtests/bench-memmem.c (simple_memmem): Likewise.
53414 * catgets/open_catalog.c (__open_catalog): Likewise.
53415 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
53416 * debug/confstr_chk.c: Likewise.
53417 * debug/fread_chk.c (__fread_chk): Likewise.
53418 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
53419 * debug/getgroups_chk.c: Likewise.
53420 * debug/mbsnrtowcs_chk.c: Likewise.
53421 * debug/mbsrtowcs_chk.c: Likewise.
53422 * debug/mbstowcs_chk.c: Likewise.
53423 * debug/memcpy_chk.c: Likewise.
53424 * debug/memmove_chk.c: Likewise.
53425 * debug/mempcpy_chk.c: Likewise.
53426 * debug/memset_chk.c: Likewise.
53427 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
53428 * debug/strcat_chk.c (__strcat_chk): Likewise.
53429 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
53430 * debug/strncat_chk.c (__strncat_chk): Likewise.
53431 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
53432 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
53433 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
53434 * debug/wcpncpy_chk.c: Likewise.
53435 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
53436 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
53437 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
53438 * debug/wcsncpy_chk.c: Likewise.
53439 * debug/wcsnrtombs_chk.c: Likewise.
53440 * debug/wcsrtombs_chk.c: Likewise.
53441 * debug/wcstombs_chk.c: Likewise.
53442 * debug/wmemcpy_chk.c: Likewise.
53443 * debug/wmemmove_chk.c: Likewise.
53444 * debug/wmempcpy_chk.c: Likewise.
53445 * debug/wmemset_chk.c: Likewise.
53446 * dirent/scandirat.c (SCANDIRAT): Likewise.
53447 * dlfcn/dladdr1.c (dladdr1): Likewise.
53448 * dlfcn/dladdr.c (dladdr): Likewise.
53449 * dlfcn/dlclose.c (dlclose_doit): Likewise.
53450 * dlfcn/dlerror.c (__dlerror): Likewise.
53451 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
53452 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
53453 * dlfcn/dlopen.c (dlopen_doit): Likewise.
53454 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
53455 * dlfcn/dlsym.c (dlsym_doit): Likewise.
53456 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
53457 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
53458 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
53459 Likewise.
53460 * elf/dl-conflict.c: Likewise.
53461 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
53462 * elf/dl-dst.h: Likewise.
53463 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
53464 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
53465 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
53466 * elf/dl-init.c (call_init, _dl_init): Likewise.
53467 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
53468 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
53469 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
53470 Likewise.
53471 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
53472 Likewise.
53473 * elf/dl-minimal.c (__libc_memalign): Likewise.
53474 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
53475 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
53476 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
53477 * elf/dl-sym.c (do_sym): Likewise.
53478 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
53479 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
53480 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
53481 * elf/dl-writev.h (_dl_writev): Likewise.
53482 * elf/ldconfig.c (search_dir): Likewise.
53483 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
53484 (dl_main): Likewise.
53485 * elf/setup-vdso.h (setup_vdso): Likewise.
53486 * grp/compat-initgroups.c (compat_call): Likewise.
53487 * grp/fgetgrent.c (fgetgrent): Likewise.
53488 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
53489 * grp/putgrent.c (putgrent): Likewise.
53490 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53491 Likewise.
53492 * hurd/hurdinit.c: Likewise.
53493 * iconvdata/8bit-gap.c (struct): Likewise.
53494 * iconvdata/ansi_x3.110.c : Likewise.
53495 * iconvdata/big5.c : Likewise.
53496 * iconvdata/big5hkscs.c : Likewise.
53497 * iconvdata/cp1255.c: Likewise.
53498 * iconvdata/cp1258.c : Likewise.
53499 * iconvdata/cp932.c : Likewise.
53500 * iconvdata/euc-cn.c: Likewise.
53501 * iconvdata/euc-jisx0213.c : Likewise.
53502 * iconvdata/euc-jp.c: Likewise.
53503 * iconvdata/euc-jp-ms.c : Likewise.
53504 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
53505 * iconvdata/gb18030.c : Likewise.
53506 * iconvdata/gbbig5.c (const): Likewise.
53507 * iconvdata/gbgbk.c: Likewise.
53508 * iconvdata/gbk.c : Likewise.
53509 * iconvdata/ibm1364.c : Likewise.
53510 * iconvdata/ibm930.c : Likewise.
53511 * iconvdata/ibm932.c: Likewise.
53512 * iconvdata/ibm933.c : Likewise.
53513 * iconvdata/ibm935.c : Likewise.
53514 * iconvdata/ibm937.c : Likewise.
53515 * iconvdata/ibm939.c : Likewise.
53516 * iconvdata/ibm943.c: Likewise.
53517 * iconvdata/iso_11548-1.c: Likewise.
53518 * iconvdata/iso-2022-cn.c : Likewise.
53519 * iconvdata/iso-2022-cn-ext.c : Likewise.
53520 * iconvdata/iso-2022-jp-3.c: Likewise.
53521 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
53522 * iconvdata/iso-2022-kr.c : Likewise.
53523 * iconvdata/iso646.c (gconv_end): Likewise.
53524 * iconvdata/iso_6937-2.c : Likewise.
53525 * iconvdata/iso_6937.c : Likewise.
53526 * iconvdata/iso8859-1.c: Likewise.
53527 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
53528 * iconvdata/shift_jisx0213.c : Likewise.
53529 * iconvdata/sjis.c : Likewise.
53530 * iconvdata/t.61.c : Likewise.
53531 * iconvdata/tcvn5712-1.c : Likewise.
53532 * iconvdata/tscii.c: Likewise.
53533 * iconvdata/uhc.c : Likewise.
53534 * iconvdata/unicode.c (gconv_end): Likewise.
53535 * iconvdata/utf-16.c (gconv_end): Likewise.
53536 * iconvdata/utf-32.c (gconv_end): Likewise.
53537 * iconvdata/utf-7.c (base64): Likewise.
53538 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
53539 * iconv/gconv_close.c (__gconv_close): Likewise.
53540 * iconv/gconv_open.c (__gconv_open): Likewise.
53541 * iconv/gconv_simple.c (internal_ucs4_loop_single)
53542 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
53543 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
53544 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
53545 (ucs4le_internal_loop_single): Likewise.
53546 * iconv/iconv.c (iconv): Likewise.
53547 * iconv/iconv_close.c: Likewise.
53548 * iconv/loop.c (SINGLE): Likewise.
53549 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
53550 * include/atomic.h: Likewise.
53551 * inet/inet6_option.c (option_alloc): Likewise.
53552 * intl/bindtextdom.c (set_binding_values): Likewise.
53553 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
53554 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
53555 * intl/localealias.c (read_alias_file): Likewise.
53556 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
53557 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
53558 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
53559 * libio/fmemopen.c (fmemopen): Likewise.
53560 * libio/iofgets.c (_IO_fgets): Likewise.
53561 * libio/iofgets_u.c (fgets_unlocked): Likewise.
53562 * libio/iofgetws.c (fgetws): Likewise.
53563 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
53564 * libio/iogetdelim.c (_IO_getdelim): Likewise.
53565 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
53566 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
53567 * locale/findlocale.c (_nl_find_locale): Likewise.
53568 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
53569 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
53570 Likewise.
53571 * locale/setlocale.c (setlocale): Likewise.
53572 * login/programs/pt_chown.c (main): Likewise.
53573 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
53574 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
53575 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
53576 (mmap, mmap64, mremap, munmap): Likewise.
53577 * math/e_exp2l.c: Likewise.
53578 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
53579 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
53580 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
53581 * math/s_catan.c (__catan): Likewise.
53582 * math/s_catanf.c (__catanf): Likewise.
53583 * math/s_catanh.c (__catanh): Likewise.
53584 * math/s_catanhf.c (__catanhf): Likewise.
53585 * math/s_catanhl.c (__catanhl): Likewise.
53586 * math/s_catanl.c (__catanl): Likewise.
53587 * math/s_ccosh.c (__ccosh): Likewise.
53588 * math/s_ccoshf.c (__ccoshf): Likewise.
53589 * math/s_ccoshl.c (__ccoshl): Likewise.
53590 * math/s_cexp.c (__cexp): Likewise.
53591 * math/s_cexpf.c (__cexpf): Likewise.
53592 * math/s_cexpl.c (__cexpl): Likewise.
53593 * math/s_clog10.c (__clog10): Likewise.
53594 * math/s_clog10f.c (__clog10f): Likewise.
53595 * math/s_clog10l.c (__clog10l): Likewise.
53596 * math/s_clog.c (__clog): Likewise.
53597 * math/s_clogf.c (__clogf): Likewise.
53598 * math/s_clogl.c (__clogl): Likewise.
53599 * math/s_csin.c (__csin): Likewise.
53600 * math/s_csinf.c (__csinf): Likewise.
53601 * math/s_csinh.c (__csinh): Likewise.
53602 * math/s_csinhf.c (__csinhf): Likewise.
53603 * math/s_csinhl.c (__csinhl): Likewise.
53604 * math/s_csinl.c (__csinl): Likewise.
53605 * math/s_csqrt.c (__csqrt): Likewise.
53606 * math/s_csqrtf.c (__csqrtf): Likewise.
53607 * math/s_csqrtl.c (__csqrtl): Likewise.
53608 * math/s_ctan.c (__ctan): Likewise.
53609 * math/s_ctanf.c (__ctanf): Likewise.
53610 * math/s_ctanh.c (__ctanh): Likewise.
53611 * math/s_ctanhf.c (__ctanhf): Likewise.
53612 * math/s_ctanhl.c (__ctanhl): Likewise.
53613 * math/s_ctanl.c (__ctanl): Likewise.
53614 * math/w_pow.c: Likewise.
53615 * math/w_powf.c: Likewise.
53616 * math/w_powl.c: Likewise.
53617 * math/w_scalb.c (sysv_scalb): Likewise.
53618 * math/w_scalbf.c (sysv_scalbf): Likewise.
53619 * math/w_scalbl.c (sysv_scalbl): Likewise.
53620 * misc/error.c (error_tail): Likewise.
53621 * misc/pselect.c (__pselect): Likewise.
53622 * nis/nis_callback.c (__nis_create_callback): Likewise.
53623 * nis/nis_call.c (__nisfind_server): Likewise.
53624 * nis/nis_creategroup.c (nis_creategroup): Likewise.
53625 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
53626 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
53627 * nis/nis_getservlist.c (nis_getservlist): Likewise.
53628 * nis/nis_lookup.c (nis_lookup): Likewise.
53629 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
53630 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
53631 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
53632 * nis/nis_xdr.c (xdr_endpoint): Likewise.
53633 * nis/nss_compat/compat-grp.c (getgrent_next_file)
53634 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
53635 * nis/nss_compat/compat-initgroups.c (add_group)
53636 (internal_getgrent_r): Likewise.
53637 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
53638 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
53639 * nis/nss_compat/compat-spwd.c (getspent_next_file)
53640 (internal_getspnam_r): Likewise.
53641 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
53642 (_nss_nis_getaliasbyname_r): Likewise.
53643 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
53644 (_nss_nis_getntohost_r): Likewise.
53645 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
53646 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
53647 (_nss_nis_getgrgid_r): Likewise.
53648 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
53649 (internal_nis_gethostent_r, internal_gethostbyname2_r)
53650 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
53651 (_nss_nis_gethostbyname4_r): Likewise.
53652 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
53653 (initgroups_netid): Likewise.
53654 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
53655 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
53656 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
53657 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
53658 (_nss_nis_getprotobynumber_r): Likewise.
53659 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
53660 (_nss_nis_getsecretkey): Likewise.
53661 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
53662 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
53663 (_nss_nis_getpwuid_r): Likewise.
53664 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
53665 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
53666 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
53667 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
53668 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
53669 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
53670 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
53671 Likewise.
53672 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
53673 (_nss_nisplus_getntohost_r): Likewise.
53674 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
53675 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
53676 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
53677 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
53678 Likewise.
53679 * nis/nss_nisplus/nisplus-initgroups.c
53680 (_nss_nisplus_initgroups_dyn): Likewise.
53681 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
53682 (_nss_nisplus_getnetbyaddr_r): Likewise.
53683 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
53684 (_nss_nisplus_getprotobynumber_r): Likewise.
53685 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
53686 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
53687 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
53688 Likewise.
53689 * nis/nss_nisplus/nisplus-service.c
53690 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
53691 (_nss_nisplus_getservbyport_r): Likewise.
53692 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
53693 (_nss_nisplus_getspnam_r): Likewise.
53694 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
53695 Likewise.
53696 * nscd/aicache.c (addhstaiX): Likewise.
53697 * nscd/cache.c (cache_search, prune_cache): Likewise.
53698 * nscd/connections.c (register_traced_file, send_ro_fd)
53699 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
53700 (main_loop_epoll): Likewise.
53701 * nscd/grpcache.c (addgrbyX): Likewise.
53702 * nscd/hstcache.c (addhstbyX): Likewise.
53703 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53704 * nscd/mem.c (gc, mempool_alloc): Likewise.
53705 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
53706 (addinnetgrX): Likewise.
53707 * nscd/nscd-client.h (__nscd_acquire_maplock)
53708 (__nscd_drop_map_ref): Likewise.
53709 * nscd/nscd_getai.c (__nscd_getai): Likewise.
53710 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
53711 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
53712 Likewise.
53713 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
53714 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53715 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
53716 (__nscd_get_map_ref): Likewise.
53717 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
53718 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
53719 Likewise.
53720 * nscd/pwdcache.c (addpwbyX): Likewise.
53721 * nscd/selinux.c (preserve_capabilities): Likewise.
53722 * nscd/servicescache.c (addservbyX): Likewise.
53723 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
53724 * posix/fnmatch.c (fnmatch): Likewise.
53725 * posix/getopt.c (_getopt_internal_r): Likewise.
53726 * posix/glob.c (glob, glob_in_dir): Likewise.
53727 * posix/wordexp.c (exec_comm_child): Likewise.
53728 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
53729 (getanswer_r, gaih_getanswer_slice): Likewise.
53730 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
53731 * resolv/res_init.c: Likewise.
53732 * resolv/res_mkquery.c (res_nmkquery): Likewise.
53733 * resolv/res_query.c (__libc_res_nquery): Likewise.
53734 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
53735 Likewise.
53736 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
53737 * stdio-common/perror.c (perror): Likewise.
53738 * stdio-common/printf_fp.c (___printf_fp): Likewise.
53739 * stdio-common/tmpnam.c (tmpnam): Likewise.
53740 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
53741 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
53742 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
53743 Likewise.
53744 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
53745 * stdlib/putenv.c (putenv): Likewise.
53746 * stdlib/setenv.c (__add_to_environ): Likewise.
53747 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
53748 * stdlib/strtol_l.c (INTERNAL): Likewise.
53749 * string/memmem.c (memmem): Likewise.
53750 * string/strerror.c (strerror): Likewise.
53751 * string/strnlen.c (__strnlen): Likewise.
53752 * string/test-memmem.c (simple_memmem): Likewise.
53753 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
53754 * sunrpc/pm_getport.c (__get_socket): Likewise.
53755 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
53756 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
53757 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
53758 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
53759 Likewise.
53760 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
53761 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
53762 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
53763 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
53764 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
53765 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
53766 Likewise.
53767 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
53768 Likewise.
53769 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
53770 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
53771 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53772 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
53773 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
53774 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
53775 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
53776 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
53777 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
53778 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
53779 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53780 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
53781 Likewise.
53782 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
53783 Likewise.
53784 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
53785 Likewise.
53786 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
53787 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
53788 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
53789 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
53790 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
53791 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
53792 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
53793 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
53794 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
53795 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
53796 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
53797 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53798 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
53799 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
53800 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53801 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
53802 Likewise.
53803 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
53804 Likewise.
53805 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
53806 Likewise.
53807 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
53808 Likewise.
53809 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53810 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53811 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
53812 Likewise.
53813 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
53814 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
53815 * sysdeps/posix/opendir.c (__opendirat): Likewise.
53816 * sysdeps/posix/sleep.c: Likewise.
53817 * sysdeps/posix/tempname.c: Likewise.
53818 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
53819 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
53820 Likewise.
53821 * sysdeps/powerpc/powerpc32/dl-machine.h
53822 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
53823 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
53824 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
53825 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
53826 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
53827 Likewise.
53828 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
53829 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
53830 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
53831 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
53832 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
53833 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
53834 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
53835 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
53836 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53837 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
53838 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
53839 (elf_machine_lazy_rel): Likewise.
53840 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53841 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
53842 (elf_machine_lazy_rel): Likewise.
53843 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
53844 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
53845 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
53846 * sysdeps/unix/grantpt.c (grantpt): Likewise.
53847 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
53848 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
53849 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
53850 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53851 Likewise.
53852 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
53853 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
53854 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
53855 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
53856 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
53857 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
53858 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
53859 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
53860 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
53861 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
53862 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
53863 Likewise.
53864 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
53865 (__posix_fallocate64_l64): Likewise.
53866 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
53867 (posix_fallocate): Likewise.
53868 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
53869 Likewise.
53870 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53871 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
53872 (getifaddrs_internal): Likewise.
53873 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
53874 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
53875 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
53876 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
53877 * sysdeps/unix/sysv/linux/posix_fallocate64.c
53878 (__posix_fallocate64_l64): Likewise.
53879 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
53880 Likewise.
53881 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
53882 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
53883 (__get_clockfreq): Likewise.
53884 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
53885 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
53886 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
53887 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53888 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53889 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
53890 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
53891 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
53892 Likewise.
53893 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
53894 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
53895 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
53896 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
53897 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53898 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
53899 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
53900 Likewise.
53901 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
53902 (posix_fallocate): Likewise.
53903 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53904 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
53905 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
53906 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
53907 (elf_machine_rela, elf_machine_rela_relative)
53908 (elf_machine_lazy_rel): Likewise.
53909 * time/asctime.c (asctime_internal): Likewise.
53910 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
53911 * time/tzset.c (__tzset_parse_tz): Likewise.
53912 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
53913 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
53914 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
53915 * wcsmbs/wcsmbsload.h: Likewise.
53916
53917 [BZ #15894]
53918 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
53919
53920 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
53921 (arena_get2): Remove THREAD_STATS conditionals.
53922 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
53923 (__malloc_stats, int): Likewise.
53924
53925 2014-02-08 Mike Frysinger <vapier@gentoo.org>
53926
53927 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
53928 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
53929
53930 * manual/setjmp.texi: Fix typos/grammar errors.
53931
53932 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
53933 Only return early when n is <= 0. Delete unused return statement.
53934
53935 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
53936 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
53937 * debug/tst-longjmp_chk3.c: New file.
53938
53939 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
53940 (test_main): Replace code with set_fortify_handler call.
53941 * debug/test-strcpy_chk.c: Likewise.
53942 * debug/tst-chk1.c: Likewise.
53943 * debug/tst-longjmp_chk.c: Likewise.
53944 * test-skeleton.c: Include fcntl.h & paths.h
53945 (set_fortify_handler): Define.
53946
53947 * debug/tst-longjmp_chk.c: Add header comment and include
53948 ../test-skeleton.c.
53949 (do_test): Mark static.
53950 (TEST_FUNCTION): Define.
53951
53952 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
53953 (IP_PMTUDISC_INTERFACE): Likewise.
53954 (IP_MULTICAST_IF): Likewise.
53955 (IP_MULTICAST_TTL): Likewise.
53956 (IP_MULTICAST_LOOP): Likewise.
53957 (IP_ADD_MEMBERSHIP): Likewise.
53958 (IP_DROP_MEMBERSHIP): Likewise.
53959 (IP_UNBLOCK_SOURCE): Likewise.
53960 (IP_BLOCK_SOURCE): Likewise.
53961 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
53962 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
53963 (IP_MSFILTER): Likewise.
53964 (MCAST_JOIN_GROUP): Likewise.
53965 (MCAST_BLOCK_SOURCE): Likewise.
53966 (MCAST_UNBLOCK_SOURCE): Likewise.
53967 (MCAST_LEAVE_GROUP): Likewise.
53968 (MCAST_JOIN_SOURCE_GROUP): Likewise.
53969 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
53970 (MCAST_MSFILTER): Likewise.
53971 (IP_MULTICAST_ALL): Likewise.
53972 (IP_UNICAST_IF): Likewise.
53973
53974 * timezone/Makefile: Delete $(have-ksh) check.
53975 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
53976 * timezone/tzselect.ksh: Add +x mode bits.
53977
53978 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
53979 (ANON_INODE_FS_MAGIC): Likewise.
53980 (BDEVFS_MAGIC): Likewise.
53981 (BINFMTFS_MAGIC): Likewise.
53982 (BTRFS_TEST_MAGIC): Likewise.
53983 (CRAMFS_MAGIC_WEND): Likewise.
53984 (DEBUGFS_MAGIC): Likewise.
53985 (ECRYPTFS_SUPER_MAGIC): Likewise.
53986 (EXT3_SUPER_MAGIC): Likewise.
53987 (EXT4_SUPER_MAGIC): Likewise.
53988 (FUTEXFS_SUPER_MAGIC): Likewise.
53989 (HOSTFS_SUPER_MAGIC): Likewise.
53990 (HUGETLBFS_MAGIC): Likewise.
53991 (MINIX3_SUPER_MAGIC): Likewise.
53992 (MTD_INODE_FS_MAGIC): Likewise.
53993 (NILFS_SUPER_MAGIC): Likewise.
53994 (OPENPROM_SUPER_MAGIC): Likewise.
53995 (PIPEFS_MAGIC): Likewise.
53996 (PSTOREFS_MAGIC): Likewise.
53997 (QNX6_SUPER_MAGIC): Likewise.
53998 (RAMFS_MAGIC): Likewise.
53999 (REISERFS_SUPER_MAGIC_STRING): Likewise.
54000 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
54001 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
54002 (SECURITYFS_MAGIC): Likewise.
54003 (SELINUX_MAGIC): Likewise.
54004 (SMACK_MAGIC): Likewise.
54005 (SOCKFS_MAGIC): Likewise.
54006 (SQUASHFS_MAGIC): Likewise.
54007 (STACK_END_MAGIC): Likewise.
54008 (TMPFS_MAGIC): Likewise.
54009 (USBDEVICE_SUPER_MAGIC): Likewise.
54010 (V9FS_MAGIC): Likewise.
54011 (XENFS_SUPER_MAGIC): Likewise.
54012 (CRAMFS_MAGIC): Fix typo in comment.
54013 (EXT2_SUPER_MAGIC): Update comment.
54014 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
54015
54016 2014-02-08 Joseph Myers <joseph@codesourcery.com>
54017
54018 * sysdeps/arm: Move directory from ports/sysdeps/arm.
54019 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
54020 * sysdeps/unix/sysv/linux/arm: Move directory from
54021 ports/sysdeps/unix/sysv/linux/arm.
54022 * README: Update listing for arm-*-linux-gnueabi.
54023
54024 * README: Remove mention of am33.
54025
54026 2014-02-07 Roland McGrath <roland@hack.frob.com>
54027
54028 * bits/sigset.h (__sigemptyset): Use a statement expression rather
54029 than the comma operator, to avoid "rhs of comma has no effect"
54030 compiler warnings.
54031 (__sigfillset, __sigandset, __sigorset): Likewise.
54032 * include/signal.h (__sigemptyset): Likewise.
54033 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
54034
54035 2014-02-07 Allan McRae <allan@archlinux.org>
54036
54037 * version.h (RELEASE): Set to "development".
54038 (VERSION): Set to "2.19.90"
54039 * NEWS: Add 2.20 section.
54040
54041 2014-02-06 Carlos O'Donell <carlos@redhat.com>
54042
54043 [BZ #16529]
54044 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
54045
54046 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
54047
54048 * manual/contrib.texi: Update entry for Carlos O'Donell,
54049 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
54050
54051 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
54052
54053 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
54054
54055 * sysdeps/unix/sysv/linux/kernel-features.h
54056 [__LINUX_KERNEL_VERSION >= 0x020621]
54057 (__ASSUME_PROC_PID_TASK_COMM): Define.
54058
54059 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
54060
54061 [BZ #16398]
54062 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
54063 conversion when destination buffer does not have enough space.
54064 * libio/tst-ftell-partial-wide.c: New test case.
54065 * libio/Makefile (tests): Add tst-ftell-partial-wide.
54066
54067 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
54068 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
54069 Leonard and Allan McRae.
54070
54071 2014-02-04 David S. Miller <davem@davemloft.net>
54072
54073 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
54074 32-bit.
54075
54076 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54077
54078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
54079 New file
54080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
54081 New file
54082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
54083 New file.
54084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
54085 New file.
54086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
54087 New file.
54088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
54089 New file.
54090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
54091 New file.
54092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
54093 New file.
54094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
54095 New file.
54096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
54097 New file.
54098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
54099 New file.
54100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
54101 New file.
54102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
54103 New file.
54104
54105 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54106
54107 * nptl/shlib-versions: Change powerpc*le start to 2.17.
54108 * shlib-versions: Likewise.
54109
54110 2014-02-04 Roland McGrath <roland@hack.frob.com>
54111 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54112
54113 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
54114 (abilist-pattern): New variable, set to %-le.abilist.
54115
54116 * Makerules (abilist-pattern): New variable.
54117 (vpath): Use $(abilist-pattern) in place of %.abilist.
54118 (check-abi-% pattern rule): Likewise.
54119 (check-abi, update-abi): Likewise.
54120
54121 2014-02-04 Eric Wong <normalperson@yhbt.net>
54122
54123 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54124
54125 2014-02-03 Carlos O'Donell <carlos@redhat.com>
54126
54127 * manual/startup.texi: Add next, previous, and top entries for
54128 the `Program Arguments' and `Environment Variables' nodes.
54129
54130 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
54131
54132 * manual/macros.texi: Add comments before MTASC-safety macros.
54133
54134 * manual/users.texi: Document MTASC-safety properties.
54135
54136 * manual/threads.texi (pthread_key_create, pthread_key_delete)
54137 (pthread_getspecific, pthread_setspecific): Format with
54138 @deftypefun, and add @safety note.
54139 * manual/signal.texi: Move comments that analyze the above
54140 functions to their home place.
54141
54142 2014-02-03 Allan McRae <allan@archlinux.org>
54143
54144 * po/sl.po: Update Slovenian translation from translation project.
54145
54146 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
54147
54148 * manual/time.texi (timegm): Add missing blank after @c.
54149 Reported by Joseph Myers <joseph@codesourcery.com>.
54150
54151 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
54152
54153 * manual/check-safety.sh: New.
54154 * manual/Makefile ($(objpfx)stamp-summary): Run it.
54155
54156 * manual/terminal.texi: Document MTASC-safety properties.
54157
54158 * manual/filesys.texi: Document MTASC-safety properties.
54159
54160 * manual/errno.texi: Document MTASC-safety properties.
54161
54162 * manual/intro.texi: Document safety identifiers and
54163 conditionals.
54164
54165 * manual/string.texi (wcstok): Fix prototype.
54166 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
54167
54168 * manual/time.texi: Document MTASC-safety properties.
54169
54170 * manual/string.texi: Document MTASC-safety properties.
54171
54172 * manual/threads.texi: Document MTASC-safety properties.
54173
54174 * manual/stdio.texi: Document MTASC-safety properties.
54175
54176 * manual/syslog.texi: Document MTASC-safety properties.
54177
54178 * manual/sysinfo.texi: Document MTASC-safety properties.
54179
54180 * manual/startup.texi: Document MTASC-safety properties.
54181
54182 * manual/socket.texi: Document MTASC-safety properties.
54183
54184 * manual/signal.texi: Document MTASC-safety properties.
54185
54186 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
54187
54188 * manual/setjmp.texi: Document MTASC-safety properties.
54189
54190 * manual/search.texi: Document MTASC-safety properties.
54191
54192 * manual/resource.texi: Document MTASC-safety properties.
54193
54194 * manual/process.texi: Document MTASC-safety properties.
54195
54196 * manual/platform.texi: Document MTASC-safety properties.
54197
54198 * manual/pipe.texi: Document MTASC-safety properties.
54199
54200 * manual/pattern.texi: Document MTASC-safety properties.
54201
54202 * manual/message.texi: Document MTASC-safety properties.
54203
54204 [BZ #12751]
54205 * manual/memory.texi: Document MTASC-safety properties.
54206
54207 * manual/math.texi: Document MTASC-safety properties.
54208
54209 * manual/locale.texi: Document MTASC-safety properties.
54210
54211 * manual/llio.texi: Document MTASC-safety properties.
54212
54213 * manual/libdl.texi: New.
54214
54215 * manual/lang.texi: Document MTASC-safety properties.
54216
54217 * manual/job.texi: Document MTASC-safety properties.
54218
54219 * manual/getopt.texi: Document MTASC-safety properties.
54220
54221 * manual/ctype.texi: Document MTASC-safety properties.
54222
54223 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
54224
54225 [BZ #16046]
54226 * csu/libc-tls.c (static_map): Remove variable.
54227 (__libc_setup_tls): Use main executable's link map for TLS data.
54228 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
54229 casing for LM_ID_BASE and GL(dl_nns).
54230 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
54231 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
54232 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
54233 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
54234 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
54235 member.
54236 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
54237 l_phnum members.
54238
54239 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
54240
54241 * manual/debug.texi: Document MTASC-safety properties.
54242
54243 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
54244
54245 [BZ #16510]
54246 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
54247 of __x86_64__ when disabling x87 inline functions.
54248
54249 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
54250
54251 * manual/charset.texi: Document MTASC-safety properties.
54252
54253 * manual/crypt.texi: Document MTASC-safety properties.
54254
54255 * manual/conf.texi: Document MTASC-safety properties.
54256
54257 * manual/arith.texi: Document MTASC-safety properties.
54258
54259 * manual/argp.texi: Document MTASC-safety properties.
54260
54261 * manual/macros.texi: Introduce macros to document multi
54262 thread, asynchronous signal and asynchronous cancellation
54263 safety properties.
54264 * manual/intro.texi: Introduce the properties themselves.
54265
54266 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
54267
54268 * sysdeps/sh/sh4/Makefile: New file.
54269
54270 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
54271
54272 * math/gen-libm-test.pl ($srcdir): New variable.
54273 ($auto_input): Use it.
54274
54275 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
54276
54277 [BZ #16506]
54278 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
54279 access beyond array bounds when parsing netgroups file.
54280
54281 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
54282 the old buffer before realloc.
54283
54284 2014-01-27 Allan McRae <allan@archlinux.org>
54285
54286 * po/fr.po: Update French translation from translation project.
54287
54288 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
54289
54290 * sysdeps/sh/libm-test-ulps: Regenerate.
54291
54292 2014-01-24 David S. Miller <davem@davemloft.net>
54293
54294 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
54295
54296 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
54297
54298 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
54299 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
54300
54301 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
54302
54303 [BZ #16474]
54304 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
54305 string pointers after reallocation.
54306
54307 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
54308
54309 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
54310 __SH4A__ instead of __SH_FPU_ANY__.
54311
54312 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
54313
54314 * sysdeps/sh/fpu_control.h: New file.
54315 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
54316 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
54317 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
54318 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
54319 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
54320 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
54321 * sysdeps/sh/sys/ucontext.h: Remove.
54322 * sysdeps/sh/sys: Remove directory.
54323
54324 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54325
54326 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
54327 s390/sys/ucontext.h.
54328 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
54329 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
54330
54331 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
54332
54333 [BZ #15605]
54334 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
54335
54336 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54337
54338 [BZ #16431]
54339 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
54340 Adjust the vDSO correctly for internal calls.
54341 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
54342
54343 2014-01-20 Allan McRae <allan@archlinux.org>
54344
54345 * po/ca.po: Update Catalan translation from translation project.
54346
54347 2014-01-16 Mike Frysinger <vapier@gentoo.org>
54348
54349 * sysdeps/s390/sotruss-lib.c: New file.
54350
54351 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54352
54353 [BZ #16430]
54354 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
54355 (__GI___gettimeofday): Alias for a different internal symbol to avoid
54356 local calls issues by not having a PLT stub required for IFUNC calls.
54357 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
54358
54359 2014-01-16 Joseph Myers <joseph@codesourcery.com>
54360
54361 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
54362 * math/test-fpucw-static.c: Likewise.
54363
54364 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
54365
54366 [BZ #16453]
54367 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
54368
54369 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54370
54371 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
54372 implementation for powerpc.
54373
54374 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
54375
54376 [BZ #14782]
54377 * sysdeps/posix/system.c (__libc_system): Do not enable
54378 asynchronous cancellation.
54379
54380 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54381
54382 [BZ #16427]
54383 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
54384 handling only for numbers special also in the IEEE case.
54385
54386 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54387
54388 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
54389
54390 2014-01-11 Allan McRae <allan@archlinux.org>
54391
54392 * po/bg.po: Update Bulgarian translation from translation project.
54393
54394 * po/de.po: Update German translation from translation project.
54395
54396 2014-01-10 Roland McGrath <roland@hack.frob.com>
54397
54398 * sysdeps/generic/gcc-compat.h: New file.
54399
54400 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54401
54402 * benchtests/asin-inputs: Correct slow inputs.
54403 * benchtests/acos-inputs: Likewise.
54404
54405 2014-01-10 Allan McRae <allan@archlinux.org>
54406
54407 * po:sv.po: Update Swedish translation from translation project.
54408
54409 * po/vi.po: Update Vietnamese translation from translation project.
54410
54411 * po/eo.po: Update Esperanto translation from translation project.
54412
54413 * po/cs.po: Update Czech translation from translation project.
54414
54415 * po/nl.po: Update Dutch translation from translation project.
54416
54417 * po/pl.po: Update Polish translation from translation project.
54418
54419 * po/ru.po: Update Russian translation from translation project.
54420
54421 * po/uk.po: Update Ukrainian translation from translation project.
54422
54423 2014-01-08 Brooks Moses <bmoses@google.com>
54424
54425 * elf/dl-load.c: Fix comment typo.
54426
54427 2014-01-08 Carlos O'Donell <carlos@redhat.com>
54428
54429 * po/header.pot: Rename to...
54430 * po/pot.header: ... this.
54431 * po/Makefile: Use pot.header.
54432
54433 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
54434 Maxim Kuvyrkov <maxim@kugelworks.com>
54435
54436 [BZ #16394]
54437 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
54438 SRC and DEST against LEN.
54439
54440 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54441
54442 [BZ #16414]
54443 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
54444 implementation.
54445 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
54446
54447 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54448
54449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54450
54451 2014-01-08 Joseph Myers <joseph@codesourcery.com>
54452
54453 [BZ #16408]
54454 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
54455 for large positive arguments.
54456
54457 2014-01-07 Joseph Myers <joseph@codesourcery.com>
54458
54459 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
54460
54461 * math/auto-libm-test-in: Mark various tests with
54462 xfail-rounding:ldbl-128ibm.
54463 * math/auto-libm-test-out: Regenerated.
54464
54465 [BZ #16407]
54466 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
54467 Increase overflow threshold.
54468
54469 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
54470
54471 [BZ #14286]
54472 * stdio-common/vfprintf.c: Check for integer overflow.
54473
54474 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54475
54476 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
54477 the first argument and return value of __tls_get_addr_internal.
54478
54479 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54480
54481 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
54482 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
54483
54484 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54485
54486 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
54487 * sysdeps/s390/rtld-global-offsets.sym: New file.
54488 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
54489 GLIBC_2.19 symbol.
54490 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
54491 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
54492 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
54493 ... this.
54494 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
54495 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
54496 ... this.
54497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54498 Regenerate.
54499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54500 Regenerate.
54501 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
54502 halfs of GPRs for high_gprs contexts.
54503 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
54504 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
54505 field.
54506 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
54507 uc_flags field.
54508 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
54509 64 bit versions:
54510 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
54511 for high GPRs (uc_high_gprs) and for future extensions
54512 (__reserved).
54513 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
54514 for future extensions (__reserved).
54515 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
54516 64 bit versions:
54517 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
54518 SC_HIGHGPRS offset definition.
54519 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
54520 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
54521
54522 * Versions.def: Add GLIBC_2.19 for libpthread.
54523 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
54524 siglongjmp for libpthread with GLIBC_2.19 symver.
54525 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
54526 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
54527 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
54528 * sysdeps/s390/__longjmp.c: New file.
54529 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
54530 * sysdeps/s390/longjmp.c: New file.
54531 * sysdeps/s390/setjmp.S: New file.
54532 * sysdeps/s390/sigjmp.S: New file.
54533 * sysdeps/s390/v1-longjmp.c: New file.
54534 * sysdeps/s390/v1-setjmp.h: New file.
54535 * sysdeps/s390/v1-sigjmp.c: New file.
54536 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
54537 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
54538 GLIBC_2.19 version.
54539 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
54540 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
54541 versioned symbols for ____longjmp_chk.
54542 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
54543 Likewise.
54544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54545 Regenerate.
54546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54547 Regenerate.
54548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54549 Regenerate.
54550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54551 Regenerate.
54552 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
54553 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
54554 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
54555 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
54556 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
54557 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
54558 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
54559 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
54560 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
54561 * sysdeps/s390/rtld-__longjmp.c: New file.
54562 * sysdeps/s390/rtld-setjmp.S: New file.
54563
54564 2014-01-06 Joseph Myers <joseph@codesourcery.com>
54565
54566 [BZ #16400]
54567 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
54568 Return -__logl (x) for small positive arguments without evaluating
54569 a polynomial.
54570
54571 2014-01-06 Mike Frysinger <vapier@gentoo.org>
54572
54573 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
54574 Rename to ...
54575 (__ptrace_peeksiginfo_args): ... this.
54576 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54577 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54578 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54579
54580 2014-01-06 Allan McRae <allan@archlinux.org>
54581
54582 * inet/netinet/in.h: Fix typo in comment.
54583
54584 2014-01-05 Andreas Jaeger <aj@suse.de>
54585
54586 * sysdeps/i386/fpu/libm-test-ulps: Update.
54587
54588 2014-01-05 Allan McRae <allan@archlinux.org>
54589
54590 * po/libc.pot: Regenerated.
54591
54592 * malloc/memusagestat.c: Fix gettext call formatting.
54593
54594 2014-01-04 Sami Kerola <kerolasa@iki.fi>
54595
54596 * nscd/nscd.c: Improve usage() output.
54597
54598 2014-01-04 Mike Frysinger <vapier@gentoo.org>
54599
54600 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
54601 * sysdeps/unix/sysv/linux/configure: Regenerated.
54602 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
54603 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
54604
54605 2014-01-03 Joseph Myers <joseph@codesourcery.com>
54606
54607 [BZ #16390]
54608 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
54609 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
54610
54611 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54612
54613 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
54614 extra tokens at end of #undef directive.
54615 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
54616 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
54617 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
54618
54619 2014-01-03 Joseph Myers <joseph@codesourcery.com>
54620
54621 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
54622
54623 * math/auto-libm-test-in: Mark various tests with
54624 xfail-rounding:ldbl-128ibm.
54625 * math/auto-libm-test-out: Regenerated.
54626
54627 2014-01-02 Joseph Myers <joseph@codesourcery.com>
54628
54629 [BZ #16386]
54630 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
54631 numbers with subnormal high part when calculating exponent.
54632
54633 [BZ #16385]
54634 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
54635 fabs.
54636
54637 [BZ #16384]
54638 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
54639 M_LN2l.
54640 (__ieee754_acoshl): Use __log1pl not __log1p.
54641
54642 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
54643
54644 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
54645 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
54646 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
54647 (grow_heap, heap_trim, _int_new_arena, get_free_list)
54648 (reused_arena, arena_get2): Convert to GNU style.
54649 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
54650 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
54651 (memalign_check, __malloc_set_state): Likewise.
54652 * malloc/mallocbug.c (main): Likewise.
54653 * malloc/malloc.c (__malloc_assert, malloc_init_state)
54654 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
54655 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
54656 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
54657 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
54658 (__posix_memalign, malloc_info): Likewise.
54659 * malloc/malloc.h: Likewise.
54660 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
54661 (mallochook, memalignhook, reallochook, mabort): Likewise.
54662 * malloc/mcheck.h: Likewise.
54663 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
54664 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
54665 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
54666 * malloc/morecore.c (__default_morecore): Likewise.
54667 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
54668 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
54669 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
54670 (print_and_abort): Likewise.
54671 * malloc/obstack.h: Likewise.
54672 * malloc/set-freeres.c (__libc_freeres): Likewise.
54673 * malloc/tst-mallocstate.c (main): Likewise.
54674 * malloc/tst-mtrace.c (main): Likewise.
54675 * malloc/tst-realloc.c (do_test): Likewise.
54676
54677 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
54678
54679 [BZ #16366]
54680 * nscd/netgroupcache.c (do_notfound): New function.
54681 (addgetnetgrentX): Use it.
54682
54683 [BZ # 16365]
54684 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
54685 NSS_STATUS_NOTFOUND.
54686
54687 2014-01-01 Joseph Myers <joseph@codesourcery.com>
54688
54689 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
54690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54691
54692 2014-01-01 Allan McRae <allan@archlinux.org>
54693
54694 * scripts/update-copyrights: Update configure input file suffix.
54695
54696 * NEWS: Update copyright year.
54697 * catgets/gencat.c: Likewise.
54698 * csu/version.c: Likewise.
54699 * debug/catchsegv.sh: Likewise.
54700 * debug/pcprofiledump.c: Likewise.
54701 * debug/xtrace.sh: Likewise.
54702 * elf/ldconfig.c: Likewise.
54703 * elf/ldd.bash.in: Likewise.
54704 * elf/pldd.c: Likewise.
54705 * elf/sotruss.ksh: Likewise.
54706 * elf/sprof.c: Likewise.
54707 * iconv/iconv_prog.c: Likewise.
54708 * iconv/iconvconfig.c: Likewise.
54709 * locale/programs/locale.c: Likewise.
54710 * locale/programs/localedef.c: Likewise.
54711 * login/programs/pt_chown.c: Likewise.
54712 * malloc/memusage.sh: Likewise.
54713 * malloc/memusagestat.c: Likewise.
54714 * malloc/mtrace.pl: Likewise.
54715 * manual/libc.texinfo: Likewise.
54716 * nscd/nscd.c: Likewise.
54717 * nss/getent.c: Likewise.
54718 * nss/makedb.c: Likewise.
54719 * posix/getconf.c: Likewise.
54720 * scripts/test-installation.pl: Likewise.
54721
54722 * All files with FSF copyright notices: Update copyright dates
54723 using scripts/update-copyrights.
54724 * intl/plural.c: Regenerated.
54725 * locale/programs/charmap-kw.h: Likewise.
54726 * locale/programs/locfile-kw.h: Likewise.
54727
54728 2013-12-31 Mike Frysinger <vapier@gentoo.org>
54729
54730 * sysdeps/unix/sysv/linux/configure: Regenerated.
54731 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
54732 the linux/fanotify.h header.
54733 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
54734 HAVE_LINUX_FANOTIFY_H is defined.
54735
54736 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
54737
54738 * benchtests/cos-inputs: New inputs.
54739 * benchtests/sin-inputs: Likewise.
54740
54741 * benchtests/atan-inputs: New inputs. Fix name of multiple
54742 precision fallback inputs.
54743
54744 * benchtests/atanh-inputs: New inputs.
54745 * benchtests/tanh-inputs: Likewise.
54746
54747 * benchtests/acosh-inputs: New inputs.
54748 * benchtests/asinh-inputs: Likewise.
54749
54750 * benchtests/cosh-inputs: New inputs.
54751 * benchtests/sinh-inputs: Likewise.
54752
54753 * benchtests/acos-inputs: Add more inputs.
54754 * benchtests/asin-inputs: Likewise.
54755
54756 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
54757
54758 [BZ #16375]
54759 * manual/arith.texi: Fix spelling.
54760 * manual/charset.texi: Likewise.
54761 * manual/errno.texi: Likewise.
54762 * manual/filesys.texi: Likewise.
54763 * manual/lang.texi: Likewise.
54764 * manual/llio.texi: Likewise.
54765 * manual/locale.texi: Likewise.
54766 * manual/message.texi: Likewise.
54767 * manual/resource.texi: Likewise.
54768 * manual/search.texi: Likewise.
54769 * manual/setjmp.texi: Likewise.
54770 * manual/stdio.texi: Likewise.
54771 * manual/string.texi: Likewise.
54772 * manual/sysinfo.texi: Likewise.
54773 * manual/time.texi: Likewise.
54774
54775 2013-12-27 Carlos O'Donell <carlos@redhat.com>
54776
54777 * po/sl.po: New file.
54778
54779 2013-12-27 Mike Frysinger <vapier@gentoo.org>
54780
54781 * .gitignore: Add core/.gdbinit/.gdb_history.
54782
54783 2013-12-27 Allan McRae <allan@archlinux.org>
54784
54785 [BZ #16369]
54786 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
54787 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
54788
54789 2013-12-24 Brooks Moses <bmoses@google.com>
54790
54791 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
54792 all compilers that claim C++98 compliance, not just GCC.
54793 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
54794 Likewise.
54795
54796 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
54797
54798 * NEWS: Restore accidentally deleted bug-fix entries.
54799
54800 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
54801 Ondřej Bílka <neleai@seznam.cz>
54802
54803 [BZ #15073]
54804 * malloc/malloc.c (_int_free): Perform sanity check only if we
54805 have_lock.
54806
54807 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
54808
54809 [BZ #12986]
54810 * manual/stdio.texi (String Input Conversions): Clarify that character
54811 classes are not supported.
54812
54813 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54814
54815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54816
54817 2013-12-22 Joseph Myers <joseph@codesourcery.com>
54818
54819 [BZ #16337]
54820 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
54821 Calculate results for small negative arguments directly rather
54822 than using reflection formula with special underflow handling.
54823
54824 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
54825 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
54826 sysdeps/unix/bsd/bsd4.4/syscalls.list.
54827 (fchflags): Likewise.
54828 (revoke): Likewise.
54829 (setlogin): Likewise.
54830 (sigaltstack): Likewise.
54831 (wait4): Likewise.
54832 (sigblock): Remove.
54833 (sigsetmask): Likewise.
54834 (wait3): Likewise.
54835 (waitpid): Likewise.
54836 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
54837 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
54838 file.
54839 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
54840 * sysdeps/unix/bsd/Makefile: ... here.
54841 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
54842 * sysdeps/unix/bsd/Versions: ... here.
54843 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
54844 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
54845 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
54846 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
54847 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
54848 * sysdeps/unix/bsd/sigblock.c: ... here.
54849 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
54850 * sysdeps/unix/bsd/sigsetmask.c: ... here.
54851 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
54852 * sysdeps/unix/bsd/sigvec.c: ... here.
54853 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
54854 * sysdeps/unix/bsd/tcdrain.c: ... here.
54855 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
54856 * sysdeps/unix/bsd/tcgetattr.c: ... here.
54857 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
54858 * sysdeps/unix/bsd/tcsetattr.c: ... here.
54859 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
54860 * sysdeps/unix/bsd/wait.c: ... here.
54861 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
54862 * sysdeps/unix/bsd/wait3.c: ... here.
54863 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
54864 * sysdeps/unix/bsd/waitpid.c: ... here.
54865
54866 2013-12-21 Joseph Myers <joseph@codesourcery.com>
54867
54868 [BZ #16356]
54869 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
54870 round-to-nearest for [!USE_AS_EXPM1L].
54871 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
54872 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
54873 more tests of exp and exp10. Expect some exp10 tests to miss
54874 exceptions or fail in directed rounding modes.
54875 * math/auto-libm-test-out: Regenerated.
54876 * math/libm-test.inc (exp10_tonearest_test_data): New array.
54877 (exp10_test_tonearest): New function.
54878 (exp10_towardzero_test_data): New array.
54879 (exp10_test_towardzero): New function.
54880 (exp10_downward_test_data): New array.
54881 (exp10_test_downward): New function.
54882 (exp10_upward_test_data): New array.
54883 (exp10_test_upward): New function.
54884 (main): Call the new functions.
54885 * sysdeps/i386/fpu/libm-test-ulps: Update.
54886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54887
54888 2013-12-20 Joseph Myers <joseph@codesourcery.com>
54889
54890 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
54891 asinh, atan, atan2, atanh, cbrt, cos and cosh.
54892 * math/auto-libm-test-out: Regenerated.
54893 * math/libm-test.inc (acosh_test_data): Add more tests.
54894 (atanh_test_data): Likewise.
54895 (ceil_test_data): Likewise.
54896 (copysign_test_data): Likewise.
54897 * sysdeps/i386/fpu/libm-test-ulps: Update.
54898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54899
54900 * timezone/checktab.awk: Update from tzcode 2013i.
54901 * timezone/private.h: Likewise.
54902 * timezone/scheck.c: Likewise.
54903 * timezone/tzfile.h: Likewise.
54904 * timezone/tzselect.ksh: Likewise.
54905 * timezone/zdump.c: Likewise.
54906 * timezone/zic.c: Likewise.
54907
54908 * math/auto-libm-test-in: Add tests of cpow.
54909 * math/auto-libm-test-out: Regenerated.
54910 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
54911 * math/gen-auto-libm-tests.c (func_calc_method): Add value
54912 mpc_cc_c.
54913 (func_calc_desc): Add mpc_cc_c union field.
54914 (test_functions): Add cpow.
54915 (special_fill_2pi): New function.
54916 (special_real_inputs): Add 2pi.
54917 (calc_generic_results): Handle mpc_cc_c.
54918 * sysdeps/i386/fpu/libm-test-ulps: Update.
54919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54920
54921 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
54922 csqrt, ctan and ctanh.
54923 * math/auto-libm-test-out: Regenerated.
54924 * math/libm-test.inc (TEST_COND_x86_64): New macro.
54925 (TEST_COND_x86): Likewise.
54926 (ccos_test_data): Use AUTO_TESTS_c_c.
54927 (ccosh_test_data): Likewise.
54928 (cexp_test_data): Likewise.
54929 (clog_test_data): Likewise.
54930 (csqrt_test_data): Likewise.
54931 (ctan_test_data): Likewise.
54932 (ctan_tonearest_test_data): Likewise.
54933 (ctan_towardzero_test_data): Likewise.
54934 (ctan_downward_test_data): Likewise.
54935 (ctan_upward_test_data): Likewise.
54936 (ctanh_test_data): Likewise.
54937 (ctanh_tonearest_test_data): Likewise.
54938 (ctanh_towardzero_test_data): Likewise.
54939 (ctanh_downward_test_data): Likewise.
54940 (ctanh_upward_test_data): Likewise.
54941 * math/gen-auto-libm-tests.c (func_calc_method): Add value
54942 mpc_c_c.
54943 (func_calc_desc): Add mpc_c_c union field.
54944 (FUNC_mpc_c_c): New macro.
54945 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
54946 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
54947 ctanh.
54948 (special_fill_min_subnorm_p120): New function.
54949 (special_real_inputs): Add min_subnorm_p120.
54950 (calc_generic_results): Handle mpc_c_c.
54951 * sysdeps/i386/fpu/libm-test-ulps: Update.
54952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54953
54954 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
54955
54956 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
54957 (do_sin_slow): New functions.
54958 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
54959 (cslow2, csloww1, csloww2): Use the new functions.
54960
54961 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
54962 Use M to change sign of result instead of X. Assume X is
54963 positive.
54964 (csloww1): Likewise.
54965 (__sin): Adjust.
54966 (__cos): Adjust.
54967
54968 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
54969 arguments A and DA.
54970 (__sin): Adjust.
54971 (__cos): Likewise.
54972
54973 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
54974 (__cos): Likewise.
54975 (sloww1): Don't adjust sign of DX.
54976 (csloww1): Likewise.
54977 (sloww2): Use X directly and don't adjust sign of DX.
54978 (csloww2): Likewise.
54979
54980 2013-12-19 Joseph Myers <joseph@codesourcery.com>
54981
54982 * math/auto-libm-test-in: Add tests of cabs and carg.
54983 * math/auto-libm-test-out: Regenerated.
54984 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
54985 (carg_test_data): Likewise.
54986 * math/gen-auto-libm-tests.c (func_calc_method): Add value
54987 mpc_c_f.
54988 (func_calc_desc): Add mpc_c_f union field.
54989 (test_functions): Add cabs and carg.
54990 (calc_generic_results): Handle mpc_c_f.
54991
54992 * sysdeps/powerpc/powerpc32/libgcc-compat.S
54993 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
54994 as a macro and a compat symbol.
54995 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
54996 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
54997 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
54998 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
54999 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
55000 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
55001 not use .hidden.
55002 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
55003 Likewise.
55004 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
55005 Likewise.
55006 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
55007 Likewise.
55008 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
55009 Likewise.
55010 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
55011 Likewise.
55012 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
55013 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
55014 from GLIBC_2.3.2.
55015
55016 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55017
55018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55019
55020 2013-12-19 Joseph Myers <joseph@codesourcery.com>
55021
55022 * manual/texinfo.tex: Update to version 2013-11-26.10 with
55023 trailing whitespace removed.
55024 * scripts/config.guess: Update to version 2013-11-29.
55025 * scripts/config.sub: Update to version 2013-10-01.
55026
55027 * math/auto-libm-test-in: Add tests of sincos.
55028 * math/auto-libm-test-out: Regenerated.
55029 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
55030 * math/gen-auto-libm-tests.c (func_calc_method): Add value
55031 mpfr_f_11.
55032 (func_calc_desc): Add mpfr_f_11 union field.
55033 (test_functions): Add sincos.
55034 (calc_generic_results): Handle mpfr_f_11.
55035 * sysdeps/i386/fpu/libm-test-ulps: Update.
55036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55037
55038 2013-12-19 Andreas Schwab <schwab@suse.de>
55039
55040 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
55041 CALL_MCOUNT.
55042 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
55043 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
55044 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
55045
55046 2013-12-19 Joseph Myers <joseph@codesourcery.com>
55047
55048 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
55049 * sysdeps/i386/fpu/libm-test-ulps: Update.
55050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55051
55052 [BZ #16293]
55053 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
55054 round-to-nearest mode when using frndint.
55055 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
55056 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
55057 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
55058 Likewise.
55059 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
55060 sinh test to fail.
55061 * math/auto-libm-test-out: Regenerated.
55062 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
55063 (TEST_COND_x86): Likewise.
55064 (expm1_tonearest_test_data): New array.
55065 (expm1_test_tonearest): New function.
55066 (expm1_towardzero_test_data): New array.
55067 (expm1_test_towardzero): New function.
55068 (expm1_downward_test_data): New array.
55069 (expm1_test_downward): New function.
55070 (expm1_upward_test_data): New array.
55071 (expm1_test_upward): New function.
55072 (main): Run the new test functions.
55073 * sysdeps/i386/fpu/libm-test-ulps: Update.
55074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55075
55076 * include/features.h: Update comment documenting feature test
55077 macros. Mention _DEFAULT_SOURCE in comment.
55078 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
55079 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
55080 _BSD_SOURCE and _SVID_SOURCE.
55081 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
55082 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
55083 !_SVID_SOURCE]: Likewise.
55084 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55085 (__USE_POSIX_IMPLICITLY): Define.
55086 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55087 (_POSIX_SOURCE): Undefine and redefine.
55088 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55089 (_POSIX_C_SOURCE): Likewise.
55090 * manual/creature.texi (_DEFAULT_SOURCE): Document.
55091 (Feature Test Macros): Update documentation of default features.
55092
55093 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
55094
55095 * benchtests/Makefile: Add bench-strtok.
55096 * benchtests/bench-strtok.c: New file: strtok benchtest.
55097
55098 2013-12-19 Allan McRae <allan@archlinux.org>
55099
55100 * manual/install.texi: Suppress menu for plain text output.
55101 * INSTALL: Regenerated.
55102
55103 2013-12-18 Brooks Moses <bmoses@google.com>
55104
55105 [BZ #15846]
55106 * misc/getauxval.c: Include errno.h.
55107 (__getauxval): Set errno to ENOENT if the requested type is not
55108 found.
55109 * misc/sys/auxv.h (getauxval): Document that it may set errno;
55110 don't declare with __attribute_const__.
55111 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
55112 * manual/startup.texi: Document that getauxval sets errno.
55113
55114 2013-12-18 Joseph Myers <joseph@codesourcery.com>
55115
55116 * math/auto-libm-test-in: Add tests of jn and yn.
55117 * math/auto-libm-test-out: Regenerated.
55118 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
55119 (yn_test_data): Likewise.
55120 * math/gen-auto-libm-tests.c (func_calc_method): Add value
55121 mpfr_if_f.
55122 (func_calc_desc): Add mpfr_if_f union field.
55123 (FUNC_mpfr_if_f): New macro.
55124 (test_functions): Add jn and yn.
55125 (calc_generic_results): Assert type of second input for
55126 mpfr_ff_f. Handle mpfr_if_f.
55127 (output_for_one_input_case): Disable all checking for arguments
55128 fitting floating-point types in case of an integer argument.
55129 * sysdeps/i386/fpu/libm-test-ulps: Update.
55130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55131
55132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
55133 Don't expect fegetround reference in libm.so.
55134
55135 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
55136
55137 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
55138 $(config-cflags-nofma).
55139
55140 2013-12-18 Joseph Myers <joseph@codesourcery.com>
55141
55142 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
55143 * math/auto-libm-test-out: Regenerated.
55144
55145 [BZ #16338]
55146 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
55147 to determine exponent and adjust argument to have exponent of -1.
55148 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
55149 log2.
55150 * math/auto-libm-test-out: Regenerated.
55151 * sysdeps/i386/fpu/libm-test-ulps: Update.
55152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55153
55154 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
55155
55156 * manual/probes.texi: Remove cases when per-thread arenas are
55157 disabled.
55158
55159 2013-12-18 Andreas Schwab <schwab@suse.de>
55160
55161 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
55162 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
55163 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
55164 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
55165 * sysdeps/i386/i686/multiarch/Makefile: Update.
55166 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
55167
55168 2013-12-17 Joseph Myers <joseph@codesourcery.com>
55169
55170 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
55171 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
55172
55173 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
55174
55175 [BZ #15968]
55176 Support TZ transition times < 00:00:00.
55177 This is needed for version-3 tz-format files; it supports time
55178 stamps past 2037 for America/Godthab (the only entry in the tz
55179 database for which this change is relevant).
55180 * manual/time.texi (TZ Variable): Document transition times
55181 from -167:59:59 through -00:00:01.
55182 * time/tzset.c (tz_rule): Time of day is now signed.
55183 (__tzset_parse_tz): Parse negative time of day.
55184
55185 Document TZ transition times >= 25:00:00.
55186 * manual/time.texi (TZ Variable): Document transition times from
55187 25:00:00 through 167:59:59. These are already supported, and this
55188 support will help with version-3 tz-format files.
55189
55190 * manual/time.texi (TZ Variable): Modernize North America example
55191 to reflect current (i.e., 2007-and-later) daylight saving rules.
55192
55193 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
55194
55195 2013-12-17 Joseph Myers <joseph@codesourcery.com>
55196
55197 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
55198 * sysdeps/unix/bsd/bits/stat.h: Likewise.
55199 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
55200 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
55201 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
55202 * sysdeps/unix/bsd/bsdstat.h: Likewise.
55203 * sysdeps/unix/bsd/clock.c: Likewise.
55204 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
55205 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
55206 * sysdeps/unix/bsd/init-posix.c: Likewise.
55207 * sysdeps/unix/bsd/poll.c: Likewise.
55208 * sysdeps/unix/bsd/ptsname.c: Likewise.
55209 * sysdeps/unix/bsd/seekdir.c: Likewise.
55210 * sysdeps/unix/bsd/setegid.c: Likewise.
55211 * sysdeps/unix/bsd/seteuid.c: Likewise.
55212 * sysdeps/unix/bsd/setgid.c: Likewise.
55213 * sysdeps/unix/bsd/setrgid.c: Likewise.
55214 * sysdeps/unix/bsd/setruid.c: Likewise.
55215 * sysdeps/unix/bsd/setsid.c: Likewise.
55216 * sysdeps/unix/bsd/setuid.c: Likewise.
55217 * sysdeps/unix/bsd/sigaction.c: Likewise.
55218 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
55219 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
55220 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
55221 * sysdeps/unix/bsd/telldir.c: Likewise.
55222 * sysdeps/unix/bsd/times.c: Likewise.
55223 * sysdeps/unix/bsd/usleep.c: Likewise.
55224
55225 * misc/Makefile (install-lib): Remove libbsd-compat.a.
55226 ($(objpfx)libbsd-compat.a): Remove rule.
55227
55228 * include/features.h (__FAVOR_BSD): Do not define.
55229 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
55230 features conflicting with POSIX.
55231 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
55232 (_BSD_SOURCE): Remove description of not being a subset of other
55233 feature test macros.
55234 * manual/job.texi (getpgrp): Do not document BSD version.
55235 (getpgid): Do not document by reference to BSD getpgrp.
55236 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
55237 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
55238 * signal/signal.h [__FAVOR_BSD]: Likewise.
55239 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
55240 instead of making contents conditional on [__FAVOR_BSD].
55241 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
55242
55243 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55244
55245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55246
55247 2013-12-17 Joseph Myers <joseph@codesourcery.com>
55248
55249 [BZ #16314]
55250 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
55251 values below 2**-450, not 2**-500.
55252 * math/auto-libm-test-in: Don't allow spurious underflow from
55253 hypot.
55254 * math/auto-libm-test-out: Regenerated.
55255
55256 [BZ #16316]
55257 [BZ #16330]
55258 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
55259 values of ha and hb and sort them after adjusting subnormal
55260 arguments.
55261 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
55262 Likewise.
55263 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
55264 values of ea and eb and sort them after adjusting subnormal
55265 arguments.
55266 * math/auto-libm-test-in: Do not expect some hypot tests of
55267 subnormals to fail. Add more hypot tests.
55268 * math/auto-libm-test-out: Regenerated.
55269
55270 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
55271
55272 [BZ #13304]
55273 * sysdeps/sh/s_fma.c: New file.
55274 * sysdeps/sh/s_fmaf.c: New file.
55275 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
55276 version.
55277 * sysdeps/sh/Implies: Add sh/soft-fp.
55278
55279 2013-12-16 Roland McGrath <roland@hack.frob.com>
55280
55281 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
55282 level of indirection to members `objname', `errstring', `malloced'.
55283 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
55284 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
55285 it as the __longjmp argument (just pass 1 instead).
55286 (_dl_catch_error): Initialize C with argument pointers and address of
55287 volatile local ERRCODE rather than copying values out of C at return.
55288
55289 2013-12-16 Joseph Myers <joseph@codesourcery.com>
55290
55291 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
55292 * math/auto-libm-test-out: Regenerated.
55293 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
55294 (hypot_test_data): Likewise.
55295 (pow_test_data): Likewise.
55296 (pow_tonearest_test_data): Likewise.
55297 * math/gen-auto-libm-tests.c (func_calc_method): Add value
55298 mpfr_ff_f.
55299 (func_calc_desc): Add mpfr_ff_f union field.
55300 (FUNC_mpfr_ff_f): New macro.
55301 (test_functions): Add atan2, hypot and pow.
55302 (special_fill_min): New function.
55303 (special_fill_minus_min): Likewise.
55304 (special_fill_min_subnorm): Likewise.
55305 (special_fill_minus_min_subnorm): Likewise.
55306 (special_real_inputs): Add min, -min, min_subnorm and
55307 -min_subnorm.
55308 (calc_generic_results): Handle mpfr_ff_f.
55309 * sysdeps/i386/fpu/libm-test-ulps: Update.
55310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55311
55312 2013-12-16 Will Newton <will.newton@linaro.org>
55313
55314 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
55315 (Aligned Memory Blocks): Add documentation for aligned_alloc
55316 and suggest it as an alternative to posix_memalign.
55317 (Hooks for Malloc): Document __memalign_hook is also called
55318 for aligned_alloc. (Summary of Malloc): Add summary for
55319 aligned alloc. Document __memalign_hook is also called
55320 for aligned_alloc.
55321
55322 2013-12-16 Will Newton <will.newton@linaro.org>
55323
55324 * manual/memory.texi (Malloc Examples): Clarify default
55325 alignment documentation. Suggest posix_memalign rather
55326 than memalign or valloc.
55327 (Aligned Memory Blocks): Remove suggestion to use memalign
55328 or valloc. Remove obsolete comment about BSD.
55329 Document memalign errno values and mark the function obsolete.
55330 Document posix_memalign returned error codes. Mark valloc
55331 as obsolete. (Hooks for Malloc): __memalign_hook is also
55332 called for posix_memalign and valloc.
55333 (Summary of Malloc): Add posix_memalign to function summary.
55334 __memalign_hook is also called for posix_memalign and valloc.
55335
55336 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
55337
55338 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
55339 TAYLOR_SIN.
55340 (__sin): Adjust.
55341 (__cos): Likewise.
55342 (sloww): Use mynumber union. Expand ternary operator into
55343 if-else statements.
55344 (cslow): use mynumber union.
55345
55346 2013-12-16 Allan McRae <allan@archlinux.org>
55347
55348 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
55349 * configure: Regenerated.
55350
55351 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
55352
55353 [BZ #14120]
55354 * configure.ac: Added --enable-maintainer-mode. Check for
55355 autoconf when enabled.
55356 * configure: Regenerated.
55357
55358 * nscd/nscd.service: New file.
55359 * nscd/nscd.tmpfiles: New file.
55360
55361 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
55362
55363 [BZ #12100]
55364 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
55365 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
55366 * sysdeps/x86_64/multiarch/strstr.c: ... here.
55367 (strstr): Add __strstr_sse2_unaligned ifunc.
55368 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
55369 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
55370 (strcasestr): Remove __strcasestr_sse42 ifunc.
55371 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
55372 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
55373 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
55374
55375 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
55376
55377 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
55378 * sysdeps/sh/bits/fenv.h: ... here.
55379 * sysdeps/sh/sh4/fpu/bits: Remove directory.
55380
55381 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55382
55383 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
55384
55385 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
55386 hypotf multiarch implementations.
55387 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
55388 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
55389 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
55390 multiarch hypot for PPC64.
55391 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
55392 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
55393 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
55394 multiarch hypotf for PPC64.
55395
55396 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
55397 modff multiarch implementations.
55398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
55399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
55400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
55401 multiarch modf for PPC64.
55402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
55403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
55404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
55405 multiarch modff for PPC64.
55406
55407 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
55408 and logl multiarch implementations.
55409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
55410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
55411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
55412 multiarch logb for PPC64.
55413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
55414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
55415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
55416 multiarch logb for PPC64.
55417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
55418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
55419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
55420 multiarch logb for PPC64.
55421
55422 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
55423 isinff multiarch implementation.
55424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
55425 file.
55426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
55427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
55428 multiarch isinf for PPC64.
55429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
55430 file.
55431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
55432 multiarch isinff for PPC64.
55433
55434 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
55435 finitef multiarch implementation.
55436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
55437 file.
55438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
55439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
55440 multiarch finite for PPC64.
55441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
55442 file.
55443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
55444 multiarch finitef for PPC64.
55445
55446 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
55447 lrint multiarch implementation.
55448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
55449 file.
55450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
55451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
55452 multiarch llrint for PPC64.
55453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
55454 multiarch lrint for PPC64.
55455
55456 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
55457 copysignf multiarch implementation.
55458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
55459 file.
55460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
55461 file.
55462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
55463 multiarch copysign for PPC64.
55464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
55465 multiarch copysignf for PPC64.
55466
55467 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
55468 multiarch implementation.
55469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
55470 file.
55471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
55472 file.
55473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
55474 file.
55475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
55476 file.
55477 multiarch llround for PPC64.
55478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
55479 multiarch trunc for PPC64.
55480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
55481 multiarch truncf for PPC64.
55482
55483 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
55484 multiarch implementation.
55485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
55486 file.
55487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
55488 file.
55489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
55490 file.
55491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
55492 file.
55493 multiarch llround for PPC64.
55494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
55495 multiarch round for PPC64.
55496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
55497 multiarch roundf for PPC64.
55498
55499 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
55500 multiarch implementation.
55501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
55502 file.
55503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
55504 file.
55505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
55506 file.
55507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
55508 file.
55509 multiarch llround for PPC64.
55510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
55511 multiarch floor for PPC64.
55512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
55513 multiarch floorf for PPC64.
55514
55515 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
55516 multiarch implementation.
55517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
55518 file.
55519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
55520 file.
55521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
55522 file.
55523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
55524 file.
55525 multiarch llround for PPC64.
55526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
55527 multiarch ceil for PPC64.
55528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
55529 multiarch ceilf for PPC64.
55530
55531 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
55532 multiarch implementation.
55533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
55534 file.
55535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
55536 file.
55537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
55538 file.
55539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
55540 multiarch llround for PPC64.
55541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
55542 multiarch lround for PPC64.
55543
55544 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
55545 multiarch implementation.
55546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
55547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
55548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
55549 file.
55550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
55551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
55552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
55553 multiarch isnan for PPC64.
55554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
55555 multiarch isnanf for PPC64.
55556
55557 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
55558 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
55559 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
55560 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
55561 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
55562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
55563
55564 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
55565 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55566 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55567 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55568
55569 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
55570 multiarch implementations.
55571 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55572 (__libc_ifunc_impl_list): Likewise.
55573 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
55574 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
55575 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
55576 multiarch stpcpy for PPC64.
55577
55578 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
55579 multiarch implementations.
55580 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55581 (__libc_ifunc_impl_list): Likewise.
55582 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
55583 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
55584 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
55585 multiarch strcpy for PPC64.
55586
55587 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
55588 redefine function name.
55589 (_wordcopy_fwd_dest_aligned): Likewise.
55590 (_wordcopy_bwd_aligned): Likewise.
55591 (_wordcopy_bwd_dest_aligned): Likewise.
55592 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
55593 multiarch implementations.
55594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55595 (__libc_ifunc_impl_list): Likewise.
55596 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
55597 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
55598 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
55599 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
55600 multiarch wcscpy for PPC64.
55601
55602 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
55603 multiarch implementations.
55604 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55605 (__libc_ifunc_impl_list): Likewise.
55606 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
55607 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
55608 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
55609 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
55610 multiarch wcscpy for PPC64.
55611
55612 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
55613 multiarch implementations.
55614 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55615 (__libc_ifunc_impl_list): Likewise.
55616 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
55617 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
55618 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
55619 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
55620 multiarch wcsrchr for PPC64.
55621
55622 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
55623 multiarch implementations.
55624 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55625 (__libc_ifunc_impl_list): Likewise.
55626 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
55627 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
55628 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
55629 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
55630 multiarch wcschr for PPC64.
55631
55632 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
55633 multiarch implementations.
55634 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55635 (__libc_ifunc_impl_list): Likewise.
55636 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
55637 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
55638 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
55639 multiarch strchrnul for PPC64.
55640
55641 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
55642 implementations.
55643 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55644 (__libc_ifunc_impl_list): Likewise.
55645 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
55646 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
55647 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
55648 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
55649 strchr for PPC64.
55650
55651 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
55652 implementations.
55653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55654 (__libc_ifunc_impl_list): Likewise.
55655 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
55656 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
55657 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
55658 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
55659 strncmp for PPC64.
55660
55661 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
55662 multiarch implementations.
55663 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55664 (__libc_ifunc_impl_list): Likewise.
55665 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
55666 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
55667 strncasecmp for PPC64.
55668 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
55669 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
55670 multiarch strncasecmp_l for PPC64.
55671
55672 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
55673 multiarch implementations.
55674 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55675 (__libc_ifunc_impl_list): Likewise.
55676 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
55677 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
55678 multiarch strcasecmp for PPC64.
55679 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
55680 file.
55681 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
55682 multiarch strcasecmp_l for PPC64.
55683
55684 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
55685 implementations.
55686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55687 (__libc_ifunc_impl_list): Likewise.
55688 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
55689 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
55690 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
55691 strnlen for PPC64.
55692
55693 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
55694 implementations.
55695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55696 (__libc_ifunc_impl_list): Likewise.
55697 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
55698 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
55699 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
55700 strlen for PPC64.
55701
55702 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
55703 implementations.
55704 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55705 (__libc_ifunc_impl_list): Likewise.
55706 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
55707 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
55708 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
55709 rawmemrchr for PPC64.
55710
55711 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
55712 implementation.
55713 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55714 (__libc_ifunc_impl_list): Likewise.
55715 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
55716 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
55717 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
55718 memrchr for PPC64.
55719
55720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
55721 implementation.
55722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55723 (__libc_ifunc_impl_list): Likewise.
55724 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
55725 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
55726 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
55727 memchr for PPC64.
55728
55729 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
55730 implementation.
55731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55732 (__libc_ifunc_impl_list): Likewise.
55733 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
55734 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
55735 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
55736 mempcpy for PPC64.
55737
55738 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
55739 avoid cretion of __bzero symbol.
55740 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
55741 Likewise.
55742 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
55743 Likewise.
55744 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
55745 Likewise.
55746 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
55747 multiarch implementations.
55748 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55749 (__libc_ifunc_impl_list): Likewise.
55750 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
55751 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
55752 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
55753 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
55754 bzero for PPC32.
55755 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
55756 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
55757 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
55758 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
55759 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
55760 memset for PPC64.
55761 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
55762
55763 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
55764 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
55765 implementations.
55766 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55767 (__libc_ifunc_impl_list): Likewise.
55768 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
55769 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
55770 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
55771 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
55772 memcmp for PPC64.
55773
55774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
55775 multiarch for POWER/PPC64.
55776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
55777 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
55778 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
55779 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
55780 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
55781 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
55782 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
55783 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
55784 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
55785 memcpy for PPC64.
55786
55787 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
55788 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
55789 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
55790 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
55791 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
55792 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
55793 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
55794 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
55795 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
55796 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
55797 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
55798 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
55799 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
55800 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
55801 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
55802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
55803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
55804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
55805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
55806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
55807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
55808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
55809
55810 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
55811
55812 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
55813
55814 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
55815
55816 * benchtests/Makefile (bench): Add exp2 and log2.
55817 (LDLIBS-bench-exp2): Add -lm.
55818 (LDLIBS-bench-log2): Likewise.
55819 * benchtests/exp2-inputs: New inputs file.
55820 * benchtests/log2-inputs: New inputs file.
55821 * benchtests/log-inputs: Add new inputs.
55822 * benchtests/tan-inputs: Likewise.
55823
55824 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
55825
55826 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
55827 definition...
55828 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
55829 (csloww2): ... from here.
55830
55831 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
55832 instead of structures.
55833 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
55834 (POLYNOMIAL): Likewise.
55835 (TAYLOR_SLOW): Likewise.
55836 (__sin): Likewise.
55837 (__cos): Likewise.
55838 (slow1): Likewise.
55839 (slow2): Likewise.
55840 (sloww): Likewise.
55841 (sloww1); Likewise.
55842 (sloww2): Likewise.
55843 (bsloww1): Likewise.
55844 (bsloww2): Likewise.
55845 (cslow2): Likewise.
55846 (csloww): Likewise.
55847 (csloww1): Likewise.
55848 (csloww2): Likewise.
55849
55850 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
55851
55852 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
55853 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
55854 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
55855 * malloc/hooks.c (realloc_check): Likewise.
55856
55857 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
55858 * malloc/arena.c: Remove PER_THREAD conditional.
55859 [!PER_THREAD]: Remove code.
55860 (ptmalloc_unlock_all2): Likewise.
55861 (ptmalloc_init): Likewise.
55862 (_int_new_arena): Likewise.
55863 (arena_get2): Likewise.
55864 * malloc/hooks.c (__malloc_get_state): Likewise.
55865 (__malloc_set_state): Likewise.
55866 * malloc/malloc.c: Likewise.
55867 (struct malloc_state): Likewise.
55868 (struct malloc_par): Likewise.
55869 (__libc_realloc): Likewise.
55870 (__libc_mallopt): Likewise.
55871
55872 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55873
55874 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
55875
55876 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
55877
55878 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
55879 macro to a function. Check for zero perturb_byte.
55880 (_int_malloc, _int_free): Remove zero perturb_byte checks.
55881
55882 * malloc/malloc.c: (force_reg): Remove.
55883 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
55884 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
55885 force_reg by atomic_forced_read.
55886 * malloc/arena.c (ptmalloc_init): Likewise.
55887 * malloc/hooks.c (top_check): Likewise.
55888
55889 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55890
55891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55892
55893 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
55894
55895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55896
55897 2013-12-08 Joseph Myers <joseph@codesourcery.com>
55898
55899 * math/auto-libm-test-in: Add tests of lgamma.
55900 * math/auto-libm-test-out: Regenerated.
55901 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
55902 (M_LOG_2_SQRT_PIl): Likewise.
55903 (lgamma_test_data): Use AUTO_TESTS_f_f1.
55904 * math/gen-auto-libm-tests.c (func_calc_method): Add value
55905 mpfr_f_f1.
55906 (func_calc_desc): Add mpfr_f_f1 union field.
55907 (ARGS1): New macro.
55908 (ARGS2): Likewise.
55909 (ARGS3): Likewise.
55910 (ARGS4): Likewise.
55911 (RET1): Likewise.
55912 (RET2): Likewise.
55913 (CALC): Likewise.
55914 (FUNC): Likewise.
55915 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
55916 (test_functions): Add lgamma.
55917 (calc_generic_results): Handle mpfr_f_f1.
55918 * sysdeps/i386/fpu/libm-test-ulps: Update.
55919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55920
55921 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55922
55923 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
55924 __mpn_add_n for PowerPC64/POWER7.
55925 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
55926 __mpn_sub_n for PowerPC64/POWER7.
55927
55928 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
55929 __mpn_addmul_1 for PowerPC64.
55930 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
55931 __mpn_submul_1 for PowerPC64.
55932 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
55933 for PowerPC64.
55934 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
55935 for PowerPC64.
55936
55937 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
55938
55939 [BZ #15089]
55940 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
55941
55942 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55943
55944 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
55945
55946 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
55947 add multiarch folders.
55948 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
55949 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
55950 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
55951 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
55952 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
55953 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
55954 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
55955 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
55956 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
55957 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
55958 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
55959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
55960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
55961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
55962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
55963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
55964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
55965
55966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
55967 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
55968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
55969 New file.
55970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
55971 New file.
55972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
55973 multiarch __ieee754_hypot for PowerPC32.
55974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
55975 New file.
55976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
55977 New file.
55978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
55979 multiarch __ieee754_hypotf for PowerPC32.
55980
55981 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
55982 long_double_symbol only if __logbl is defined.
55983 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
55984 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
55985 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
55986 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
55987 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
55988 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
55989 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
55990 path for implementation.
55991 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
55992 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
55993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
55994 logb, and logbl multiarch implementations for PowerPC32.
55995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
55996 file.
55997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
55998 file.
55999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
56000 multiarch logb for PowerPC32.
56001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
56002 file.
56003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
56004 file.
56005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
56006 multiarch logbf for PowerPC32.
56007 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
56008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
56009 file.
56010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
56011 multiarch logbl implementation for PowerPC32.
56012
56013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
56014 and modff multiarch implementations.
56015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
56016 New file.
56017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
56018 New file.
56019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
56020 multiarch modf for PowerPC32.
56021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
56022 New file.
56023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
56024 New file.
56025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
56026 multiarch modff for PowerPC32.
56027
56028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
56029 and lrintf multiarch implementations.
56030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
56031 New file.
56032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
56033 New file.
56034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
56035 multiarch lrint for PowerPC32.
56036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
56037 file: multiarch lrintf for PowerPC32.
56038
56039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
56040 and lroundf multiarch implementations.
56041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
56042 New file.
56043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
56044 New file.
56045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
56046 New file.
56047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
56048 multiarch lround for PowerPC32.
56049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
56050 file: multiarch lroundf for PowerPC32.
56051
56052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
56053 copysign and copysignf multiarch implementations.
56054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
56055 New file.
56056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
56057 New file.
56058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
56059 file: multiarch copysign for PowerPC32.
56060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
56061 file: multiarch copysignf for PowerPC32.
56062
56063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
56064 and truncf multiarch implementations.
56065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
56066 New file.
56067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
56068 file.
56069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
56070 multiarch trunc for PowerPC32.
56071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
56072 New file.
56073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
56074 New file.
56075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
56076 multiarch truncf for PowerPC32.
56077
56078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
56079 and roundf multiarch implementations.
56080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
56081 New file.
56082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
56083 file.
56084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
56085 multiarch round for PowerPC32.
56086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
56087 New file.
56088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
56089 New file.
56090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
56091 multiarch roundf for PowerPC32.
56092
56093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
56094 and floorf multiarch implementations.
56095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
56096 New file.
56097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
56098 file.
56099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
56100 multiarch floor for PowerPC32.
56101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
56102 New file.
56103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
56104 New file.
56105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
56106 multiarch floorf for PowerPC32.
56107
56108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
56109 and ceilf multiarch implementations.
56110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
56111 New file.
56112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
56113 file.
56114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
56115 multiarch ceil for PowerPC32.
56116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
56117 New file.
56118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
56119 file.
56120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
56121 multiarch ceilf for PowerPC32.
56122
56123 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
56124 is defined.
56125 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
56126 FINITEF is defined.
56127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
56128 and finitef multiarch implementations.
56129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
56130 New file.
56131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
56132 file.
56133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
56134 multiarch finite for PowerPC32.
56135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
56136 New file.
56137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
56138 file: multiarch finitef for PowerPC32.
56139
56140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
56141 and isinff multiarch implementations.
56142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
56143 file.
56144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
56145 file.
56146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
56147 multiarch isinf for PowerPC32.
56148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
56149 New file.
56150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
56151 multiarch isinff for PowerPC32.
56152
56153 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
56154 alias when __isnan is defined.
56155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
56156 and isnanf multiarch implementations.
56157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
56158 file.
56159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
56160 file.
56161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
56162 file.
56163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
56164 file.
56165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
56166 multiarch isnan for PowerPC32.
56167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
56168 New file.
56169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
56170 New file.
56171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
56172 multiarch isnanf for PowerPC32.
56173
56174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
56175 and sqrtf multiarch implementations.
56176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
56177 file.
56178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
56179 file.
56180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
56181 multiarch sqrt for PowerPC32.
56182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
56183 file.
56184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
56185 file.
56186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
56187 multiarch sqrtf for PowerPC32.
56188
56189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
56190 and llroundf multiarch implementations.
56191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
56192 New file.
56193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
56194 New file.
56195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
56196 New file.
56197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
56198 file: multiarch llround for PowerPC32.
56199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
56200 file: multiarch llroundf for PowerPC32.
56201
56202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
56203 multiarch PowerPC32 fpu implementations.
56204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
56205 New file.
56206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
56207 New file.
56208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
56209 multiarch llrint for PowerPC32.
56210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
56211 New file.
56212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
56213 New file.
56214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
56215 file.
56216
56217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
56218
56219 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
56220 file.
56221 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
56222 file.
56223 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
56224 file.
56225 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
56226 multiarch wordcopy for PPC32.
56227 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
56228 wordcopy objects.
56229 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56230 (__libc_ifunc_impl_list): Likewise.
56231 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
56232 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
56233 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
56234 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
56235 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
56236 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
56237
56238 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
56239 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
56240 file.
56241 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
56242 file.
56243 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
56244 file.
56245 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
56246 multiarch wcscpy for PPC32.
56247 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
56248 multiarch objects.
56249 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56250 (__libc_ifunc_impl_list): Likewise.
56251 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
56252 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
56253 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
56254 sysdeps/powerpc/power6/wcscpy.c.
56255
56256 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
56257 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
56258 file.
56259 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
56260 file.
56261 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
56262 file.
56263 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
56264 multiarch wcsrchr for PPC32.
56265 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
56266 multiarch objects.
56267 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56268 (__libc_ifunc_impl_list): Likewise.
56269 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
56270 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
56271 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
56272 sysdeps/powerpc/power6/wcsrchr.c.
56273
56274 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
56275 file.
56276 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
56277 file.
56278 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
56279 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
56280 multiarch wcschr for PPc32.
56281 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
56282 multiarch objects.
56283 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56284 (__libc_ifunc_impl_list): Likewise.
56285 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
56286 * sysdeps/powerpc/power6/wcschr.c: ... to here.
56287 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
56288 sysdeps/powerpc/power6/wcschr.c.
56289
56290 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
56291 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
56292 file.
56293 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
56294 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
56295 file: multiarch strchr for PPC32.
56296 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
56297 multiarch objects.
56298 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56299 (__libc_ifunc_impl_list): Likewise.
56300
56301 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
56302 name.
56303 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
56304 file.
56305 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
56306 file.
56307 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
56308 multiarch strchrnul for PPC32.
56309 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
56310 multiarch objects.
56311 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56312 (__libc_ifunc_impl_list): Likewise.
56313
56314 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
56315 file.
56316 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
56317 multiarch strncasecmp for PPC32.
56318 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
56319 file.
56320 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
56321 multiarch strncasecmp_l for PPC32.
56322 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
56323 strncasecmp multiarch objects.
56324 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56325 (__libc_ifunc_impl_list): Likewise.
56326
56327 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
56328 file.
56329 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
56330 multiarch strncasecmp for PPC32.
56331 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
56332 New file.
56333 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
56334 multiarch strcasecmp_l for PPC32.
56335 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
56336 multiarch objects.
56337 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56338 (__libc_ifunc_impl_list): Likewise.
56339
56340 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
56341 file.
56342 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
56343 file.
56344 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
56345 multiarch strncmp for PPC32.
56346 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
56347 multiarch objects.
56348 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56349 (__libc_ifunc_impl_list): Likewise.
56350
56351 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
56352 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
56353 file.
56354 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
56355 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
56356 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
56357 multiarch objects.
56358 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56359 (__libc_ifunc_impl_list): Likewise.
56360
56361 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
56362 file.
56363 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
56364 file.
56365 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
56366 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
56367 multiarch objects.
56368 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56369 (__libc_ifunc_impl_list): Likewise.
56370
56371 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
56372 file.
56373 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
56374 file.
56375 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
56376 multiarch rawmemchr for PPC32.
56377 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
56378 multiarch objects.
56379 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56380 (__libc_ifunc_impl_list): Likewise.
56381
56382 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
56383 file.
56384 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
56385 file.
56386 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
56387 file: memrchr multiarch for PPC32.
56388 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
56389 multiarch objects.
56390 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56391 (__libc_ifunc_impl_list): Likewise.
56392
56393 * string/memchr.c (__memchr): Using macro to redefine symbol name.
56394 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
56395 file.
56396 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
56397 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
56398 multiarch memchr for PPC32.
56399 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
56400 multiarch objects.
56401 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56402 (__libc_ifunc_impl_list): Likewise.
56403
56404 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
56405 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
56406 file.
56407 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
56408 file.
56409 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
56410 file: multiarch mempcpy for PPC32.
56411 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
56412 multiarch objects.
56413 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56414 (__libc_ifunc_impl_list): Likewise.
56415
56416 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
56417 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
56418 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
56419 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
56420 multiarch bzero for PPC32.
56421 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
56422 file.
56423 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
56424 file.
56425 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
56426 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
56427 file: multiarch memset for PPC32.
56428 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
56429 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
56430 memset multiarch objects.
56431 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56432 (__libc_ifunc_impl_list): Likewise.
56433
56434 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
56435 file.
56436 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
56437 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
56438 memcmp for PPC32.
56439 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
56440 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
56441 multiarch objects.
56442 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56443 (__libc_ifunc_impl_list): Likewise.
56444
56445 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
56446 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
56447 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
56448 file.
56449 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
56450 file.
56451 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
56452 file.
56453 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
56454 multiarch memcpy for PPC32.
56455 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
56456 multiarch objects.
56457 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56458 (__libc_ifunc_impl_list): Likewise.
56459
56460 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
56461 support multiarch for POWER/PPC32.
56462 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
56463 Likewise.
56464 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
56465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
56466 Implies file to make multiarch folder appers before the fpu and
56467 default folder for power4 configuration.
56468
56469 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
56470
56471 * scripts/bench.pl: Append volatile keyword to type.
56472
56473 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56474
56475 * sysdeps/sh/sotruss-lib.c: New file.
56476 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
56477
56478 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56479
56480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56481
56482 2013-12-05 Joseph Myers <joseph@codesourcery.com>
56483
56484 [BZ #6810]
56485 * math/w_tgamma.c: Include <errno.h>.
56486 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
56487 * math/w_tgammaf.c: Include <errno.h>.
56488 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
56489 * math/w_tgammal.c: Include <errno.h>.
56490 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
56491 * math/auto-libm-test-in: Do not allow missing errno on tgamma
56492 underflow. Add more tgamma tests.
56493 * math/auto-libm-test-out: Regenerated.
56494 * sysdeps/i386/fpu/libm-test-ulps: Update.
56495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56496
56497 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
56498 sin, sinh, tan, tanh, tgamma, y0 and y1.
56499 * math/auto-libm-test-out: Regenerated.
56500 * math/libm-test.inc (TEST_COND_x86_64): New macro.
56501 (TEST_COND_x86): Likewise.
56502 (M_E2l): Remove macro.
56503 (M_E3l): Likewise.
56504 (M_2_SQRT_PIl): Likewise.
56505 (M_SQRT_PIl): Likewise.
56506 (M_1_DIV_El): Likewise.
56507 (log_test_data): Use AUTO_TESTS_f_f.
56508 (log10_test_data): Likewise.
56509 (log1p_test_data): Likewise.
56510 (log2_test_data): Likewise.
56511 (sin_test_data): Likewise.
56512 (sin_tonearest_test_data): Likewise.
56513 (sin_towardzero_test_data): Likewise.
56514 (sin_downward_test_data): Likewise.
56515 (sin_upward_test_data): Likewise.
56516 (sinh_test_data): Likewise.
56517 (sinh_tonearest_test_data): Likewise.
56518 (sinh_towardzero_test_data): Likewise.
56519 (sinh_downward_test_data): Likewise.
56520 (sinh_upward_test_data): Likewise.
56521 (tan_test_data): Likewise.
56522 (tan_tonearest_test_data): Likewise.
56523 (tan_towardzero_test_data): Likewise.
56524 (tan_downward_test_data): Likewise.
56525 (tan_upward_test_data): Likewise.
56526 (tanh_test_data): Likewise.
56527 (tgamma_test_data): Likewise.
56528 (y0_test_data): Likewise.
56529 (y1_test_data): Likewise.
56530 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
56531 (special_real_inputs): Add pi/4.
56532 * sysdeps/i386/fpu/libm-test-ulps: Update.
56533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56534
56535 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56536
56537 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
56538 "longjmp_target" static probes.
56539 (__longjmp): Rename to __longjmp_symbol.
56540 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56541 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
56542 on which longjmp to generate.
56543 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
56544 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
56545 probe.
56546 (__sigsetjmp): Rename to __sigsetjmp_symbol.
56547 (__sigjmp_save): Rename to __sigjmp_save_symbol.
56548 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
56549 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
56550 and __sigjmp_save_symbol based on which sigsetjmp to generated.
56551 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
56553 __longjmp_symbol based on which __longjmp to generate.
56554 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
56555 probe.
56556 (setjmp): Rename to setjmp_symbol.
56557 (__sigsetjmp): Rename to __sigsetjmp_symbol.
56558 (_setjmp): Rename to _setjmp_symbol.
56559 (__sigsetjmp): Rename to __sigsetjmp_symbol.
56560 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
56561 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
56562 which setjmp to generate.
56563 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
56564 "longjmp_target" static probes.
56565
56566 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
56567
56568 * benchtests/README: Add note about output arguments.
56569 * benchtests/bench-sincos.c: Remove file.
56570 * benchtests/sincos-inputs: New file.
56571 * scripts/bench.pl: Identify output arguments and define
56572 static variables for them.
56573
56574 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
56575
56576 [BZ #15941]
56577 * Makefile (INSTALL): Add install-plain.texi as the primary
56578 dependency.
56579 * manual/install-plain.texi: New file.
56580 * manual/install.texi: Include node directive only for
56581 non-plaintext output.
56582
56583 2013-12-04 Joseph Myers <joseph@codesourcery.com>
56584
56585 * stdlib/longlong.h: Update from GCC.
56586
56587 [BZ #6807]
56588 [BZ #15901]
56589 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
56590 * math/w_j0f.c (y0f): Likewise.
56591 * math/w_j0l.c (__y0l): Likewise.
56592 * math/w_j1.c (y1): Likewise.
56593 * math/w_j1f.c (y1f): Likewise.
56594 * math/w_j1l.c (__y1l): Likewise.
56595 * math/w_jn.c (yn): Likewise.
56596 * math/w_jnf.c (ynf): Likewise.
56597 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
56598 Bessel function pole errors in _POSIX_ mode. Use NAN as return
56599 value for Bessel function domain errors outside _SVID_ mode.
56600 Adjust sign of return value for yn (negative integer, 0).
56601 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
56602 by zero in return for negative x and set sign appropriately for
56603 negative n.
56604 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
56605 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
56606 * math/libm-test.inc (y0_test_data): Add more tests and adjust
56607 expectations in error cases.
56608 (y1_test_data): Likewise.
56609 (yn_test_data): Likewise.
56610 * sysdeps/i386/fpu/libm-test-ulps: Update.
56611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56612
56613 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
56614
56615 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
56616 "64" to "64-v1". Add "64-v2".
56617 (abi-64-options): Rename to ...
56618 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
56619 (abi-64-condition): Rename to ...
56620 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
56621 (abi-64-ld-soname): Rename to ...
56622 (abi-64-v1-ld-soname): ... this.
56623 (abi-64-v2-options): Define.
56624 (abi-64-v2-condition): Likewise.
56625 (abi-64-v2-ld-soname): Likewise.
56626 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
56627 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
56628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
56629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
56630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
56631
56632 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
56633 Alan Modra <amodra@gmail.com>
56634
56635 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
56636 New versions for use with the ELFv2 ABI.
56637 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
56638 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
56639 declaration.
56640 (struct La_ppc64v2_retval): Likewise.
56641 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
56642 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
56643 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
56644 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
56645 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
56646 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56647 Do not save or restore CR.
56648 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
56649 (_dl_profile_resolve): Do no save or restore CR. Support extended
56650 return values for ELFv2 ABI. Fix location of FPR return registers.
56651 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
56652 updated values for _CALL_ELF == 2.
56653 (La_regs, La_retval, int_retval): Likewise.
56654
56655 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
56656
56657 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
56658 (FRAME_MIN_SIZE_PARM): Likewise.
56659 (FRAME_BACKCHAIN): Likewise.
56660 (FRAME_CR_SAVE): Likewise.
56661 (FRAME_LR_SAVE): Likewise.
56662 (FRAME_TOC_SAVE): Likewise.
56663 (FRAME_PARM_SAVE): Likewise.
56664 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
56665 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
56666 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
56667 (call_mcount_parm_offset): New macro.
56668 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
56669 (PROF): Use symbolic stack frame offsets.
56670 (TAIL_CALL_SYSCALL_ERROR): Likewise.
56671 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
56672 Redefine in terms of FRAME_MIN_SIZE.
56673 (_dl_runtime_resolve): Use symbolic stack frame offsets.
56674 (_dl_profile_resolve): Likewise. Update comment.
56675 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
56676 symbols stack frame offsets.
56677 (__sigsetjmp): Likewise.
56678 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
56679 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
56680 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
56681 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
56682
56683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
56684 (FRAME_BACKCHAIN): Remove.
56685 (FRAME_CR_SAVE): Likewise.
56686 (FRAME_LR_SAVE): Likewise.
56687 (FRAME_COMPILER_DW): Likewise.
56688 (FRAME_LINKER_DW): Likewise.
56689 (FRAME_TOC_SAVE): Likewise.
56690 (FRAME_PARM_SAVE): Likewise.
56691 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
56692 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
56693 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
56694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
56695 (CHECK_SP): Use symbolic stack frame offsets.
56696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
56697 zone" instead of caller's parameter save area for temp storage.
56698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56699 Likewise. Also, use symbolic stack frame offsets.
56700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
56701 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
56702 our own stack frame instead of the caller's.
56703 (__socket): Use symbolic stack frame offsets.
56704
56705 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
56706 Alan Modra <amodra@gmail.com>
56707
56708 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
56709 Define.
56710 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
56711 (PPC64_LOCAL_ENTRY_OFFSET): Define.
56712 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
56713 New function.
56714 (elf_machine_fixup_plt): Call it.
56715 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
56716 reloc arguments.
56717 (elf_machine_rela): Update call to elf_machine_plt_conflict.
56718 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
56719 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
56720 r2 before calling target.
56721
56722 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
56723 Alan Modra <amodra@gmail.com>
56724
56725 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
56726 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
56727 versions of macros to support ELFv2 ABI.
56728 (LOCALENTRY): New macro.
56729 (ENTRY, EALIGN): Use it.
56730 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
56731 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
56732 fall through into ENTRY entry point.
56733 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
56734 Only define if _CALL_ELF != 2.
56735
56736 (elf_machine_matches_host): Verify ABI version matches.
56737 (RTLD_START): Use LOCALENTRY.
56738 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
56739 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
56740 (PLT_ENTRY_WORDS): New macro.
56741 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
56742 (elf_machine_runtime_setup): Support ELFv2 ABI.
56743 (elf_machine_fixup_plt): Likewise.
56744 (elf_machine_plt_conflict): Likewise.
56745 (resolve_ifunc): Likewise.
56746 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
56747 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
56748 Likewise.
56749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
56750 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
56751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56752 (makecontext): Support ELFv2 ABI.
56753 * elf/elf.h (EF_PPC64_ABI): Define.
56754
56755 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
56756
56757 * sysdeps/powerpc/powerpc64/sysdep.h
56758 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
56759 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
56760 (ENTRY) [ASSEMBLER]: ... but instead here ...
56761 (EALIGN) [ASSEMBLER]: ... and here.
56762 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
56763 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
56764 (ENTRY_2) [!ASSEMBLER]: Use it.
56765 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
56766 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
56767 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
56768 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
56769 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
56770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
56771 Use PPC64_LOAD_FUNCPTR.
56772
56773 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
56774
56775 2013-12-04 Alan Modra <amodra@gmail.com>
56776
56777 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
56778 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
56779 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
56780 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
56781
56782 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
56783 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
56784 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
56785 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
56786 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
56787 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
56788
56789 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
56790
56791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56792 (__makecontext): Fix incorrect CFI when backtracing out of
56793 context created via makecontext.
56794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
56795 (__setcontext): Fix incorrect CFI during switch to new context.
56796 (__novec_setcontext): Likewise.
56797
56798 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
56799
56800 [BZ #4772]
56801 * time/strptime_l.c (__strptime_internal): Allow modifiers
56802 in strptime.
56803 * time/tst-strptime.c (day_tests): Add testcase.
56804
56805 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
56806
56807 * scripts/bench.pl: Skip over blank lines.
56808
56809 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
56810
56811 [BZ #926]
56812 * manual/time.texi (Calendar Time): Clarify what timezone functions
56813 use.
56814
56815 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56816
56817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56818
56819 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
56820
56821 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
56822 implementation.
56823 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
56824 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
56825 * debug/memset_chk.c (__memset_chk): Likewise.
56826 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
56827 * debug/strncpy_chk.c: Likewise.
56828
56829 2013-12-03 Joseph Myers <joseph@codesourcery.com>
56830
56831 [BZ #15268]
56832 [BZ #15425]
56833 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
56834 (__ieee754_exp): For possibly underflowing results, check size of
56835 result and force underflow exception if required.
56836 * math/auto-libm-test-in: Add more tests of exp.
56837 * math/auto-libm-test-out: Regenerated.
56838 * sysdeps/i386/fpu/libm-test-ulps: Update.
56839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56840
56841 [BZ #16283]
56842 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
56843 * math/w_exp2f.c (__exp2f): Likewise.
56844 * math/w_exp2l.c (__exp2l): Likewise.
56845 * math/auto-libm-test-in: Do not allow missing errno on exp2
56846 underflow.
56847 * math/auto-libm-test-out: Regenerated.
56848
56849 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
56850
56851 [BZ #16274]
56852 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
56853 handle filename validation.
56854 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
56855 (do_open): Delete.
56856
56857 2013-12-03 Joseph Myers <joseph@codesourcery.com>
56858
56859 [BZ #6786]
56860 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
56861 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
56862 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
56863 <float.h>.
56864 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
56865 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
56866 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
56867 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
56868 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
56869 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
56870 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
56871 * math/auto-libm-test-in: Don't allow missing errno from erfc.
56872 Add more erfc tests.
56873 * math/auto-libm-test-out: Regenerated.
56874 * sysdeps/i386/fpu/libm-test-ulps: Update.
56875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56876
56877 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
56878 exp2, expm1, j0 and j1.
56879 * math/auto-libm-test-out: Regenerated.
56880 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
56881 (erfc_test_data): Likewise.
56882 (exp_test_data): Likewise.
56883 (exp_tonearest_test_data): Likewise.
56884 (exp_towardzero_test_data): Likewise.
56885 (exp_downward_test_data): Likewise.
56886 (exp_upward_test_data): Likewise.
56887 (exp10_test_data): Likewise.
56888 (exp2_test_data): Likewise.
56889 (expm1_test_data): Likewise.
56890 (j0_test_data): Likewise.
56891 (j1_test_data): Likewise.
56892 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
56893 (input_flag_type): Add flag_xfail_rounding.
56894 (input_flags): Add xfail-rounding.
56895 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
56896 (output_for_one_input_case): Handle flag_xfail_rounding.
56897 * sysdeps/i386/fpu/libm-test-ulps: Update.
56898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56899
56900 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
56901
56902 [BZ #16289]
56903 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
56904 division by 0.
56905
56906 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
56907
56908 [BZ #16195]
56909 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
56910 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
56911 (STAP_PROBE0): New macro.
56912 (STAP_PROBE1): Likewise.
56913 (STAP_PROBE2): Likewise.
56914 (STAP_PROBE3): Likewise.
56915 (STAP_PROBE4): Likewise.
56916
56917 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
56918
56919 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
56920
56921 2013-12-02 Steve Ellcey <sellcey@mips.com>
56922
56923 * benchtests/Makefile (bench): Add sqrt.
56924 (LDLIBS-bench-sqrt): New.
56925 * benchtests/sqrt-input: New.
56926
56927 2013-12-02 Pavel Simerda <psimerda@redhat.com>
56928
56929 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
56930 (GAIH_EAI): Likewise.
56931 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
56932 (gaih_inet): Likewise.
56933 (getaddrinfo): Don't use GAIH_EAI.
56934
56935 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
56936 (struct gaih): Remove definition.
56937
56938 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
56939
56940 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
56941 Use HERRNOP directly.
56942
56943 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56944
56945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56946
56947 2013-11-30 Joseph Myers <joseph@codesourcery.com>
56948
56949 * math/gen-auto-libm-tests.c (test_functions): Add more
56950 single-argument functions.
56951 (special_fill_pi_2): New function.
56952 (special_fill_minus_pi_2): Likewise.
56953 (special_fill_pi_6): Likewise.
56954 (special_fill_minus_pi_6): Likewise.
56955 (special_fill_pi_3): Likewise.
56956 (special_fill_2pi_3): Likewise.
56957 (special_fill_e): Likewise.
56958 (special_fill_1_e): Likewise.
56959 (special_fill_e_minus_1): Likewise.
56960 (special_real_inputs): Add more special inputs.
56961 (output_for_one_input_case): Do not require ERANGE on underflow to
56962 zero if round-to-nearest result does not underflow to zero, unless
56963 exact results required.
56964 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
56965 atan, atanh, cbrt, cos and cosh.
56966 * math/auto-libm-test-out: Regenerated.
56967 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
56968 (acos_tonearest_test_data): Likewise.
56969 (acos_towardzero_test_data): Likewise.
56970 (acos_downward_test_data): Likewise.
56971 (acos_upward_test_data): Likewise.
56972 (acosh_test_data): Likewise.
56973 (asin_test_data): Likewise.
56974 (asin_tonearest_test_data): Likewise.
56975 (asin_towardzero_test_data): Likewise.
56976 (asin_upward_test_data): Likewise.
56977 (asinh_test_data): Likewise.
56978 (atan_test_data): Likewise.
56979 (atanh_test_data): Likewise.
56980 (cbrt_test_data): Likewise.
56981 (cos_test_data): Likewise.
56982 (cos_tonearest_test_data): Likewise.
56983 (cos_towardzero_test_data): Likewise.
56984 (cos_downward_test_data): Likewise.
56985 (cos_upward_test_data): Likewise.
56986 (cosh_test_data): Likewise.
56987 (cosh_tonearest_test_data): Likewise.
56988 (cosh_towardzero_test_data): Likewise.
56989 (cosh_downward_test_data): Likewise.
56990 (cosh_upward_test_data): Likewise.
56991 * sysdeps/i386/fpu/libm-test-ulps: Update.
56992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56993
56994 2013-11-29 Joseph Myers <joseph@codesourcery.com>
56995
56996 [BZ #6787]
56997 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
56998 * math/w_exp10f.c (__exp10f): Likewise.
56999 * math/w_exp10l.c (__exp10l): Likewise.
57000 * math/libm-test.inc (exp10_test_data): Add more tests and expect
57001 errno settings in existing tests.
57002
57003 [BZ #14032]
57004 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
57005 precision control set to double precision.
57006 * sysdeps/i386/fpu/w_sqrt.c: New file.
57007 * math/auto-libm-test-in: Add more tests.
57008 * math/auto-libm-test-out: Update.
57009
57010 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
57011 (sqrt_test_tonearest): New function.
57012 (sqrt_towardzero_test_data): New variable.
57013 (sqrt_test_towardzero): New function.
57014 (sqrt_downward_test_data): New variable.
57015 (sqrt_test_downward): New function.
57016 (sqrt_upward_test_data): New variable.
57017 (sqrt_test_upward): New function.
57018 (main): Call the new functions.
57019
57020 * math/gen-auto-libm-tests.c: New file.
57021 * math/auto-libm-test-in: Likewise.
57022 * math/auto-libm-test-out: New generated file.
57023 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
57024 variables.
57025 (%beautify): Add generated representations of zero.
57026 (top level): Set $auto_input and call parse_auto_input.
57027 (beautify): Remove trailing "f" from hex float constants.
57028 (parse_args): Handle XFAIL_TEST.
57029 (convert_condition): New function.
57030 (or_value): Likewise.
57031 (or_cond_value): Likewise.
57032 (generate_testfile): Handle AUTO_TESTS_* lines.
57033 (parse_auto_input): New function.
57034 * math/libm-test.inc (XFAIL_TEST): New macro.
57035 (ERRNO_UNCHANGED): Update value.
57036 (ERRNO_EDOM): Likewise.
57037 (ERRNO_ERANGE): Likewise.
57038 (IGNORE_RESULT): Likewise.
57039 (TEST_COND_flt_32): New macro.
57040 (TEST_COND_dbl_64): Likewise.
57041 (TEST_COND_ldbl_96_intel): Likewise.
57042 (TEST_COND_ldbl_96_m68k): Likewise.
57043 (TEST_COND_ldbl_128): Likewise.
57044 (TEST_COND_ldbl_128ibm): Likewise.
57045 (TEST_COND_long32): Likewise.
57046 (TEST_COND_long64): Likewise.
57047 (TEST_COND_before_rounding): Likewise.
57048 (TEST_COND_after_rounding): Likewise.
57049 (enable_test): Handle XFAIL_TEST flag.
57050 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
57051 with finite results.
57052 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
57053 auto-libm-test-out.
57054
57055 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
57056 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57057
57058 [BZ #16214]
57059 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
57060 __tls_get_addr_internal instead of __tls_get_offset in order to
57061 avoid GOT pointer dependency. Make rtld export
57062 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
57063 __tls_get_addr since we are a __tls_get_offset platform.
57064 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
57065 GOT pointer being set up before.
57066 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
57067
57068 2013-11-28 Joseph Myers <joseph@codesourcery.com>
57069
57070 * manual/math.texi (Errors in Math Functions): Document accuracy
57071 goals.
57072
57073 [BZ #15004]
57074 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
57075 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
57076 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57077 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57078 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57079 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57080 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57081 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
57082 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
57083 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57084 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57085 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57086 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57087 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57088 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57089 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
57090
57091 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
57092 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
57093 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
57094 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
57095 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
57096 Likewise.
57097 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
57098 Likewise.
57099 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
57100 Likewise.
57101 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
57102 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
57103 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
57104 atomic-feupdateenv and flt-rounds.
57105 * sysdeps/powerpc/nofpu/Versions (libc): Add
57106 __atomic_feholdexcept, __atomic_feclearexcept,
57107 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
57108 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
57109 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
57110 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
57111 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
57112 here.
57113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
57114 Update.
57115
57116 * manual/arith.texi (FP Exceptions): Document that exceptions may
57117 not be raised when matherr is used.
57118 (Math Error Reporting): Document overflow in directed rounding
57119 modes. Document that errno may not be set when finite values are
57120 returned on overflow. Document intent to set errno on underflow
57121 only for underflow to zero.
57122
57123 [BZ #16271]
57124 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
57125 round-to-nearest then adjust result for other rounding modes.
57126 * include/fenv.h (fegetround): Use libm_hidden_proto.
57127 * math/fegetround.c (fegetround): Use libm_hidden_def.
57128 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
57129 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
57130 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
57131 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
57132 Likewise.
57133 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
57134 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
57135 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
57136 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
57137
57138 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
57139
57140 [BZ #16077]
57141 * nss/Versions (libnss_files): Add
57142 _nss_files_gethostbyname3_r.
57143 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
57144 New function.
57145 (HOST_DB_LOOKUP): Remove macro.
57146 (_nss_files_gethostbyname_r): Implement function without the
57147 HOST_DB_LOOKUP macro.
57148 (_nss_files_gethostbyname2_r): Likewise.
57149
57150 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
57151
57152 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
57153
57154 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
57155
57156 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
57157 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
57158 warning.
57159
57160 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57161
57162 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
57163 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
57164 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
57165 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
57166 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
57167 __fe_nomask_env_priv and attribute_hidden.
57168 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
57169 (libc_feupdateenv_test_ppc): Likewise.
57170 (libc_feresetround_ppc): Likewise.
57171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57172 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
57173 compat_symbol macro.
57174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57175 (__fe_nomask_env): Likewise.
57176 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
57177
57178 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
57179
57180 * string/Makefile: Remove ifunc tests.
57181 * string/test-string.h: Define TEST_IFUNC.
57182 * string/test-bcopy-ifunc.c: Remove.
57183 * string/test-bzero-ifunc.c: Likewise.
57184 * string/test-memccpy-ifunc.c: Likewise.
57185 * string/test-memchr-ifunc.c: Likewise.
57186 * string/test-memcmp-ifunc.c: Likewise.
57187 * string/test-memcpy-ifunc.c: Likewise.
57188 * string/test-memmem-ifunc.c: Likewise.
57189 * string/test-memmove-ifunc.c: Likewise.
57190 * string/test-mempcpy-ifunc.c: Likewise.
57191 * string/test-memrchr-ifunc.c: Likewise.
57192 * string/test-memset-ifunc.c: Likewise.
57193 * string/test-rawmemchr-ifunc.c: Likewise.
57194 * string/test-stpcpy-ifunc.c: Likewise.
57195 * string/test-stpncpy-ifunc.c: Likewise.
57196 * string/test-strcasecmp-ifunc.c: Likewise.
57197 * string/test-strcasestr-ifunc.c: Likewise.
57198 * string/test-strcat-ifunc.c: Likewise.
57199 * string/test-strchr-ifunc.c: Likewise.
57200 * string/test-strchrnul-ifunc.c: Likewise.
57201 * string/test-strcmp-ifunc.c: Likewise.
57202 * string/test-strcpy-ifunc.c: Likewise.
57203 * string/test-strcspn-ifunc.c: Likewise.
57204 * string/test-strlen-ifunc.c: Likewise.
57205 * string/test-strncasecmp-ifunc.c: Likewise.
57206 * string/test-strncat-ifunc.c: Likewise.
57207 * string/test-strncmp-ifunc.c: Likewise.
57208 * string/test-strncpy-ifunc.c: Likewise.
57209 * string/test-strnlen-ifunc.c: Likewise.
57210 * string/test-strpbrk-ifunc.c: Likewise.
57211 * string/test-strrchr-ifunc.c: Likewise.
57212 * string/test-strspn-ifunc.c: Likewise.
57213 * string/test-strstr-ifunc.c: Likewise.
57214
57215 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
57216
57217 * benchtests/Makefile: Remove ifunc tests.
57218 * benchtests/bench-string.h: Define TEST_IFUNC.
57219 * benchtests/bench-bcopy-ifunc.c: Remove.
57220 * benchtests/bench-bzero-ifunc.c: Likewise.
57221 * benchtests/bench-memccpy-ifunc.c: Likewise.
57222 * benchtests/bench-memchr-ifunc.c: Likewise.
57223 * benchtests/bench-memcmp-ifunc.c: Likewise.
57224 * benchtests/bench-memcpy-ifunc.c: Likewise.
57225 * benchtests/bench-memmem-ifunc.c: Likewise.
57226 * benchtests/bench-memmove-ifunc.c: Likewise.
57227 * benchtests/bench-mempcpy-ifunc.c: Likewise.
57228 * benchtests/bench-memrchr-ifunc.c: Likewise.
57229 * benchtests/bench-memset-ifunc.c: Likewise.
57230 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
57231 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
57232 * benchtests/bench-stpcpy-ifunc.c: Likewise.
57233 * benchtests/bench-stpncpy-ifunc.c: Likewise.
57234 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
57235 * benchtests/bench-strcasestr-ifunc.c: Likewise.
57236 * benchtests/bench-strcat-ifunc.c: Likewise.
57237 * benchtests/bench-strchr-ifunc.c: Likewise.
57238 * benchtests/bench-strchrnul-ifunc.c: Likewise.
57239 * benchtests/bench-strcmp-ifunc.c: Likewise.
57240 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
57241 * benchtests/bench-strcpy-ifunc.c: Likewise.
57242 * benchtests/bench-strcspn-ifunc.c: Likewise.
57243 * benchtests/bench-strlen-ifunc.c: Likewise.
57244 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
57245 * benchtests/bench-strncat-ifunc.c: Likewise.
57246 * benchtests/bench-strncmp-ifunc.c: Likewise.
57247 * benchtests/bench-strncpy-ifunc.c: Likewise.
57248 * benchtests/bench-strnlen-ifunc.c: Likewise.
57249 * benchtests/bench-strpbrk-ifunc.c: Likewise.
57250 * benchtests/bench-strrchr-ifunc.c: Likewise.
57251 * benchtests/bench-strsep-ifunc.c: Likewise.
57252 * benchtests/bench-strspn-ifunc.c: Likewise.
57253 * benchtests/bench-strstr-ifunc.c: Likewise.
57254
57255 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
57256
57257 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
57258
57259 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
57260
57261 * resolv/netdb.h: Use __glibc_reserved instead __unused.
57262 * rt/aio.h: Likewise.
57263 * sysdeps/gnu/bits/utmp.h: Likewise.
57264 * sysdeps/gnu/bits/utmpx.h: Likewise.
57265 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
57266 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
57267 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
57268 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
57269 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
57270 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
57271 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
57272 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
57273 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
57274 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
57275 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
57276 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
57277 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
57278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
57279 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
57280 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
57281 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
57282 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
57283 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
57284 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
57285 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
57286 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
57287 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
57288 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
57289 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
57290 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57291 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
57292 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
57293 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
57294 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
57295 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
57296 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
57297 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
57298 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
57299 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
57300 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
57301 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
57302 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
57303 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
57304 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
57305 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
57306 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
57307
57308 2013-11-25 Carlos O'Donell <carlos@redhat.com>
57309
57310 [BZ #16245]
57311 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
57312 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
57313
57314 2013-11-25 Joseph Myers <joseph@codesourcery.com>
57315
57316 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
57317 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
57318 Likewise.
57319
57320 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57321
57322 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
57323 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
57324 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
57325 (__fesetround): Remove define.
57326 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
57327 rounding and exceptions handling.
57328 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
57329 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
57330 (__fe_nomask_env): Likewise.
57331 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
57332 __fegetround instead of fegetround.
57333 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57334 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
57335
57336 2013-11-21 Roland McGrath <roland@hack.frob.com>
57337
57338 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
57339 it's there.
57340
57341 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
57342
57343 2013-11-21 Meador Inge <meadori@codesourcery.com>
57344
57345 [BZ #11157]
57346 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
57347 (encrypt_r): Likewise.
57348 * malloc/obstack.h (obstack_free): Likewise.
57349 * posix/unistd.h (encrypt): Likewise.
57350
57351 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
57352
57353 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
57354 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
57355 DL_CALL_DT_FINI() that call the functions directly.
57356 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
57357 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
57358 * elf/dl-fini.c: Likewise.
57359
57360 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
57361
57362 * malloc/hooks.c (memalign_check): Add alignment rounding.
57363 * malloc/malloc.c (_mid_memalign): New function.
57364 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
57365 Implement by calling _mid_memalign.
57366 * manual/probes.texi (Memory Allocation Probes): Remove
57367 memory_valloc_retry and memory_pvalloc_retry.
57368
57369 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
57370
57371 * locale/programs/locarchive.c (open_archive): Add const
57372 qualifier to ARCHIVEFNAME and copy default fname to
57373 DEFAULT_FNAME.
57374
57375 [BZ #15601]
57376 * libio/tst-widetext.input: Rename Oriya to Odia.
57377 * locale/iso-639.def: Likewise.
57378
57379 * manual/probes.texi (Mathematical Function Probes): Add
57380 documentation for sin, cos, asin and acos probes.
57381 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
57382 (__sin32): Add slowasin probe.
57383 (__cos32): Add slowacos probe.
57384 (__mpsin): Add slowsin probe.
57385 (__mpcos): Add slowcos probe.
57386
57387 2013-11-19 Joseph Myers <joseph@codesourcery.com>
57388
57389 [BZ #15483]
57390 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
57391 thread-local __sim_exceptions_thread and global
57392 __sim_exceptions_global.
57393 (__sim_disabled_exceptions): Change to thread-local
57394 __sim_disabled_exceptions_thread and global
57395 __sim_disabled_exceptions_global.
57396 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
57397 and global __sim_round_mode_global.
57398 (__simulate_exceptions): Use thread-local floating-point state and
57399 set global state from it as needed.
57400 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
57401 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
57402 __sim_round_mode_thread.
57403 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
57404 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
57405 and global __sim_exceptions_global.
57406 (__sim_disabled_exceptions): Change to thread-local
57407 __sim_disabled_exceptions_thread and global
57408 __sim_disabled_exceptions_global.
57409 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
57410 and global __sim_round_mode_global.
57411 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
57412 (SIM_SET_GLOBAL): Likewise.
57413 * sysdeps/powerpc/soft-fp/sfp-machine.h
57414 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
57415 __sim_round_mode_thread.
57416 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
57417 __sim_disabled_exceptions_thread.
57418 (__sim_exceptions): Change to __sim_exceptions_thread.
57419 (__sim_disabled_exceptions): Change to
57420 __sim_disabled_exceptions_thread.
57421 (__sim_round_mode): Change to __sim_round_mode_thread.
57422 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
57423 thread-local floating-point state and set global state from it as
57424 needed.
57425 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
57426 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
57427 (__sim_disabled_exceptions): Remove extern declaration.
57428 (feenableexcept): Use thread-local floating-point state and set
57429 global state from it as needed.
57430 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
57431 extern declaration.
57432 (__sim_disabled_exceptions): Likewise.
57433 (__sim_round_mode): Likewise.
57434 (__fegetenv): Use thread-local floating-point state.
57435 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
57436 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
57437 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
57438 floating-point state and set global state from it as needed.
57439 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
57440 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
57441 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
57442 Likewise.
57443 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
57444 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
57445 Likewise.
57446 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
57447 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
57448 Use __sim_round_mode_thread.
57449 * math/test-fenv-tls.c: New file.
57450 * math/Makefile (tests): Add test-fenv-tls.
57451 ($(objpfx)test-fenv-tls): Depend on
57452 $(common-objpfx)nptl/libpthread.so.
57453
57454 2013-11-19 Andreas Schwab <schwab@suse.de>
57455
57456 * locale/programs/locale.c (show_info): Decode wordarray elements.
57457 * locale/categories.def (LC_MONETARY): Add element for
57458 _NL_MONETARY_CRNCYSTR.
57459 * locale/C-monetary.c (conversion_rate): New variable.
57460 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
57461 element.
57462
57463 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
57464
57465 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
57466 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
57467
57468 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
57469
57470 * elf/Makefile (tst-auxv): New test.
57471 * elf/tst-auxv.c: New
57472 * elf/rtld.c (dl_main): Adjust AT_EXECFN
57473
57474 2013-11-18 Joseph Myers <joseph@codesourcery.com>
57475
57476 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
57477 (hidden_proto): Caller changed.
57478 (hidden_tls_proto): New macro.
57479 (libc_hidden_tls_proto): Likewise.
57480 (rtld_hidden_tls_proto): Likewise.
57481 (libm_hidden_tls_proto): Likewise.
57482 (libresolv_hidden_tls_proto): Likewise.
57483 (librt_hidden_tls_proto): Likewise.
57484 (libdl_hidden_tls_proto): Likewise.
57485 (libnss_files_hidden_tls_proto): Likewise.
57486 (libnsl_hidden_tls_proto): Likewise.
57487 (libnss_nisplus_hidden_tls_proto): Likewise.
57488 (libutil_hidden_tls_proto): Likewise.
57489
57490 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
57491
57492 [BZ #10253]
57493 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
57494 (decompose_rpath): Defer expansion to fillin_rpath.
57495 (_dl_init_paths): Pass linkmap to fillin_rpath.
57496
57497 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
57498
57499 * benchtests/Makefile: Add strsep.
57500 * benchtests/bench-strsep.c: New file: strsep benchtest.
57501 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
57502
57503 2013-11-18 Andreas Schwab <schwab@suse.de>
57504
57505 * locale/programs/locale.c (show_info) [case byte]: Check for
57506 '\377' instead of '\177'.
57507 * locale/C-monetary.c (not_available): Always use "\377".
57508 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
57509 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
57510 detect unavailable sign_posn locale elements.
57511 * locale/localeconv.c (__localeconv): For grouping and
57512 mon_grouping handle "\177" and "\377" like no grouping.
57513 (INT_ELEM): New macro. Use it to set all numeric members.
57514 * locale/programs/ld-monetary.c (monetary_read)
57515 <tok_mon_grouping>: Normalize single -1 to the empty string.
57516 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
57517 Likewise.
57518
57519 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
57520
57521 [BZ #16055]
57522 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
57523 when we match (nil).
57524 * stdio-common/tst-sscanf.c (struct test): Add testcase.
57525
57526 2013-11-16 Joseph Myers <joseph@codesourcery.com>
57527
57528 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
57529 (NO_TEST_INLINE): Update value.
57530 (ERRNO_UNCHANGED): Likewise.
57531 (ERRNO_EDOM): Likewise.
57532 (ERRNO_ERANGE): Likewise.
57533 (IGNORE_RESULT): Likewise.
57534 (check_float_internal): Check signs of NaN results if
57535 TEST_NAN_SIGN used.
57536 (check_complex): Pass TEST_NAN_SIGN flag through to second
57537 check_float_internal call.
57538 (copysign_test_data): Add tests with quiet NaNs as second
57539 argument. Use TEST_NAN_SIGN.
57540 (fabs_test_data): Add test of negative quiet NaN argument. Use
57541 TEST_NAN_SIGN.
57542 (signbit_test_data): Add tests of quiet NaN argument.
57543 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
57544
57545 * math/gen-libm-test.pl (show_exceptions): Take extra argument
57546 $ignore_result.
57547 (parse_args): Handle function results specified as IGNORE.
57548 * math/libm-test.inc (IGNORE_RESULT): New macro.
57549 (check_float_internal): Do not check numerical result if flag
57550 IGNORE_RESULT set.
57551 (check_complex): Pass through IGNORE_RESULT to second
57552 check_float_internal call.
57553 (check_int): Do not check numerical result if flag IGNORE_RESULT
57554 set.
57555 (check_long): Likewise.
57556 (check_bool): Likewise.
57557 (check_longlong): Likewise.
57558 (lrint_test_data): Add tests of infinite and NaN arguments.
57559 (lrint_tonearest_test_data): Likewise.
57560 (lrint_towardzero_test_data): Likewise.
57561 (lrint_downward_test_data): Likewise.
57562 (lrint_upward_test_data): Likewise.
57563 (llrint_test_data): Likewise.
57564 (llrint_tonearest_test_data): Likewise.
57565 (llrint_towardzero_test_data): Likewise.
57566 (llrint_downward_test_data): Likewise.
57567 (llrint_upward_test_data): Likewise.
57568 (lround_test_data): Likewise.
57569 (llround_test_data): Likewise.
57570
57571 * math/libm-test.inc (NO_TEST_INLINE): New macro.
57572 (ERRNO_UNCHANGED): Update value.
57573 (ERRNO_EDOM): Likewise.
57574 (ERRNO_ERANGE): Likewise.
57575 (NO_TEST_INLINE_FLOAT): New macro.
57576 (NO_TEST_INLINE_DOUBLE): Likewise.
57577 (enable_test): New function.
57578 (RUN_TEST_f_f): Check enable_test before running test.
57579 (RUN_TEST_2_f): Likewise.
57580 (RUN_TEST_fff_f): Likewise.
57581 (RUN_TEST_c_f): Likewise.
57582 (RUN_TEST_f_f1): Likewise.
57583 (RUN_TEST_fF_f1): Likewise.
57584 (RUN_TEST_fI_f1): Likewise.
57585 (RUN_TEST_ffI_f1): Likewise.
57586 (RUN_TEST_c_c): Likewise.
57587 (RUN_TEST_cc_c): Likewise.
57588 (RUN_TEST_f_i): Likewise.
57589 (RUN_TEST_f_i_tg): Likewise.
57590 (RUN_TEST_ff_i_tg): Likewise.
57591 (RUN_TEST_f_b): Likewise.
57592 (RUN_TEST_f_b_tg): Likewise.
57593 (RUN_TEST_f_l): Likewise.
57594 (RUN_TEST_f_L): Likewise.
57595 (RUN_TEST_fFF_11): Likewise.
57596 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
57597 conditionals.
57598 (cosh_test_data): Likewise.
57599 (exp_test_data): Likewise.
57600 (expm1_test_data): Likewise.
57601 (hypot_test_data): Likewise.
57602 (pow_test_data): Likewise.
57603 (sinh_test_data): Likewise.
57604 (tanh_test_data): Likewise.
57605 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
57606 flags argument.
57607
57608 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
57609 tests with quiet NaN input and output.
57610 (acosh_test_data): Likewise.
57611 (asin_test_data): Likewise.
57612 (asinh_test_data): Likewise.
57613 (atan_test_data): Likewise.
57614 (atanh_test_data): Likewise.
57615 (atan2_test_data): Likewise.
57616 (cbrt_test_data): Likewise.
57617 (cos_test_data): Likewise.
57618 (cosh_test_data): Likewise.
57619 (erf_test_data): Likewise.
57620 (erfc_test_data): Likewise.
57621 (exp_test_data): Likewise.
57622 (exp10_test_data): Likewise.
57623 (exp2_test_data): Likewise.
57624 (expm1_test_data): Likewise.
57625 (hypot_test_data): Likewise.
57626 (j0_test_data): Likewise.
57627 (j1_test_data): Likewise.
57628 (jn_test_data): Likewise.
57629 (lgamma_test_data): Likewise.
57630 (log_test_data): Likewise.
57631 (log10_test_data): Likewise.
57632 (log1p_test_data): Likewise.
57633 (log2_test_data): Likewise.
57634 (pow_test_data): Likewise.
57635 (scalb_test_data): Likewise.
57636 (sin_test_data): Likewise.
57637 (sincos_test_data): Likewise.
57638 (sinh_test_data): Likewise.
57639 (tan_test_data): Likewise.
57640 (tanh_test_data): Likewise.
57641 (tgamma_test_data): Likewise.
57642 (y0_test_data): Likewise.
57643 (y1_test_data): Likewise.
57644 (yn_test_data): Likewise.
57645
57646 [BZ #16167]
57647 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
57648 argument being NaN and avoid computations with second argument in
57649 that case.
57650 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
57651 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
57652 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
57653
57654 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
57655
57656 * locale/iso-639.def: Add Chitwani Tharu (the).
57657
57658 2013-11-14 Andreas Schwab <schwab@suse.de>
57659
57660 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
57661 word instead of empty string.
57662
57663 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57664
57665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57666 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
57667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57668 (__fe_nomask_env): Likewise.
57669
57670 2013-11-13 Steve Ellcey <sellcey@mips.com>
57671
57672 * benchtests/bench-timing.h: Include time.h.
57673
57674 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
57675
57676 [BZ #15997]
57677 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
57678 to 3.4.0 for x32.
57679 * sysdeps/unix/sysv/linux/configure: Regenerated.
57680
57681 2013-11-13 Joseph Myers <joseph@codesourcery.com>
57682
57683 [BZ #16151]
57684 * stdlib/strtod_l.c (round_and_return): Do not consider
57685 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
57686 exponent one less than half the least subnormal exponent.
57687 * stdlib/test-strtod-round-data: Add more tests.
57688 * stdlib/tst-strtod-round.c (tests): Regenerated.
57689
57690 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57691
57692 [BZ #14143]
57693 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
57694 (__fe_mask_env): Likewise.
57695 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
57696 libm_hidden_proto and add function prototype.
57697 (__fe_mask_env): Add function prototype.
57698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57699 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
57700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
57701 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
57702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57703 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
57704
57705 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
57706
57707 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
57708 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
57709
57710 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
57711
57712 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
57713 of htab_find_slot().
57714
57715 2013-11-11 David S. Miller <davem@davemloft.net>
57716
57717 [BZ #16150]
57718 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
57719 symbol in the non-vis3 case in static builds.
57720 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
57721 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
57722 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
57723 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
57724
57725 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
57726
57727 [BZ #387]
57728 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
57729 it is empty.
57730
57731 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57732
57733 * benchtests/Makefile: Add bench-strtod.
57734 * benchtests/bench-strtod.c: New file: strtod benchtest
57735
57736 2013-11-11 Andreas Schwab <schwab@suse.de>
57737
57738 [BZ #16153]
57739 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
57740 terminating NUL in key length.
57741
57742 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57743
57744 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
57745 Add artificial ODP entry for vDSO symbol for PPC64.
57746 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
57747 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
57748
57749 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
57750
57751 [BZ #15374]
57752 * nss/getent.c (services_keys): Recognize services starting with digit.
57753
57754 2013-11-06 David S. Miller <davem@davemloft.net>
57755
57756 [BZ #15985]
57757 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
57758 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
57759
57760 2013-11-06 Will Newton <will.newton@linaro.org>
57761
57762 * manual/memory.texi (Malloc Examples): Remove register
57763 keyword from examples.
57764
57765 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
57766
57767 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
57768
57769 2013-11-04 Joseph Myers <joseph@codesourcery.com>
57770
57771 [BZ #6981]
57772 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
57773 depending on [__GCC_IEC_559 > 0].
57774 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
57775 depending on [__GCC_IEC_559_COMPLEX > 0].
57776
57777 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
57778
57779 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
57780 to iso-639.def.
57781
57782 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
57783
57784 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
57785
57786 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
57787
57788 [BZ #16112]
57789 * malloc/malloc (malloc_info): Do not handle first bin as
57790 special case.
57791
57792 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
57793
57794 * locale/iso-639.def: Add Central Nahuatl (nhn).
57795
57796 2013-11-01 Bruno Haible <bruno@clisp.org>
57797
57798 [BZ #7003]
57799 * manual/math.texi (BSD Random): Specify range upper bound as
57800 in POSIX.
57801
57802 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
57803
57804 * locale/iso-639.def: Add Meadow Mari (mhr).
57805
57806 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
57807
57808 [BZ #14752], [BZ #15763]
57809 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
57810 Validate name.
57811 * rt/tst_shm.c: Add test for escaping directory.
57812
57813 2013-10-31 Andreas Schwab <schwab@suse.de>
57814
57815 [BZ #15917]
57816 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
57817 followed by 'x' as part of digit sequence.
57818 * stdio-common/tst-sscanf.c (double_tests2): New tests.
57819
57820 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
57821
57822 [BZ #16037]
57823 * configure.ac: allow GNU Make 4.0 and greater.
57824 * configure: Regenerated.
57825
57826 2013-10-30 Will Newton <will.newton@linaro.org>
57827
57828 [BZ #16038]
57829 * malloc/hooks.c (memalign_check): Limit alignment to the
57830 maximum representable power of two.
57831 * malloc/malloc.c (__libc_memalign): Likewise.
57832 * malloc/tst-memalign.c (do_test): Add test for very
57833 large alignment values.
57834 * malloc/tst-posix_memalign.c (do_test): Likewise.
57835
57836 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
57837
57838 [BZ #11087]
57839 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
57840 (munmap_chunk): Likewise.
57841 (mremap_chunk): Likewise.
57842
57843 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
57844
57845 [BZ #15799]
57846 * stdlib/div.c (div): Remove obsolete code.
57847 * stdlib/ldiv.c (ldiv): Likewise.
57848 * stdlib/lldiv.c (lldiv): Likewise.
57849
57850 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
57851
57852 [BZ #16071]
57853 * nss/nss_files/files-XXX.c (get_contents_ret): New
57854 enumerator.
57855 (get_contents): New function.
57856 (internal_getent): Use it. Expand size of LINEBUFLEN.
57857
57858 2013-10-30 Mike Frysinger <vapier@gentoo.org>
57859
57860 * configure.in: Moved to ...
57861 * configure.ac: ... here. Change reference to configure.in
57862 to configure.ac.
57863 * sysdeps/arm/preconfigure.ac: ... here.
57864 configure.in to configure.ac.
57865 * sysdeps/gnu/configure.in: Moved to ...
57866 * sysdeps/gnu/configure.ac: ... here.
57867 * sysdeps/i386/configure.in: Moved to ...
57868 * sysdeps/i386/configure.ac: ... here.
57869 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
57870 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
57871 * sysdeps/mach/configure.in: Moved to ...
57872 * sysdeps/mach/configure.ac: ... here.
57873 * sysdeps/mach/hurd/configure.in: Moved to ...
57874 * sysdeps/mach/hurd/configure.ac: ... here.
57875 * sysdeps/powerpc/configure.in: Moved to ...
57876 * sysdeps/powerpc/configure.ac: ... here.
57877 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
57878 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
57879 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
57880 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
57881 * sysdeps/s390/s390-32/configure.in: Moved to ...
57882 * sysdeps/s390/s390-32/configure.ac: ... here.
57883 * sysdeps/s390/s390-64/configure.in: Moved to ...
57884 * sysdeps/s390/s390-64/configure.ac: ... here.
57885 * sysdeps/sh/configure.in: Moved to ...
57886 * sysdeps/sh/configure.ac: ... here.
57887 * sysdeps/sparc/configure.in: Moved to ...
57888 * sysdeps/sparc/configure.ac: ... here.
57889 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
57890 * sysdeps/unix/sysv/linux/configure.ac: ... here.
57891 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
57892 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
57893 * sysdeps/x86_64/configure.in: Moved to ...
57894 * sysdeps/x86_64/configure.ac: ... here.
57895 * sysdeps/x86_64/preconfigure.in: Moved to ...
57896 * sysdeps/x86_64/preconfigure.ac: ... here.
57897 * aclocal.m4: Change reference to configure.in to configure.ac.
57898 * config.h.in: Likewise.
57899 * manual/install.texi: Likewise.
57900 * manual/maint.texi: Likewise.
57901 * Makefile: Likewise.
57902 * malloc/Makefile: Likewise.
57903 * nscd/Makefile: Likewise.
57904 * Makeconfig: Change reference to configure.in and
57905 preconfigure.in to configure.ac and preconfigure.ac
57906 respectively.
57907 * INSTALL: Regenerated.
57908 * configure: Likewise.
57909 * sysdeps/gnu/configure: Likewise.
57910 * sysdeps/i386/configure: Likewise.
57911 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
57912 * sysdeps/mach/configure: Likewise.
57913 * sysdeps/mach/hurd/configure: Likewise.
57914 * sysdeps/powerpc/configure: Likewise.
57915 * sysdeps/powerpc/powerpc32/configure: Likewise.
57916 * sysdeps/powerpc/powerpc64/configure: Likewise.
57917 * sysdeps/s390/s390-32/configure: Likewise.
57918 * sysdeps/s390/s390-64/configure: Likewise.
57919 * sysdeps/sh/configure: Likewise.
57920 * sysdeps/sparc/configure: Likewise.
57921 * sysdeps/unix/sysv/linux/configure: Likewise.
57922 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
57923 * sysdeps/x86_64/configure: Likewise.
57924 * sysdeps/x86_64/preconfigure: Likewise.
57925
57926 2013-10-29 Andreas Schwab <schwab@suse.de>
57927
57928 * stdio-common/Makefile (tst-swscanf-ENV): Define.
57929
57930 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
57931
57932 * benchtests/pow-inputs: Add new inputs.
57933
57934 * benchtests/exp-inputs: Add new inputs.
57935
57936 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
57937 conditional check for return value.
57938 (__cos32): Likewise.
57939
57940 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57941
57942 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
57943 to provide a boost for large inputs with word alignment.
57944 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
57945 implementation based on optimized PPC64 strcpy.
57946 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
57947 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
57948 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
57949 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
57950
57951 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
57952
57953 [BZ #2801]
57954 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
57955
57956 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
57957
57958 [BZ #14876]
57959 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
57960 * time/tst-strptime.c (day_tests): Add testcase.
57961
57962 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
57963
57964 [BZ #14029]
57965 * manual/pattern.texi: Acknowledge that fnmatch can fail.
57966
57967 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
57968
57969 [BZ #16074]
57970 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
57971 MAP_FAILED on error.
57972
57973 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
57974
57975 [BZ #16072]
57976 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
57977 heap for large requests.
57978
57979 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
57980
57981 [BZ #9954]
57982 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
57983 result if the result has no associated interface.
57984 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
57985 interface for all 127.X.Y.Z addresses.
57986
57987 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
57988
57989 * locale/iso-639.def: Add Ligurian (lij)
57990
57991 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
57992
57993 [BZ #15825]
57994 * sunrpc/rpc_main.c: Document rpcgen -5.
57995
57996 2013-10-19 Michael Stahl <mstahl@redhat.com>
57997
57998 * elf/rtld.c (do_preload): Print the reason why preloading failed.
57999
58000 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
58001
58002 [BZ #10278]
58003 * posix/glob.c: Match only directories when trailing slash is present.
58004 * posix/tst-gnuglob.c (my_opendir): Do not open files.
58005 (main): Add testcase.
58006
58007 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
58008
58009 [BZ #15670]
58010 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
58011
58012 2013-10-18 Carlos O'Donell <carlos@redhat.com>
58013
58014 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
58015 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
58016 AUTH_DES and cindex for FIPS 140-2.
58017 (DES Encryption): Add cindex FIPS 46-3.
58018
58019 * locale/locarchive.h (struct locarhandle): Add fname.
58020 * locale/programs/localedef.c (main): Pass ARGV[remaining]
58021 if an optional argument was specified to --list-archive,
58022 otherwise NULL.
58023 * locale/programs/locarchive.c (show_archive_content): Take new
58024 argument fname and pass it via ah.fname to open_archive.
58025 * locale/programs/localedef.h: Update decl.
58026 (open_archive): If AH->fname is non-null, open that file
58027 rather than the default file name, and don't ignore ENOENT.
58028 (create_archive): Set AH.fname to NULL.
58029 (delete_locales_from_archive): Likewise.
58030 (add_locales_to_archive): Likewise.
58031 * locale/programs/locfile.c (write_all_categories): Likewise.
58032
58033 2013-10-18 Joseph Myers <joseph@codesourcery.com>
58034 Aldy Hernandez <aldyh@redhat.com>
58035
58036 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
58037 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
58038 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
58039 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
58040 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
58041 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
58042 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
58043 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
58044 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
58045 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
58046 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
58047 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
58048 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
58049 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
58050 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
58051 Likewise.
58052 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
58053 Likewise.
58054 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
58055 Likewise.
58056 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
58057 Likewise.
58058 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
58059 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
58060 Likewise.
58061 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
58062 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
58063 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
58064 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
58065 Likewise.
58066 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
58067 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
58068 * sysdeps/powerpc/preconfigure: Likewise.
58069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
58070 Likewise.
58071 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
58072 Replace contents of file by #include of <fenv_libc.h>.
58073 * sysdeps/powerpc/soft-fp/sfp-machine.h
58074 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
58075 and <sys/prctl.h>.
58076 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
58077 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
58078 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
58079 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
58080 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
58081 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
58082 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
58083 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
58084 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
58085 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
58086 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
58087 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
58088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
58089 Allow copysignl PLT reference to be missing.
58090
58091 2013-10-18 Richard Sandiford <richard@codesourcery.com>
58092 Joseph Myers <joseph@codesourcery.com
58093
58094 [BZ #15948]
58095 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
58096 single character.
58097 (add_to_tablewc): Assert sequence of wide characters is nonempty.
58098
58099 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
58100
58101 * elf/tst-tls-dlinfo.c: Don't include tls.h.
58102 * elf/tst-tls1.c: Likewise.
58103 * elf/tst-tls10.h: Likewise.
58104 * elf/tst-tls14.c: Likewise.
58105 * elf/tst-tls2.c: Likewise.
58106 * elf/tst-tls3.c: Likewise.
58107 * elf/tst-tls4.c: Likewise.
58108 * elf/tst-tls5.c: Likewise.
58109 * elf/tst-tls6.c: Likewise.
58110 * elf/tst-tls7.c: Likewise.
58111 * elf/tst-tls8.c: Likewise.
58112 * elf/tst-tls9.c: Likewise.
58113 * elf/tst-tlsmod1.c: Likewise.
58114 * elf/tst-tlsmod13.c: Likewise.
58115 * elf/tst-tlsmod13a.c: Likewise.
58116 * elf/tst-tlsmod14a.c: Likewise.
58117 * elf/tst-tlsmod16a.c: Likewise.
58118 * elf/tst-tlsmod16b.c: Likewise.
58119 * elf/tst-tlsmod2.c: Likewise.
58120 * elf/tst-tlsmod3.c: Likewise.
58121 * elf/tst-tlsmod4.c: Likewise.
58122 * elf/tst-tlsmod5.c: Likewise.
58123 * elf/tst-tlsmod6.c: Likewise.
58124
58125 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
58126
58127 [BZ #12486]
58128 * malloc/malloc.c: remove checks for statistics.
58129
58130 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
58131
58132 [BZ #15277]
58133 * inet/inet_net.c (inet_network): Detect additional invalid strings.
58134 * inet/tst-network.c: Add testcase.
58135
58136 2013-10-17 Andreas Schwab <schwab@suse.de>
58137
58138 [BZ #15218]
58139 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
58140 to determine canonical name.
58141
58142 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
58143
58144 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
58145 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
58146 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58147 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58148 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58149 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58150 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58151 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58152 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58153 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58154 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
58155 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58156 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58157 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58158 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58159 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58160 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58161 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58162 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
58163 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58164 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58165 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58166 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58167 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
58168 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
58169 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58170 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58171 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
58172 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58173 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
58174 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58175 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58176 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
58177 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58178 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58179 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58180 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58181 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58182 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58183 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58184 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58185 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
58186 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
58187 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58188 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
58189 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58190 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58191 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
58192 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
58193 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58194 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
58195 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58196 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
58197 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
58198 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58199 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
58200 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58201 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
58202
58203 2013-10-17 Joseph Myers <joseph@codesourcery.com>
58204
58205 [BZ #16041]
58206 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
58207 make result into a quiet NaN.
58208
58209 2013-10-16 Joseph Myers <joseph@codesourcery.com>
58210
58211 * soft-fp/adddf3.c: Fix horizontal whitespace.
58212 * soft-fp/addsf3.c: Likewise.
58213 * soft-fp/addtf3.c: Likewise.
58214 * soft-fp/divdf3.c: Likewise.
58215 * soft-fp/divsf3.c: Likewise.
58216 * soft-fp/divtf3.c: Likewise.
58217 * soft-fp/double.h: Likewise.
58218 * soft-fp/eqdf2.c: Likewise.
58219 * soft-fp/eqsf2.c: Likewise.
58220 * soft-fp/eqtf2.c: Likewise.
58221 * soft-fp/extenddftf2.c: Likewise.
58222 * soft-fp/extended.h: Likewise.
58223 * soft-fp/extendsfdf2.c: Likewise.
58224 * soft-fp/extendsftf2.c: Likewise.
58225 * soft-fp/extendxftf2.c: Likewise.
58226 * soft-fp/fixdfdi.c: Likewise.
58227 * soft-fp/fixdfsi.c: Likewise.
58228 * soft-fp/fixdfti.c: Likewise.
58229 * soft-fp/fixsfdi.c: Likewise.
58230 * soft-fp/fixsfsi.c: Likewise.
58231 * soft-fp/fixsfti.c: Likewise.
58232 * soft-fp/fixtfdi.c: Likewise.
58233 * soft-fp/fixtfsi.c: Likewise.
58234 * soft-fp/fixtfti.c: Likewise.
58235 * soft-fp/fixunsdfdi.c: Likewise.
58236 * soft-fp/fixunsdfsi.c: Likewise.
58237 * soft-fp/fixunsdfti.c: Likewise.
58238 * soft-fp/fixunssfdi.c: Likewise.
58239 * soft-fp/fixunssfsi.c: Likewise.
58240 * soft-fp/fixunssfti.c: Likewise.
58241 * soft-fp/fixunstfdi.c: Likewise.
58242 * soft-fp/fixunstfsi.c: Likewise.
58243 * soft-fp/fixunstfti.c: Likewise.
58244 * soft-fp/floatdidf.c: Likewise.
58245 * soft-fp/floatdisf.c: Likewise.
58246 * soft-fp/floatditf.c: Likewise.
58247 * soft-fp/floatsidf.c: Likewise.
58248 * soft-fp/floatsisf.c: Likewise.
58249 * soft-fp/floatsitf.c: Likewise.
58250 * soft-fp/floattidf.c: Likewise.
58251 * soft-fp/floattisf.c: Likewise.
58252 * soft-fp/floattitf.c: Likewise.
58253 * soft-fp/floatundidf.c: Likewise.
58254 * soft-fp/floatundisf.c: Likewise.
58255 * soft-fp/floatunditf.c: Likewise.
58256 * soft-fp/floatunsidf.c: Likewise.
58257 * soft-fp/floatunsisf.c: Likewise.
58258 * soft-fp/floatunsitf.c: Likewise.
58259 * soft-fp/floatuntidf.c: Likewise.
58260 * soft-fp/floatuntisf.c: Likewise.
58261 * soft-fp/floatuntitf.c: Likewise.
58262 * soft-fp/fmadf4.c: Likewise.
58263 * soft-fp/fmasf4.c: Likewise.
58264 * soft-fp/fmatf4.c: Likewise.
58265 * soft-fp/gedf2.c: Likewise.
58266 * soft-fp/gesf2.c: Likewise.
58267 * soft-fp/getf2.c: Likewise.
58268 * soft-fp/ledf2.c: Likewise.
58269 * soft-fp/lesf2.c: Likewise.
58270 * soft-fp/letf2.c: Likewise.
58271 * soft-fp/muldf3.c: Likewise.
58272 * soft-fp/mulsf3.c: Likewise.
58273 * soft-fp/multf3.c: Likewise.
58274 * soft-fp/negdf2.c: Likewise.
58275 * soft-fp/negsf2.c: Likewise.
58276 * soft-fp/negtf2.c: Likewise.
58277 * soft-fp/op-1.h: Likewise.
58278 * soft-fp/op-2.h: Likewise.
58279 * soft-fp/op-4.h: Likewise.
58280 * soft-fp/op-8.h: Likewise.
58281 * soft-fp/op-common.h: Likewise.
58282 * soft-fp/quad.h: Likewise.
58283 * soft-fp/single.h: Likewise.
58284 * soft-fp/soft-fp.h: Likewise.
58285 * soft-fp/sqrtdf2.c: Likewise.
58286 * soft-fp/sqrtsf2.c: Likewise.
58287 * soft-fp/sqrttf2.c: Likewise.
58288 * soft-fp/subdf3.c: Likewise.
58289 * soft-fp/subsf3.c: Likewise.
58290 * soft-fp/subtf3.c: Likewise.
58291 * soft-fp/truncdfsf2.c: Likewise.
58292 * soft-fp/trunctfdf2.c: Likewise.
58293 * soft-fp/trunctfsf2.c: Likewise.
58294 * soft-fp/trunctfxf2.c: Likewise.
58295 * soft-fp/unorddf2.c: Likewise.
58296 * soft-fp/unordsf2.c: Likewise.
58297 * soft-fp/unordtf2.c: Likewise.
58298
58299 2013-10-15 Joseph Myers <joseph@codesourcery.com>
58300
58301 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
58302 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
58303
58304 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
58305
58306 * elf/dl-libc.c: Clear initfini list after freeing.
58307
58308 2013-10-14 Joseph Myers <joseph@codesourcery.com>
58309
58310 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
58311 * soft-fp/addsf3.c: Likewise.
58312 * soft-fp/addtf3.c: Likewise.
58313 * soft-fp/divdf3.c: Likewise.
58314 * soft-fp/divsf3.c: Likewise.
58315 * soft-fp/divtf3.c: Likewise.
58316 * soft-fp/double.h: Likewise.
58317 * soft-fp/eqdf2.c: Likewise.
58318 * soft-fp/eqsf2.c: Likewise.
58319 * soft-fp/eqtf2.c: Likewise.
58320 * soft-fp/extenddftf2.c: Likewise.
58321 * soft-fp/extended.h: Likewise.
58322 * soft-fp/extendsfdf2.c: Likewise.
58323 * soft-fp/extendsftf2.c: Likewise.
58324 * soft-fp/extendxftf2.c: Likewise.
58325 * soft-fp/fixdfdi.c: Likewise.
58326 * soft-fp/fixdfsi.c: Likewise.
58327 * soft-fp/fixdfti.c: Likewise.
58328 * soft-fp/fixsfdi.c: Likewise.
58329 * soft-fp/fixsfsi.c: Likewise.
58330 * soft-fp/fixsfti.c: Likewise.
58331 * soft-fp/fixtfdi.c: Likewise.
58332 * soft-fp/fixtfsi.c: Likewise.
58333 * soft-fp/fixtfti.c: Likewise.
58334 * soft-fp/fixunsdfdi.c: Likewise.
58335 * soft-fp/fixunsdfsi.c: Likewise.
58336 * soft-fp/fixunsdfti.c: Likewise.
58337 * soft-fp/fixunssfdi.c: Likewise.
58338 * soft-fp/fixunssfsi.c: Likewise.
58339 * soft-fp/fixunssfti.c: Likewise.
58340 * soft-fp/fixunstfdi.c: Likewise.
58341 * soft-fp/fixunstfsi.c: Likewise.
58342 * soft-fp/fixunstfti.c: Likewise.
58343 * soft-fp/floatdidf.c: Likewise.
58344 * soft-fp/floatdisf.c: Likewise.
58345 * soft-fp/floatditf.c: Likewise.
58346 * soft-fp/floatsidf.c: Likewise.
58347 * soft-fp/floatsisf.c: Likewise.
58348 * soft-fp/floatsitf.c: Likewise.
58349 * soft-fp/floattidf.c: Likewise.
58350 * soft-fp/floattisf.c: Likewise.
58351 * soft-fp/floattitf.c: Likewise.
58352 * soft-fp/floatundidf.c: Likewise.
58353 * soft-fp/floatundisf.c: Likewise.
58354 * soft-fp/floatunsidf.c: Likewise.
58355 * soft-fp/floatunsisf.c: Likewise.
58356 * soft-fp/floatuntidf.c: Likewise.
58357 * soft-fp/floatuntisf.c: Likewise.
58358 * soft-fp/floatuntitf.c: Likewise.
58359 * soft-fp/fmadf4.c: Likewise.
58360 * soft-fp/fmasf4.c: Likewise.
58361 * soft-fp/fmatf4.c: Likewise.
58362 * soft-fp/gedf2.c: Likewise.
58363 * soft-fp/gesf2.c: Likewise.
58364 * soft-fp/getf2.c: Likewise.
58365 * soft-fp/ledf2.c: Likewise.
58366 * soft-fp/lesf2.c: Likewise.
58367 * soft-fp/letf2.c: Likewise.
58368 * soft-fp/muldf3.c: Likewise.
58369 * soft-fp/mulsf3.c: Likewise.
58370 * soft-fp/multf3.c: Likewise.
58371 * soft-fp/negdf2.c: Likewise.
58372 * soft-fp/negsf2.c: Likewise.
58373 * soft-fp/negtf2.c: Likewise.
58374 * soft-fp/op-1.h: Likewise.
58375 * soft-fp/op-2.h: Likewise.
58376 * soft-fp/op-4.h: Likewise.
58377 * soft-fp/op-8.h: Likewise.
58378 * soft-fp/op-common.h: Likewise.
58379 * soft-fp/quad.h: Likewise.
58380 * soft-fp/single.h: Likewise.
58381 * soft-fp/soft-fp.h: Likewise.
58382 * soft-fp/sqrtdf2.c: Likewise.
58383 * soft-fp/sqrtsf2.c: Likewise.
58384 * soft-fp/sqrttf2.c: Likewise.
58385 * soft-fp/subdf3.c: Likewise.
58386 * soft-fp/subsf3.c: Likewise.
58387 * soft-fp/subtf3.c: Likewise.
58388 * soft-fp/truncdfsf2.c: Likewise.
58389 * soft-fp/trunctfdf2.c: Likewise.
58390 * soft-fp/trunctfsf2.c: Likewise.
58391 * soft-fp/trunctfxf2.c: Likewise.
58392 * soft-fp/unorddf2.c: Likewise.
58393 * soft-fp/unordsf2.c: Likewise.
58394 * soft-fp/unordtf2.c: Likewise.
58395
58396 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
58397
58398 [BZ #15672]
58399 * misc/error.c (error_tail): Fix possible buffer overflow.
58400
58401 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
58402
58403 [BZ #13028]
58404 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
58405 address.
58406
58407 2013-10-14 P. J. McDermott <pj@pehjota.net>
58408
58409 [BZ #832]
58410 * elf/ldd.bash.in (try_trace): New function. Delete previous code
58411 testing pipefail option.
58412
58413 2013-10-12 Joseph Myers <joseph@codesourcery.com>
58414
58415 * soft-fp/double.h: Indent preprocessor directives inside #if.
58416 * soft-fp/extended.h: Likewise.
58417 * soft-fp/op-2.h: Likewise.
58418 * soft-fp/op-4.h: Likewise.
58419 * soft-fp/op-common.h: Likewise.
58420 * soft-fp/quad.h: Likewise.
58421 * soft-fp/single.h: Likewise.
58422 * soft-fp/soft-fp.h: Likewise.
58423
58424 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
58425
58426 * iconv/iconv_prog.c: Fix typos.
58427 * stdio-common/psiginfo-data.h: Likewise.
58428
58429 2013-10-12 Reuben Thomas <rrt@sc3d.org>
58430
58431 [BZ #15764]
58432 * locale/setlocale.c: Fix typo.
58433
58434 2013-10-12 Joseph Myers <joseph@codesourcery.com>
58435
58436 [BZ #16036]
58437 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
58438 signaling NaN arguments.
58439 * soft-fp/unordsf2.c (__unordsf2): Likewise.
58440 * soft-fp/unordtf2.c (__unordtf2): Likewise.
58441
58442 [BZ #14910]
58443 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
58444 unordered operands.
58445 * soft-fp/gesf2.c (__gesf2): Likewise.
58446 * soft-fp/getf2.c (__getf2): Likewise.
58447 * soft-fp/ledf2.c (__ledf2): Likewise.
58448 * soft-fp/lesf2.c (__lesf2): Likewise.
58449 * soft-fp/letf2.c (__letf2): Likewise.
58450
58451 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
58452 * soft-fp/eqsf2.c (__eqsf2): Likewise.
58453 * soft-fp/eqtf2.c (__eqtf2): Likewise.
58454 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
58455 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
58456 * soft-fp/fixdfti.c (__fixdfti): Likewise.
58457 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
58458 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
58459 * soft-fp/fixsfti.c (__fixsfti): Likewise.
58460 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
58461 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
58462 * soft-fp/fixtfti.c (__fixtfti): Likewise.
58463 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
58464 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
58465 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
58466 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
58467 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
58468 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
58469 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
58470 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
58471 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
58472 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
58473 * soft-fp/floatdisf.c (__floatdisf): Likewise.
58474 * soft-fp/floatsisf.c (__floatsisf): Likewise.
58475 * soft-fp/floattidf.c (__floattidf): Likewise.
58476 * soft-fp/floattisf.c (__floattisf): Likewise.
58477 * soft-fp/floattitf.c (__floattitf): Likewise.
58478 * soft-fp/floatundidf.c (__floatundidf): Likewise.
58479 * soft-fp/floatundisf.c (__floatundisf): Likewise.
58480 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
58481 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
58482 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
58483 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
58484 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
58485 * soft-fp/gesf2.c (__gesf2): Likewise.
58486 * soft-fp/getf2.c (__getf2): Likewise.
58487 * soft-fp/ledf2.c (__ledf2): Likewise.
58488 * soft-fp/lesf2.c (__lesf2): Likewise.
58489 * soft-fp/letf2.c (__letf2): Likewise.
58490
58491 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
58492 Undefine and redefine.
58493 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
58494 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
58495 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
58496 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
58497 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58498 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
58499 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58500 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
58501 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58502 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
58503 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58504 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
58505 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58506 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
58507 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58508
58509 [BZ #16032]
58510 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
58511 without decrementing exponent if mantissa >= that for the
58512 denominator, not >.
58513 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
58514 denominator, not >. Decrement exponent in < case instead of
58515 incrementing in >= case.
58516 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
58517 without decrementing exponent if mantissa >= that for the
58518 denominator, not >.
58519
58520 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
58521 computing saturated result for unsigned overflow.
58522
58523 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
58524 Jeff Law <law@redhat.com>
58525
58526 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
58527 (atan2Mp): Add systemtap probe marker.
58528 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
58529 (__ieee754_log): Add systemtap probe marker.
58530 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
58531 (atanMp): Add systemtap probe marker.
58532 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
58533 (tanMp): Add systemtap probe marker.
58534 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
58535 (__slowexp): Add systemtap probe marker.
58536 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
58537 (__slowpow): Add systemtap probe marker.
58538 * manual/probes.texi: Document probes.
58539
58540 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
58541
58542 [BZ #15362]
58543 * libio/fileops.c (_IO_new_file_write): Return count of bytes
58544 written.
58545 (_IO_new_file_xsputn): Don't return EOF if nothing has been
58546 written.
58547 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
58548 written to buffer but not flushed.
58549 * libio/iofwrite_u.c: Likewise.
58550 * libio/iopadn.c: Return bytes returned even if EOF was
58551 encountered.
58552 * libio/iowpadn.c: Likewise.
58553 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
58554 if _IO_padn does not write the whole buffer.
58555 [!COMPILE_WPRINTF] (PAD): Likewise.
58556
58557 2013-10-10 David S. Miller <davem@davemloft.net>
58558
58559 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
58560 directory block.
58561
58562 2013-10-10 Joseph Myers <joseph@codesourcery.com>
58563
58564 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
58565 instead of FSF address.
58566 * soft-fp/fixdfti.c: Likewise.
58567 * soft-fp/fixsfti.c: Likewise.
58568 * soft-fp/fixtfti.c: Likewise.
58569 * soft-fp/fixunsdfti.c: Likewise.
58570 * soft-fp/fixunssfti.c: Likewise.
58571 * soft-fp/fixunstfti.c: Likewise.
58572 * soft-fp/floattidf.c: Likewise.
58573 * soft-fp/floattisf.c: Likewise.
58574 * soft-fp/floattitf.c: Likewise.
58575 * soft-fp/floatuntidf.c: Likewise.
58576 * soft-fp/floatuntisf.c: Likewise.
58577 * soft-fp/floatuntitf.c: Likewise.
58578 * soft-fp/trunctfxf2.c: Likewise.
58579
58580 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
58581 * soft-fp/fixdfti.c: Likewise.
58582 * soft-fp/fixsfti.c: Likewise.
58583 * soft-fp/fixtfti.c: Likewise.
58584 * soft-fp/fixunsdfti.c: Likewise.
58585 * soft-fp/fixunssfti.c: Likewise.
58586 * soft-fp/fixunstfti.c: Likewise.
58587 * soft-fp/floattidf.c: Likewise.
58588 * soft-fp/floattisf.c: Likewise.
58589 * soft-fp/floattitf.c: Likewise.
58590 * soft-fp/floatuntidf.c: Likewise.
58591 * soft-fp/floatuntisf.c: Likewise.
58592 * soft-fp/floatuntitf.c: Likewise.
58593 * soft-fp/trunctfxf2.c: Likewise.
58594
58595 2013-10-10 David S. Miller <davem@davemloft.net>
58596
58597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58598
58599 2013-10-10 Joseph Myers <joseph@codsourcery.com>
58600
58601 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58602 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
58603 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
58604 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
58605 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
58606 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
58607 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
58608
58609 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
58610 for NaNs before doing comparisons on argument.
58611 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
58612 Likewise.
58613
58614 2013-10-10 Will Newton <will.newton@linaro.org>
58615
58616 * malloc/hooks.c (memalign_check): Ensure the value of bytes
58617 passed to _int_memalign does not overflow.
58618
58619 2013-10-10 Torvald Riegel <triegel@redhat.com>
58620
58621 * scripts/bench.pl: Add include-sources directive.
58622 * benchtests/README: Update documentation.
58623
58624 2013-10-10 Joseph Myers <joseph@codesourcery.com>
58625
58626 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
58627 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
58628 instead of FP_INIT_ROUNDMODE.
58629 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
58630 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
58631
58632 [BZ #16034]
58633 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
58634 copy class of input value.
58635 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
58636 not handle exceptions.
58637 * soft-fp/negsf2.c (__negsf2): Likewise.
58638 * soft-fp/negtf2.c (__negtf2): Likewise.
58639 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
58640
58641 2013-10-09 Joseph Myers <joseph@codesourcery.com>
58642
58643 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
58644 semicolon. From Linux kernel.
58645
58646 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
58647
58648 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
58649
58650 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
58651
58652 [BZ #156]
58653 * manual/socket.texi: Added statement about buffer
58654 for gethostbyname2_r.
58655
58656 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
58657
58658 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
58659 Use .p2align directive instead, throughout.
58660 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
58661 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
58662 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
58663 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58664 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58665 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
58666 * sysdeps/x86_64/strchr.S: Likewise.
58667 * sysdeps/x86_64/strrchr.S: Likewise.
58668
58669 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
58670
58671 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
58672
58673 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
58674
58675 * sysdeps/generic/math_private.h (__mpsin1): Remove
58676 declaration.
58677 (__mpcos1): Likewise.
58678 (__mpsin): New argument __range_reduce.
58679 (__mpcos): Likewise.
58680 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58681 (slow): Use __mpsin and __mpcos.
58682 (slow1): Likewise.
58683 (slow2): Likewise.
58684 (sloww): Likewise.
58685 (sloww1): Likewise.
58686 (sloww2): Likewise.
58687 (bsloww): Likewise.
58688 (bsloww1): Likewise.
58689 (bsloww2): Likewise.
58690 (cslow2): Likewise.
58691 (csloww): Likewise.
58692 (csloww1): Likewise.
58693 (csloww2): Likewise.
58694 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
58695 range_reduce. Merge in __mpsin1.
58696 (__mpcos): Likewise.
58697 (__mpsin1): Remove.
58698 (__mpcos1): Likewise.
58699
58700 2013-10-07 Joseph Myers <joseph@codesourcery.com>
58701
58702 * locale/loadlocale.c (_nl_intern_locale_data): Use
58703 LOCFILE_ALIGNED_P.
58704 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
58705 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
58706 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
58707 obstack data is appropriately aligned.
58708 (obstack_int32_grow_fast): Likewise.
58709 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
58710 * locale/programs/locfile.c (add_locale_uint32): Likewise.
58711 (add_locale_uint32_array): Likewise.
58712
58713 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
58714
58715 * benchtests/Makefile: Remove ARGLIST and RET variables.
58716 ($(objpfx)bench-%.c): Pass only function name to the script.
58717 * benchtests/README: Update documentation.
58718 * benchtests/acos-inputs: Add new directives.
58719 * benchtests/acosh-inputs: Likewise.
58720 * benchtests/asin-inputs: Likewise.
58721 * benchtests/asinh-inputs: Likewise.
58722 * benchtests/atan-inputs: Likewise.
58723 * benchtests/atanh-inputs: Likewise.
58724 * benchtests/cos-inputs: Likewise.
58725 * benchtests/cosh-inputs: Likewise.
58726 * benchtests/exp-inputs: Likewise.
58727 * benchtests/log-inputs: Likewise.
58728 * benchtests/pow-inputs: Likewise.
58729 * benchtests/rint-inputs: Likewise.
58730 * benchtests/sin-inputs: Likewise.
58731 * benchtests/sinh-inputs: Likewise.
58732 * benchtests/tan-inputs: Likewise.
58733 * benchtests/tanh-inputs: Likewise.
58734 * scripts/bench.pl: Add support for new directives.
58735
58736 2013-10-07 Alan Modra <amodra@gmail.com>
58737
58738 * README: Fix careless merge.
58739
58740 2013-10-05 Alan Modra <amodra@gmail.com>
58741
58742 * NEWS: Mention powerpc64le support and bugs fixed.
58743 * README: Both big-endian and little-endian powerpc64 supported.
58744
58745 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
58746
58747 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
58748 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
58749 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
58750 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
58751
58752 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
58753
58754 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
58755 match prototype.
58756
58757 2013-10-04 Joseph Myers <joseph@codesourcery.com>
58758
58759 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
58760 Move -mhard-float appending from
58761 ports/sysdeps/powerpc/powerpc32/Makefile.
58762 [$(with-fp) = yes] (ASFLAGS): Likewise.
58763 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
58764 * sysdeps/powerpc/nofpu: Move directory from
58765 ports/sysdeps/powerpc/nofpu.
58766 * sysdeps/powerpc/soft-fp: Move directory from
58767 ports/sysdeps/powerpc/soft-fp.
58768 * sysdeps/powerpc/powerpc32/405: Move directory from
58769 ports/sysdeps/powerpc/powerpc32/405.
58770 * sysdeps/powerpc/powerpc32/440: Move directory from
58771 ports/sysdeps/powerpc/powerpc32/440.
58772 * sysdeps/powerpc/powerpc32/464: Move directory from
58773 ports/sysdeps/powerpc/powerpc32/464.
58774 * sysdeps/powerpc/powerpc32/476: Move directory from
58775 ports/sysdeps/powerpc/powerpc32/476.
58776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
58777 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
58778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
58779 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
58780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
58781 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
58782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
58783 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
58784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
58785 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
58786 * README: Update for powerpc-*-linux-gnu software floating point
58787 support in libc.
58788
58789 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
58790 case to powerpc/powerpc32*.
58791 * sysdeps/unix/sysv/linux/configure: Regenerated.
58792
58793 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
58794 (_FPU_MASK_OM): Define as 0x04.
58795 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
58796 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
58797 0x00c10080.
58798 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
58799 0x0000003c.
58800 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
58801
58802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
58803 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
58804 getcontext_e500.
58805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
58806 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
58807 setcontext_e500.
58808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
58809 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
58810 and setcontext_e500.
58811
58812 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
58813
58814 * locale/iso-3166.def: Update iso-1366.def and related occurrences
58815
58816 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
58817
58818 * manual/threads.texi (Default Thread Attributes): Fix typo.
58819
58820 2013-10-04 Will Newton <will.newton@linaro.org>
58821
58822 * malloc/Makefile: Add tst-memalign.
58823 * malloc/tst-memalign.c: New file.
58824
58825 * malloc/tst-posix_memalign.c: Add comments.
58826 (do_test): Add comments and call free on all potentially
58827 allocated pointers. Add space after cast.
58828
58829 * malloc/tst-pvalloc.c: Add comments.
58830 (do_test): Add comments and call free on all potentially
58831 allocated pointers. Remove duplicate check for NULL pointer.
58832 Add space after cast.
58833
58834 * malloc/tst-valloc.c: Add comments.
58835 (do_test): Add comments and call free on all potentially
58836 allocated pointers. Remove duplicate check for NULL pointer.
58837 Add space after cast.
58838
58839 2013-10-04 Alan Modra <amodra@gmail.com>
58840
58841 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
58842 Use stdint types in rather than __attribute__((mode())).
58843 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
58844
58845 2013-10-04 Alan Modra <amodra@gmail.com>
58846
58847 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
58848 Correct handling of unaligned relocs for little-endian.
58849 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
58850
58851 2013-10-04 Alan Modra <amodra@gmail.com>
58852
58853 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
58854 * configure: Regenerate.
58855 * nptl/shlib-versions: Powerpc*le starts at 2.18.
58856 * shlib-versions: Likewise.
58857
58858 2013-10-04 Alan Modra <amodra@gmail.com>
58859
58860 * string/tester.c (test_memrchr): Increment reported test cycle.
58861
58862 2013-10-04 Alan Modra <amodra@gmail.com>
58863
58864 * string/test-memcpy.c (do_one_test): When reporting errors, print
58865 string address and don't overrun end of string.
58866
58867 2013-10-04 Alan Modra <amodra@gmail.com>
58868
58869 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
58870 insrdi. Make better use of reg selection to speed exit slightly.
58871 Schedule entry path a little better. Remove useless "are we done"
58872 checks on entry to main loop. Handle wrapping around zero address.
58873 Correct main loop count. Handle single left-over word from main
58874 loop inline rather than by using loop_small. Remove extra word
58875 case in loop_small caused by wrong loop count. Add little-endian
58876 support.
58877 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
58878 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
58879 cache hint.
58880 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
58881 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
58882 support. Avoid rlwimi.
58883 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
58884
58885 2013-10-04 Alan Modra <amodra@gmail.com>
58886
58887 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
58888 insrdi. Formatting.
58889 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
58890 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
58891 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
58892 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
58893 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
58894 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
58895
58896 2013-10-04 Alan Modra <amodra@gmail.com>
58897
58898 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
58899 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58900 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
58901 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
58902 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
58903 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58904 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58905 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58906 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
58907 use of regs. Use power7 mtocrf. Tidy function tails.
58908
58909 2013-10-04 Alan Modra <amodra@gmail.com>
58910
58911 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
58912 Formatting. Consistently use rXXX register defines or rN defines.
58913 Use early exit labels that avoid restoring unused non-volatile regs.
58914 Make cr field use more consistent with rWORDn compares. Rename
58915 regs used as shift registers for unaligned loop, using rN defines
58916 for short lifetime/multiple use regs.
58917 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58918 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
58919 addi 1,1,64 to pop stack frame. Simplify return value code.
58920 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58921
58922 2013-10-04 Alan Modra <amodra@gmail.com>
58923
58924 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
58925 support. Correct typos, formatting. Optimize tail. Use insrdi
58926 rather than rlwimi.
58927 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
58928 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
58929 little-endian support. Correct typos.
58930 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
58931 rather than rlwimi.
58932 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
58933 in loop and entry code to keep "and." results.
58934 (strchr): Add little-endian support. Comment. Move cntlzd
58935 earlier in tail.
58936 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
58937
58938 2013-10-04 Alan Modra <amodra@gmail.com>
58939
58940 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
58941 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
58942 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
58943 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
58944
58945 2013-10-04 Alan Modra <amodra@gmail.com>
58946
58947 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
58948 (rTMP): Define as r11.
58949 (strcmp): Add little-endian support. Optimise tail.
58950 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
58951 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58952 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
58953 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58954 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
58955 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58956 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58957
58958 2013-10-04 Alan Modra <amodra@gmail.com>
58959
58960 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
58961 little-endian support. Remove unnecessary "are we done" tests.
58962 Handle "s" wrapping around zero and extremely large "size".
58963 Correct main loop count. Handle single left-over word from main
58964 loop inline rather than by using small_loop. Correct comments.
58965 Delete "zero" tail, use "end_max" instead.
58966 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
58967
58968 2013-10-04 Alan Modra <amodra@gmail.com>
58969
58970 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
58971 support. Don't branch over align.
58972 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
58973 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
58974 support. Rearrange tmp reg use to suit. Comment.
58975 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
58976
58977 2013-10-04 Alan Modra <amodra@gmail.com>
58978
58979 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
58980
58981 2013-10-04 Alan Modra <amodra@gmail.com>
58982
58983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
58984 conditional form of branch and link when obtaining pc.
58985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
58986
58987 2013-10-04 Alan Modra <amodra@gmail.com>
58988
58989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
58990 HIWORD/LOWORD.
58991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
58992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
58993
58994 2013-10-04 Alan Modra <amodra@gmail.com>
58995
58996 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
58997 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
58998 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
58999 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
59000 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
59001 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
59002 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
59003 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
59004 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
59005 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
59006
59007 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
59008 Alistair Popple <alistair@ozlabs.au.ibm.com>
59009 Alan Modra <amodra@gmail.com>
59010
59011 [BZ #15723]
59012 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
59013 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
59014 _dl_hwcap access for little-endian.
59015 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
59016 destroy vmx regs when saving unaligned.
59017 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
59018 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
59019 destroy vmx regs when saving unaligned.
59020
59021 2013-10-04 Alan Modra <amodra@gmail.com>
59022
59023 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
59024 Don't use a union to pack hi/low value.
59025
59026 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
59027
59028 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
59029 for little-endian.
59030 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
59031 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
59032 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
59033 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
59034 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
59035
59036 2013-10-04 Alan Modra <amodra@gmail.com>
59037
59038 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
59039 constants to usual value for .cst8 section, and remove redundant
59040 high address load.
59041 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
59042 constant for 0x1p52. Load little-endian words of double from
59043 correct stack offsets.
59044
59045 2013-10-04 Alan Modra <amodra@gmail.com>
59046
59047 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
59048 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
59049 words of double from correct stack offsets.
59050 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
59051 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
59052 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
59053 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
59054 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
59055 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
59056 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
59057 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
59058 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
59059 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
59060 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
59061 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
59062 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
59063 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
59064 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
59065 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
59066 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
59067
59068 2013-10-04 Alan Modra <amodra@gmail.com>
59069
59070 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
59071 64-bit int/double union.
59072 (_FPU_SETCW): Likewise.
59073 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
59074 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
59075
59076 2013-10-04 Alan Modra <amodra@gmail.com>
59077
59078 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
59079 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
59080
59081 2013-10-04 Alan Modra <amodra@gmail.com>
59082
59083 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
59084 use vector int constants.
59085 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
59086
59087 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
59088
59089 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
59090 array with long long.
59091 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
59092 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
59093 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
59094 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
59095 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
59096 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
59097 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
59098 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
59099 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
59100 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
59101 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
59102 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
59103 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
59104
59105 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
59106
59107 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
59108 (__signbit): Likewise. Correct for little-endian.
59109 (__signbitl): Call __signbit.
59110 (lrint): Correct for little-endian.
59111 (lrintf): Call lrint.
59112
59113 2013-10-04 Alan Modra <amodra@gmail.com>
59114
59115 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
59116 union 32-bit int array member with 64-bit int array.
59117 (t515, tm256): Double rather than long double.
59118 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
59119
59120 2013-10-04 Alan Modra <amodra@gmail.com>
59121
59122 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
59123 Delete.
59124 (IEEE854_LONG_DOUBLE_BIAS): Delete.
59125 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
59126 version of math_ldbl.h.
59127
59128 2013-10-04 Alan Modra <amodra@gmail.com>
59129
59130 [BZ #15734], [BZ #15735]
59131 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
59132 all uses of ieee875 long double macros and unions. Simplify test
59133 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
59134 ldbl_extract_mantissa value for ix,iy exponents. Properly
59135 normalize after ldbl_extract_mantissa, and don't add hidden bit
59136 already handled. Don't treat low word of ieee854 mantissa like
59137 low word of IBM long double and mask off bit when testing for
59138 zero.
59139 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
59140 all uses of ieee875 long double macros and unions. Simplify tests
59141 for 0.0L and inf. Correct double adjustment of k. Delete dead code
59142 adjusting ha,hb. Simplify code setting kld. Delete two600 and
59143 two1022, instead use their values. Recognise that tests for large
59144 "a" and small "b" are mutually exclusive. Rename vars. Comment.
59145 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
59146 Rewrite all uses of ieee875 long double macros and unions. Simplify
59147 test for 0.0L and nan. Correct negation.
59148 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
59149 ieee875 long double macros and unions. Correct output for large
59150 magnitude x. Correct absolute value calculation.
59151 (__erfcl): Likewise.
59152 * math/libm-test.inc: Add tests for errors discovered in IBM long
59153 double versions of fmodl, remainderl, erfl and erfcl.
59154
59155 2013-10-04 Alan Modra <amodra@gmail.com>
59156
59157 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
59158 all uses of ieee854 long double macros and unions. Simplify tests
59159 for long doubles that are fully specified by the high double.
59160 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
59161 Likewise.
59162 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
59163 Remove dead code too.
59164 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
59165 (__ieee754_ynl): Likewise.
59166 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
59167 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
59168 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
59169 Remove dead code too.
59170 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
59171 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
59172 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
59173 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
59174 Simplify.
59175 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
59176 Simplify.
59177 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
59178 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
59179 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
59180 Comment on variable precision.
59181 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
59182 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
59183 Likewise.
59184 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
59185 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
59186 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
59187 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
59188 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
59189
59190 2013-10-04 Alan Modra <amodra@gmail.com>
59191
59192 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
59193 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
59194 all uses of ieee854 long double macros and unions.
59195 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
59196 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
59197 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
59198 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
59199 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
59200 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
59201 Likewise.
59202 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
59203 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
59204 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
59205 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
59206 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
59207 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
59208 Simplify sign and nan test too.
59209 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
59210 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
59211 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
59212 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
59213 Likewise.
59214 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
59215 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
59216 Likewise.
59217 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59218 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
59219 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
59220 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
59221 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
59222 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
59223
59224 2013-10-04 Alan Modra <amodra@gmail.com>
59225
59226 * stdio-common/printf_size.c (__printf_size): Don't use
59227 union ieee854_long_double in fpnum union.
59228 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
59229 signbit macro to retrieve sign from long double.
59230 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
59231 retrieve sign from long double.
59232 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
59233 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
59234 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
59235 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
59236 * math/test-misc.c (main): Don't use union ieee854_long_double.
59237
59238 2013-10-04 Alan Modra <amodra@gmail.com>
59239
59240 [BZ #15680]
59241 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
59242 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
59243 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
59244 calculation. Remove unnecessary test for denormal exponent.
59245 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
59246 Correct handling of denormals. Avoid undefined shift behaviour.
59247 Correct normalisation of low mantissa when low double is denormal.
59248 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
59249 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
59250 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
59251 Correct normalisation of low mantissa. Test for overflow of high
59252 mantissa and normalise.
59253 (ldbl_nearbyint): Use more readable constant for two52.
59254 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
59255 (__mpn_construct_long_double): Fix test for overflow of high
59256 mantissa and correct normalisation. Avoid undefined shift.
59257
59258 2013-10-04 Alan Modra <amodra@gmail.com>
59259
59260 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
59261 (union ibm_extended_long_double): Define as an array of ieee754_double.
59262 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
59263 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
59264 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
59265 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
59266 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59267 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
59268 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59269 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
59270 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
59271 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
59272 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
59273
59274 2013-10-03 Joseph Myers <joseph@codesourcery.com>
59275
59276 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
59277 page size instead of calling getpagesize.
59278
59279 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
59280 (LOCFILE_ALIGN_MASK): Likewise.
59281 (LOCFILE_ALIGN_UP): Likewise.
59282 (LOCFILE_ALIGNED_P): Likewise.
59283 * locale/programs/ld-collate.c (collate_output): Use the new
59284 macros instead of __alignof__ (int32_t).
59285 * locale/weight.h (findidx): Likewise.
59286
59287 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
59288
59289 [BZ #431]
59290 * manual/string.texi: Fix strncat and wcsncat.
59291
59292 2013-10-03 Brooks Moses <bmoses@google.com>
59293
59294 [BZ #15915]
59295 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
59296 * Makerules: ...here, and adjust associated comments.
59297
59298 2013-10-02 Will Newton <will.newton@linaro.org>
59299
59300 * malloc/Makefile: Add tst-pvalloc.
59301 * malloc/tst-pvalloc.c: New file.
59302
59303 2013-10-02 Will Newton <will.newton@linaro.org>
59304
59305 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
59306 improve test coverage.
59307
59308 2013-10-02 Will Newton <will.newton@linaro.org>
59309
59310 * malloc/Makefile: Add tst-posix_memalign.
59311 * malloc/tst-posix_memalign.c: New file.
59312
59313 2013-10-01 Eric Blake <eblake@redhat.com>
59314
59315 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
59316 Use __THROWNL rather than __THROW on static functions.
59317
59318 2013-09-30 Petr Machata <pmachata@redhat.com>
59319
59320 * elf/elf.h (R_AARCH64_ABS16): New macro.
59321 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
59322 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
59323 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
59324 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
59325 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
59326 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
59327 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
59328 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
59329 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
59330 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
59331 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
59332 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
59333 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
59334 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
59335 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
59336 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
59337 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
59338 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
59339 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
59340 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
59341 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
59342 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
59343 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
59344 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
59345 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
59346 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
59347 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
59348 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
59349 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
59350 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
59351 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
59352 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
59353 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
59354 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
59355 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
59356 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
59357 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
59358 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
59359 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
59360 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
59361 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
59362 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
59363 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
59364 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
59365 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
59366 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
59367 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
59368 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
59369 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
59370 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
59371 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
59372 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
59373 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
59374 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
59375 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
59376 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
59377 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
59378 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
59379 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
59380 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
59381 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
59382 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
59383 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
59384 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
59385 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
59386 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
59387 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
59388 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
59389 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
59390 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
59391 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
59392 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
59393 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
59394 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
59395 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
59396 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
59397 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
59398 (R_AARCH64_TLSDESC_LDR): Likewise.
59399 (R_AARCH64_TLSDESC_ADD): Likewise.
59400 (R_AARCH64_TLSDESC_CALL): Likewise.
59401
59402 2013-09-30 Andreas Schwab <schwab@suse.de>
59403
59404 [BZ #15048]
59405 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
59406 the nss database lookup.
59407 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59408 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59409
59410 2013-09-28 Mike Frysinger <vapier@gentoo.org>
59411
59412 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
59413
59414 2013-09-28 P. J. McDermott <pj@pehjota.net>
59415
59416 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
59417 ${Bash-specific parameter/pattern/string} parameter expansion.
59418 * sysdeps/unix/make-syscalls.sh: Likewise.
59419
59420 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59421
59422 * sysdeps/sh/stackguard-macros.h: New file.
59423
59424 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
59425
59426 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
59427 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
59428 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
59429 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
59430 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59431 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
59432
59433 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59434
59435 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
59436 Fix thread ID register.
59437
59438 2013-09-25 Joseph Myers <joseph@codesourcery.com>
59439
59440 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
59441 [POSIX || UNIX98]: Require rather than permitting all symbols from
59442 <time.h>.
59443 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
59444 element of struct sched_param.
59445 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
59446 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
59447 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
59448 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
59449 constant.
59450
59451 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
59452
59453 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
59454 argument calculation.
59455
59456 2013-09-24 Joseph Myers <joseph@codesourcery.com>
59457
59458 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
59459 Expect macro.
59460 [POSIX] (pthread_attr_t): Do not require type.
59461 [POSIX] (pthread_cond_t): Likewise.
59462 [POSIX] (pthread_condattr_t): Likewise.
59463 [POSIX] (pthread_key_t): Likewise.
59464 [POSIX] (pthread_mutex_t): Likewise.
59465 [POSIX] (pthread_mutexattr_t): Likewise.
59466 [POSIX] (pthread_once_t): Likewise.
59467 [POSIX] (pthread_t): Likewise.
59468 [POSIX-based standards] (pthread_atfork): Expect function.
59469
59470 2013-09-24 Joseph Myers <joseph@codesourcery.com>
59471 Richard Sandiford <richard@codesourcery.com>
59472
59473 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
59474 (swap_endianness_p): New extern variable.
59475 (set_big_endian): New inline function.
59476 (maybe_swap_uint32): Likewise.
59477 (maybe_swap_uint32_array): Likewise.
59478 (maybe_swap_uint32_obstack): Likewise.
59479 * locale/programs/locfile.c: Include <stdbool.h>.
59480 (swap_endianness_p): New variable.
59481 (add_locale_uint32): Call maybe_swap_uint32.
59482 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
59483 (write_locale_data): Call maybe_swap_uint32_array.
59484 * locale/programs/ld-collate.c (obstack_int32_grow): Call
59485 maybe_swap_uint32.
59486 (obstack_int32_grow_fast): Likewise.
59487 (output_weightwc): Call maybe_swap_uint32_obstack.
59488 (collate_output): Likewise.
59489 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
59490 (OPT_LITTLE_ENDIAN): Likewise.
59491 (options): Add --little-endian and --big-endian options.
59492 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
59493 * locale/programs/locarchive.c: Include "locfile.h".
59494 (GET): New macro.
59495 (SET): Likewise.
59496 (INC): Likewise.
59497 (create_archive): Use the new macros to access fields of
59498 structures directly mapped from or written to locale archives.
59499 (oldlocrecentcmp): Likewise.
59500 (enlarge_archive): Likewise.
59501 (insert_name): Likewise.
59502 (add_alias): Likewise.
59503 (add_locale): Likewise.
59504 (delete_locales_from_archive): Likewise.
59505 (show_archive_content): Likewise.
59506 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
59507 locale data.
59508
59509 2013-09-24 Roland McGrath <roland@hack.frob.com>
59510
59511 * manual/freemanuals.texi: Updated from (newly) canonical copy at
59512 http://www.gnu.org/doc/freemanuals.texi.
59513 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
59514
59515 2013-09-24 Will Newton <will.newton@linaro.org>
59516
59517 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
59518 macro.
59519
59520 2013-09-23 Joseph Myers <joseph@codesourcery.com>
59521
59522 * locale/hashval.h (compute_hashval): Interpret bytes of key as
59523 unsigned char.
59524
59525 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
59526
59527 * manual/threads.texi (POSIX Threads): Fix a typo.
59528
59529 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
59530
59531 [BZ #14547]
59532 * string/tst-strcoll-overflow.c: New test case.
59533 * string/Makefile (xtests): Add tst-strcoll-overflow.
59534 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
59535 cache if string sizes may cause integer overflow.
59536
59537 [BZ #14547]
59538 * string/strcoll_l.c (coll_seq): New members rule, idx,
59539 save_idx and back_us.
59540 (get_next_seq_nocache): New function.
59541 (do_compare_nocache): New function.
59542 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
59543 when malloc fails.
59544
59545 2013-09-23 Carlos O'Donell <carlos@redhat.com>
59546
59547 [BZ #15754]
59548 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
59549 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
59550 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
59551
59552 [BZ #15754]
59553 * elf/Makefile (tests): Add tst-ptrguard1.
59554 (tests-static): Add tst-ptrguard1-static.
59555 (tst-ptrguard1-ARGS): Define.
59556 (tst-ptrguard1-static-ARGS): Define.
59557 * elf/tst-ptrguard1.c: New file.
59558 * elf/tst-ptrguard1-static.c: New file.
59559 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
59560 * sysdeps/i386/stackguard-macros.h: Likewise.
59561 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
59562 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
59563 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
59564 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
59565 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
59566 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
59567
59568 2013-09-23 Hector Marco <hecmargi@upv.es>
59569 Ismael Ripoll <iripoll@disca.upv.es>
59570 Carlos O'Donell <carlos@redhat.com>
59571
59572 [BZ #15754]
59573 * sysdeps/generic/stackguard-macros.h: Define
59574 __pointer_chk_guard_local and POINTER_CHK_GUARD.
59575 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
59576 Define __pointer_chk_guard_local.
59577 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
59578 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
59579
59580 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
59581
59582 [BZ #15859]
59583 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
59584
59585 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
59586
59587 * include/string.h (__ffs): Declare as hidden.
59588 * string/ffs.c (__ffs): Define as hidden.
59589 * sysdeps/i386/ffs.c (__ffs): Likewise.
59590 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
59591 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
59592 * sysdeps/s390/ffs.c (__ffs): Likewise.
59593 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
59594
59595 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
59596
59597 * NEWS: Mention malloc probes.
59598
59599 * malloc/arena.c (new_heap): New memory_heap_new probe.
59600 (grow_heap): New memory_heap_more probe.
59601 (shrink_heap): New memory_heap_less probe.
59602 (heap_trim): New memory_heap_free probe.
59603 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
59604 (systrim): New memory_sbrk_less probe.
59605 * manual/probes.texi: Document them.
59606
59607 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
59608 * manual/probes.texi: Document it.
59609
59610 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
59611 (__libc_realloc): Add memory_realloc_retry probe.
59612 (__libc_memalign): Add memory_memalign_retry probe.
59613 (__libc_valloc): Add memory_valloc_retry probe.
59614 (__libc_pvalloc): Add memory_pvalloc_retry probe.
59615 (__libc_calloc): Add memory_calloc_retry probe.
59616 * manual/probes.texi: Document them.
59617
59618 * malloc/arena.c (get_free_list): Add probe
59619 memory_arena_reuse_free_list.
59620 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
59621 and memory_arena_reuse.
59622 (arena_get2) [!PER_THREAD]: Likewise.
59623 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
59624 memory_arena_reuse_realloc.
59625 * manual/probes.texi: Document them.
59626
59627 * malloc/malloc.c (__libc_free): Add
59628 memory_mallopt_free_dyn_thresholds probe.
59629 (__libc_mallopt): Add multiple memory_mallopt probes.
59630 * manual/probes.texi: Document them.
59631
59632 * malloc/malloc.c: Include stap-probe.h.
59633 (__libc_mallopt): Add memory_mallopt probe.
59634 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
59635 * manual/probes.texi: New.
59636 * manual/Makefile (chapters): Add probes.
59637 * manual/threads.texi: Set next node.
59638
59639 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
59640
59641 [BZ #15963, #13985]
59642 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
59643 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
59644 Add `Chinese' to `nan' entry name.
59645
59646 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
59647
59648 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
59649 (POLYNOMIAL): Likewise.
59650 (TAYLOR_SINCOS): Likewise.
59651 (TAYLOR_SLOW): Likewise.
59652 (__sin): Use TAYLOR_SINCOS.
59653 (__cos): Likewise.
59654 (slow): Use TAYLOR_SLOW.
59655 (sloww): Likewise.
59656 (bsloww): Likewise.
59657 (csloww): Likewise.
59658
59659 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59660
59661 * stdlib/strtod_l.c: Fix buffer overrun.
59662
59663 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
59664
59665 * benchtests/Makefile (bench): Add sincos.
59666 * benchtests/bench-sincos.c: New file.
59667
59668 * math/libm-test.inc (cos_test_data): New test inputs.
59669 (sin_test_data): Likewise.
59670
59671 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
59672 macro.
59673 (__sin): Use it.
59674 (__cos): Likewise.
59675 (slow1): Likewise.
59676 (slow2): Likewise.
59677 (sloww1): Likewise.
59678 (sloww2): Likewise.
59679 (bsloww1): Likewise.
59680 (bsloww2): Likewise.
59681 (cslow2): Likewise.
59682 (csloww1): Likewise.
59683 (csloww2): Likewise.
59684
59685 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
59686 function.
59687 (__sin): Use it.
59688 (__cos): Likewise.
59689
59690 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
59691 gotos.
59692 (__cos): Likewise.
59693
59694 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
59695
59696 * config.h.in (HAVE_MIPS_NAN2008): New macro.
59697 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
59698 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
59699 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
59700 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
59701 * elf/cache.c (print_entry): Handle the new cache flags.
59702
59703 2013-09-18 Joseph Myers <joseph@codesourcery.com>
59704 Aldy Hernandez <aldyh@redhat.com>
59705
59706 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
59707 Change condition to [_SOFT_FLOAT].
59708 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
59709 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
59710 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
59711 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
59712 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
59713 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
59714 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
59715 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
59716 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
59717 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
59718 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
59719 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
59720 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
59721 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
59722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
59723 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
59724 declaration.
59725
59726 2013-09-18 Joseph Myers <joseph@codesourcery.com>
59727
59728 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
59729 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
59730 (__longjmp): Use LOAD_GP to load saved GPRs.
59731 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
59732 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
59733 (__sigsetjmp): Use SAVE_GP to save GPRs.
59734
59735 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
59736 Do not append -msoft-float.
59737 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
59738
59739 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
59740
59741 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
59742
59743 2013-09-17 Joseph Myers <joseph@codesourcery.com>
59744
59745 [BZ #15966]
59746 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
59747 (_FPU_GETCW): Use initial "__" on variable and field names but not
59748 on macro parameter name.
59749 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
59750 parentheses around reference to macro parameter.
59751
59752 2013-09-13 Richard Sandiford <richard@codesourcery.com>
59753
59754 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
59755 prototype.
59756 (ctype_startup): Use uint32_t in cast and sizeof for
59757 ctype->charnames.
59758
59759 2013-09-11 Jia Liu <proljc@gmail.com>
59760
59761 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
59762 __daddr_t_defined.
59763 [__FreeBSD__]: Likewise.
59764
59765 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
59766
59767 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
59768 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
59769 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
59770 (strchr): Remove __strchr_sse42 ifunc selection.
59771 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
59772 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
59773
59774 2013-09-11 Will Newton <will.newton@linaro.org>
59775
59776 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
59777 parameter to RES. Remove hardcoded 1000 value.
59778 * benchtests/bench-skeleton.c (main): Pass RES parameter
59779 to TIMING_INIT and multiply result by 1000.
59780
59781 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59782
59783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59784
59785 2013-09-11 Andreas Schwab <schwab@suse.de>
59786
59787 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
59788 if not defined.
59789 (O_TMPFILE) [__USE_GNU]: Define.
59790 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
59791 Define.
59792
59793 2013-09-11 Will Newton <will.newton@linaro.org>
59794
59795 [BZ #15857]
59796 * malloc/malloc.c (__libc_memalign): Check the value of bytes
59797 does not overflow.
59798
59799 2013-09-11 Will Newton <will.newton@linaro.org>
59800
59801 [BZ #15856]
59802 * malloc/malloc.c (__libc_valloc): Check the value of bytes
59803 does not overflow.
59804
59805 2013-09-11 Will Newton <will.newton@linaro.org>
59806
59807 [BZ #15855]
59808 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
59809 does not overflow.
59810
59811 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
59812
59813 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
59814 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59815 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59816 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59817 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59818
59819 2013-09-10 Allan McRae <allan@archlinux.org>
59820
59821 [BZ #15748]
59822 * manual/arith.texi (Parsing of Floats): Clarify
59823 cross-reference.
59824
59825 [BZ #15849]
59826 * manual/install.texi (Running make install): Mention
59827 --enable-pt-chown.
59828 * INSTALL: Regenerated.
59829
59830 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
59831
59832 * csu/init-first.c (_init): Remove the !SHARED condition around
59833 FPU control word initialization.
59834 * elf/dl-support.c (_dl_fpu_control): New variable.
59835 (_dl_aux_init) <AT_FPUCW>: Initialize it.
59836 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
59837 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
59838 * math/test-fpucw-static.c: New file.
59839 * math/test-fpucw-ieee.c: New file.
59840 * math/test-fpucw-ieee-static.c: New file.
59841 * math/Makefile (tests): Add `test-fpucw-ieee' and
59842 `$(tests-static)'.
59843 (tests-static): New variable.
59844 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
59845 dependency to...
59846 [($(build-shared),yes)]
59847 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
59848 ... this.
59849 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
59850 New dependency.
59851
59852 2013-09-09 Allan McRae <allan@archlinux.org>
59853
59854 [BZ #15939]
59855 * manual/string.texi (Collation Functions): Fix typo in
59856 strcoll example.
59857 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
59858
59859 [BZ #15893]
59860 * stdlib/isomac.c (get_null_defines): Fix memory leak.
59861
59862 [BZ #15892]
59863 * libio/memstream.c (open_memstream): Fix memory leak.
59864 * libio/wmemstream.c (open_wmemstream): Likewise.
59865
59866 [BZ #15895]
59867 * nscd/netgroupcache.c: Fix nesting of ifdefs.
59868
59869 2013-09-09 Will Newton <will.newton@linaro.org>
59870
59871 * malloc/Makefile: Add tst-realloc to tests.
59872 * malloc/tst-realloc.c: New file.
59873
59874 2013-09-09 Allan McRae <allan@archlinux.org>
59875
59876 [BZ #15844]
59877 * COPYING: Update from GNU website to fix FSF address.
59878 * COPYING.LIB: Likewise.
59879
59880 2013-09-06 David S. Miller <davem@davemloft.net>
59881
59882 * po/zh_TW.po: Update Chinese (traditional) translation from
59883 translation project.
59884
59885 2013-09-06 Richard Sandiford <richard@codesourcery.com>
59886 Joseph Myers <joseph@codesourcery.com>
59887
59888 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
59889 "localeinfo.h".
59890 (obstack_chunk_alloc): New macro.
59891 (obstack_chunk_free): Likewise.
59892 (record_offset): New function.
59893 (init_locale_data): Likewise.
59894 (align_locale_data): Likewise.
59895 (add_locale_empty): Likewise.
59896 (add_locale_raw_data): Likewise.
59897 (add_locale_raw_obstack): Likewise.
59898 (add_locale_string): Likewise.
59899 (add_locale_wstring): Likewise.
59900 (add_locale_uint32): Likewise.
59901 (add_locale_uint32_array): Likewise.
59902 (add_locale_char): Likewise.
59903 (start_locale_structure): Likewise.
59904 (end_locale_structure): Likewise.
59905 (start_locale_prelude): Likewise.
59906 (end_locale_prelude): Likewise.
59907 (write_locale_data): Take locale_file structure rather than an
59908 iovec.
59909 * locale/programs/locfile.h: Include "obstack.h".
59910 (struct locale_file): Change to store locale file contents instead
59911 of header.
59912 (init_locale_data): New prototype.
59913 (align_locale_data): Likewise.
59914 (add_locale_empty): Likewise.
59915 (add_locale_raw_data): Likewise.
59916 (add_locale_raw_obstack): Likewise.
59917 (add_locale_string): Likewise.
59918 (add_locale_wstring): Likewise.
59919 (add_locale_uint32): Likewise.
59920 (add_locale_uint32_array): Likewise.
59921 (add_locale_char): Likewise.
59922 (start_locale_structure): Likewise.
59923 (end_locale_structure): Likewise.
59924 (start_locale_prelude): Likewise.
59925 (end_locale_prelude): Likewise.
59926 (write_locale_data): Update prototype.
59927 * locale/programs/3level.h (struct TABLE): Remove result field.
59928 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
59929 Use new locale_file interface.
59930 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
59931 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
59932 * locale/programs/ld-address.c (address_output): Use new
59933 locale_file interface.
59934 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
59935 NO_ADD_LOCALE.
59936 (collate_finish): Don't call collseq_table_finalize.
59937 (collate_output): Use new locale_file interface.
59938 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
59939 in file.
59940 (NO_FINALIZE): Change to NO_ADD_LOCALE.
59941 (TABLE): Move defines earlier in file.
59942 (ELEMENT): Likewise.
59943 (DEFAULT): Likewise.
59944 (wctrans_table_add): Move macro and inline function earlier in
59945 file.
59946 (struct wctype_table): Move type earlier in file.
59947 (add_locale_wctype_table): New static prototype.
59948 (struct locale_ctype_t): Use logical types instead of struct iovec
59949 pointers for members.
59950 (ctype_output): Use new locale_file interface.
59951 (wctype_table_finalize): Change to add_locale_wctype_table. Use
59952 new locale_file interface.
59953 (allocate_arrays): Update for use of new locale_file interface.
59954 * locale/programs/ld-identification.c (identification_output): Use
59955 new locale_file interface.
59956 * locale/programs/ld-measurement.c (measurement_output): Likewise.
59957 * locale/programs/ld-messages.c (messages_output): Likewise.
59958 * locale/programs/ld-monetary.c (monetary_output): Likewise.
59959 * locale/programs/ld-name.c (name_output): Likewise.
59960 * locale/programs/ld-numeric.c (numeric_output): Likewise.
59961 * locale/programs/ld-paper.c (paper_output): Likewise.
59962 * locale/programs/ld-telephone.c (telephone_output): Likewise.
59963 * locale/programs/ld-time.c (time_output): Likewise.
59964
59965 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59966
59967 * benchtests/Makefile: Add memrchr benchmark.
59968 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
59969 benchmark as memrchr.
59970 * benchtests/bench-memrchr-ifunc.c: New file.
59971 * benchtests/bench-memrchr.c: New file.
59972
59973 2013-09-06 Will Newton <will.newton@linaro.org>
59974
59975 * benchtests/Makefile (string-bench): Add memcpy.
59976
59977 2013-09-05 Carlos O'Donell <carlos@redhat.com>
59978 Cong Wang <amwang@redhat.com>
59979
59980 [BZ #15850]
59981 * sysdeps/unix/sysv/linux/bits/in.h
59982 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
59983 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
59984 before __USE_KERNEL_IPV6_DEFS uses.
59985 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
59986 IPPROTO_BEETPH.
59987 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
59988 sockaddr_in6, or ipv6_mreq.
59989
59990 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59991
59992 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
59993 memory access for final bytes in some large inputs.
59994 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
59995
59996 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59997
59998 * string/test-memrchr.c: New file.
59999 * string/test-memrchr-ifunc.c: New file.
60000 * string/Makefile: Add new memrchr testcase.
60001
60002 2013-09-05 Mike Frysinger <vapier@gentoo.org>
60003
60004 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
60005 fanotify_init returns EPERM.
60006
60007 2013-09-04 Joseph Myers <joseph@codesourcery.com>
60008
60009 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
60010 errors.
60011 (top level): Treat second token from macro or constant entries for
60012 allowed headers as allowed.
60013 * include/complex.h: Condition internal declarations on
60014 [!_ISOMAC].
60015 * include/fenv.h: Condition include of <stdbool.h> and internal
60016 declarations on [!_ISOMAC].
60017
60018 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
60019
60020 [BZ #15923]
60021 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
60022
60023 2013-09-04 Joseph Myers <joseph@codesourcery.com>
60024
60025 * configure.in (--enable-versioning): Remove configure option.
60026 (libc_cv_asm_symver_directive): Remove configure test.
60027 (libc_cv_ld_version_script_option): Likewise.
60028 (VERSIONING): Remove variable and AC_SUBST.
60029 (DO_VERSIONING): Remove AC_DEFINE.
60030 * configure: Regenerated.
60031 * config.h.in (DO_VERSIONING): Remove macro.
60032 * Makerules [$(versioning) = yes]: Change conditionals to
60033 [$(build-shared) = yes].
60034 * config.make.in (versioning): Remove variable.
60035 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
60036 [$(build-shared) = yes].
60037 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
60038 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
60039 * elf/Makefile [$(versioning) = yes]: Change conditionals to
60040 [$(build-shared) = yes].
60041 * extra-lib.mk [$(versioning) = yes]: Likewise.
60042 * hurd/Makefile [$(versioning) = yes]: Likewise.
60043 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
60044 [SHARED].
60045 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
60046 [SHARED].
60047 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
60048 [SHARED && !NO_HIDDEN].
60049 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
60050 [SHARED].
60051 [SHARED && DO_VERSIONING]: Likewise..
60052 * libio/Makefile [$(versioning) = yes]: Change conditionals to
60053 [$(build-shared) = yes].
60054 * manual/install.texi (--disable-versioning): Remove
60055 documentation.
60056 * INSTALL: Regenerated.
60057 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
60058 to [SHARED].
60059 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
60060 [$(build-shared) = yes].
60061 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
60062 * sysdeps/i386/i686/multiarch/strstr-c.c
60063 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
60064 [SHARED && !NO_HIDDEN].
60065 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
60066 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
60067 * sysdeps/powerpc/powerpc32/dl-machine.c
60068 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
60069 * sysdeps/powerpc/powerpc32/sysdep.h
60070 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
60071 to [SHARED && PIC && !NO_HIDDEN].
60072 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
60073 conditional to [SHARED].
60074
60075 2013-09-04 Will Newton <will.newton@linaro.org>
60076
60077 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
60078 * benchtests/bench-string.h: Include bench-timing.h instead
60079 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
60080 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
60081 call to HP_TIMING_DIFF_INIT.
60082 * benchtests/bench-memccpy.c: Use bench-timing.h macros
60083 instead of hp-timing.h macros.
60084 * benchtests/bench-memchr.c: Likewise.
60085 * benchtests/bench-memcmp.c: Likewise.
60086 * benchtests/bench-memcpy.c: Likewise.
60087 * benchtests/bench-memmem.c: Likewise.
60088 * benchtests/bench-memmove.c: Likewise.
60089 * benchtests/bench-memset.c: Likewise.
60090 * benchtests/bench-rawmemchr.c: Likewise.
60091 * benchtests/bench-strcasecmp.c: Likewise.
60092 * benchtests/bench-strcasestr.c: Likewise.
60093 * benchtests/bench-strcat.c: Likewise.
60094 * benchtests/bench-strchr.c: Likewise.
60095 * benchtests/bench-strcmp.c: Likewise.
60096 * benchtests/bench-strcpy.c: Likewise.
60097 * benchtests/bench-strcpy_chk.c: Likewise.
60098 * benchtests/bench-strlen.c: Likewise.
60099 * benchtests/bench-strncasecmp.c: Likewise.
60100 * benchtests/bench-strncat.c: Likewise.
60101 * benchtests/bench-strncmp.c: Likewise.
60102 * benchtests/bench-strncpy.c: Likewise.
60103 * benchtests/bench-strnlen.c: Likewise.
60104 * benchtests/bench-strpbrk.c: Likewise.
60105 * benchtests/bench-strrchr.c: Likewise.
60106 * benchtests/bench-strspn.c: Likewise.
60107 * benchtests/bench-strstr.c: Likewise.
60108
60109 2013-09-04 Will Newton <will.newton@linaro.org>
60110
60111 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
60112
60113 2013-09-03 Joseph Myers <joseph@codesourcery.com>
60114
60115 [BZ #15427]
60116 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
60117 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
60118 * math/libm-test.inc (lgamma_test_data): Add more tests.
60119 * sysdeps/i386/fpu/libm-test-ulps: Update.
60120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60121
60122 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
60123
60124 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
60125 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60126 Add ifunc.
60127 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60128 Add strcmp-sse2-unaligned
60129 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
60130
60131 2013-09-02 Mike Frysinger <vapier@gentoo.org>
60132
60133 * Versions.def (libc): Add GLIBC_2.19.
60134
60135 2013-09-02 Mike Frysinger <vapier@gentoo.org>
60136
60137 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
60138 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
60139
60140 2013-09-02 Joseph Myers <joseph@codesourcery.com>
60141
60142 [BZ #14155]
60143 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
60144 intermediate calculations in recurrence.
60145 (__ieee754_ynf): Likewise.
60146 * math/libm-test.inc (jn_test_data): Do not allow spurious
60147 underflow exception. Add more tests.
60148 (yn_test_data): Add more tests.
60149 * sysdeps/i386/fpu/libm-test-ulps: Update.
60150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60151
60152 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
60153
60154 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
60155
60156 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
60157
60158 * csu/init-first.c: Fix then/than typos.
60159 * locale/programs/ld-collate.c: Likewise.
60160 * locale/programs/linereader.h: Likewise.
60161 * manual/charset.texi: Likewise.
60162 * manual/filesys.texi: Likewise.
60163 * manual/stdio.texi: Likewise.
60164 * manual/string.texi: Likewise.
60165 * stdlib/fmtmsg.c: Likewise.
60166 * sysdeps/i386/stpncpy.S: Likewise.
60167 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60168 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
60169 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60170 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
60171
60172 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
60173
60174 * elf/dl-open.c: Fix typos.
60175 * iconvdata/gbbig5.c: Likewise.
60176 * iconvdata/iso-2022-jp.c: Likewise.
60177 * iconv/gconv_int.h: Likewise.
60178 * iconv/loop.c: Likewise.
60179 * nis/rpcsvc/nis.h: Likewise.
60180 * resolv/ns_name.c: Likewise.
60181 * stdio-common/vfscanf.c: Likewise.
60182 * streams/stropts.h: Likewise.
60183 * sunrpc/rpc_thread.c: Likewise.
60184 * sysdeps/i386/strpbrk.S: Likewise.
60185 * sysdeps/ieee754/k_standard.c: Likewise.
60186 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60187 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60188 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
60189 * sysdeps/mach/hurd/profil.c: Likewise.
60190 * sysdeps/s390/dl-procinfo.h: Likewise.
60191 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
60192 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
60193 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
60194 * sysdeps/x86_64/dl-trampoline.S: Likewise.
60195 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
60196
60197 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
60198
60199 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
60200 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
60201
60202 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
60203
60204 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
60205 aix specific files.
60206 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
60207 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
60208 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
60209 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
60210 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
60211 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
60212 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
60213 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
60214
60215 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
60216 Roland McGrath <roland@hack.frob.com>
60217
60218 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
60219 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
60220
60221 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
60222
60223 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
60224 __executable_start symbol instead of _start.
60225
60226 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
60227
60228 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
60229 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
60230 Move macros to...
60231 * sysdeps/gnu/ldsodefs.h: ... this new file.
60232
60233 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
60234 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
60235 instead of ELFOSABI_LINUX.
60236
60237 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
60238 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
60239 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
60240 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
60241 Likewise.
60242 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
60243 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
60244 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
60245 Likewise.
60246 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
60247 (ibm_extended_long_double): Add ieee_nan member.
60248 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
60249 (do_test): New function.
60250
60251 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
60252 TEST_TRUNC.
60253 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
60254 functions, renamed from truncdfsf_test, trunctfsf_test,
60255 trunctfdf_test.
60256 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
60257 functions.
60258 (do_test): Run all these.
60259
60260 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
60261
60262 * argp/argp-help.c: Fix typos.
60263 * argp/argp-parse.c: Likewise.
60264 * debug/backtracesyms.c: Likewise.
60265 * elf/elf.h: Likewise.
60266 * malloc/malloc.c: Likewise.
60267 * nis/nis_print.c: Likewise.
60268 * resolv/res_comp.c: Likewise.
60269 * stdlib/stdlib.h: Likewise.
60270 * sunrpc/clnt_tcp.c: Likewise.
60271 * sunrpc/clnt_udp.c: Likewise.
60272 * sunrpc/clnt_unix.c: Likewise.
60273 * sysdeps/unix/bsd/ptsname.c: Likewise.
60274 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
60275 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
60276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
60277 Likewise.
60278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
60279 Likewise.
60280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
60281 Likewise.
60282 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
60283
60284 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
60285
60286 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
60287 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60288
60289 2013-08-27 Mike Frysinger <vapier@gentoo.org>
60290
60291 [BZ #15897]
60292 * dlfcn/Makefile (tests): Add bug-dl-leaf.
60293 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
60294 ($(objpfx)bug-dl-leaf): New rule.
60295 ($(objpfx)bug-dl-leaf.so): Likewise.
60296 ($(objpfx)bug-dl-leaf.out): Likewise.
60297 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
60298 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
60299 * dlfcn/bug-dl-leaf.c: New test.
60300 * dlfcn/bug-dl-leaf-lib.c: Likewise.
60301 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
60302 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
60303 (dlclose): Likewise.
60304 (dlmopen): Likewise.
60305
60306 2013-08-27 Roland McGrath <roland@hack.frob.com>
60307
60308 * include/netdb.h [!_ISOMAC]:
60309 Don't include <tls.h>.
60310 (h_errno, __libc_h_errno): Move declaration and macros out of
60311 [_LIBC_REENTRANT].
60312
60313 * include/resolv.h [_RESOLV_H_]:
60314 Don't include <tls.h>.
60315 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
60316 * resolv/res_libc.c: Don't include <tls.h>.
60317 (_res): Use __attribute__ ((nocommon)) in place of
60318 __attribute__ ((section (".bss"))).
60319
60320 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
60321 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
60322
60323 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
60324
60325 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
60326 only under [SIOCGIFCONF && SIOCGIFNETMASK].
60327
60328 * resolv/res_mkquery.c: Include <sys/time.h>.
60329
60330 * inet/ifreq.c: Moved to ...
60331 * sysdeps/unix/ifreq.c: ... here.
60332 * inet/ifreq.c: New file, true stub version.
60333
60334 * socket/sa_len.c: New file.
60335 * socket/Makefile (aux): Add it.
60336 * sysdeps/unix/sysv/linux/Makefile
60337 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
60338 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
60339 and #include <socket/sa_len.c>.
60340 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
60341 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
60342
60343 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
60344 * bits/socket.h: ... here.
60345
60346 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
60347 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
60348 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
60349
60350 2013-08-27 Andreas Schwab <schwab@suse.de>
60351
60352 [BZ #15736]
60353 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
60354 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
60355 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
60356 * string/test-strcasecmp.c (test_main): Run tests in several
60357 locales.
60358 * string/test-strncasecmp.c (test_main): Likewise.
60359
60360 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
60361 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
60362 to __strcasecmp_nonascii and __strncasecmp_nonascii.
60363 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
60364 (__strncasecmp_ssse3) [PIC]: Likewise.
60365
60366 2013-08-26 Roland McGrath <roland@hack.frob.com>
60367
60368 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
60369
60370 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
60371 instead of explicitly declaring xdecrypt.
60372 * nis/nss_nis/nis-publickey.c: Likewise.
60373
60374 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
60375
60376 [BZ #15890]
60377 * nscd/aicache.c: Include res_hconf.h.
60378 (addhstaiX): Initialize res_hconf.
60379
60380 2013-08-26 Andreas Schwab <schwab@suse.de>
60381
60382 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
60383 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
60384
60385 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
60386
60387 * nscd/aicache.c (addhstaiX): Fix indentation.
60388
60389 2013-08-25 Mike Frysinger <vapier@gentoo.org>
60390
60391 * configure.ac: Quote $build_pt_chown test.
60392 * configure: Regenerated.
60393
60394 2013-08-23 Joseph Myers <joseph@codesourcery.com>
60395
60396 [BZ #15532]
60397 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
60398 * math/s_cexpf.c (__cexpf): Likewise.
60399 * math/s_cexpl.c (__cexpl): Likewise.
60400 * math/libm-test.inc (cexp_test_data): Correct expected return
60401 value for NaN + i0. Add another test.
60402
60403 2013-08-22 David S. Miller <davem@davemloft.net>
60404
60405 * po/ca.po: Update Catalan translation from translation project.
60406 * po/uk.po: Add Ukrainian translations from translation project.
60407
60408 2013-08-21 Joseph Myers <joseph@codesourcery.com>
60409
60410 [BZ #15797]
60411 * math/s_fdim.c (__fdim): Check for infinite arguments if result
60412 is infinite, not alongside NaN test.
60413 * math/s_fdimf.c (__fdimf): Likewise.
60414 * math/s_fdiml.c (__fdiml): Likewise.
60415 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
60416 errno is unchanged.
60417
60418 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
60419
60420 * argp/argp-help.c: Fix typos.
60421 * crypt/speeds.c: Likewise.
60422 * csu/check_fds.c: Likewise.
60423 * elf/dl-load.c: Likewise.
60424 * elf/dl-open.c: Likewise.
60425 * elf/reldep3.c: Likewise.
60426 * elf/reldep.c: Likewise.
60427 * elf/sprof.c: Likewise.
60428 * iconv/iconv_charmap.c: Likewise.
60429 * iconv/skeleton.c: Likewise.
60430 * iconv/strtab.c: Likewise.
60431 * io/lockf64.c: Likewise.
60432 * libio/libioP.h: Likewise.
60433 * resolv/gai_notify.c: Likewise.
60434 * resolv/ns_name.c: Likewise.
60435 * resolv/ns_samedomain.c: Likewise.
60436 * resolv/res_send.c: Likewise.
60437 * stdlib/random.c: Likewise.
60438 * sunrpc/rpc/xdr.h: Likewise.
60439 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
60440 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
60441 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
60442 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
60443 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
60444 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
60445 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
60446 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
60447 * sysdeps/mach/hurd/check_fds.c: Likewise.
60448 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
60449 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
60450 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60451 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
60452 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60453 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
60454 * sysdeps/pthread/aio_notify.c: Likewise.
60455 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
60456 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
60457 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
60458 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60459 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
60460
60461 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
60462
60463 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
60464 version if bit_Slow_SSE4_2 is set.
60465 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60466 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60467
60468 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60469
60470 [BZ #15867]
60471 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
60472 trampoline stack frame information.
60473 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
60474 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
60475 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
60476 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
60477 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
60478 * sysdeps/unix/sysv/linux/powerpc/init-first.c
60479 (_libc_vdso_platform_setup): Initialize the signal trampolines.
60480 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
60481 sa_flags value.
60482 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
60483 interrupting a syscall and set with option SA_SIGINFO.
60484
60485 2013-08-20 Joseph Myers <joseph@codesourcery.com>
60486
60487 [BZ #15531]
60488 * math/s_cproj.c (__cproj): Only return an infinity if one part of
60489 argument is infinite.
60490 * math/s_cprojf.c (__cprojf): Likewise.
60491 * math/s_cprojl.c (__cprojl): Likewise.
60492 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
60493 * math/libm-test.inc (cproj_test_data): Add more tests.
60494
60495 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
60496
60497 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
60498 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
60499 size. Use __ffs to determine corresponding shift.
60500
60501 2013-08-20 Joseph Myers <joseph@codesourcery.com>
60502 Roland McGrath <roland@hack.frob.com>
60503
60504 * Makefile (INSTALL): Remove trailing blank lines from output of
60505 makeinfo.
60506
60507 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60508
60509 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
60510 Align 32 bit compat elf_greg to 8 bytes.
60511
60512 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
60513
60514 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
60515
60516 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
60517
60518 * string/strcoll_l.c (coll_seq): New structure.
60519 (get_next_seq_cached): New function.
60520 (get_next_seq): New function.
60521 (do_compare): New function.
60522 (STRCOLL): Use GNU style definition. Simplify implementation
60523 by using get_next_seq, get_next_seq_cached and do_compare.
60524
60525 2013-08-16 Florian Weimer <fweimer@redhat.com>
60526
60527 [BZ #14699]
60528 CVE-2013-4237
60529 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
60530 member.
60531 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
60532 member.
60533 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
60534 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
60535 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
60536 conditional.
60537 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
60538 GETDENTS_64BIT_ALIGNED.
60539 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
60540 * manual/filesys.texi (Reading/Closing Directory): Document
60541 ENAMETOOLONG return value of readdir_r. Recommend readdir more
60542 strongly.
60543 * manual/conf.texi (Limits for Files): Add portability note to
60544 NAME_MAX, PATH_MAX.
60545 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
60546
60547 2013-08-13 Andreas Schwab <schwab@suse.de>
60548
60549 [BZ #15749]
60550 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
60551 of fabs.
60552 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
60553 LDBL_MAX_EXP >= 16384]: Add tests for it.
60554
60555 2013-08-12 David S. Miller <davem@davemloft.net>
60556
60557 * version.h (RELEASE): Set to "development".
60558 (VERSION): Set to "2.18.90".
60559 * NEWS: Add 2.19 section.
60560
60561 2013-08-03 David S. Miller <davem@davemloft.net>
60562
60563 * po/ko.po: Update Korean translation from translation project.
60564
60565 2013-08-01 David S. Miller <davem@davemloft.net>
60566
60567 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
60568 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
60569 Bilka.
60570
60571 2013-07-30 David S. Miller <davem@davemloft.net>
60572
60573 * po/fr.po: Update French translation from translation project.
60574
60575 2013-07-28 David S. Miller <davem@davemloft.net>
60576
60577 * po/cs.po: Update Czech translation from translation project.
60578
60579 * po/sv.po: Update Swedish translation from translation project.
60580
60581 2013-07-27 David S. Miller <davem@davemloft.net>
60582
60583 * po/eo.po: Update Esperanto translation from translation project.
60584
60585 * po/vi.po: Update Vietnamese translation from translation project.
60586
60587 * po/de.po: Update German translation from translation project.
60588
60589 2013-07-26 David S. Miller <davem@davemloft.net>
60590
60591 * po/bg.po: Update Bulgarian translation from translation project.
60592
60593 * po/nl.po: Update Dutch translation from translation project.
60594 * po/pl.po: Update Polish translation from translation project.
60595 * po/ru.po: Update Russian translation from translation project.
60596
60597 2013-07-24 David S. Miller <davem@davemloft.net>
60598
60599 * po/libc.pot: Update.
60600
60601 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60602
60603 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
60604 variable page size.
60605 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
60606 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
60607 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
60608
60609 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60610
60611 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
60612
60613 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
60614 Andreas Schwab <schwab@suse.de>
60615 Roland McGrath <roland@hack.frob.com>
60616 Joseph Myers <joseph@codesourcery.com>
60617 Carlos O'Donell <carlos@redhat.com>
60618
60619 [BZ #15755]
60620 * config.h.in: Define HAVE_PT_CHOWN.
60621 * config.make.in (build-pt-chown): New variable.
60622 * configure.in (--enable-pt_chown): New configure option.
60623 * configure: Regenerate.
60624 * login/Makefile: Include Makeconfig. Build pt_chown only if
60625 build-pt-chown is enabled.
60626 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
60627 pt_chown to fix pty ownership.
60628 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
60629 CLOSE_ALL_FDS.
60630 * manual/install.texi (Configuring and compiling): Mention
60631 --enable-pt_chown. Add @findex for grantpt.
60632 * INSTALL: Regenerate.
60633
60634 2013-07-20 David S. Miller <davem@davemloft.net>
60635
60636 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
60637 difference between 32-bit and 64-bit.
60638
60639 2013-07-15 Carlos O'Donell <carlos@redhat.com>
60640
60641 [BZ #15711]
60642 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
60643 Avoid system header dependency with -ffreestanding.
60644 ($(objpfx)bits/syscall%d): Likewise.
60645
60646 2013-07-13 David S. Miller <davem@davemloft.net>
60647
60648 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
60649 underflows from atanl/atan2l due to bug 15319.
60650 (casinh_test_data): Likewise.
60651
60652 2013-07-07 David S. Miller <davem@davemloft.net>
60653
60654 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
60655
60656 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
60657
60658 * sysdeps/i386/fpu/libm-test-ulps: Update.
60659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60660
60661 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
60662
60663 * configure.in (--enable-lock-elision): Fix message text.
60664 * INSTALL: Regenerate.
60665 * configure: Regenerate.
60666
60667 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60668
60669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60670
60671 2013-07-03 Andreas Jaeger <aj@suse.de>
60672
60673 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
60674 define.
60675 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
60676 (ptrace_peeksiginfo_args): Add.
60677 (__ptrace_peeksiginfo_flags): Add.
60678 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60679 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60680 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60681
60682 2013-07-03 Allan McRae <allan@archlinux.org>
60683
60684 * sysdeps/i386/fpu/libm-test-ulps: Update.
60685
60686 2013-07-02 David S. Miller <davem@davemloft.net>
60687
60688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60689
60690 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
60691
60692 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60693
60694 2013-07-02 Joseph Myers <joseph@codesourcery.com>
60695
60696 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
60697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60698
60699 2013-07-02 Andi Kleen <ak@linux.intel.com>
60700
60701 * config.h.in (ENABLE_LOCK_ELISION): Add.
60702 * configure.in (--enable-lock-elision): Add option.
60703 * manual/install.texi: Document --enable lock elision.
60704 * configure: Regenerate
60705 * INSTALL: Regenerate.
60706
60707 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
60708
60709 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
60710 SSE4.2 strcasecmp for libc.a.
60711 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
60712
60713 2013-07-02 Joseph Myers <joseph@codesourcery.com>
60714
60715 [BZ #13304]
60716 * soft-fp/op-common.h (_FP_FMA): New macro.
60717 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
60718 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
60719 (_FP_MUL_MEAT_1_imm): ... here.
60720 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
60721 (_FP_MUL_MEAT_1_wide): ... here.
60722 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
60723 (_FP_MUL_MEAT_1_hard): ... here.
60724 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
60725 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
60726 (_FP_MUL_MEAT_2_wide): ... here.
60727 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
60728 (_FP_MUL_MEAT_2_wide_3mul): ... here.
60729 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
60730 (_FP_MUL_MEAT_2_gmp): ... here.
60731 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
60732 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
60733 (_FP_MUL_MEAT_4_wide): ... here.
60734 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
60735 (_FP_MUL_MEAT_4_gmp): ... here.
60736 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
60737 (_FP_WFRACBITS_DW_S): Likewise.
60738 (_FP_WFRACXBITS_DW_S): Likewise.
60739 (_FP_HIGHBIT_DW_S): Likewise.
60740 (FP_FMA_S): Likewise.
60741 (_FP_FRAC_HIGH_DW_S): Likewise.
60742 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
60743 (_FP_WFRACBITS_DW_D): Likewise.
60744 (_FP_WFRACXBITS_DW_D): Likewise.
60745 (_FP_HIGHBIT_DW_D): Likewise.
60746 (FP_FMA_D): Likewise.
60747 (_FP_FRAC_HIGH_DW_D): Likewise.
60748 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
60749 (_FP_WFRACBITS_DW_E): Likewise.
60750 (_FP_WFRACXBITS_DW_E): Likewise.
60751 (_FP_HIGHBIT_DW_E): Likewise.
60752 (FP_FMA_E): Likewise.
60753 (_FP_FRAC_HIGH_DW_E): Likewise.
60754 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
60755 (_FP_WFRACBITS_DW_Q): Likewise.
60756 (_FP_WFRACXBITS_DW_Q): Likewise.
60757 (_FP_HIGHBIT_DW_Q): Likewise.
60758 (FP_FMA_Q): Likewise.
60759 (_FP_FRAC_HIGH_DW_Q): Likewise.
60760 * soft-fp/fmasf4.c: New file.
60761 * soft-fp/fmadf4.c: Likewise.
60762 * soft-fp/fmatf4.c: Likewise.
60763
60764 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
60765
60766 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60767 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
60768 Silvermont.
60769 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
60770 macro.
60771 (index_Slow_SSE4_2): Likewise.
60772 (index_Prefer_PMINUB_for_stringop): Likewise.
60773 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
60774 bit_Slow_SSE4_2 is set.
60775 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
60776 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60777
60778 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
60779
60780 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
60781 rtld_global._dl_hwcap2.
60782 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
60783 POWER8.
60784 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
60785 POWER8 feature descriptions defined in _dl_hwcap2.
60786 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
60787 string handling for POWER8 feature bits.
60788 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
60789 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
60790 _dl_powerpc_cap_flags.
60791 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
60792 * sysdeps/powerpc/rtld-global-offsets.sym
60793 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
60794 _dl_hwcap2 in the rtld_global_ro structure.
60795
60796 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
60797
60798 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
60799 hardware capabilities in support of AT_HWCAP2.
60800 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
60801 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
60802 GLRO(dl_hwcap2).
60803 (_dl_show_auxv): Add support for calling _dl_procinfo to display
60804 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
60805 explicitly the unknown a_type display mechanism is used.
60806 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
60807 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
60808 struct member.
60809 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
60810 to macro prototype for AT_HWCAP2 support.
60811 * sysdeps/i386/dl-procinfo.h: Likewise.
60812 * sysdeps/s390/dl-procinfo.h: Likewise.
60813 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
60814 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
60815 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
60816 return -1 for unknown a_type display fallback.
60817 * sysdeps/sparc/dl-procinfo.h: Likewise.
60818 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
60819 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
60820
60821 2013-06-28 Joseph Myers <joseph@codesourcery.com>
60822
60823 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
60824 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
60825
60826 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
60827
60828 [BZ #12492]
60829 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
60830 mprotect making __stack_prot writable.
60831
60832 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
60833 Joseph Myers <joseph@codesourcery.com>
60834
60835 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
60836 as being properly aligned.
60837
60838 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
60839
60840 * dlfcn/modstatic5.c: New file.
60841 * dlfcn/tststatic5.c: New file.
60842 * dlfcn/Makefile (tests): Add tststatic5.
60843 (tests-static): Likewise.
60844 (modules-names): Add modstatic5.
60845 (tststatic5-ENV): New variable.
60846 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
60847
60848 [BZ #15022]
60849 * elf/dl-support.c (_dl_main_map): New variable.
60850 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
60851 (_dl_nns, _dl_load_adds): Set to 1.
60852 (_dl_initial_searchlist): Refer to _dl_main_map.
60853 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
60854 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
60855 call to _dl_get_origin.
60856 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
60857 around call_map.
60858 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
60859 * dlfcn/modstatic3.c: New file.
60860 * dlfcn/tststatic3.c: New file.
60861 * dlfcn/tststatic4.c: New file.
60862 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
60863 (tests-static): Likewise.
60864 (modules-names): Add modstatic3.
60865 (tststatic3-ENV, tststatic4-ENV): New variables.
60866 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
60867 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
60868
60869 2013-06-26 Joseph Myers <joseph@codesourcery.com>
60870
60871 * configure.in (CC): Require GCC version 4.4 or later.
60872 * configure: Regenerated.
60873 * manual/install.texi (Tools for Compilation): Update GCC version
60874 requirement.
60875 * INSTALL: Regenerated.
60876
60877 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
60878
60879 [BZ #15674]
60880 * string/test-memcmp.c (check2): New.
60881 (main): Call check2.
60882
60883 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
60884
60885 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
60886
60887 [BZ #15022]
60888 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
60889 over to...
60890 (dl_open_worker) [!SHARED]: ... here.
60891
60892 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
60893
60894 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
60895
60896 2013-06-25 Richard Henderson <rth@redhat.com>
60897
60898 * locale/programs/locarchive.c: Include <libc-internal.h>
60899
60900 2013-06-25 Joseph Myers <joseph@codesourcery.com>
60901
60902 * manual/texinfo.tex: Update to version 2013-06-21.17, with
60903 trailing whitespace removed.
60904
60905 2013-06-24 Mike Frysinger <vapier@gentoo.org>
60906
60907 [BZ #10283]
60908 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
60909 * locale/programs/locarchive.c: Include libc-mmap.h.
60910 (prepare_address_space): Take two new outputs (the mmap base and len).
60911 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
60912 values.
60913 (create_archive): Declare new mmap base and len values for
60914 prepare_address_space, and store the result in ah.
60915 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
60916 (enlarge_archive): If ah->mmap_base is not NULL, use that and
60917 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
60918 Declare new mmap base and len values for
60919 prepare_address_space, and store the result in new_ah.
60920 (open_archive): Declare new mmap base and len values for
60921 prepare_address_space, and store the result in ah.
60922 (close_archive): If ah->mmap_base is not NULL, use that and
60923 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
60924 * sysdeps/generic/libc-mmap.h: New file.
60925
60926 2013-06-24 Mike Frysinger <vapier@gentoo.org>
60927
60928 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
60929 (ALIGN_UP): Likewise.
60930 (PTR_ALIGN_DOWN): Likewise.
60931 (PTR_ALIGN_UP): Likewise.
60932
60933 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
60934
60935 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
60936 entry mapped to PPC_PLATFORM_POWER8.
60937 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
60938 POWER8.
60939 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
60940 (_dl_string_platform): Add case for exporting platform position for
60941 POWER8.
60942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
60943 search path to sysdeps/powerpc/powerpc32/power8 directory.
60944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
60945 search path to sysdeps/powerpc/powerpc64/power8 directory.
60946 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
60947 power7 directories.
60948 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
60949 power7 directories.
60950
60951 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
60952
60953 * INSTALL: Regenerate.
60954
60955 * nscd/connections.c (nscd_init): Fix comment.
60956
60957 2013-06-22 Joseph Myers <joseph@codesourcery.com>
60958
60959 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
60960
60961 [BZ #15667]
60962 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
60963 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
60964
60965 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
60966
60967 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
60968 DL_DST_REQ_STATIC.
60969 (DL_DST_REQ_STATIC): Remove macro.
60970
60971 2013-06-21 Joseph Myers <joseph@codesourcery.com>
60972
60973 [BZ #7006]
60974 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
60975 with a shift of 0 bits.
60976
60977 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
60978
60979 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
60980 $(tststatic-ENV).
60981
60982 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
60983
60984 [BZ #15655]
60985 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
60986
60987 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60988
60989 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
60990 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
60991 accepts -fno-tree-loop-distribute-patterns.
60992 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
60993 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
60994 recursive call.
60995 * string/memset.c (memset): Likewise.
60996 * string/test-memmove.c (simple_memmove): Disable loop transformation
60997 to library calls.
60998 * string/test-memset.c (simple_memset): Likewise.
60999 * benchtests/bench-memmove.c (simple_memmove): Likewise.
61000 * benchtests/bench-memset.c (simple_memset): Likewise.
61001 * configure: Regenerated.
61002
61003 2013-06-20 Joseph Myers <joseph@codesourcery.com>
61004
61005 * math/test-misc.c (main): Ignore fesetround failure when failures
61006 of subsequent rounding tests would be ignored.
61007
61008 [BZ #15654]
61009 * math/fedisblxcpt.c (fedisableexcept): Return 0.
61010 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
61011 * math/fegetenv.c (__fegetenv): Return 0.
61012 * math/fegetexcept.c (fegetexcept): Return 0.
61013 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
61014 FE_TONEAREST.
61015 * math/feholdexcpt.c (feholdexcept): Return 0.
61016 * math/fesetenv.c (__fesetenv): Return 0.
61017 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
61018 argument FE_TONEAREST.
61019 * math/feupdateenv.c (__feupdateenv): Return 0.
61020 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
61021
61022 2013-06-18 Roland McGrath <roland@hack.frob.com>
61023
61024 * elf/rtld-Rules (rtld-compile-command.S): New variable.
61025 (rtld-compile-command.s, rtld-compile-command.c): New variables.
61026 ($(objpfx)rtld-%.os rules): Use them.
61027
61028 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61029
61030 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
61031 fields.
61032
61033 2013-06-17 Roland McGrath <roland@hack.frob.com>
61034
61035 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
61036 length of target pattern, then descending length of dependency pattern.
61037 * configure.in (AWK): Require gawk 3.1.2 or newer.
61038 * manual/install.texi (Tools for Compilation): Say that we do.
61039 * configure: Regenerated.
61040
61041 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
61042 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
61043 * scripts/sysd-rules.awk: ... this new script.
61044 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
61045 than a glob-style pattern.
61046
61047 2013-06-17 Joseph Myers <joseph@codesourcery.com>
61048
61049 * math/test-misc.c (main): Do not treat incorrectly rounded
61050 conversions as failure unless ROUNDING_TESTS passes.
61051
61052 2013-06-15 Joseph Myers <joseph@codesourcery.com>
61053
61054 [BZ #15631]
61055 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
61056 restore exception state around main square root computation, then
61057 check for inexactness explicitly.
61058
61059 * math/libm-test.inc (fma_test_data): Add another test.
61060
61061 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
61062
61063 * manual/threads.texi (Non-POSIX Extensions): New document
61064 node. Document pthread_getattr_default_np and
61065 pthread_setattr_default_np.
61066
61067 * Versions.def (libpthread): Add GLIBC_2.18.
61068 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
61069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
61070 Likewise.
61071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61072 Likewise.
61073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61074 Likewise.
61075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61076 Likewise.
61077 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
61078 Likewise.
61079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
61080 Likewise.
61081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
61082 Likewise.
61083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
61084 Likewise.
61085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
61086 Likewise.
61087
61088 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61089
61090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61091 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
61092
61093 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
61094 H.J. Lu <hjl.tools@gmail.com>
61095
61096 [BZ #15627]
61097 * sysdeps/x86_64/rtld-memset.c: Remove file.
61098 * sysdeps/x86_64/rtld-memset.S: New file.
61099
61100 2013-06-14 Joseph Myers <joseph@codesourcery.com>
61101
61102 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
61103 (test_in_one_mode): Take arguments for whether the rounding mode
61104 is supported for each floating-point type.
61105 (do_test): Pass new arguments to test_in_one_mode using
61106 ROUNDING_TESTS.
61107
61108 2013-06-13 Roland McGrath <roland@hack.frob.com>
61109
61110 * posix/tst-waitid.c (do_test): Distinguish different instances of
61111 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
61112 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
61113 before entering the kernel for waitpid.
61114
61115 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
61116
61117 * NEWS: Fix note on clock function precision. Text by Roland
61118 McGrath.
61119
61120 2013-06-13 Roland McGrath <roland@hack.frob.com>
61121
61122 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
61123 it into place only when and if the sanity check passes.
61124
61125 2013-06-13 Joseph Myers <joseph@codesourcery.com>
61126
61127 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
61128 output for whether conversion result is exact. Take argument
61129 indicating whether type is IBM long double.
61130 (round_for_all): Change need_exact field to ibm_ld.
61131 * stdlib/tst-strtod-round.c (struct exactness): New type.
61132 (struct test): Change bool ld_ok field to struct exactness exact.
61133 (TEST): Update all definitions for change to field.
61134 (tests): Regenerate array contents.
61135 (test_in_one_mode): Take pointer to new field instead of old ld_ok
61136 field value. Check for IBM long double here.
61137 (do_test): Update calls to test_in_one_mode.
61138
61139 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
61140
61141 [BZ #12515]
61142 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
61143 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
61144
61145 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61146
61147 [BZ #15605]
61148 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
61149 generated by the compiler on loop optimizations.
61150 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
61151 general definitions.
61152
61153 2013-06-12 Joseph Myers <joseph@codesourcery.com>
61154
61155 * math/bug-nextafter.c: Include <math-tests.h>.
61156 (main): Only test for exceptions if EXCEPTION_TESTS is true for
61157 the relevant type.
61158 * math/bug-nexttoward.c: Include <math-tests.h>.
61159 (main): Only test for exceptions if EXCEPTION_TESTS is true for
61160 the relevant type.
61161 * math/test-misc.c: Include <math-tests.h>.
61162 (main): Only test for exceptions if EXCEPTION_TESTS is true for
61163 the relevant type.
61164
61165 2013-06-12 Andreas Jaeger <aj@suse.de>
61166
61167 * po/ia.po: Update Interlingua translation from translation
61168 project.
61169
61170 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
61171
61172 * include/fenv.h: Include stdbool.h.
61173 (struct rm_ctx): New structure.
61174 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
61175 Define macro.
61176 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
61177 (SET_RESTORE_ROUNDF): Likewise.
61178 (SET_RESTORE_ROUNDL): Likewise.
61179 (SET_RESTORE_ROUND_NOEX): Likewise.
61180 (SET_RESTORE_ROUND_NOEXF): Likewise.
61181 (SET_RESTORE_ROUND_NOEXL): Likewise.
61182 (SET_RESTORE_ROUND_53BIT): Likewise.
61183 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
61184 (libc_feresetround_noexf_ctx): Likewise.
61185 (libc_feresetround_noexl_ctx): Likewise.
61186 (libc_feholdsetround_53bit_ctx): Likewise.
61187 (libc_feresetround_53bit_ctx): Likewise.
61188 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
61189 (libc_feholdexcept_setround_sse_ctx): New function.
61190 (libc_fesetenv_sse_ctx): Likewise.
61191 (libc_feupdateenv_sse_ctx): Likewise.
61192 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
61193 (libc_feholdexcept_setround_387_ctx): Likewise.
61194 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
61195 (libc_feholdsetround_387_prec_ctx): Likewise.
61196 (libc_feholdsetround_387_ctx): Likewise.
61197 (libc_feholdsetround_387_53bit_ctx): Likewise.
61198 (libc_feholdsetround_sse_ctx): Likewise.
61199 (libc_feresetround_sse_ctx): Likewise.
61200 (libc_feresetround_387_ctx): Likewise.
61201 (libc_feupdateenv_387_ctx): Likewise.
61202 (libc_feholdexcept_setroundf_ctx): Define macro.
61203 (libc_fesetenvf_ctx): Likewise.
61204 (libc_feupdateenvf_ctx): Likewise.
61205 (libc_feholdsetroundf_ctx): Likewise.
61206 (libc_feresetroundf_ctx): Likewise.
61207 (libc_feholdexcept_setround_ctx): Likewise.
61208 (libc_fesetenv_ctx): Likewise.
61209 (libc_feupdateenv_ctx): Likewise.
61210 (libc_feholdsetround_ctx): Likewise.
61211 (libc_feresetround_ctx): Likewise.
61212 (libc_feholdexcept_setroundl_ctx): Likewise.
61213 (libc_feupdateenvl_ctx): Likewise.
61214 (libc_feholdsetroundl_ctx): Likewise.
61215 (libc_feresetroundl_ctx): Likewise.
61216 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
61217 (libc_feresetround_53bit_ctx): Likewise.
61218
61219 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
61220
61221 * locale/iso-639.def: Convert to UTF-8.
61222
61223 2013-06-11 Joseph Myers <joseph@codesourcery.com>
61224
61225 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
61226 (EXCEPTION_TESTS_double): Likewise.
61227 (EXCEPTION_TESTS_long_double): Likewise.
61228 (EXCEPTION_TESTS): Likewise.
61229 * math/libm-test.inc (test_exceptions): Only test exceptions if
61230 EXCEPTION_TESTS (FLOAT).
61231
61232 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
61233
61234 * benchtests/Makefile (string-bench): Add strcpy_chk and
61235 stpcpy_chk.
61236 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
61237 * benchtests/bench-stpcpy_chk.c: New file.
61238 * benchtests/bench-strcpy_chk-ifunc.c: New file.
61239 * benchtests/bench-strcpy_chk.c: New file.
61240 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
61241 code.
61242 (do_test): Likewise.
61243
61244 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
61245
61246 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
61247 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
61248 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
61249 with tabs where appropriate.
61250 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
61251 dl-procinfo.h.
61252 [PPC_PLATFORM_PPC440]: Likewise.
61253 [PPC_PLATFORM_PPC464]: Likewise.
61254 [PPC_PLATFORM_PPC476]: Likewise.
61255 (_dl_string_platform): Add support for detecting ppc405, ppc440,
61256 ppc464, and ppc476 platform strings merging from ports/
61257 dl-procinfo.h.
61258
61259 2013-06-11 Andreas Schwab <schwab@suse.de>
61260
61261 [BZ #14991]
61262 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
61263 (from_ucs4_idx): Regenerate.
61264 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
61265 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
61266 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
61267 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
61268 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
61269 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
61270 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
61271 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
61272 from FROM_LOOP and TO_LOOP specific macros.
61273 (BODY): Handle combining characters.
61274 * iconvdata/BIG5HKSCS.irreversible: Update.
61275 * iconvdata/BIG5HKSCS.precomposed: New file.
61276 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
61277 characters.
61278 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
61279
61280 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
61281
61282 * include/sys/time.h: Fix indentation and add copyright header.
61283
61284 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
61285 (do_test): Likewise.
61286 * string/test-memchr.c (do_one_test): Likewise.
61287 (do_test): Likewise.
61288 * string/test-memcmp.c (do_one_test): Likewise.
61289 (do_test): Likewise.
61290 * string/test-memcpy.c (do_one_test): Likewise.
61291 (do_test): Likewise.
61292 * string/test-memmem.c (do_one_test): Likewise.
61293 (do_test): Likewise.
61294 (do_random_tests): Likewise.
61295 * string/test-memmove.c (do_one_test): Likewise.
61296 (do_test): Likewise.
61297 * string/test-memset.c (do_one_test): Likewise.
61298 (do_test): Likewise.
61299 * string/test-rawmemchr.c (do_one_test): Likewise.
61300 (do_test): Likewise.
61301 * string/test-strcasecmp.c (do_one_test): Likewise.
61302 (do_test): Likewise.
61303 * string/test-strcasestr.c (do_one_test): Likewise.
61304 (do_test): Likewise.
61305 * string/test-strcat.c (do_one_test): Likewise.
61306 (do_test): Likewise.
61307 * string/test-strchr.c (do_one_test): Likewise.
61308 (do_test): Likewise.
61309 * string/test-strcmp.c (do_one_test): Likewise.
61310 (do_test): Likewise.
61311 * string/test-strcpy.c (do_one_test): Likewise.
61312 (do_test): Likewise.
61313 * string/test-string.h: Likewise.
61314 (test_init): Likewise.
61315 * string/test-strlen.c (do_one_test): Likewise.
61316 (do_test): Likewise.
61317 * string/test-strncasecmp.c (do_one_test): Likewise.
61318 (do_test): Likewise.
61319 * string/test-strncat.c (do_one_test): Likewise.
61320 (do_test): Likewise.
61321 * string/test-strncmp.c (do_one_test): Likewise.
61322 (do_test_limit): Likewise.
61323 (do_test): Likewise.
61324 * string/test-strncpy.c (do_one_test): Likewise.
61325 (do_test): Likewise.
61326 * string/test-strnlen.c (do_one_test): Likewise.
61327 (do_test): Likewise.
61328 * string/test-strpbrk.c (do_one_test): Likewise.
61329 (do_test): Likewise.
61330 * string/test-strrchr.c (do_one_test): Likewise.
61331 (do_test): Likewise.
61332 * string/test-strspn.c (do_one_test): Likewise.
61333 (do_test): Likewise.
61334 * string/test-strstr.c (do_one_test): Likewise.
61335 (do_test): Likewise.
61336
61337 * benchtests/Makefile (string-bench): Add string benchmarks.
61338 * benchtests/bench-bcopy-ifunc.c: New file.
61339 * benchtests/bench-bcopy.c: New file.
61340 * benchtests/bench-bzero-ifunc.c: New file.
61341 * benchtests/bench-bzero.c: New file.
61342 * benchtests/bench-memccpy-ifunc.c: New file.
61343 * benchtests/bench-memccpy.c: New file.
61344 * benchtests/bench-memchr-ifunc.c: New file.
61345 * benchtests/bench-memchr.c: New file.
61346 * benchtests/bench-memcmp-ifunc.c: New file.
61347 * benchtests/bench-memcmp.c: New file.
61348 * benchtests/bench-memmem-ifunc.c: New file.
61349 * benchtests/bench-memmem.c: New file.
61350 * benchtests/bench-memmove-ifunc.c: New file.
61351 * benchtests/bench-memmove.c: New file.
61352 * benchtests/bench-mempcpy-ifunc.c: New file.
61353 * benchtests/bench-mempcpy.c: New file.
61354 * benchtests/bench-memset-ifunc.c: New file.
61355 * benchtests/bench-memset.c: New file.
61356 * benchtests/bench-rawmemchr-ifunc.c: New file.
61357 * benchtests/bench-rawmemchr.c: New file.
61358 * benchtests/bench-stpcpy-ifunc.c: New file.
61359 * benchtests/bench-stpcpy.c: New file.
61360 * benchtests/bench-stpncpy-ifunc.c: New file.
61361 * benchtests/bench-stpncpy.c: New file.
61362 * benchtests/bench-strcasecmp-ifunc.c: New file.
61363 * benchtests/bench-strcasecmp.c: New file.
61364 * benchtests/bench-strcasestr-ifunc.c: New file.
61365 * benchtests/bench-strcasestr.c: New file.
61366 * benchtests/bench-strcat-ifunc.c: New file.
61367 * benchtests/bench-strcat.c: New file.
61368 * benchtests/bench-strchr-ifunc.c: New file.
61369 * benchtests/bench-strchr.c: New file.
61370 * benchtests/bench-strchrnul-ifunc.c: New file.
61371 * benchtests/bench-strchrnul.c: New file.
61372 * benchtests/bench-strcmp-ifunc.c: New file.
61373 * benchtests/bench-strcmp.c: New file.
61374 * benchtests/bench-strcpy-ifunc.c: New file.
61375 * benchtests/bench-strcpy.c: New file.
61376 * benchtests/bench-strcspn-ifunc.c: New file.
61377 * benchtests/bench-strcspn.c: New file.
61378 * benchtests/bench-strlen-ifunc.c: New file.
61379 * benchtests/bench-strlen.c: New file.
61380 * benchtests/bench-strncasecmp-ifunc.c: New file.
61381 * benchtests/bench-strncasecmp.c: New file.
61382 * benchtests/bench-strncat-ifunc.c: New file.
61383 * benchtests/bench-strncat.c: New file.
61384 * benchtests/bench-strncmp-ifunc.c: New file.
61385 * benchtests/bench-strncmp.c: New file.
61386 * benchtests/bench-strncpy-ifunc.c: New file.
61387 * benchtests/bench-strncpy.c: New file.
61388 * benchtests/bench-strnlen-ifunc.c: New file.
61389 * benchtests/bench-strnlen.c: New file.
61390 * benchtests/bench-strpbrk-ifunc.c: New file.
61391 * benchtests/bench-strpbrk.c: New file.
61392 * benchtests/bench-strrchr-ifunc.c: New file.
61393 * benchtests/bench-strrchr.c: New file.
61394 * benchtests/bench-strspn-ifunc.c: New file.
61395 * benchtests/bench-strspn.c: New file.
61396 * benchtests/bench-strstr-ifunc.c: New file.
61397 * benchtests/bench-strstr.c: New file.
61398
61399 * benchtests/Makefile: Disable parallel execution of targets.
61400 (string-bench): Add memcpy.
61401 (benchset): New variable to store a list of benchmark sets.
61402 (bench-func): Renamed from bench.
61403 (bench-set): New target.
61404 (bench): Depend on bench-func and bench-set.
61405 * benchtests/README: Add section on benchmark sets.
61406 * benchtests/bench-memcpy-ifunc.c: New file.
61407 * benchtests/bench-memcpy.c: New file.
61408 * benchtests/bench-string.h: New file.
61409
61410 2013-06-11 Andreas Schwab <schwab@suse.de>
61411
61412 [BZ #15577]
61413 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
61414 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
61415 values in the triple.
61416 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
61417 terminator in the group key.
61418
61419 2013-06-11 Andreas Jaeger <aj@suse.de>
61420
61421 * po/zh_TW.po: Update Chinese (traditional) translation from
61422 translation project.
61423
61424 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
61425
61426 * include/time.h (__clock_gettime): Add libc_hidden_proto.
61427 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
61428 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
61429 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61430 (clock_getcpuclockid): Likewise.
61431 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
61432 Add weak_alias and libc_hidden_def.
61433 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
61434 * rt/clock_gettime.c (clock_gettime): Rename to
61435 __clock_gettime. Add weak_alias and libc_hidden_def.
61436 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
61437 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
61438 __clock_nanosleep. Add weak_alias and libc_hidden_def.
61439 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
61440 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
61441 Likewise.
61442 * rt/clock_settime.c (clock_settime): Rename to
61443 __clock_settime. Add weak_alias and libc_hidden_def.
61444 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
61445
61446 2013-06-10 Joseph Myers <joseph@codesourcery.com>
61447
61448 * mach/err_boot.sub: Remove trailing whitespace.
61449 * mach/err_ipc.sub: Likewise.
61450 * mach/err_mach.sub: Likewise.
61451
61452 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
61453 (ROUNDING_TESTS_double): Likewise.
61454 (ROUNDING_TESTS_long_double): Likewise.
61455 (ROUNDING_TESTS): Likewise.
61456 * math/libm-test.inc: Include <math-tests.h>.
61457 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
61458 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
61459 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
61460 (IF_ROUND_INIT_FE_UPWARD): Likewise.
61461
61462 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
61463
61464 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
61465 of assigning.
61466
61467 2013-06-08 Joseph Myers <joseph@codesourcery.com>
61468
61469 * sysdeps/gnu/errlist.awk: Do not generate space at end of
61470 otherwise empty TRANS lines.
61471 * sysdeps/gnu/errlist.c: Regenerated.
61472
61473 * catgets/gencat.c (error_print): Use (void) in function
61474 definition.
61475 * crypt/crypt_util.c (__init_des): Likewise.
61476 * crypt/speeds.c (Stop): Likewise.
61477 (main): Likewise.
61478 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
61479 * inet/ruserpass.c (token): Likewise.
61480 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
61481 * intl/localealias.c (extend_alias_table): Likewise.
61482 * intl/plural-exp.c (init_germanic_plural): Likewise.
61483 * libio/fcloseall.c (__fcloseall): Likewise.
61484 * libio/genops.c (_IO_flush_all): Likewise.
61485 (_IO_flush_all_linebuffered): Likewise.
61486 (_IO_cleanup): Likewise.
61487 (_IO_iter_begin): Likewise.
61488 (_IO_iter_end): Likewise.
61489 (_IO_list_lock): Likewise.
61490 (_IO_list_unlock): Likewise.
61491 (_IO_list_resetlock): Likewise.
61492 * libio/getchar.c (getchar): Likewise.
61493 * libio/getchar_u.c (getchar_unlocked): Likewise.
61494 * libio/getwchar.c (getwchar): Likewise.
61495 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
61496 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
61497 * login/getpt.c (__getpt): Likewise.
61498 * login/tst-utmp.c (main): Likewise.
61499 * malloc/hooks.c (__malloc_check_init): Likewise.
61500 * malloc/malloc.c (__malloc_stats): Likewise.
61501 * malloc/mtrace.c (tr_break): Likewise.
61502 (mtrace): Likewise.
61503 (muntrace): Likewise.
61504 * misc/fstab.c (endfsent): Likewise.
61505 * misc/getclktck.c (__getclktck): Likewise.
61506 * misc/getdtsz.c (__getdtablesize): Likewise.
61507 * misc/gethostid.c (gethostid): Likewise.
61508 * misc/getpagesize.c (__getpagesize): Likewise.
61509 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
61510 (__get_nprocs): Likewise.
61511 (__get_phys_pages): Likewise.
61512 (__get_avphys_pages): Likewise.
61513 * misc/getttyent.c (getttyent): Likewise.
61514 (setttyent): Likewise.
61515 (endttyent): Likewise.
61516 * misc/getusershell.c (getusershell): Likewise.
61517 (endusershell): Likewise.
61518 (setusershell): Likewise.
61519 (initshells): Likewise.
61520 * misc/hsearch.c (__hdestroy): Likewise.
61521 * misc/sync.c (sync): Likewise.
61522 * misc/syslog.c (closelog_internal): Likewise.
61523 (closelog): Likewise.
61524 * misc/ttyslot.c (ttyslot): Likewise.
61525 * misc/vhangup.c (vhangup): Likewise.
61526 * posix/fork.c (__fork): Likewise.
61527 * posix/getegid.c (__getegid): Likewise.
61528 * posix/geteuid.c (__geteuid): Likewise.
61529 * posix/getgid.c (__getgid): Likewise.
61530 * posix/getpid.c (__getpid): Likewise.
61531 * posix/getppid.c (__getppid): Likewise.
61532 * posix/getuid.c (__getuid): Likewise.
61533 * posix/pause.c (pause): Likewise.
61534 * posix/setpgrp.c (setpgrp): Likewise.
61535 * posix/setsid.c (__setsid): Likewise.
61536 * posix/test-vfork.c (noop): Likewise.
61537 * resolv/gethnamaddr.c (_endhtent): Likewise.
61538 (_gethtent): Likewise.
61539 (ht_endhostent): Likewise.
61540 (gethostent): Likewise.
61541 (dns_service): Likewise.
61542 * stdlib/drand48.c (drand48): Likewise.
61543 * stdlib/lrand48.c (lrand48): Likewise.
61544 * stdlib/mrand48.c (mrand48): Likewise.
61545 * stdlib/rand.c (rand): Likewise.
61546 * stdlib/random.c (__random): Likewise.
61547 * stdlib/setenv.c (clearenv): Likewise.
61548 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
61549 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
61550 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
61551 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
61552 (__get_nprocs): Likewise.
61553 (__get_phys_pages): Likewise.
61554 (__get_avphys_pages): Likewise.
61555 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
61556 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
61557 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
61558 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
61559 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
61560 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
61561 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
61562 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
61563 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
61564 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
61565 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
61566 * sysdeps/mach/hurd/sync.c (sync): Likewise.
61567 * sysdeps/posix/clock.c (clock): Likewise.
61568 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
61569 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
61570 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
61571 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
61572 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
61573 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
61574 (__get_nprocs_conf): Likewise.
61575 (__get_phys_pages): Likewise.
61576 (__get_avphys_pages): Likewise.
61577 * time/clock.c (clock): Likewise.
61578 * time/tzset.c (__tzname_max): Likewise.
61579
61580 2013-06-07 Joseph Myers <joseph@codesourcery.com>
61581
61582 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
61583 (__bswap_32): Do not use "register".
61584 * crypt/crypt.c (_ufc_doit_r): Likewise.
61585 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
61586 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
61587 * gmon/gmon.c (__monstartup): Likewise.
61588 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
61589 * hurd/hurdmalloc.c (more_memory): Likewise.
61590 (malloc): Likewise.
61591 (free): Likewise.
61592 (realloc): Likewise.
61593 (malloc_fork_prepare): Likewise.
61594 (malloc_fork_parent): Likewise.
61595 (malloc_fork_child): Likewise.
61596 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
61597 (_svcauth_des): Likewise.
61598 * inet/inet_lnaof.c (inet_lnaof): Likewise.
61599 * inet/inet_net.c (inet_network): Likewise.
61600 * inet/inet_netof.c (inet_netof): Likewise.
61601 * inet/rcmd.c (__validuser2_sa): Likewise.
61602 * io/fts.c (fts_open): Likewise.
61603 (fts_load): Likewise.
61604 (fts_close): Likewise.
61605 (fts_read): Likewise.
61606 (fts_children): Likewise.
61607 (fts_build): Likewise.
61608 (fts_stat): Likewise.
61609 (fts_sort): Likewise.
61610 (fts_alloc): Likewise.
61611 (fts_lfree): Likewise.
61612 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
61613 (_IO_file_xsgetn): Likewise.
61614 (_IO_file_xsgetn_mmap): Likewise.
61615 * libio/iofopncook.c (_IO_cookie_read): Likewise.
61616 (_IO_cookie_write): Likewise.
61617 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
61618 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
61619 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
61620 * malloc/obstack.c (_obstack_begin): Likewise.
61621 (_obstack_begin_1): Likewise.
61622 (_obstack_newchunk): Likewise.
61623 (_obstack_allocated_p): Likewise.
61624 (obstack_free): Likewise.
61625 (_obstack_memory_used): Likewise.
61626 * misc/getttyent.c (getttynam): Likewise.
61627 (getttyent): Likewise.
61628 (skip): Likewise.
61629 (value): Likewise.
61630 * misc/getusershell.c (initshells): Likewise.
61631 * misc/syslog.c (__vsyslog_chk): Likewise.
61632 * misc/ttyslot.c (ttyslot): Likewise.
61633 * nis/nis_hash.c (__nis_hash): Likewise.
61634 * posix/fnmatch_loop.c (FCT): Likewise.
61635 * posix/getconf.c (print_all): Likewise.
61636 (main): Likewise.
61637 * posix/getopt.c (exchange): Likewise.
61638 * posix/glob.c (globfree): Likewise.
61639 (prefix_array): Likewise.
61640 (__glob_pattern_type): Likewise.
61641 * resolv/arpa/nameser.h (NS_GET16): Likewise.
61642 (NS_GET32): Likewise.
61643 (NS_PUT16): Likewise.
61644 (NS_PUT32): Likewise.
61645 * resolv/gethnamaddr.c (getanswer): Likewise.
61646 (gethostbyname2): Likewise.
61647 (gethostbyaddr): Likewise.
61648 (_gethtent): Likewise.
61649 (_gethtbyname2): Likewise.
61650 (_gethtbyaddr): Likewise.
61651 * resolv/ns_print.c (dst_s_get_int16): Likewise.
61652 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
61653 * resolv/res_init.c (__res_vinit): Likewise.
61654 (net_mask): Likewise.
61655 * resolv/res_mkquery.c (outchar): Likewise.
61656 (PRINT): Likewise.
61657 * stdio-common/printf_fp.c (outchar): Likewise.
61658 (PRINT): Likewise.
61659 * stdio-common/printf_fphex.c (outchar): Likewise.
61660 (PRINT): Likewise.
61661 * stdio-common/printf_size.c (outchar): Likewise.
61662 (PRINT): Likewise.
61663 * stdio-common/test_rdwr.c (main): Likewise.
61664 * stdio-common/tfformat.c (matches): Likewise.
61665 * stdio-common/vfprintf.c (outchar): Likewise.
61666 (printf_unknown): Likewise.
61667 (buffered_vfprintf): Likewise.
61668 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
61669 * stdio-common/xbug.c (AppendToBuffer): Likewise.
61670 (ReadFile): Likewise.
61671 * stdlib/qsort.c (SWAP): Likewise.
61672 (_quicksort): Likewise.
61673 * stdlib/setenv.c (__add_to_environ): Likewise.
61674 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
61675 * stdlib/strtol_l.c (__strtol_l): Likewise.
61676 * stdlib/tst-strtod.c (main): Likewise.
61677 * stdlib/tst-strtol.c (main): Likewise.
61678 * stdlib/tst-strtoll.c (main): Likewise.
61679 * string/bits/string2.h (__strcmp_cc): Likewise.
61680 (__strcmp_cg): Likewise.
61681 (__strcspn_c1): Likewise.
61682 (__strcspn_c2): Likewise.
61683 (__strcspn_c3): Likewise.
61684 (__strspn_c1): Likewise.
61685 (__strspn_c2): Likewise.
61686 (__strspn_c3): Likewise.
61687 (__strsep_1c): Likewise.
61688 (__strsep_2c): Likewise.
61689 (__strsep_3c): Likewise.
61690 * string/memccpy.c (__memccpy): Likewise.
61691 * string/stpcpy.c (__stpcpy): Likewise.
61692 * string/strcmp.c (strcmp): Likewise.
61693 * string/strrchr.c (strrchr): Likewise.
61694 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
61695 Likewise.
61696 * sysdeps/mach/hurd/getcwd.c
61697 (_hurd_canonicalize_directory_name_internal): Likewise.
61698 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
61699 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
61700 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
61701 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
61702 Likewise, in both definitions.
61703 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
61704 definitions.
61705 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
61706 64] (__bswap_64): Likewise.
61707 * time/test_time.c (main): Likewise.
61708 * time/tzfile.c (__tzfile_read): Likewise.
61709 (__tzfile_compute): Likewise.
61710 * time/tzset.c (__tzset_parse_tz): Likewise.
61711 (tzset_internal): Likewise.
61712 (compute_change): Likewise.
61713 * wcsmbs/wcscat.c (__wcscat): Likewise.
61714 * wcsmbs/wcschr.c (wcschr): Likewise.
61715 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
61716 * wcsmbs/wcscspn.c (wcscspn): Likewise.
61717 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
61718 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
61719 * wcsmbs/wcsspn.c (wcsspn): Likewise.
61720 * wcsmbs/wcsstr.c (wcsstr): Likewise.
61721 * wcsmbs/wmemchr.c (wmemchr): Likewise.
61722 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
61723 * wcsmbs/wmemset.c (wmemset): Likewise.
61724
61725 2013-06-06 Joseph Myers <joseph@codesourcery.com>
61726
61727 * scripts/config.guess: Update to version 2013-05-16.
61728 * scripts/config.sub: Update to version 2013-04-24.
61729 * scripts/install-sh: Update to version 2011-11-20.07.
61730 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
61731 * scripts/move-if-change: Update to version 2012-01-06 07:23.
61732
61733 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
61734
61735 * debug/fgetws_u_chk.c: Fix leading whitespaces.
61736 * elf/sln.c: Likewise.
61737 * hurd/hurd/ioctl.h: Likewise.
61738 * hurd/hurdmalloc.c: Likewise.
61739 * hurd/xattr.c: Likewise.
61740 * include/shlib-compat.h: Likewise.
61741 * inet/ruserpass.c: Likewise.
61742 * libio/iofgets_u.c: Likewise.
61743 * libio/iofgetws_u.c: Likewise.
61744 * locale/programs/ld-identification.c: Likewise.
61745 * locale/programs/ld-time.c: Likewise.
61746 * mach/msg-destroy.c: Likewise.
61747 * nss/nss_files/files-netgrp.c: Likewise.
61748 * resolv/res_data.c: Likewise.
61749 * soft-fp/op-1.h: Likewise.
61750 * soft-fp/op-2.h: Likewise.
61751 * soft-fp/op-4.h: Likewise.
61752 * soft-fp/op-common.h: Likewise.
61753 * stdio-common/printf_fphex.c: Likewise.
61754 * stdlib/strtod_l.c: Likewise.
61755 * sunrpc/rpc/clnt.h: Likewise.
61756 * sysdeps/generic/framestate.c: Likewise.
61757 * sysdeps/i386/bsd-_setjmp.S: Likewise.
61758 * sysdeps/i386/bsd-setjmp.S: Likewise.
61759 * sysdeps/i386/__longjmp.S: Likewise.
61760 * sysdeps/i386/setjmp.S: Likewise.
61761 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61762 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61763 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61764 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61765 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61766 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
61767 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61768 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61769 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61770 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
61771 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
61772 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
61773 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
61774 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
61775 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
61776 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61777 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
61778 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
61779 * sysdeps/ieee754/support.c: Likewise.
61780 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61781 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
61782 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
61783 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
61784 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
61785 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
61786 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
61787 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
61788 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
61789 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
61790 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
61791 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
61792 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
61793 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
61794 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
61795 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
61796 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
61797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
61798
61799 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
61800
61801 * posix/transbug.c: Remove executable mode.
61802
61803 2013-06-05 Joseph Myers <joseph@codesourcery.com>
61804
61805 * crypt/speeds.c: Remove trailing whitespace.
61806 * dlfcn/default.c: Likewise.
61807 * elf/ifuncdep2.c: Likewise.
61808 * elf/ifuncmain1.c: Likewise.
61809 * elf/ifuncmain1vis.c: Likewise.
61810 * elf/testobj.h: Likewise.
61811 * elf/tst-stackguard1.c: Likewise.
61812 * gmon/sys/gmon.h: Likewise.
61813 * hurd/hurdmsg.c: Likewise.
61814 * hurd/new-fd.c: Likewise.
61815 * hurd/ports-get.c: Likewise.
61816 * iconvdata/ibm1008_420.c: Likewise.
61817 * inet/tst-getni1.c: Likewise.
61818 * inet/tst-getni2.c: Likewise.
61819 * libio/ioungetc.c: Likewise.
61820 * libio/wfiledoalloc.c: Likewise.
61821 * manual/libm-err-tab.pl: Likewise.
61822 * math/w_dremf.c: Likewise.
61823 * misc/ftruncate.c: Likewise.
61824 * posix/bug-glob2.c: Likewise.
61825 * posix/tst-pcre.c: Likewise.
61826 * posix/wait4.c: Likewise.
61827 * resolv/README: Likewise.
61828 * resolv/res_debug.h: Likewise.
61829 * resolv/tst-inet_ntop.c: Likewise.
61830 * setjmp/bug269-setjmp.c: Likewise.
61831 * soft-fp/extended.h: Likewise.
61832 * soft-fp/op-1.h: Likewise.
61833 * soft-fp/op-2.h: Likewise.
61834 * soft-fp/op-4.h: Likewise.
61835 * soft-fp/op-8.h: Likewise.
61836 * soft-fp/testit.c: Likewise.
61837 * stdio-common/bug16.c: Likewise.
61838 * stdlib/random.c: Likewise.
61839 * sunrpc/rpcsvc/rquota.x: Likewise.
61840 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
61841 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61842 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61843 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61844 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61845 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
61846 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
61847 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
61848 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
61849 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
61850 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61851 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
61852 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61853 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
61854 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61855 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
61856 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
61857 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61858 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
61859 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61860 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61861 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61862 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
61863 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
61864 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
61865 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
61866 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61867 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
61868 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61869 * sysdeps/ieee754/s_lib_version.c: Likewise.
61870 * sysdeps/mach/hurd/check_fds.c: Likewise.
61871 * sysdeps/mach/hurd/getsockname.c: Likewise.
61872 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
61873 * sysdeps/mach/hurd/recvfrom.c: Likewise.
61874 * sysdeps/powerpc/bits/link.h: Likewise.
61875 * sysdeps/powerpc/dl-procinfo.c: Likewise.
61876 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
61877 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
61878 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
61879 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
61880 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
61881 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
61882 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
61883 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
61884 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
61885 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
61886 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
61887 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
61888 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
61889 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
61890 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
61891 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
61892 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
61893 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
61894 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
61895 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
61896 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
61897 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61898 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
61899 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
61900 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
61901 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
61902 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
61903 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
61904 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
61905 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
61906 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
61907 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61908 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61909 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
61910 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
61911 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
61912 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
61913 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
61914 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
61915 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
61916 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
61917 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
61918 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
61919 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
61920 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
61921 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
61922 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
61923 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
61924 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
61925 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61926 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61927 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61928 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
61929 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
61930 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
61931 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
61932 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61933 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
61934 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
61935 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
61936 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
61937 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
61938 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61939 * sysdeps/powerpc/sysdep.h: Likewise.
61940 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61941 * sysdeps/s390/s390-64/sub_n.S: Likewise.
61942 * sysdeps/sh/dl-trampoline.S: Likewise.
61943 * sysdeps/sh/memset.S: Likewise.
61944 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
61945 * sysdeps/sh/strlen.S: Likewise.
61946 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
61947 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
61948 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
61949 * sysdeps/sparc/sparc32/rem.S: Likewise.
61950 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
61951 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
61952 * sysdeps/sparc/sparc32/strchr.S: Likewise.
61953 * sysdeps/sparc/sparc32/udiv.S: Likewise.
61954 * sysdeps/sparc/sparc32/urem.S: Likewise.
61955 * sysdeps/sparc/sparc64/add_n.S: Likewise.
61956 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
61957 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
61958 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
61959 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
61960 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
61961 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
61962 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
61963 * sysdeps/unix/bsd/times.c: Likewise.
61964 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
61965 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
61966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
61967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
61968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
61969 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
61970 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
61971 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
61972 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
61973 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
61974 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
61975 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
61976 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
61977 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
61978 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
61979 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
61980 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
61981 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
61982 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
61983 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
61984 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
61985 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
61986 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
61987 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
61988 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
61989 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
61990 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
61991 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
61992 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
61993 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
61994 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
61995 * sysdeps/x86_64/strcspn.S: Likewise.
61996
61997 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
61998
61999 * locale/C-translit.h: Revert #include <stdint.h> because this is a
62000 generated file. Regenerate properly from gen-translit.pl.
62001 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
62002 locale/C-translit.h.
62003
62004 2013-06-05 Andreas Schwab <schwab@suse.de>
62005
62006 [BZ #15100]
62007 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
62008 week as 6 instead of -1.
62009 * time/tst-strptime.c (day_tests): Add test case.
62010
62011 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
62012
62013 * sysdeps/generic/math_private.h
62014 (libc_feholdexcept_setround_53bit): Replace with
62015 libc_feholdsetround_53bit.
62016 (libc_feupdateenv_53bit): Replace with
62017 libc_feresetround_53bit.
62018 (SET_RESTORE_ROUND_53BIT): Adjust.
62019
62020 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
62021
62022 * string/test-strchrnul.c: Add copyright header.
62023
62024 * posix/tst-getaddrinfo4.c: Increase test timeout.
62025
62026 2013-06-03 Carlos O'Donell <carlos@redhat.com>
62027
62028 [BZ #15536]
62029 * math/libm-test.inc (MAX_EXP): Remove
62030 (MIN_EXP): Define.
62031 (ulp): Use MIN_EXP - MANT_DIG.
62032 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
62033
62034 2013-05-31 Carlos O'Donell <carlos@redhat.com>
62035
62036 * po/be.po: Revert last change.
62037 * po/zh_CN.po: Likewise.
62038 * po/header.pot: Likewise.
62039
62040 2013-05-31 Joseph Myers <joseph@codesourcery.com>
62041
62042 * Makefile ($(common-objpfx)linkobj/libc.so): Define
62043 link-libc-deps to empty as target-specific variable.
62044 * Makerules (link-libc-args): New variable.
62045 (libc-for-link): Likewise.
62046 (link-libc-deps): Likewise.
62047 (lib%.so): Depend on $(link-libc-deps). Link with
62048 $(link-libc-args).
62049 (build-module): Link with $(link-libc-args).
62050 (build-module-asneeded): Likewise.
62051 (build-module-helper-objlist): Filter out $(link-libc-deps) from
62052 list of objects.
62053 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
62054 target-specific variable.
62055 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
62056 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
62057 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
62058 libc.
62059 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
62060 libc and ld.so.
62061 ($(objpfx)libpcprofile.so): Likewise.
62062 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
62063 libc_nonshared.a.
62064 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
62065 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
62066 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
62067 $(link-libc-deps).
62068 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
62069 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
62070 * login/Makefile ($(objpfx)libutil.so): Likewise.
62071 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
62072 * math/Makefile ($(objpfx)libm.so): Likewise.
62073 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
62074 $(objpfx)libnsl.so): Define libc-for-link as target-specific
62075 variable instead of depending directly on libc.
62076 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
62077 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
62078 $(link-libc-deps).
62079 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
62080 libc.
62081 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
62082 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
62083 ($(objpfx)libanl.so): Likewise.
62084 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
62085 ld.so.
62086 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
62087 $(link-libc-deps).
62088 * sysdeps/i386/fpu/Makefile: Remove file.
62089 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
62090 ($(objpfx)libm.so): Remove dependency on ld.so.
62091
62092 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
62093
62094 [BZ # 15553]
62095 * nis/yp_xdr.c (XDRMAXNAME): Define.
62096 (XDRMAXRECORD): Define.
62097 (xdr_domainname): Use XDRMAXNAME.
62098 (xdr_mapname): Likewise.
62099 (xdr_peername): Likewise.
62100 (xdr_keydat): Use XDRMAXRECORD.
62101 (xdr_valdat): Likewise.
62102
62103 2013-05-30 Jeff Law <law@redhat.com>
62104
62105 [BZ #14256]
62106 * manual/errno.texi (ESTALE): Update to account for more than
62107 just NFS file systems.
62108 * sysdeps/gnu/errlist.c: Regenerated.
62109
62110 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
62111
62112 [BZ #15465]
62113 * elf/Makefile (tests): Add tst-null-argv.
62114 (modules-names): Add tst-null-argv-lib.
62115 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
62116 (tst-null-argv-ENV): Set environment for tst-null-argv.
62117 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
62118 (RTLD_PROGNAME): New macro.
62119 * elf/tst-null-argv.c: New test case.
62120 * elf/tst-null-argv-lib.c: Library for test case.
62121 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
62122 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
62123 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
62124 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
62125 * elf/dl-init.c (call_init): Likewise.
62126 (_dl_init): Likewise.
62127 * elf/dl-load.c (print_search_path): Likewise.
62128 (_dl_map_object): Likewise.
62129 * elf/dl-lookup.c (do_lookup_x): Likewise.
62130 (add_dependency): Likewise.
62131 (_dl_lookup_symbol_x): Likewise.
62132 (_dl_debug_bindings): Likewise.
62133 * elf/dl-open.c (_dl_show_scope): Likewise.
62134 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
62135 * elf/dl-version.c (match_symbol): Likewise.
62136 (_dl_check_map_versions): Likewise.
62137 * elf/rtld.c (dl_main): Likewise.
62138 (print_unresolved): Use RTLD_PROGNAME.
62139 (print_missing_version): Likewise.
62140 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
62141 (elf_machine_rela): Likewise.
62142 * sysdeps/powerpc/powerpc32/dl-machine.c
62143 (__process_machine_rela): Likewise.
62144 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62145 Likewise.
62146 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
62147 Likewise.
62148 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
62149 Likewise.
62150 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
62151 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
62152 Likewise.
62153 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
62154 Likewise.
62155 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
62156
62157 2013-05-28 Carlos O'Donell <carlos@redhat.com>
62158
62159 * po/be.po: Add descriptive title.
62160 * po/zh_CN.po: Likewise.
62161 * po/header.pot: Likewise.
62162
62163 2013-05-28 Mike Frysinger <vapier@gentoo.org>
62164
62165 * locale/programs/locarchive.c (create_archive): Inlucde fname in
62166 error message.
62167 (enlarge_archive): Likewise.
62168
62169 2013-05-28 Ben North <ben@redfrontdoor.org>
62170
62171 * manual/arith.texi (frexp): It is the magnitude of the return
62172 value which lies in [0.5, 1), not the return value itself.
62173
62174 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62175
62176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62177
62178 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
62179
62180 * stdio-common/bug26.c (main): Correct fscanf template.
62181
62182 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
62183 declare _dl_skip_args.
62184
62185 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
62186 Don't declare.
62187
62188 * manual/platform.texi: Add missing @end deftypefun.
62189
62190 2013-05-24 Joseph Myers <joseph@codesourcery.com>
62191
62192 [BZ #15529]
62193 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
62194 bit of mantissa of 2^16382.
62195 * math/libm-test.inc (hypot_test_data): Add more tests.
62196
62197 * math/libm-test.inc: Add drem and pow10 to list of tested
62198 functions.
62199 (pow10_test): New function.
62200 (drem_test): Likewise.
62201 (drem_test_tonearest): Likewise.
62202 (drem_test_towardzero): Likewise.
62203 (drem_test_downward): Likewise.
62204 (drem_test_upward): Likewise.
62205 (main): Call the new functions.
62206
62207 * math/libm-test.inc (finite_test_data): Remove.
62208 (finite_test): Run tests from isfinite_test_data.
62209 (gamma_test_data): Remove.
62210 (gamma_test): Run tests from lgamma_test_data.
62211 * sysdeps/i386/fpu/libm-test-ulps: Update.
62212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62213
62214 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62215
62216 * manual/platform.texi: Add PowerPC PPR function set documentation.
62217 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
62218 implementation.
62219
62220 2013-05-24 Carlos O'Donell <carlos@redhat.com>
62221
62222 * math/libm-test.inc (MAX_EXP): Define.
62223 (ULPDIFF): Define.
62224 (ulp): New function.
62225 (check_float_internal): Use ULPDIFF.
62226 (cpow_test): Disable failing test.
62227 (check_ulp): Test ulp() implementation.
62228 (main): Call check_ulp before starting tests.
62229
62230 2013-05-24 Joseph Myers <joseph@codesourcery.com>
62231
62232 * math/gen-libm-test.pl (generate_testfile): Do not handle
62233 START_DATA and END_DATA.
62234 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
62235 END_DATA.
62236 (acos_tonearest_test_data): Likewise.
62237 (acos_towardzero_test_data): Likewise.
62238 (acos_downward_test_data): Likewise.
62239 (acos_upward_test_data): Likewise.
62240 (acosh_test_data): Likewise.
62241 (asin_test_data): Likewise.
62242 (asin_tonearest_test_data): Likewise.
62243 (asin_towardzero_test_data): Likewise.
62244 (asin_downward_test_data): Likewise.
62245 (asin_upward_test_data): Likewise.
62246 (asinh_test_data): Likewise.
62247 (atan_test_data): Likewise.
62248 (atanh_test_data): Likewise.
62249 (atan2_test_data): Likewise.
62250 (cabs_test_data): Likewise.
62251 (cacos_test_data): Likewise.
62252 (cacosh_test_data): Likewise.
62253 (carg_test_data): Likewise.
62254 (casin_test_data): Likewise.
62255 (casinh_test_data): Likewise.
62256 (catan_test_data): Likewise.
62257 (catanh_test_data): Likewise.
62258 (cbrt_test_data): Likewise.
62259 (ccos_test_data): Likewise.
62260 (ccosh_test_data): Likewise.
62261 (ceil_test_data): Likewise.
62262 (cexp_test_data): Likewise.
62263 (cimag_test_data): Likewise.
62264 (clog_test_data): Likewise.
62265 (clog10_test_data): Likewise.
62266 (conj_test_data): Likewise.
62267 (copysign_test_data): Likewise.
62268 (cos_test_data): Likewise.
62269 (cos_tonearest_test_data): Likewise.
62270 (cos_towardzero_test_data): Likewise.
62271 (cos_downward_test_data): Likewise.
62272 (cos_upward_test_data): Likewise.
62273 (cosh_test_data): Likewise.
62274 (cosh_tonearest_test_data): Likewise.
62275 (cosh_towardzero_test_data): Likewise.
62276 (cosh_downward_test_data): Likewise.
62277 (cosh_upward_test_data): Likewise.
62278 (cpow_test_data): Likewise.
62279 (cproj_test_data): Likewise.
62280 (creal_test_data): Likewise.
62281 (csin_test_data): Likewise.
62282 (csinh_test_data): Likewise.
62283 (csqrt_test_data): Likewise.
62284 (ctan_test_data): Likewise.
62285 (ctan_tonearest_test_data): Likewise.
62286 (ctan_towardzero_test_data): Likewise.
62287 (ctan_downward_test_data): Likewise.
62288 (ctan_upward_test_data): Likewise.
62289 (ctanh_test_data): Likewise.
62290 (ctanh_tonearest_test_data): Likewise.
62291 (ctanh_towardzero_test_data): Likewise.
62292 (ctanh_downward_test_data): Likewise.
62293 (ctanh_upward_test_data): Likewise.
62294 (erf_test_data): Likewise.
62295 (erfc_test_data): Likewise.
62296 (exp_test_data): Likewise.
62297 (exp_tonearest_test_data): Likewise.
62298 (exp_towardzero_test_data): Likewise.
62299 (exp_downward_test_data): Likewise.
62300 (exp_upward_test_data): Likewise.
62301 (exp10_test_data): Likewise.
62302 (exp2_test_data): Likewise.
62303 (expm1_test_data): Likewise.
62304 (fabs_test_data): Likewise.
62305 (fdim_test_data): Likewise.
62306 (finite_test_data): Likewise.
62307 (floor_test_data): Likewise.
62308 (fma_test_data): Likewise.
62309 (fma_towardzero_test_data): Likewise.
62310 (fma_downward_test_data): Likewise.
62311 (fma_upward_test_data): Likewise.
62312 (fmax_test_data): Likewise.
62313 (fmin_test_data): Likewise.
62314 (fmod_test_data): Likewise.
62315 (fpclassify_test_data): Likewise.
62316 (frexp_test_data): Likewise.
62317 (gamma_test_data): Likewise.
62318 (hypot_test_data): Likewise.
62319 (ilogb_test_data): Likewise.
62320 (isfinite_test_data): Likewise.
62321 (isgreater_test_data): Likewise.
62322 (isgreaterequal_test_data): Likewise.
62323 (isinf_test_data): Likewise.
62324 (isless_test_data): Likewise.
62325 (islessequal_test_data): Likewise.
62326 (islessgreater_test_data): Likewise.
62327 (isnan_test_data): Likewise.
62328 (isnormal_test_data): Likewise.
62329 (issignaling_test_data): Likewise.
62330 (isunordered_test_data): Likewise.
62331 (j0_test_data): Likewise.
62332 (j1_test_data): Likewise.
62333 (jn_test_data): Likewise.
62334 (ldexp_test_data): Likewise.
62335 (lgamma_test_data): Likewise.
62336 (lrint_test_data): Likewise.
62337 (lrint_tonearest_test_data): Likewise.
62338 (lrint_towardzero_test_data): Likewise.
62339 (lrint_downward_test_data): Likewise.
62340 (lrint_upward_test_data): Likewise.
62341 (llrint_test_data): Likewise.
62342 (llrint_tonearest_test_data): Likewise.
62343 (llrint_towardzero_test_data): Likewise.
62344 (llrint_downward_test_data): Likewise.
62345 (llrint_upward_test_data): Likewise.
62346 (log_test_data): Likewise.
62347 (log10_test_data): Likewise.
62348 (log1p_test_data): Likewise.
62349 (log2_test_data): Likewise.
62350 (logb_test_data): Likewise.
62351 (logb_downward_test_data): Likewise.
62352 (lround_test_data): Likewise.
62353 (llround_test_data): Likewise.
62354 (modf_test_data): Likewise.
62355 (nearbyint_test_data): Likewise.
62356 (nextafter_test_data): Likewise.
62357 (nexttoward_test_data): Likewise.
62358 (pow_test_data): Likewise.
62359 (pow_tonearest_test_data): Likewise.
62360 (pow_towardzero_test_data): Likewise.
62361 (pow_downward_test_data): Likewise.
62362 (pow_upward_test_data): Likewise.
62363 (remainder_test_data): Likewise.
62364 (remainder_tonearest_test_data): Likewise.
62365 (remainder_towardzero_test_data): Likewise.
62366 (remainder_downward_test_data): Likewise.
62367 (remainder_upward_test_data): Likewise.
62368 (remquo_test_data): Likewise.
62369 (rint_test_data): Likewise.
62370 (rint_tonearest_test_data): Likewise.
62371 (rint_towardzero_test_data): Likewise.
62372 (rint_downward_test_data): Likewise.
62373 (rint_upward_test_data): Likewise.
62374 (round_test_data): Likewise.
62375 (scalb_test_data): Likewise.
62376 (scalbn_test_data): Likewise.
62377 (scalbln_test_data): Likewise.
62378 (signbit_test_data): Likewise.
62379 (sin_test_data): Likewise.
62380 (sin_tonearest_test_data): Likewise.
62381 (sin_towardzero_test_data): Likewise.
62382 (sin_downward_test_data): Likewise.
62383 (sin_upward_test_data): Likewise.
62384 (sincos_test_data): Likewise.
62385 (sinh_test_data): Likewise.
62386 (sinh_tonearest_test_data): Likewise.
62387 (sinh_towardzero_test_data): Likewise.
62388 (sinh_downward_test_data): Likewise.
62389 (sinh_upward_test_data): Likewise.
62390 (sqrt_test_data): Likewise.
62391 (tan_test_data): Likewise.
62392 (tan_tonearest_test_data): Likewise.
62393 (tan_towardzero_test_data): Likewise.
62394 (tan_downward_test_data): Likewise.
62395 (tan_upward_test_data): Likewise.
62396 (tanh_test_data): Likewise.
62397 (tgamma_test_data): Likewise.
62398 (trunc_test_data): Likewise.
62399 (y0_test_data): Likewise.
62400 (y1_test_data): Likewise.
62401 (yn_test_data): Likewise.
62402 (significand_test_data): Likewise.
62403
62404 * math/gen-libm-test.pl (@functions): Remove variable.
62405 (generate_testfile): Don't handle START and END lines.
62406 * math/libm-test.inc (START): New macro.
62407 (END): Likewise.
62408 (END_COMPLEX): Likewise.
62409 (acos_test): Use END macro without arguments.
62410 (acos_test_tonearest): Likewise.
62411 (acos_test_towardzero): Likewise.
62412 (acos_test_downward): Likewise.
62413 (acos_test_upward): Likewise.
62414 (acosh_test): Likewise.
62415 (asin_test): Likewise.
62416 (asin_test_tonearest): Likewise.
62417 (asin_test_towardzero): Likewise.
62418 (asin_test_downward): Likewise.
62419 (asin_test_upward): Likewise.
62420 (asinh_test): Likewise.
62421 (atan_test): Likewise.
62422 (atanh_test): Likewise.
62423 (atan2_test): Likewise.
62424 (cabs_test): Likewise.
62425 (cacos_test): Use END_COMPLEX macro without arguments.
62426 (cacosh_test): Likewise.
62427 (carg_test): Use END macro without arguments.
62428 (casin_test): Use END_COMPLEX macro without arguments.
62429 (casinh_test): Likewise.
62430 (catan_test): Likewise.
62431 (catanh_test): Likewise.
62432 (cbrt_test): Use END macro without arguments.
62433 (ccos_test): Use END_COMPLEX macro without arguments.
62434 (ccosh_test): Likewise.
62435 (ceil_test): Use END macro without arguments.
62436 (cexp_test): Use END_COMPLEX macro without arguments.
62437 (cimag_test): Use END macro without arguments.
62438 (clog_test): Use END_COMPLEX macro without arguments.
62439 (clog10_test): Likewise.
62440 (conj_test): Likewise.
62441 (copysign_test): Use END macro without arguments.
62442 (cos_test): Likewise.
62443 (cos_test_tonearest): Likewise.
62444 (cos_test_towardzero): Likewise.
62445 (cos_test_downward): Likewise.
62446 (cos_test_upward): Likewise.
62447 (cosh_test): Likewise.
62448 (cosh_test_tonearest): Likewise.
62449 (cosh_test_towardzero): Likewise.
62450 (cosh_test_downward): Likewise.
62451 (cosh_test_upward): Likewise.
62452 (cpow_test): Use END_COMPLEX macro without arguments.
62453 (cproj_test): Likewise.
62454 (creal_test): Use END macro without arguments.
62455 (csin_test): Use END_COMPLEX macro without arguments.
62456 (csinh_test): Likewise.
62457 (csqrt_test): Likewise.
62458 (ctan_test): Likewise.
62459 (ctan_test_tonearest): Likewise.
62460 (ctan_test_towardzero): Likewise.
62461 (ctan_test_downward): Likewise.
62462 (ctan_test_upward): Likewise.
62463 (ctanh_test): Likewise.
62464 (ctanh_test_tonearest): Likewise.
62465 (ctanh_test_towardzero): Likewise.
62466 (ctanh_test_downward): Likewise.
62467 (ctanh_test_upward): Likewise.
62468 (erf_test): Use END macro without arguments.
62469 (erfc_test): Likewise.
62470 (exp_test): Likewise.
62471 (exp_test_tonearest): Likewise.
62472 (exp_test_towardzero): Likewise.
62473 (exp_test_downward): Likewise.
62474 (exp_test_upward): Likewise.
62475 (exp10_test): Likewise.
62476 (exp2_test): Likewise.
62477 (expm1_test): Likewise.
62478 (fabs_test): Likewise.
62479 (fdim_test): Likewise.
62480 (finite_test): Likewise.
62481 (floor_test): Likewise.
62482 (fma_test): Likewise.
62483 (fma_test_towardzero): Likewise.
62484 (fma_test_downward): Likewise.
62485 (fma_test_upward): Likewise.
62486 (fmax_test): Likewise.
62487 (fmin_test): Likewise.
62488 (fmod_test): Likewise.
62489 (fpclassify_test): Likewise.
62490 (frexp_test): Likewise.
62491 (gamma_test): Likewise.
62492 (hypot_test): Likewise.
62493 (ilogb_test): Likewise.
62494 (isfinite_test): Likewise.
62495 (isgreater_test): Likewise.
62496 (isgreaterequal_test): Likewise.
62497 (isinf_test): Likewise.
62498 (isless_test): Likewise.
62499 (islessequal_test): Likewise.
62500 (islessgreater_test): Likewise.
62501 (isnan_test): Likewise.
62502 (isnormal_test): Likewise.
62503 (issignaling_test): Likewise.
62504 (isunordered_test): Likewise.
62505 (j0_test): Likewise.
62506 (j1_test): Likewise.
62507 (jn_test): Likewise.
62508 (ldexp_test): Likewise.
62509 (lgamma_test): Likewise.
62510 (lrint_test): Likewise.
62511 (lrint_test_tonearest): Likewise.
62512 (lrint_test_towardzero): Likewise.
62513 (lrint_test_downward): Likewise.
62514 (lrint_test_upward): Likewise.
62515 (llrint_test): Likewise.
62516 (llrint_test_tonearest): Likewise.
62517 (llrint_test_towardzero): Likewise.
62518 (llrint_test_downward): Likewise.
62519 (llrint_test_upward): Likewise.
62520 (log_test): Likewise.
62521 (log10_test): Likewise.
62522 (log1p_test): Likewise.
62523 (log2_test): Likewise.
62524 (logb_test): Likewise.
62525 (logb_test_downward): Likewise.
62526 (lround_test): Likewise.
62527 (llround_test): Likewise.
62528 (modf_test): Likewise.
62529 (nearbyint_test): Likewise.
62530 (nextafter_test): Likewise.
62531 (nexttoward_test): Likewise.
62532 (pow_test): Likewise.
62533 (pow_test_tonearest): Likewise.
62534 (pow_test_towardzero): Likewise.
62535 (pow_test_downward): Likewise.
62536 (pow_test_upward): Likewise.
62537 (remainder_test): Likewise.
62538 (remainder_test_tonearest): Likewise.
62539 (remainder_test_towardzero): Likewise.
62540 (remainder_test_downward): Likewise.
62541 (remainder_test_upward): Likewise.
62542 (remquo_test): Likewise.
62543 (rint_test): Likewise.
62544 (rint_test_tonearest): Likewise.
62545 (rint_test_towardzero): Likewise.
62546 (rint_test_downward): Likewise.
62547 (rint_test_upward): Likewise.
62548 (round_test): Likewise.
62549 (scalb_test): Likewise.
62550 (scalbn_test): Likewise.
62551 (scalbln_test): Likewise.
62552 (signbit_test): Likewise.
62553 (sin_test): Likewise.
62554 (sin_test_tonearest): Likewise.
62555 (sin_test_towardzero): Likewise.
62556 (sin_test_downward): Likewise.
62557 (sin_test_upward): Likewise.
62558 (sincos_test): Likewise.
62559 (sinh_test): Likewise.
62560 (sinh_test_tonearest): Likewise.
62561 (sinh_test_towardzero): Likewise.
62562 (sinh_test_downward): Likewise.
62563 (sinh_test_upward): Likewise.
62564 (sqrt_test): Likewise.
62565 (tan_test): Likewise.
62566 (tan_test_tonearest): Likewise.
62567 (tan_test_towardzero): Likewise.
62568 (tan_test_downward): Likewise.
62569 (tan_test_upward): Likewise.
62570 (tanh_test): Likewise.
62571 (tgamma_test): Likewise.
62572 (trunc_test): Likewise.
62573 (y0_test): Likewise.
62574 (y1_test): Likewise.
62575 (yn_test): Likewise.
62576 (significand_test): Likewise.
62577
62578 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
62579
62580 [BZ #15381]
62581 * libio/genops.c (_IO_no_init): Initialize wide struct info.
62582
62583 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
62584
62585 [BZ #14894]
62586 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
62587 __ppc_mdoio and __ppc_mdoom.
62588 * manual/platform.texi: Document new functions __ppc_yield,
62589 __ppc_mdoio and __ppc_mdoom.
62590
62591 2013-05-22 Carlos O'Donell <carlos@redhat.com>
62592
62593 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
62594 (main): Mention "tls" pseudo-hwcap is legacy.
62595 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
62596
62597 2013-05-22 Joseph Myers <joseph@codesourcery.com>
62598
62599 * math/gen-libm-test.pl (parse_args): Output only string of
62600 arguments as text for test name, not full call or descriptions of
62601 tests for extra outputs.
62602 (generate_testfile): Do not pass function name to parse_args.
62603 Generate this_func variable from START.
62604 * math/libm-test.inc (struct test_f_f_data): Rename test_name
62605 field to arg_str.
62606 (struct test_ff_f_data): Likewise.
62607 (test_ff_f_data_nexttoward): Likewise.
62608 (struct test_fi_f_data): Likewise.
62609 (struct test_fl_f_data): Likewise.
62610 (struct test_if_f_data): Likewise.
62611 (struct test_fff_f_data): Likewise.
62612 (struct test_c_f_data): Likewise.
62613 (struct test_f_f1_data): Likewise. Remove field extra_name.
62614 (struct test_fF_f1_data): Likewise.
62615 (struct test_ffI_f1_data): Likewise.
62616 (struct test_c_c_data): Rename test_name field to arg_str.
62617 (struct test_cc_c_data): Likewise.
62618 (struct test_f_i_data): Likewise.
62619 (struct test_ff_i_data): Likewise.
62620 (struct test_f_l_data): Likewise.
62621 (struct test_f_L_data): Likewise.
62622 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
62623 and extra2_name.
62624 (COMMON_TEST_SETUP): New macro.
62625 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
62626 (COMMON_TEST_CLEANUP): Likewise.
62627 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
62628 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
62629 macros.
62630 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
62631 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
62632 macros.
62633 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
62634 (RUN_TEST_fff_f): Take argument string. Call new setup and
62635 cleanup macros.
62636 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
62637 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
62638 macros.
62639 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
62640 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
62641 macros.
62642 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
62643 (RUN_TEST_fF_f1): Take argument string. Call new setup and
62644 cleanup macros.
62645 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
62646 (RUN_TEST_fI_f1): Take argument string. Call new setup and
62647 cleanup macros.
62648 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
62649 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
62650 cleanup macros.
62651 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
62652 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
62653 macros.
62654 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
62655 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
62656 macros.
62657 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
62658 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
62659 macros.
62660 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
62661 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
62662 cleanup macros.
62663 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
62664 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
62665 cleanup macros.
62666 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
62667 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
62668 macros.
62669 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
62670 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
62671 cleanup macros.
62672 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
62673 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
62674 macros.
62675 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
62676 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
62677 macros.
62678 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
62679 (RUN_TEST_fFF_11): Take argument string. Call new setup and
62680 cleanup macros.
62681 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
62682
62683 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
62684
62685 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
62686 to _sifields.sigfault.
62687 (si_addr_lsb): Define new macro.
62688 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
62689 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62690 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
62691
62692 2013-05-03 Carlos O'Donell <carlos at redhat.com>
62693
62694 [BZ #15441]
62695 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
62696 returns -1.
62697 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
62698 null return -1.
62699 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
62700 loading the domain.
62701
62702 2013-05-22 Joseph Myers <joseph@codesourcery.com>
62703
62704 * math/gen-libm-test.pl (parse_args): Do not include expected
62705 result in test name.
62706 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
62707 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62708 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62709 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62710 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62712
62713 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
62714
62715 * benchtests/Makefile: Sort function entries.
62716
62717 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
62718 tanh, asinh, acosh, atanh.
62719 * benchtests/acos-inputs: New file.
62720 * benchtests/acosh-inputs: New file.
62721 * benchtests/asin-inputs: New file.
62722 * benchtests/asinh-inputs: New file.
62723 * benchtests/atanh-inputs: New file.
62724 * benchtests/cosh-inputs: New file.
62725 * benchtests/log-inputs: New file.
62726 * benchtests/sinh-inputs: New file.
62727 * benchtests/tanh-inputs: New file.
62728
62729 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
62730
62731 [BZ #15339]
62732 * posix/tst-getaddrinfo4.c: New test.
62733 * posix/Makefile (tests): Add it.
62734
62735 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
62736
62737 [BZ #15339]
62738 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
62739 when no services were used.
62740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
62741 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
62742
62743 2013-05-21 Andreas Schwab <schwab@suse.de>
62744
62745 [BZ #15014]
62746 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
62747 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
62748 successful.
62749 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
62750 redundant variable declarations and reallocation of buffer when
62751 parsing as IPv6 address. Always set NSS status when called from
62752 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
62753 buffer too small. Correct computation of needed size.
62754 * nss/Makefile (tests): Add test-digits-dots.
62755 * nss/test-digits-dots.c: New test.
62756
62757 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
62758
62759 * benchtests/Makefile: Remove instructions for adding
62760 benchmark tests.
62761 * benchtests/README: New file to explain how to execute and
62762 enhance the benchmark tests.
62763
62764 2013-05-21 Andreas Schwab <schwab@suse.de>
62765
62766 [BZ #15493]
62767 * setjmp/Makefile (tests): Add tst-sigsetjmp.
62768 * setjmp/tst-sigsetjmp.c: New test.
62769
62770 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
62771
62772 * sysdeps/x86_64/memset.S (memset): New implementation.
62773 (__bzero): Likewise.
62774 (__memset_tail): New function.
62775
62776 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
62777
62778 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
62779 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
62780 __memcpy_sse2_unaligned ifunc selection.
62781 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
62782 Add memcpy-sse2-unaligned.S.
62783 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62784 Add: __memcpy_sse2_unaligned.
62785
62786 2013-05-19 Joseph Myers <joseph@codesourcery.com>
62787
62788 [BZ #15490]
62789 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
62790 math_force_eval before restoring floating-point envrionment.
62791 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
62792 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
62793 Likewise.
62794 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
62795 <math_private.h>.
62796 (__nearbyintl): Use math_force_eval before restoring
62797 floating-point environment.
62798 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
62799
62800 * math/gen-libm-test.pl (special_functions): Remove.
62801 (parse_args): Don't handle TEST_extra. Handle functions with no
62802 return value.
62803 * math/libm-test.inc (struct test_sincos_data): Replace with
62804 struct test_fFF_11_data.
62805 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
62806 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
62807 (sincos_test_data): Change element type to struct
62808 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
62809 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
62810 RUN_TEST_LOOP_sincos.
62811 * math/README.libm-test: Don't mention special handling of
62812 individual functions.
62813 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
62814 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62815 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62816 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62817 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62819
62820 * math/gen-libm-test.pl (get_variable): Remove function.
62821 (parse_args): Don't show pointer parameters to call in test
62822 names. Use "extra output N" in test names for extra outputs
62823 rather than naming variables.
62824
62825 2013-05-18 Joseph Myers <joseph@codesourcery.com>
62826
62827 [BZ #15488]
62828 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
62829 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
62830 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
62831 double tests.
62832 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
62833 disable.
62834 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
62835 check_long_double.
62836
62837 * math/gen-libm-test.pl (@tests): Remove variable.
62838 ($count): Likewise.
62839 (new_test): Remove function.
62840 (show_exceptions): New function.
62841 (special_functions): Use show_exceptions instead of new_test.
62842 (parse_args): Likewise.
62843 (generate_testfile): Pass only function name in generated call to
62844 print_max_error or print_complex_max_error.
62845 (get_ulps): Do not handle complex tests specially.
62846 (output_test): Rename to ...
62847 (get_all_ulps_for_test): ... this. Return a string rather than
62848 printing to a file. Require ulps to be present.
62849 (output_ulps): Generate arrays rather than #defines.
62850 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
62851 (struct ulp_data): New type.
62852 (BUILD_COMPLEX_ULP): Remove macro.
62853 (compare_ulp_data): New function.
62854 (find_ulps): Likewise.
62855 (find_test_ulps): Likewise.
62856 (find_function_ulps): Likewise.
62857 (find_complex_function_ulps): Likewise.
62858 (print_max_error): Determine allowed ulps using
62859 find_function_ulps.
62860 (print_complex_max_error): Determine allowed ulps using
62861 find_complex_function_ulps.
62862 (check_float_internal): Determine max ulps using find_test_ulps.
62863 (check_float): Do not take max_ulp parameter. Update call to
62864 check_float_internal.
62865 (check_complex): Likewise.
62866 (check_int): Do not take max_ulp parameter.
62867 (check_long): Likewise.
62868 (check_bool): Likewise.
62869 (check_longlong): Likewise.
62870 (struct test_f_f_data): Remove max_ulp field.
62871 (struct test_ff_f_data): Likewise.
62872 (struct test_ff_f_data_nexttoward): Likewise.
62873 (struct test_fi_f_data): Likewise.
62874 (struct test_fl_f_data): Likewise.
62875 (struct test_if_f_data): Likewise.
62876 (struct test_fff_f_data): Likewise.
62877 (struct test_c_f_data): Likewise.
62878 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
62879 (struct test_fF_f1_data): Likewise.
62880 (struct test_ffI_f1_data): Likewise.
62881 (struct test_c_c_data): Remove max_ulp field.
62882 (struct test_cc_c_data): Likewise.
62883 (struct test_f_i_data): Likewise.
62884 (struct test_ff_i_data): Likewise.
62885 (struct test_f_l_data): Likewise.
62886 (struct test_f_L_data): Likewise.
62887 (struct test_sincos_data): Likewise.
62888 (RUN_TEST_f_f): Do not handle ulps.
62889 (RUN_TEST_LOOP_f_f): Likewise.
62890 (RUN_TEST_2_f): Likewise.
62891 (RUN_TEST_LOOP_2_f): Likewise.
62892 (RUN_TEST_fff_f): Likewise.
62893 (RUN_TEST_LOOP_fff_f): Likewise.
62894 (RUN_TEST_c_f): Likewise.
62895 (RUN_TEST_LOOP_c_f): Likewise.
62896 (RUN_TEST_f_f1): Likewise.
62897 (RUN_TEST_LOOP_f_f1): Likewise.
62898 (RUN_TEST_fF_f1): Likewise.
62899 (RUN_TEST_LOOP_fF_f1): Likewise.
62900 (RUN_TEST_fI_f1): Likewise.
62901 (RUN_TEST_LOOP_fI_f1): Likewise.
62902 (RUN_TEST_ffI_f1): Likewise.
62903 (RUN_TEST_LOOP_ffI_f1): Likewise.
62904 (RUN_TEST_c_c): Likewise.
62905 (RUN_TEST_LOOP_c_c): Likewise.
62906 (RUN_TEST_cc_c): Likewise.
62907 (RUN_TEST_LOOP_cc_c): Likewise.
62908 (RUN_TEST_f_i): Likewise.
62909 (RUN_TEST_LOOP_f_i): Likewise.
62910 (RUN_TEST_f_i_tg): Likewise.
62911 (RUN_TEST_LOOP_f_i_tg): Likewise.
62912 (RUN_TEST_ff_i_tg): Likewise.
62913 (RUN_TEST_LOOP_ff_i_tg): Likewise.
62914 (RUN_TEST_f_b): Likewise.
62915 (RUN_TEST_LOOP_f_b): Likewise.
62916 (RUN_TEST_f_b_tg): Likewise.
62917 (RUN_TEST_LOOP_f_b_tg): Likewise.
62918 (RUN_TEST_f_l): Likewise.
62919 (RUN_TEST_LOOP_f_l): Likewise.
62920 (RUN_TEST_f_L): Likewise.
62921 (RUN_TEST_LOOP_f_L): Likewise.
62922 (RUN_TEST_sincos): Likewise.
62923 (RUN_TEST_LOOP_sincos): Likewise.
62924
62925 2013-05-17 Joseph Myers <joseph@codesourcery.com>
62926
62927 [BZ #15480]
62928 [BZ #15485]
62929 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
62930 main case of finite arguments, set rounding mode to FE_TONEAREST
62931 and discard exceptions.
62932 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
62933 exceptions.
62934 (remainder_tonearest_test_data): New variable.
62935 (remainder_test_tonearest): New function.
62936 (remainder_towardzero_test_data): New variable.
62937 (remainder_test_towardzero): New function.
62938 (remainder_downward_test_data): New variable.
62939 (remainder_test_downward): New function.
62940 (remainder_upward_test_data): New variable.
62941 (remainder_test_upward): New function.
62942 (main): Call the new test functions.
62943
62944 * math/libm-test.inc (struct test_f_f1_data): Remove field
62945 extra_init.
62946 (struct test_fF_f1_data): Likewise.
62947 (struct test_ffI_f1_data): Likewise.
62948 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
62949 based on value of EXTRA_EXPECTED.
62950 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
62951 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
62952 EXTRA_VAR based on value of EXTRA_EXPECTED.
62953 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
62954 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
62955 EXTRA_VAR based on value of EXTRA_EXPECTED.
62956 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
62957 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
62958 EXTRA_VAR based on value of EXTRA_EXPECTED.
62959 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
62960 * math/gen-libm-test.pl (parse_args): Don't output initializers
62961 for extra output values.
62962
62963 * math/libm-test.inc (check_int): Expect result to be exactly
62964 equal to expected value and do not handle ulps.
62965 (check_long): Likewise.
62966 (check_longlong): Likewise.
62967
62968 * math/libm-test.inc (ceil_test_data): Test for "inexact"
62969 exceptions.
62970 (cimag_test_data): Likewise.
62971 (conj_test_data): Likewise.
62972 (copysign_test_data): Likewise.
62973 (cproj_test_data): Likewise.
62974 (creal_test_data): Likewise.
62975 (fabs_test_data): Likewise.
62976 (fdim_test_data): Likewise.
62977 (finite_test_data): Likewise.
62978 (floor_test_data): Likewise.
62979 (fmax_test_data): Likewise.
62980 (fmin_test_data): Likewise.
62981 (fmod_test_data): Likewise.
62982 (fpclassify_test_data): Likewise.
62983 (frexp_test_data): Likewise.
62984 (ilogb_test_data): Likewise.
62985 (isfinite_test_data): Likewise.
62986 (isgreater_test_data): Likewise.
62987 (isgreaterequal_test_data): Likewise.
62988 (isinf_test_data): Likewise.
62989 (isless_test_data): Likewise.
62990 (islessequal_test_data): Likewise.
62991 (islessgreater_test_data): Likewise.
62992 (isnan_test_data): Likewise.
62993 (isnormal_test_data): Likewise.
62994 (issignaling_test_data): Likewise.
62995 (isunordered_test_data): Likewise.
62996 (ldexp_test_data): Likewise.
62997 (lrint_test_data): Likewise.
62998 (lrint_test_data) [TEST_FLOAT]: Disable one test.
62999 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
63000 (lrint_tonearest_test_data): Test for "inexact" exceptions.
63001 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
63002 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
63003 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
63004 test input.
63005 (lrint_towardzero_test_data): Test for "inexact" exceptions.
63006 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
63007 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
63008 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
63009 that test input.
63010 (lrint_downward_test_data): Test for "inexact" exceptions.
63011 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
63012 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
63013 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
63014 test input.
63015 (lrint_upward_test_data): Test for "inexact" exceptions.
63016 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
63017 test input.
63018 (llrint_test_data): Test for "inexact" exceptions.
63019 (llrint_test_data) [TEST_FLOAT]: Disable one test.
63020 (llrint_tonearest_test_data): Test for "inexact" exceptions.
63021 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
63022 (llrint_towardzero_test_data): Test for "inexact" exceptions.
63023 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
63024 (llrint_downward_test_data): Test for "inexact" exceptions.
63025 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
63026 (llrint_upward_test_data): Test for "inexact" exceptions.
63027 (logb_test_data): Likewise.
63028 (logb_downward_test_data): Likewise.
63029 (nextafter_test_data): Likewise.
63030 (nexttoward_test_data): Likewise.
63031 (remainder_test_data): Likewise.
63032 (remquo_test_data): Likewise.
63033 (scalbn_test_data): Likewise.
63034 (scalbln_test_data): Likewise.
63035 (signbit_test_data): Likewise.
63036 (sqrt_test_data): Likewise.
63037 (significand_test_data): Likewise.
63038
63039 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
63040
63041 [BZ #15424]
63042 * benchtests/bench-modf.c (struct args): Mark arg0 as
63043 volatile.
63044 * scripts/bench.pl: Mark members of struct args as volatile.
63045
63046 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63047
63048 [BZ # 15497]
63049 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
63050 negative infinity on POWER6 or lower.
63051 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
63052
63053 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
63054
63055 [BZ #15442]
63056 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
63057 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
63058 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
63059 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
63060 (_FP_SETQNAN): New macro.
63061 (_FP_SETQNAN_SEMIRAW): Likewise.
63062 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
63063 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
63064 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
63065 (FP_EXTEND): Use _FP_FRAC_SNANP.
63066 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
63067 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
63068 into account.
63069 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
63070 New macro.
63071 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
63072 Likewise.
63073
63074 2013-05-16 Joseph Myers <joseph@codesourcery.com>
63075
63076 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
63077 with DIVIDE_BY_ZERO_EXCEPTION.
63078 (gamma_test_data): Likewise.
63079 (lgamma_test_data): Likewise.
63080 (log_test_data): Likewise.
63081 (log10_test_data): Likewise.
63082 (log2_test_data): Likewise.
63083 (tgamma_test_data): Likewise.
63084
63085 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
63086 (acos_test_tonearest): Likewise.
63087 (acos_test_towardzero): Likewise.
63088 (acos_test_downward): Likewise.
63089 (acos_test_upward): Likewise.
63090 (acosh_test): Likewise.
63091 (asin_test): Likewise.
63092 (asin_test_tonearest): Likewise.
63093 (asin_test_towardzero): Likewise.
63094 (asin_test_downward): Likewise.
63095 (asin_test_upward): Likewise.
63096 (asinh_test): Likewise.
63097 (atan_test): Likewise.
63098 (atanh_test): Likewise.
63099 (atan2_test): Likewise.
63100 (cabs_test): Likewise.
63101 (cacos_test): Likewise.
63102 (cacosh_test): Likewise.
63103 (casin_test): Likewise.
63104 (casinh_test): Likewise.
63105 (catan_test): Likewise.
63106 (catanh_test): Likewise.
63107 (cbrt_test): Likewise.
63108 (ccos_test): Likewise.
63109 (ccosh_test): Likewise.
63110 (cexp_test): Likewise.
63111 (clog_test): Likewise.
63112 (clog10_test): Likewise.
63113 (cos_test): Likewise.
63114 (cos_test_tonearest): Likewise.
63115 (cos_test_towardzero): Likewise.
63116 (cos_test_downward): Likewise.
63117 (cos_test_upward): Likewise.
63118 (cosh_test): Likewise.
63119 (cosh_test_tonearest): Likewise.
63120 (cosh_test_towardzero): Likewise.
63121 (cosh_test_downward): Likewise.
63122 (cosh_test_upward): Likewise.
63123 (cpow_test): Likewise.
63124 (csin_test): Likewise.
63125 (csinh_test): Likewise.
63126 (csqrt_test): Likewise.
63127 (ctan_test): Likewise.
63128 (ctan_test_tonearest): Likewise.
63129 (ctan_test_towardzero): Likewise.
63130 (ctan_test_downward): Likewise.
63131 (ctan_test_upward): Likewise.
63132 (ctanh_test): Likewise.
63133 (ctanh_test_tonearest): Likewise.
63134 (ctanh_test_towardzero): Likewise.
63135 (ctanh_test_downward): Likewise.
63136 (ctanh_test_upward): Likewise.
63137 (erf_test): Likewise.
63138 (erfc_test): Likewise.
63139 (exp_test): Likewise.
63140 (exp_test_tonearest): Likewise.
63141 (exp_test_towardzero): Likewise.
63142 (exp_test_downward): Likewise.
63143 (exp_test_upward): Likewise.
63144 (exp10_test): Likewise.
63145 (exp2_test): Likewise.
63146 (expm1_test): Likewise.
63147 (fmod_test): Likewise.
63148 (gamma_test): Likewise.
63149 (hypot_test): Likewise.
63150 (j0_test): Likewise.
63151 (j1_test): Likewise.
63152 (jn_test): Likewise.
63153 (lgamma_test): Likewise.
63154 (log_test): Likewise.
63155 (log10_test): Likewise.
63156 (log1p_test): Likewise.
63157 (log2_test): Likewise.
63158 (logb_test_downward): Likewise.
63159 (pow_test): Likewise.
63160 (pow_test_tonearest): Likewise.
63161 (pow_test_towardzero): Likewise.
63162 (pow_test_downward): Likewise.
63163 (pow_test_upward): Likewise.
63164 (remainder_test): Likewise.
63165 (remquo_test): Likewise.
63166 (sin_test): Likewise.
63167 (sin_test_tonearest): Likewise.
63168 (sin_test_towardzero): Likewise.
63169 (sin_test_downward): Likewise.
63170 (sin_test_upward): Likewise.
63171 (sincos_test): Likewise.
63172 (sinh_test): Likewise.
63173 (sinh_test_tonearest): Likewise.
63174 (sinh_test_towardzero): Likewise.
63175 (sinh_test_downward): Likewise.
63176 (sinh_test_upward): Likewise.
63177 (sqrt_test): Likewise.
63178 (tan_test): Likewise.
63179 (tan_test_tonearest): Likewise.
63180 (tan_test_towardzero): Likewise.
63181 (tan_test_downward): Likewise.
63182 (tan_test_upward): Likewise.
63183 (tanh_test): Likewise.
63184 (tgamma_test): Likewise.
63185 (y0_test): Likewise.
63186 (y1_test): Likewise.
63187 (yn_test): Likewise.
63188
63189 * math/gen-libm-test.pl (adjust_arg): Remove function.
63190 (special_function): Remove argument $in_func. Only handle
63191 generating output for tables of tests, not inside functions.
63192 (parse_args): Likewise.
63193 (generate_testfile): Remove variable $in_func. Update call to
63194 parse_args.
63195 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
63196 (MINUS_ZERO_INIT): Rename macro to minus_zero.
63197 (PLUS_INFTY_INIT): Rename macro to plus_infty.
63198 (MINUS_INFTY_INIT): Rename macro to minus_infty.
63199 (QNAN_VALUE_INIT): Rename macro to qnan_value.
63200 (MAX_VALUE_INIT): Rename macro to max_value.
63201 (MIN_VALUE_INIT): Rename macro to min_value.
63202 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
63203 (plus_zero): Remove variable.
63204 (minus_zero): Likewise.
63205 (plus_infty): Likewise.
63206 (minus_infty): Likewise.
63207 (qnan_value): Likewise.
63208 (max_value): Likewise.
63209 (min_value): Likewise.
63210 (min_subnorm_value): Likewise.
63211
63212 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
63213
63214 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
63215 uint64_t or uint32_t usage.
63216 * crypt/sha256-block.c: Likewise.
63217 * crypt/sha256-crypt.c: Likewise.
63218 * crypt/sha256.c: Likewise.
63219 * crypt/sha512-block.c: Likewise.
63220 * crypt/sha512-crypt.c: Likewise.
63221 * crypt/sha512.c: Likewise.
63222 * debug/backtrace-tst.c: Likewise.
63223 * debug/pcprofiledump.c: Likewise.
63224 * elf/cache.c: Likewise.
63225 * elf/dl-cache.c: Likewise.
63226 * elf/dl-misc.c: Likewise.
63227 * elf/dl-profile.c: Likewise.
63228 * elf/dl-support.c: Likewise.
63229 * elf/ldconfig.c: Likewise.
63230 * elf/sprof.c: Likewise.
63231 * iconv/dummy-repertoire.c: Likewise.
63232 * iconv/iconv_charmap.c: Likewise.
63233 * iconv/skeleton.c: Likewise.
63234 * iconvdata/8bit-generic.c: Likewise.
63235 * iconvdata/cp737.h: Likewise.
63236 * iconvdata/cp775.h: Likewise.
63237 * iconvdata/ibm1008.h: Likewise.
63238 * iconvdata/ibm1025.h: Likewise.
63239 * iconvdata/ibm1046.h: Likewise.
63240 * iconvdata/ibm1097.h: Likewise.
63241 * iconvdata/ibm1112.h: Likewise.
63242 * iconvdata/ibm1122.h: Likewise.
63243 * iconvdata/ibm1123.h: Likewise.
63244 * iconvdata/ibm1124.h: Likewise.
63245 * iconvdata/ibm1129.h: Likewise.
63246 * iconvdata/ibm1130.h: Likewise.
63247 * iconvdata/ibm1132.h: Likewise.
63248 * iconvdata/ibm1133.h: Likewise.
63249 * iconvdata/ibm1137.h: Likewise.
63250 * iconvdata/ibm1140.h: Likewise.
63251 * iconvdata/ibm1141.h: Likewise.
63252 * iconvdata/ibm1142.h: Likewise.
63253 * iconvdata/ibm1143.h: Likewise.
63254 * iconvdata/ibm1144.h: Likewise.
63255 * iconvdata/ibm1145.h: Likewise.
63256 * iconvdata/ibm1146.h: Likewise.
63257 * iconvdata/ibm1147.h: Likewise.
63258 * iconvdata/ibm1148.h: Likewise.
63259 * iconvdata/ibm1149.h: Likewise.
63260 * iconvdata/ibm1153.h: Likewise.
63261 * iconvdata/ibm1154.h: Likewise.
63262 * iconvdata/ibm1155.h: Likewise.
63263 * iconvdata/ibm1156.h: Likewise.
63264 * iconvdata/ibm1157.h: Likewise.
63265 * iconvdata/ibm1158.h: Likewise.
63266 * iconvdata/ibm1160.h: Likewise.
63267 * iconvdata/ibm1161.h: Likewise.
63268 * iconvdata/ibm1162.h: Likewise.
63269 * iconvdata/ibm1163.h: Likewise.
63270 * iconvdata/ibm1164.h: Likewise.
63271 * iconvdata/ibm1166.h: Likewise.
63272 * iconvdata/ibm1167.h: Likewise.
63273 * iconvdata/ibm12712.h: Likewise.
63274 * iconvdata/ibm1390.h: Likewise.
63275 * iconvdata/ibm1399.h: Likewise.
63276 * iconvdata/ibm16804.h: Likewise.
63277 * iconvdata/ibm4517.h: Likewise.
63278 * iconvdata/ibm4899.h: Likewise.
63279 * iconvdata/ibm4909.h: Likewise.
63280 * iconvdata/ibm4971.h: Likewise.
63281 * iconvdata/ibm5347.h: Likewise.
63282 * iconvdata/ibm803.h: Likewise.
63283 * iconvdata/ibm856.h: Likewise.
63284 * iconvdata/ibm901.h: Likewise.
63285 * iconvdata/ibm902.h: Likewise.
63286 * iconvdata/ibm9030.h: Likewise.
63287 * iconvdata/ibm9066.h: Likewise.
63288 * iconvdata/ibm921.h: Likewise.
63289 * iconvdata/ibm922.h: Likewise.
63290 * iconvdata/ibm9448.h: Likewise.
63291 * iconvdata/isiri-3342.h: Likewise.
63292 * iconvdata/jis0201.h: Likewise.
63293 * include/link.h: Likewise.
63294 * include/netdb.h: Likewise.
63295 * inet/check_native.c: Likewise.
63296 * inet/check_pf.c: Likewise.
63297 * inet/getipv4sourcefilter.c: Likewise.
63298 * inet/getnameinfo.c: Likewise.
63299 * inet/getsourcefilter.c: Likewise.
63300 * inet/htonl.c: Likewise.
63301 * inet/setipv4sourcefilter.c: Likewise.
63302 * inet/setsourcefilter.c: Likewise.
63303 * inet/test-inet6_opt.c: Likewise.
63304 * inet/tst-network.c: Likewise.
63305 * locale/C-collate.c: Likewise.
63306 * locale/C-ctype.c: Likewise.
63307 * locale/C-time.c: Likewise.
63308 * locale/C-translit.h: Likewise.
63309 * locale/loadarchive.c: Likewise.
63310 * locale/programs/3level.h: Likewise.
63311 * locale/programs/charmap.c: Likewise.
63312 * locale/programs/charmap.h: Likewise.
63313 * locale/programs/ld-address.c: Likewise.
63314 * locale/programs/ld-collate.c: Likewise.
63315 * locale/programs/ld-ctype.c: Likewise.
63316 * locale/programs/ld-identification.c: Likewise.
63317 * locale/programs/ld-measurement.c: Likewise.
63318 * locale/programs/ld-messages.c: Likewise.
63319 * locale/programs/ld-monetary.c: Likewise.
63320 * locale/programs/ld-name.c: Likewise.
63321 * locale/programs/ld-numeric.c: Likewise.
63322 * locale/programs/ld-paper.c: Likewise.
63323 * locale/programs/ld-telephone.c: Likewise.
63324 * locale/programs/ld-time.c: Likewise.
63325 * locale/programs/linereader.c: Likewise.
63326 * locale/programs/locale.c: Likewise.
63327 * locale/programs/locarchive.c: Likewise.
63328 * locale/programs/locfile.h: Likewise.
63329 * locale/programs/repertoire.c: Likewise.
63330 * locale/programs/simple-hash.c: Likewise.
63331 * locale/programs/simple-hash.h: Likewise.
63332 * malloc/memusage.c: Likewise.
63333 * malloc/memusagestat.c: Likewise.
63334 * nis/nis_defaults.c: Likewise.
63335 * nis/nis_hash.c: Likewise.
63336 * nis/nis_print.c: Likewise.
63337 * nis/nis_xdr.c: Likewise.
63338 * nscd/connections.c: Likewise.
63339 * nscd/hstcache.c: Likewise.
63340 * nscd/nscd_gethst_r.c: Likewise.
63341 * nscd/nscd_getserv_r.c: Likewise.
63342 * nscd/nscd_helper.c: Likewise.
63343 * nscd/servicescache.c: Likewise.
63344 * nss/makedb.c: Likewise.
63345 * nss/nss_db/db-XXX.c: Likewise.
63346 * nss/nss_db/db-initgroups.c: Likewise.
63347 * nss/nss_db/db-netgrp.c: Likewise.
63348 * nss/nss_files/files-network.c: Likewise.
63349 * nss/nss_files/files-parse.c: Likewise.
63350 * posix/bug-regex5.c: Likewise.
63351 * posix/fnmatch_loop.c: Likewise.
63352 * posix/regcomp.c: Likewise.
63353 * posix/regexec.c: Likewise.
63354 * posix/tst-rfc3484-2.c: Likewise.
63355 * posix/tst-rfc3484-3.c: Likewise.
63356 * posix/tst-rfc3484.c: Likewise.
63357 * resolv/nss_dns/dns-canon.c: Likewise.
63358 * resolv/nss_dns/dns-network.c: Likewise.
63359 * resolv/res_init.c: Likewise.
63360 * resolv/res_mkquery.c: Likewise.
63361 * resolv/tst-aton.c: Likewise.
63362 * stdlib/cxa_atexit.c: Likewise.
63363 * stdlib/cxa_finalize.c: Likewise.
63364 * stdlib/gen-fpioconst.c: Likewise.
63365 * stdlib/strtol_l.c: Likewise.
63366 * string/tst-endian.c: Likewise.
63367 * sunrpc/auth_des.c: Likewise.
63368 * sunrpc/clnt_udp.c: Likewise.
63369 * sunrpc/rtime.c: Likewise.
63370 * sunrpc/svcauth_des.c: Likewise.
63371 * sunrpc/xdr.c: Likewise.
63372 * sunrpc/xdr_intXX_t.c: Likewise.
63373 * sunrpc/xdr_rec.c: Likewise.
63374 * sysdeps/generic/ldconfig.h: Likewise.
63375 * sysdeps/generic/ldsodefs.h: Likewise.
63376 * sysdeps/generic/memusage.h: Likewise.
63377 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
63378 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
63379 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
63380 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
63381 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63382 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63383 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
63384 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
63385 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63386 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63387 * sysdeps/posix/getaddrinfo.c: Likewise.
63388 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63389 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63390 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
63391 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
63392 * sysdeps/powerpc/test-gettimebase.c: Likewise.
63393 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
63394 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
63395 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
63396 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
63397 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
63398 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
63399 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
63400 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
63401 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
63402 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
63403 * sysdeps/x86_64/dl-tls.h: Likewise.
63404 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
63405 * time/alt_digit.c: Likewise.
63406 * time/era.c: Likewise.
63407 * wcsmbs/tst-c16c32-1.c: Likewise.
63408
63409 2013-05-16 Joseph Myers <joseph@codesourcery.com>
63410
63411 * math/libm-test.inc (struct test_sincos_data): New type.
63412 (RUN_TEST_LOOP_sincos): New macro.
63413 (sincos_test_data): New variable.
63414 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
63415
63416 2013-05-16 Richard Henderson <rth@redhat.com>
63417
63418 * math/atest-exp2.c (LIMB64): New macro.
63419 (CONSTSZ): New macro.
63420 (mp_exp1, mp_exp_m1, mp_log2): New variables.
63421 (hexdig): Move ...
63422 (print_mpn_fp): ... to function scope.
63423 (read_mpn_hex): Remove.
63424 (get_log2): Remove.
63425 (exp2_mpn): Use mp_log2.
63426 (main): Use mp_exp1.
63427
63428 2013-05-16 Joseph Myers <joseph@codesourcery.com>
63429
63430 * math/libm-test.inc: Remove comment about not testing "inexact"
63431 exceptions.
63432 (INEXACT_EXCEPTION): New macro.
63433 (NO_INEXACT_EXCEPTION): Likewise.
63434 (INVALID_EXCEPTION_OK): Update value.
63435 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63436 (OVERFLOW_EXCEPTION_OK): Likewise.
63437 (UNDERFLOW_EXCEPTION_OK): Likewise.
63438 (IGNORE_ZERO_INF_SIGN): Likewise.
63439 (ERRNO_UNCHANGED): Likewise.
63440 (ERRNO_EDOM): Likewise.
63441 (ERRNO_ERANGE): Likewise.
63442 (test_exceptions): Handle testing "inexact" exceptions.
63443 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
63444 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
63445 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
63446 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
63447 INEXACT_EXCEPTION.
63448 (rint_towardzero_test_data): Likewise.
63449 (rint_downward_test_data): Likewise.
63450 (rint_upward_test_data): Likewise.
63451
63452 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
63453 with OVERFLOW_EXCEPTION.
63454 (exp10_test_data): Likewise.
63455 (exp2_test_data): Likewise.
63456 (expm1_test_data): Likewise.
63457 (lgamma_test_data): Likewise.
63458 (pow_test_data): Likewise.
63459 (tgamma_test_data): Likewise.
63460 (yn_test_data): Remove duplicate test of overflow.
63461
63462 * math/libm-test.inc (struct test_cc_c_data): New type.
63463 (RUN_TEST_LOOP_cc_c): New macro.
63464 (cpow_test_data): New variable.
63465 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
63466
63467 * math/libm-test.inc (struct test_f_L_data): New type.
63468 (RUN_TEST_LOOP_f_L): New macro.
63469 (llrint_test_data): New variable.
63470 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
63471 (llrint_tonearest_test_data): New variable.
63472 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
63473 (llrint_towardzero_test_data): New variable.
63474 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
63475 (llrint_downward_test_data): New variable.
63476 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
63477 (llrint_upward_test_data): New variable.
63478 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
63479 (llround_test_data): New variable.
63480 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
63481
63482 2013-05-13 Peter Collingbourne <pcc@google.com>
63483
63484 * math/atest-exp2.c (get_log2): Remove const attribute.
63485
63486 2013-05-15 Joseph Myers <joseph@codesourcery.com>
63487
63488 * math/libm-test.inc (struct test_f_l_data): New type.
63489 (RUN_TEST_LOOP_f_l): New macro.
63490 (lrint_test_data): New variable.
63491 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
63492 (lrint_tonearest_test_data): New variable.
63493 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
63494 (lrint_towardzero_test_data): New variable.
63495 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
63496 (lrint_downward_test_data): New variable.
63497 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
63498 (lrint_upward_test_data): New variable.
63499 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
63500 (lround_test_data): New variable.
63501 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
63502
63503 2013-05-15 Peter Collingbourne <pcc@google.com>
63504
63505 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
63506 (EXTRACT_WORDS64) Use where appropriate.
63507 (INSERT_WORDS64) Likewise.
63508
63509 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
63510 constraints with x constraints.
63511 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
63512
63513 * malloc/obstack.c (_obstack_compat): Add initializer.
63514
63515 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
63516
63517 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
63518 si_trapno and add si_addr_lsb to _sifields.sigfault.
63519 (si_trapno): Remove macro.
63520 (si_addr_lsb): Define new macro.
63521 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
63522
63523 2013-05-15 Joseph Myers <joseph@codesourcery.com>
63524
63525 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
63526 instead of TEST_f_l.
63527 (llrint_test_tonearest): Likewise.
63528 (llrint_test_towardzero): Likewise.
63529 (llrint_test_downward): Likewise.
63530 (llrint_test_upward): Likewise.
63531 (llround_test): Likewise.
63532
63533 * math/libm-test.inc (struct test_f_i_data): Add comment.
63534 (RUN_TEST_LOOP_f_b): New macro.
63535 (RUN_TEST_LOOP_f_b_tg): Likewise.
63536 (finite_test_data): New variable.
63537 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
63538 (isfinite_test_data): New variable.
63539 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63540 (isinf_test_data): New variable.
63541 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63542 (isnan_test_data): New variable.
63543 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63544 (isnormal_test_data): New variable.
63545 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63546 (issignaling_test_data): New variable.
63547 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63548 (signbit_test_data): New variable.
63549 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63550
63551 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
63552 with INVALID_EXCEPTION.
63553 (acosh_test_data): Likewise.
63554 (asin_test_data): Likewise.
63555 (atanh_test_data): Likewise.
63556 (fmod_test_data): Likewise.
63557 (log_test_data): Likewise.
63558 (log10_test_data): Likewise.
63559 (log2_test_data): Likewise.
63560 (pow_test_data): Likewise.
63561 (sqrt_test_data): Likewise.
63562 (y0_test_data): Likewise.
63563 (y1_test_data): Likewise.
63564 (yn_test_data): Likewise.
63565
63566 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
63567 function contents.
63568
63569 * math/libm-test.inc (struct test_ff_i_data): New type.
63570 (RUN_TEST_LOOP_ff_i_tg): New macro.
63571 (isgreater_test_data): New variable.
63572 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63573 (isgreaterequal_test_data): New variable.
63574 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63575 (isless_test_data): New variable.
63576 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63577 (islessequal_test_data): New variable.
63578 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63579 (islessgreater_test_data): New variable.
63580 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63581 (isunordered_test_data): New variable.
63582 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63583
63584 2013-05-14 David S. Miller <davem@davemloft.net>
63585
63586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63587
63588 2013-05-14 Joseph Myers <joseph@codesourcery.com>
63589
63590 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
63591
63592 * math/libm-test.inc (struct test_fF_f1_data): Change type of
63593 extra_test to int.
63594 (struct test_f_i_data): Change type of max_ulp to int.
63595
63596 * math/libm-test.inc (test_ffI_f1_data): New type.
63597 (RUN_TEST_LOOP_ffI_f1): New macro.
63598 (remquo_test_data): New variable.
63599 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
63600
63601 * setjmp/tst-setjmp-fp.c: New file.
63602 * setjmp/Makefile (tests): Add tst-setjmp-fp.
63603 (link-libm): New variable.
63604 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
63605
63606 * math/libm-test.inc (struct test_f_i_data): New type.
63607 (RUN_TEST_LOOP_f_i): New macro.
63608 (RUN_TEST_LOOP_f_i_tg): Likewise.
63609 (fpclassify_test_data): New variable.
63610 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
63611 (ilogb_test_data): New variable.
63612 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
63613
63614 * math/libm-test.inc (scalbln_test): Correct function name in END
63615 call.
63616
63617 * math/libm-test.inc (struct test_f_f1_data): Add comment.
63618 (RUN_TEST_LOOP_fI_f1): New macro.
63619 (frexp_test_data): New variable.
63620 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
63621
63622 * math/libm-test.inc (struct test_fF_f1_data): New type.
63623 (RUN_TEST_LOOP_fF_f1): New macro.
63624 (modf_test_data): New variable.
63625 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
63626
63627 * math/libm-test.inc (struct test_f_f1_data): New type.
63628 (RUN_TEST_LOOP_f_f1): New macro.
63629 (gamma_test_data): New variable.
63630 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
63631 (lgamma_test_data): New variable.
63632 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
63633
63634 2013-05-13 Carlos O'Donell <carlos@redhat.com>
63635
63636 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
63637 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
63638 (main): Comment "tls" pseudo-hwcap.
63639
63640 2013-05-13 Joseph Myers <joseph@codesourcery.com>
63641
63642 * math/libm-test.inc (struct test_fl_f_data): New type.
63643 (RUN_TEST_LOOP_fl_f): New variable.
63644 (scalbln_test_data): New variable.
63645 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
63646
63647 * math/libm-test.inc (struct test_fi_f_data): New type.
63648 (RUN_TEST_LOOP_fi_f): New macro.
63649 (ldexp_test_data): New variable.
63650 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
63651 (scalbn_test_data): New variable.
63652 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
63653
63654 * math/libm-test.inc (struct test_c_f_data): New type.
63655 (RUN_TEST_LOOP_c_f): New macro.
63656 (cabs_test_data): New variable.
63657 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
63658 (carg_test_data): New variable.
63659 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
63660 (cimag_test_data): New variable.
63661 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
63662 (creal_test_data): New variable.
63663 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
63664
63665 * math/libm-test.inc (struct test_if_f_data): New type.
63666 (RUN_TEST_LOOP_if_f): New macro.
63667 (jn_test_data): New variable.
63668 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
63669 (yn_test_data): New variable.
63670 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
63671
63672 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
63673
63674 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63675
63676 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
63677 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
63678
63679 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
63680
63681 * benchtests/Makefile (CPPFLAGS-nonlib): Add
63682 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
63683 (bench-deps): Add bench-timing.h.
63684 * benchtests-bench-skeleton.c: Include bench-timing.h.
63685 (main): Use TIMING_* macros instead of clock_gettime.
63686 * benchtests/bench-timing.h: New file.
63687
63688 [BZ #14582]
63689 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
63690 Renamed from _LIB_VERSION.
63691 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
63692
63693 2013-05-12 Joseph Myers <joseph@codesourcery.com>
63694
63695 * math/libm-test.inc (struct test_fff_f_data): New type.
63696 (RUN_TEST_LOOP_fff_f): New macro.
63697 (fma_test_data): New variable.
63698 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
63699 (fma_towardzero_test_data): New variable.
63700 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
63701 (fma_downward_test_data): New variable.
63702 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
63703 (fma_upward_test_data): New variable.
63704 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
63705
63706 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
63707 (struct test_c_c_data): New type.
63708 (RUN_TEST_LOOP_c_c): New macro.
63709 (cacos_test_data): New variable.
63710 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
63711 (cacosh_test_data): New variable.
63712 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
63713 (casin_test_data): New variable.
63714 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
63715 (casinh_test_data): New variable.
63716 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
63717 (catan_test_data): New variable.
63718 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
63719 (catanh_test_data): New variable.
63720 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
63721 (ccos_test_data): New variable.
63722 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
63723 (ccosh_test_data): New variable.
63724 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
63725 (cexp_test_data): New variable.
63726 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
63727 (clog_test_data): New variable.
63728 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
63729 (clog10_test_data): New variable.
63730 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
63731 (conj_test_data): New variable.
63732 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
63733 (cproj_test_data): New variable.
63734 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
63735 (csin_test_data): New variable.
63736 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
63737 (csinh_test_data): New variable.
63738 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
63739 (csqrt_test_data): New variable.
63740 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
63741 (ctan_test_data): New variable.
63742 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
63743 (ctan_tonearest_test_data): New variable.
63744 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
63745 (ctan_towardzero_test_data): New variable.
63746 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
63747 (ctan_downward_test_data): New variable.
63748 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
63749 (ctan_upward_test_data): New variable.
63750 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
63751 (ctanh_test_data): New variable.
63752 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
63753 (ctanh_tonearest_test_data): New variable.
63754 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
63755 (ctanh_towardzero_test_data): New variable.
63756 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
63757 (ctanh_downward_test_data): New variable.
63758 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
63759 (ctanh_upward_test_data): New variable.
63760 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
63761 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
63762 of BUILD_COMPLEX.
63763
63764 * math/libm-test.inc (struct test_ff_f_data): New type.
63765 (struct test_ff_f_data_nexttoward): Likewise.
63766 (RUN_TEST_LOOP_2_f): New macro.
63767 (RUN_TEST_LOOP_ff_f): Likewise.
63768 (atan2_test_data): New variable.
63769 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
63770 (copysign_test_data): New variable.
63771 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
63772 (fdim_test_data): New variable.
63773 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
63774 (fmax_test_data): New variable.
63775 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
63776 (fmin_test_data): New variable.
63777 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
63778 (fmod_test_data): New variable.
63779 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
63780 (hypot_test_data): New variable.
63781 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
63782 (nextafter_test_data): New variable.
63783 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
63784 (nexttoward_test_data): New variable.
63785 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
63786 (pow_test_data): New variable.
63787 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
63788 (pow_tonearest_test_data): New variable.
63789 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
63790 (pow_towardzero_test_data): New variable.
63791 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
63792 (pow_downward_test_data): New variable.
63793 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
63794 (pow_upward_test_data): New variable.
63795 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
63796 (remainder_test_data): New variable.
63797 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
63798 (scalb_test_data): New variable.
63799 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
63800 * sysdeps/i386/fpu/libm-test-ulps: Update.
63801
63802 2013-05-11 Joseph Myers <joseph@codesourcery.com>
63803
63804 * math/libm-test.inc (fma_test): Use max_value instead of local
63805 variable fltmax.
63806 (nextafter_test): Likewise.
63807
63808 * math/libm-test.inc (acos_towardzero_test_data): New variable.
63809 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63810 (acos_downward_test_data): New variable.
63811 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63812 (acos_upward_test_data): New variable.
63813 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63814 (acosh_test_data): New variable.
63815 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
63816 (asin_test_data): New variable.
63817 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
63818 (asin_tonearest_test_data): New variable.
63819 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63820 (asin_towardzero_test_data): New variable.
63821 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63822 (asin_downward_test_data): New variable.
63823 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63824 (asin_upward_test_data): New variable.
63825 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63826 (asinh_test_data): New variable.
63827 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
63828 (atan_test_data): New variable.
63829 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
63830 (atanh_test_data): New variable.
63831 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
63832 (cbrt_test_data): New variable.
63833 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
63834 (ceil_test_data): New variable.
63835 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
63836 (cos_test_data): New variable.
63837 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
63838 (cos_tonearest_test_data): New variable.
63839 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63840 (cos_towardzero_test_data): New variable.
63841 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63842 (cos_downward_test_data): New variable.
63843 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63844 (cos_upward_test_data): New variable.
63845 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63846 (cosh_test_data): New variable.
63847 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
63848 (cosh_tonearest_test_data): New variable.
63849 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63850 (cosh_towardzero_test_data): New variable.
63851 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63852 (cosh_downward_test_data): New variable.
63853 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63854 (cosh_upward_test_data): New variable.
63855 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63856 (erf_test_data): New variable.
63857 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
63858 (erfc_test_data): New variable.
63859 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
63860 (exp_test_data): New variable.
63861 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
63862 (exp_tonearest_test_data): New variable.
63863 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63864 (exp_towardzero_test_data): New variable.
63865 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63866 (exp_downward_test_data): New variable.
63867 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63868 (exp_upward_test_data): New variable.
63869 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63870 (exp10_test_data): New variable.
63871 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
63872 (exp2_test_data): New variable.
63873 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
63874 (expm1_test_data): New variable.
63875 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
63876 (fabs_test_data): New variable.
63877 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
63878 (floor_test_data): New variable.
63879 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
63880 (j0_test_data): New variable.
63881 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
63882 (j1_test_data): New variable.
63883 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
63884 (log_test_data): New variable.
63885 (log_test): Run tests with RUN_TEST_LOOP_f_f.
63886 (log10_test_data): New variable.
63887 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
63888 (log1p_test_data): New variable.
63889 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
63890 (log2_test_data): New variable.
63891 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
63892 (logb_test_data): New variable.
63893 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
63894 (logb_downward_test_data): New variable.
63895 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63896 (nearbyint_test_data): New variable.
63897 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
63898 (rint_test_data): New variable.
63899 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
63900 (rint_tonearest_test_data): New variable.
63901 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63902 (rint_towardzero_test_data): New variable.
63903 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63904 (rint_downward_test_data): New variable.
63905 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63906 (rint_upward_test_data): New variable.
63907 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63908 (round_test_data): New variable.
63909 (round_test): Run tests with RUN_TEST_LOOP_f_f.
63910 (sin_test_data): New variable.
63911 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
63912 (sin_tonearest_test_data): New variable.
63913 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63914 (sin_towardzero_test_data): New variable.
63915 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63916 (sin_downward_test_data): New variable.
63917 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63918 (sin_upward_test_data): New variable.
63919 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63920 (sinh_test_data): New variable.
63921 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
63922 (sinh_tonearest_test_data): New variable.
63923 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63924 (sinh_towardzero_test_data): New variable.
63925 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63926 (sinh_downward_test_data): New variable.
63927 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63928 (sinh_upward_test_data): New variable.
63929 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63930 (sqrt_test_data): New variable.
63931 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
63932 (tan_test_data): New variable.
63933 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
63934 (tan_tonearest_test_data): New variable.
63935 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63936 (tan_towardzero_test_data): New variable.
63937 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63938 (tan_downward_test_data): New variable.
63939 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63940 (tan_upward_test_data): New variable.
63941 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63942 (tanh_test_data): New variable.
63943 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
63944 (tgamma_test_data): New variable.
63945 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
63946 (trunc_test_data): New variable.
63947 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
63948 (y0_test_data): New variable.
63949 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
63950 (y1_test_data): New variable.
63951 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
63952 (significand_test_data): New variable.
63953 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
63954
63955 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
63956
63957 [BZ #12387]
63958 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
63959
63960 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
63961
63962 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
63963
63964 2013-05-10 Andreas Jaeger <aj@suse.de>
63965
63966 [BZ #15448]
63967 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
63968 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
63969
63970 2013-05-10 Joseph Myers <joseph@codesourcery.com>
63971
63972 * math/gen-libm-test.pl (adjust_arg): New function.
63973 (special_functions): Handle generating output in both functions
63974 and arrays.
63975 (parse_args): Likewise.
63976 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
63977 $in_func argument to parse_args.
63978 * math/libm-test.inc (struct test_f_f_data): New type.
63979 (IF_ROUND_INIT_): New macro.
63980 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
63981 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
63982 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
63983 (IF_ROUND_INIT_FE_UPWARD): Likewise.
63984 (ROUND_RESTORE_): Likewise.
63985 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
63986 (ROUND_RESTORE_FE_TONEAREST): Likewise.
63987 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
63988 (ROUND_RESTORE_FE_UPWARD): Likewise.
63989 (RUN_TEST_LOOP_f_f): New macro.
63990 (acos_test_data): New variable.
63991 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
63992 (acos_tonearest_test_data): New variable.
63993 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63994
63995 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
63996
63997 * benchtests/bench-skeleton.c (startup): Fix coding style.
63998
63999 2013-05-10 Joseph Myers <joseph@codesourcery.com>
64000
64001 [BZ #6809]
64002 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
64003 negative infinity argument.
64004 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
64005 negative infinity argument.
64006 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
64007 negative infinity argument.
64008 * math/libm-test.inc (tgamma_test): Expect errno to be set for
64009 domain errors.
64010
64011 2013-05-10 Florian Weimer <fweimer@redhat.com>
64012
64013 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
64014 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
64015 * iconv/iconv_prog.c (main): Likewise.
64016 * locale/programs/charmap-dir.c (charmap_readdir)
64017 (fopen_uncompressed): Likewise.
64018 * locale/programs/locfile.c (siblings_uncached)
64019 (write_locale_data): Use lstat64 instead of lstat.
64020 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
64021 stat.
64022
64023 2013-05-10 Andreas Jaeger <aj@suse.de>
64024
64025 [BZ #15395]
64026 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
64027 localization.
64028 Include <locale.h>.
64029
64030 2013-05-09 Carlos O'Donell <carlos@redhat.com>
64031
64032 * elf/dl-close.c (_dl_close_worker): Add comments.
64033
64034 2013-05-09 Joseph Myers <joseph@codesourcery.com>
64035
64036 [BZ #15359]
64037 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
64038 high part of pi/2.
64039 (__ieee754_rem_pio2l): Update comments.
64040
64041 [BZ #15429]
64042 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
64043 high part of pi/2.
64044 (__ieee754_rem_pio2l): Update comments.
64045
64046 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
64047 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
64048
64049 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
64050 M_PI_4l.
64051
64052 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
64053 (M_PI_34_LOG10El): Likewise.
64054 (M_PI2_LOG10El): Likewise.
64055 (M_PI4_LOG10El): Likewise.
64056 (M_PI_LOG10El): Likewise.
64057
64058 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64059
64060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64061
64062 2013-05-08 Joseph Myers <joseph@codesourcery.com>
64063
64064 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
64065 (MINUS_ZERO_INIT): Likewise.
64066 (PLUS_INFTY_INIT): Likewise.
64067 (MINUS_INFTY_INIT): Likewise.
64068 (QNAN_VALUE_INIT): Likewise.
64069 (MAX_VALUE_INIT): Likewise.
64070 (MIN_VALUE_INIT): Likewise.
64071 (MIN_SUBNORM_VALUE_INIT): Likewise.
64072 (plus_zero): Initialize with PLUS_ZERO_INIT.
64073 (minus_zero): Initialize with MINUS_ZERO_INIT.
64074 (plus_infty): Initialize with PLUS_INFTY_INIT.
64075 (minus_infty): Initialize with MINUS_INFTY_INIT.
64076 (qnan_value): Initialize with QNAN_VALUE_INIT.
64077 (max_value): Initialize with MAX_VALUE_INIT.
64078 (min_value): Initialize with MIN_VALUE_INIT.
64079 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
64080
64081 * math/libm-test.inc (RUN_TEST_if_f): New macro.
64082 (jn_test): Use TEST_if_f instead of TEST_ff_f.
64083 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
64084 (yn_test): Use TEST_if_f instead of TEST_ff_f.
64085
64086 * math/libm-test.inc (RUN_TEST_f_f): New macro.
64087 (RUN_TEST_2_f): Likewise.
64088 (RUN_TEST_ff_f): Likewise.
64089 (RUN_TEST_fi_f): Likewise.
64090 (RUN_TEST_fl_f): Likewise.
64091 (RUN_TEST_fff_f): Likewise.
64092 (RUN_TEST_c_f): Likewise.
64093 (RUN_TEST_f_f1): Likewise.
64094 (RUN_TEST_fF_f1): Likewise.
64095 (RUN_TEST_fI_f1): Likewise.
64096 (RUN_TEST_ffI_f1): Likewise.
64097 (RUN_TEST_c_c): Likewise.
64098 (RUN_TEST_cc_c): Likewise.
64099 (RUN_TEST_f_i): Likewise.
64100 (RUN_TEST_f_i_tg): Likewise.
64101 (RUN_TEST_ff_i_tg): Likewise.
64102 (RUN_TEST_f_b): Likewise.
64103 (RUN_TEST_f_b_tg): Likewise.
64104 (RUN_TEST_f_l): Likewise.
64105 (RUN_TEST_f_L): Likewise.
64106 (RUN_TEST_sincos): Likewise.
64107 * math/gen-libm-test.pl (new_test): Take new argument to indicate
64108 whether to show exceptions. Do not include ");\n" in return
64109 value.
64110 (special_functions): Output call to RUN_TEST_sincos instead of
64111 check_float calls. Update calls to new_test.
64112 (parse_args): Output call to single RUN_TEST_* macro instead of
64113 check_* calls and other assignments. Update calls to new_test.
64114
64115 [BZ #2546]
64116 [BZ #2560]
64117 [BZ #5159]
64118 [BZ #15426]
64119 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
64120 input to result for tgamma overflow.
64121 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
64122 (gamma_coeff): New variable.
64123 (NCOEFF): New macro.
64124 (gamma_positive): New function.
64125 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
64126 underflow here. Use gamma_positive instead of exp (lgamma) for
64127 other arguments.
64128 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
64129 (gamma_coeff): New variable.
64130 (NCOEFF): New macro.
64131 (gammaf_positive): New function.
64132 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
64133 underflow here. Use gamma_positive instead of exp (lgamma) for
64134 other arguments.
64135 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
64136 (gamma_coeff): New variable.
64137 (NCOEFF): New macro.
64138 (gammal_positive): New function.
64139 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
64140 underflow here. Use gamma_positive instead of exp (lgamma) for
64141 other arguments.
64142 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
64143 (gamma_coeff): New variable.
64144 (NCOEFF): New macro.
64145 (gammal_positive): New function.
64146 (__ieee754_gammal_r): Handle positive infinity, overflow and
64147 underflow here. Handle NaN the same as positive infinity. Remove
64148 check x < 0xffffffff for negative integers. Use gamma_positive
64149 instead of exp (lgamma) for other arguments.
64150 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
64151 (gamma_coeff): New variable.
64152 (NCOEFF): New macro.
64153 (gammal_positive): New function.
64154 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
64155 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
64156 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
64157 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
64158 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
64159 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
64160 * sysdeps/generic/math_private.h (__gamma_productf): New
64161 prototype.
64162 (__gamma_product): Likewise.
64163 (__gamma_productl): Likewise.
64164 * math/Makefile (libm-calls): Add gamma_product.
64165 * math/libm-test.inc (tgamma_test): Add more tests.
64166 * sysdeps/i386/fpu/libm-test-ulps: Update.
64167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64168
64169 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
64170
64171 * benchtests/bench-skeleton.c (main): Preheat CPU.
64172
64173 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
64174
64175 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
64176
64177 2013-05-07 Roland McGrath <roland@hack.frob.com>
64178
64179 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
64180 and _dl_skip_args_internal.
64181
64182 2013-05-07 Carlos O'Donell <carlos@redhat.com>
64183
64184 * manual/message.texi (Message Translation): Talk about users.
64185 Message to key mapping impacts design.
64186
64187 2013-05-06 Roland McGrath <roland@hack.frob.com>
64188
64189 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
64190
64191 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
64192
64193 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
64194 * sysdeps/wordsize-64/glob64.c: ... here.
64195
64196 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
64197 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
64198 New macros.
64199
64200 * debug/getlogin_r_chk.c: Moved to ...
64201 * login/getlogin_r_chk.c: ... here.
64202 * debug/Makefile (routines): Move getlogin_r_chk to ...
64203 * login/Makefile (routines): ... here.
64204 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
64205 * login/Versions (libc: GLIBC_2.4): ... here.
64206
64207 * io/poll.c (__poll): Renamed from poll.
64208 Add libc_hidden_def.
64209 (poll): Define as weak alias.
64210
64211 * debug/ptsname_r_chk.c: Moved to ...
64212 * login/ptsname_r_chk.c: ... here.
64213 * debug/Makefile (routines): Move ptsname_r_chk to ...
64214 * login/Makefile (routines): ... here.
64215 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
64216 * login/Versions (libc: GLIBC_2.4): ... here.
64217
64218 * posix/getlogin.c: Moved to ...
64219 * login/getlogin.c: ... here.
64220 * posix/getlogin_r.c: Moved to ...
64221 * login/getlogin_r.c: ... here.
64222 * posix/getlogin_r.c: Moved to ...
64223 * login/getlogin_r.c: ... here.
64224 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
64225 * login/Makefile (routines): ... here.
64226 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
64227 * login/Versions (libc: GLIBC_2.0): ... here.
64228
64229 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
64230 (setrlimit): Define as weak alias.
64231
64232 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
64233 Call __ names for open, ftruncate, and close.
64234 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
64235 (truncate): Define as weak alias.
64236
64237 2013-05-06 Joseph Myers <joseph@codesourcery.com>
64238
64239 * math/gen-libm-test.pl (parse_args): Initialize x before each
64240 test of frexp, modf and remquo.
64241
64242 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
64243 test signgam value.
64244
64245 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64246
64247 [BZ #15418]
64248 [BZ #15419]
64249 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
64250 internal tests.
64251 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64252
64253 2013-05-06 Roland McGrath <roland@hack.frob.com>
64254
64255 * elf/dl-writev.h: New file.
64256 * elf/dl-misc.c: Include it.
64257 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
64258 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
64259
64260 2013-05-04 Joseph Myers <joseph@codesourcery.com>
64261
64262 * math/libm-test.inc (noXFails): Remove variable.
64263 (noXPasses): Likewise.
64264 (BUILD_COMPLEX_INT): Remove macro.
64265 (print_screen): Remove xfail argument.
64266 (print_screen_max_error): Likewise.
64267 (update_stats): Likewise.
64268 (print_max_error): Likewise. Update calls to other affected
64269 functions.
64270 (print_complex_max_error): Likewise.
64271 (test_single_exception): Update calls to print_screen.
64272 (test_single_errno): Likewise.
64273 (check_float_internal): Remove xfail argument. Update calls to
64274 other affected functions.
64275 (check_float): Likewise.
64276 (check_complex): Likewise.
64277 (check_int): Likewise.
64278 (check_long): Likewise.
64279 (check_bool): Likewise.
64280 (check_longlong): Likewise.
64281 (main): Don't print noXFails and noXPasses.
64282 * math/gen-libm-test.pl (top level): Don't mention expected
64283 failure handling in comment.
64284 (new_test): Don't handle expected failures.
64285 (parse_args): Don't mention expected failure handling in comment.
64286 (generate_testfile): Don't handle expected failures.
64287 (parse_ulps): Likewise.
64288 (print_ulps_file): Likewise.
64289 (get_failure): Remove function.
64290 (output_test): Don't handle expected failures.
64291 * make/README.libm-test: Don't mention expected failure handling.
64292
64293 * math/libm-test.inc (plus_zero): Make const. Add initializer.
64294 (minus_zero): Likewise.
64295 (plus_infty): Likewise.
64296 (minus_infty): Likewise.
64297 (qnan_value): Likewise.
64298 (max_value): Likewise.
64299 (min_value): Likewise.
64300 (min_subnorm_value): Likewise.
64301 (initialize): Do not initialize those variables dynamically.
64302
64303 2013-05-03 Roland McGrath <roland@hack.frob.com>
64304
64305 * io/open.c (__open_2): Moved to ...
64306 * io/open_2.c: ... this new file.
64307 * io/open64.c (__open64_2): Moved to ...
64308 * io/open64_2.c: ... this new file.
64309 * io/openat.c (__openat_2): Moved to ...
64310 * io/openat_2.c: ... this new file.
64311 * io/openat64.c (__openat64_2): Moved to ...
64312 * io/openat64_2.c: ... this new file.
64313 * io/Makefile (routines): Add them.
64314 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
64315 * sysdeps/unix/sysv/linux/open_2.c: File removed.
64316 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
64317 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
64318 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
64319 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
64320 (__openat64): Add hidden_ver.
64321 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
64322 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
64323
64324 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
64325 Separately conditionalize setting of GLRO(dl_sysinfo) so
64326 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
64327 as well, but the actual setting is only under [NEED_DL_SYSINFO].
64328
64329 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64330
64331 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
64332 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
64333 definition.
64334 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
64335 * sysdeps/unix/sysv/linux/powerpc/init-first.c
64336 (_libc_vdso_platform_setup): Add __vdso_time initialization.
64337 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
64338 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
64339
64340 2013-05-03 Joseph Myers <joseph@codesourcery.com>
64341
64342 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
64343 test signgam value.
64344
64345 * math/libm-test.inc (hypot_test): Do not use
64346 IGNORE_ZERO_INF_SIGN.
64347
64348 2013-05-03 Andreas Jaeger <aj@suse.de>
64349
64350 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
64351 Linux 3.9.
64352 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
64353 (PF_MAX): Adjust for VSOCK change.
64354
64355 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64356
64357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64358
64359 2013-05-02 Carlos O'Donell <carlos@redhat.com>
64360
64361 [BZ #15264]
64362 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
64363 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
64364 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
64365
64366 2013-05-02 David S. Miller <davem@davemloft.net>
64367
64368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64369
64370 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
64371
64372 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
64373
64374 2013-05-01 Roland McGrath <roland@hack.frob.com>
64375
64376 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
64377
64378 2013-05-01 Richard Smith <richard@metafoo.co.uk>
64379
64380 [BZ #14952]
64381 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
64382 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
64383 Use __attribute__ ((__gnu_inline__)).
64384 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
64385 Don't use __attribute__ ((__gnu_inline__)).
64386
64387 2013-05-01 Joseph Myers <joseph@codesourcery.com>
64388
64389 [BZ #15423]
64390 * math/s_catan.c (__catan): Handle small real or imaginary part of
64391 input specially to avoid spurious underflow.
64392 * math/s_catanf.c (__catanf): Likewise.
64393 * math/s_catanh.c (__catanh): Likewise.
64394 * math/s_catanhf.c (__catanhf): Likewise.
64395 * math/s_catanhl.c (__catanhl): Likewise.
64396 * math/s_catanl.c (__catanl): Likewise.
64397 * math/libm-test.inc (catan_test): Add more tests.
64398 (catanh_test): Likewise.
64399 * sysdeps/i386/fpu/libm-test-ulps: Update.
64400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64401
64402 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64403
64404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64405
64406 2013-04-30 Joseph Myers <joseph@codesourcery.com>
64407
64408 [BZ #15416]
64409 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
64410 accurately for denominator in atan2.
64411 * math/s_catanf.c (__catanf): Likewise.
64412 * math/s_catanh.c (__catanh): Likewise.
64413 * math/s_catanhf.c (__catanhf): Likewise.
64414 * math/s_catanhl.c (__catanhl): Likewise.
64415 * math/s_catanl.c (__catanl): Likewise.
64416 * math/libm-test.inc (catan_test): Add more tests.
64417 (catanh_test): Likewise.
64418 * sysdeps/i386/fpu/libm-test-ulps: Update.
64419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64420
64421 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
64422
64423 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
64424
64425 * benchtests/Makefile (bench): Remove slow benchmarks.
64426 * benchtests/atan-inputs: Add slow benchmark inputs.
64427 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
64428 (BENCH_FUNC): Accept variant offset.
64429 (VARIANT): Define.
64430 * benchtests/bench-skeleton.c (main): Run benchmark for each
64431 variant.
64432 * benchtests/cos-inputs: Add slow benchmark inputs.
64433 * benchtests/exp-inputs: Likewise.
64434 * benchtests/pow-inputs: Likewise.
64435 * benchtests/sin-inputs: Likewise.
64436 * benchtests/slowatan-inputs: Remove.
64437 * benchtests/slowatan.c: Remove.
64438 * benchtests/slowcos-inputs: Remove.
64439 * benchtests/slowcos.c: Remove.
64440 * benchtests/slowexp-inputs: Remove.
64441 * benchtests/slowexp.c: Remove.
64442 * benchtests/slowpow-inputs: Remove.
64443 * benchtests/slowpow.c: Remove.
64444 * benchtests/slowsin-inputs: Remove.
64445 * benchtests/slowsin.c: Remove.
64446 * benchtests/slowtan-inputs: Remove.
64447 * benchtests/slowtan.c: Remove.
64448 * benchtests/tan-inputs: Add slow benchmark inputs.
64449 * scripts/bench.pl: Parse comments and directives.
64450
64451 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
64452 in CPPFLAGS.
64453 ($(objpfx)bench-%.c): Remove *-ITER.
64454 * benchtests/bench-modf.c: Remove definition of ITER.
64455 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
64456 (main): Loop for DURATION seconds instead of fixed number of
64457 iterations.
64458 * scripts/bench.pl: Don't expect iterations in parameters.
64459
64460 2013-04-29 Roland McGrath <roland@hack.frob.com>
64461
64462 * io/fchdir.c (__fchdir): Renamed from fchdir.
64463 (fchdir): Define as weak alias.
64464
64465 2013-04-29 Joseph Myers <joseph@codesourcery.com>
64466
64467 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
64468 (ERRNO_EDOM): Likewise.
64469 (ERRNO_ERANGE): Likewise.
64470 (noErrnoTests): New variable.
64471 (init_max_error): Set errno to 0.
64472 (test_single_errno): New function.
64473 (test_errno): Likewise.
64474 (check_float_internal): Call test_errno. Set errno to 0.
64475 (check_complex): Refer to errno tests in comment.
64476 (check_int): Call test_errno. Set errno to 0.
64477 (check_long): Likewise.
64478 (check_bool): Likewise.
64479 (check_longlong): Likewise.
64480 (cos_test): Use ERRNO_* flags for errno tests instead of
64481 check_int.
64482 (expm1_test): Likewise.
64483 (fmod_test): Likewise.
64484 (ilogb_test): Likewise.
64485 (lgamma_test): Likewise.
64486 (pow_test): Likewise.
64487 (remainder_test): Likewise.
64488 (sin_test): Likewise.
64489 (tan_test): Likewise.
64490 (yn_test): Likewise.
64491 (initialize): Set errno to 0.
64492 (main): Print number of errno tests.
64493 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
64494
64495 2013-04-29 Andreas Jaeger <aj@suse.de>
64496
64497 [BZ #15084]
64498 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
64499 and RES_USEVC.
64500
64501 [BZ #15085]
64502 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
64503 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
64504 unimplemented.
64505
64506 [BZ #15380]
64507 * stdlib/random.c (__initstate): Return NULL if
64508 __initstate fails.
64509
64510 [BZ #15086]
64511 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
64512 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
64513 RES_SNGLKUPREOP.
64514
64515 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64516
64517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64518
64519 2013-04-29 Joseph Myers <joseph@codesourcery.com>
64520
64521 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
64522 of individual tests.
64523 (casin_test): Likewise.
64524 (casinh_test): Likewise.
64525
64526 2013-04-27 Joseph Myers <joseph@codesourcery.com>
64527
64528 [BZ #15409]
64529 * math/s_catan.c (__catan): Handle arguments with large real or
64530 imaginary part separately without squaring.
64531 * math/s_catanf.c (__catanf): Likewise.
64532 * math/s_catanh.c (__catanh): Likewise.
64533 * math/s_catanhf.c (__catanhf): Likewise.
64534 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
64535 and redefine.
64536 (__catanhl): Handle arguments with large real or imaginary part
64537 separately without squaring.
64538 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
64539 and redefine.
64540 (__catanl): Handle arguments with large real or imaginary part
64541 separately without squaring.
64542 * math/libm-test.inc (catan_test): Add more tests.
64543 (catanh_test): Likewise.
64544 * sysdeps/i386/fpu/libm-test-ulps: Update.
64545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64546
64547 2013-04-27 Andreas Jaeger <aj@suse.de>
64548
64549 [BZ #15007]
64550 * stdlib/stdlib.h: Update guards for qecvt.
64551 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
64552 <stdlib.h>.
64553
64554 2013-04-27 Allan McRae <allan@archlinux.org>
64555
64556 * sysdeps/i386/fpu/libm-test-ulps: Update.
64557
64558 2013-04-26 Joseph Myers <joseph@codesourcery.com>
64559
64560 [BZ #15406]
64561 * math/s_catan.c: Include <float.h>.
64562 (__catan): Ensure underflow exception occurs for underflowed
64563 result.
64564 * math/s_catanf.c: Include <float.h>.
64565 (__catanf): Ensure underflow exception occurs for underflowed
64566 result.
64567 * math/s_catanh.c: Include <float.h>.
64568 (__catanh): Ensure underflow exception occurs for underflowed
64569 result.
64570 * math/s_catanhf.c: Include <float.h>.
64571 (__catanhf): Ensure underflow exception occurs for underflowed
64572 result.
64573 * math/s_catanhl.c: Include <float.h>.
64574 (__catanhl): Ensure underflow exception occurs for underflowed
64575 result.
64576 * math/s_catanl.c: Include <float.h>.
64577 (__catanl): Ensure underflow exception occurs for underflowed
64578 result.
64579 * math/libm-test.inc (catan_test): Add more tests.
64580 (catanh_test): Likewise.
64581
64582 [BZ #15405]
64583 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
64584 underflowed result.
64585 * math/s_ccoshf.c (__ccoshf): Likewise.
64586 * math/s_ccoshl.c (__ccoshl): Likewise.
64587 * math/s_csin.c (__csin): Likewise.
64588 * math/s_csinf.c (__csinf): Likewise.
64589 * math/s_csinh.c (__csinh): Likewise.
64590 * math/s_csinhf.c (__csinhf): Likewise.
64591 * math/s_csinhl.c (__csinhl): Likewise.
64592 * math/s_csinl.c (__csinl): Likewise.
64593 * math/libm-test.inc (ccos_test): Add more tests.
64594 (ccosh_test): Likewise.
64595 (csin_test): Likewise.
64596 (csinh_test): Likewise.
64597
64598 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64599
64600 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
64601 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
64602 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
64603 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
64604 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
64605 powerpc/power5+/fpu folders.
64606 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
64607
64608
64609 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
64610
64611 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64612
64613 2013-04-25 Joseph Myers <joseph@codesourcery.com>
64614
64615 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
64616 additions to variable.
64617 [$(config-machine) = x86_64] (modules-names): Likewise.
64618 ($(objpfx)tst-audit3): Remove dependency.
64619 ($(objpfx)tst-audit3.out): Likewise.
64620 ($(objpfx)tst-audit4): Likewise.
64621 ($(objpfx)tst-audit4.out): Likewise.
64622 ($(objpfx)tst-audit5): Likewise.
64623 ($(objpfx)tst-audit5.out): Likewise.
64624 ($(objpfx)tst-audit6): Likewise.
64625 ($(objpfx)tst-audit6.out): Likewise.
64626 ($(objpfx)tst-audit7): Likewise.
64627 ($(objpfx)tst-audit7.out): Likewise.
64628 (tst-audit3-ENV): Remove variable.
64629 (tst-audit4-ENV): Likewise.
64630 (tst-audit5-ENV): Likewise.
64631 (tst-audit6-ENV): Likewise.
64632 (tst-audit7-ENV): Likewise.
64633 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
64634 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
64635 addition to variable.
64636 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
64637 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
64638 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
64639 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
64640 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
64641 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
64642 tst-audit3, tst-audit4 and tst-audit5.
64643 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
64644 tst-audit6 and tst-audit7.
64645 [$(subdir) = elf] (modules-names): Add audit modules for those
64646 tests.
64647 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
64648 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
64649 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
64650 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
64651 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
64652 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
64653 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
64654 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
64655 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
64656 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
64657 [$(subdir) = elf] (tst-audit3-ENV): New variable.
64658 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
64659 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
64660 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
64661 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
64662 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
64663 Likewise.
64664 [$(subdir) = elf && $(config-cflags-avx) = yes]
64665 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
64666 [$(subdir) = elf && $(config-cflags-avx) = yes]
64667 (CFLAGS-tst-auditmod4a.c): Likewise.
64668 [$(subdir) = elf && $(config-cflags-avx) = yes]
64669 (CFLAGS-tst-auditmod4b.c): Likewise.
64670 [$(subdir) = elf && $(config-cflags-avx) = yes]
64671 (CFLAGS-tst-auditmod6b.c): Likewise.
64672 [$(subdir) = elf && $(config-cflags-avx) = yes]
64673 (CFLAGS-tst-auditmod6c.c): Likewise.
64674 [$(subdir) = elf && $(config-cflags-avx) = yes]
64675 (CFLAGS-tst-auditmod7b.c): Likewise.
64676 * elf/tst-audit3.c: Move to ...
64677 * sysdeps/x86_64/tst-audit3.c: ... here.
64678 * elf/tst-audit4.c: Move to ...
64679 * sysdeps/x86_64/tst-audit4.c: ... here.
64680 * elf/tst-audit5.c: Move to ...
64681 * sysdeps/x86_64/tst-audit5.c: ... here.
64682 * elf/tst-audit6.c: Move to ...
64683 * sysdeps/x86_64/tst-audit6.c: ... here.
64684 * elf/tst-audit7.c: Move to ...
64685 * sysdeps/x86_64/tst-audit7.c: ... here.
64686 * elf/tst-auditmod3a.c: Move to ...
64687 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
64688 * elf/tst-auditmod3b.c: Move to ...
64689 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
64690 * elf/tst-auditmod4a.c: Move to ...
64691 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
64692 * elf/tst-auditmod4b.c: Move to ...
64693 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
64694 * elf/tst-auditmod5a.c: Move to ...
64695 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
64696 * elf/tst-auditmod5b.c: Move to ...
64697 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
64698 * elf/tst-auditmod6a.c: Move to ...
64699 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
64700 * elf/tst-auditmod6b.c: Move to ...
64701 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
64702 * elf/tst-auditmod6c.c: Move to ...
64703 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
64704 * elf/tst-auditmod7a.c: Move to ...
64705 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
64706 * elf/tst-auditmod7b.c: Move to ...
64707 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
64708
64709 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
64710
64711 [BZ #15366]
64712 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
64713 define unconditionally.
64714 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
64715 define unconditionally.
64716 (INT8_C, INT16_C, etc.): Likewise.
64717
64718 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
64719
64720 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
64721 __ehdr_start with hidden visibility.
64722
64723 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
64724
64725 2013-04-24 Carlos O'Donell <carlos@redhat.com>
64726
64727 * math/libm-test.inc (cos_test): Use accurate hex constants.
64728 (sincost_test): Likewise.
64729
64730 2013-04-24 Joseph Myers <joseph@codesourcery.com>
64731
64732 * math/libm-test.inc (catan_test): Add more tests.
64733 (catanh_test): Likewise.
64734
64735 * math/s_catanf.c (__catanf): Use suffixed floating-point
64736 constants.
64737 * math/s_catanhf.c (__catanhf): Likewise.
64738 * math/s_catanhl.c (__catanhl): Likewise.
64739 * math/s_catanl.c (__catanl): Likewise.
64740
64741 [BZ #15394]
64742 * math/s_catan.c (__catan): Calculate imaginary part of result
64743 with log1p not log unless computing log of number close to 0.
64744 * math/s_catanf.c (__catanf): Likewise.
64745 * math/s_catanl.c (__catanl): Likewise.
64746 * math/s_catanh.c (__catanh): Calculate real part of result with
64747 log1p not log unless computing log of number close to 0.
64748 * math/s_catanhf.c (__catanhf): Likewise.
64749 * math/s_catanhl.c (__catanhl): Likewise.
64750 * math/libm-test.inc (catan_test): Add more tests.
64751 (catanh_test): Likewise.
64752 * sysdeps/i386/fpu/libm-test-ulps: Update.
64753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64754
64755 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
64756
64757 * benchtests/Makefile: Mention files in which fast and slow
64758 paths of math functions are implemented.
64759
64760 2013-04-23 Roland McGrath <roland@hack.frob.com>
64761
64762 * sysdeps/posix/timespec_get.c: New file.
64763
64764 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64765
64766 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
64767 POWER.
64768 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
64769 for POWER.
64770 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
64771 powerpc/power5/fpu folders.
64772 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
64773 * benchtests/Makefile: Add modf testcase.
64774 * benchtests/bench-modf.c: New file: Benchmark test for mo
64775
64776 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
64777
64778 [BZ #14888]
64779 * time/Makefile (tests): Add tst-strptime-whitespace.
64780 * time/strptime_l.c (get_number): Use ISSPACE.
64781 (__strptime_internal): Likewise.
64782 * time/tst-strptime-whitespace.c: New test case.
64783
64784 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
64785
64786 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
64787 member.
64788 (_nss_files_init): Set it here.
64789
64790 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
64791
64792 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
64793 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
64794 unsigned.
64795
64796 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
64797
64798 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
64799
64800 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
64801
64802 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
64803 size just once.
64804
64805 2013-04-21 David S. Miller <davem@davemloft.net>
64806
64807 * po/ru.po: Update Russion translation from translation project.
64808
64809 2013-04-17 Adam Conrad <adconrad@0c3.net>
64810
64811 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
64812 and setfsgid.
64813
64814 2013-04-17 Carlos O'Donell <carlos@redhat.com>
64815
64816 * configure.in: Remove i386 configure warning. Remove i386 case.
64817 * configure: Regenerate.
64818 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
64819 Add example to error message.
64820 * sysdeps/i386/configure: Regenerate.
64821
64822 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
64823
64824 * benchtests/Makefile (bench): Add cos, tan, slowcos and
64825 slowtan.
64826 * benchtests/cos-inputs: New file.
64827 * benchtests/slowcos-inputs: New file.
64828 * benchtests/slowcos.c: New file.
64829 * benchtests/slowtan-inputs: New file.
64830 * benchtests/slowtan.c: New file.
64831 * benchtests/tan-inputs: New file.
64832
64833 2013-04-16 Roland McGrath <roland@hack.frob.com>
64834
64835 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
64836 considered kosher.
64837
64838 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
64839
64840 * benchtests/Makefile: Include cppflags-iterator.mk to add
64841 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
64842
64843 * Makefile.in (bench-clean): New target.
64844 * benchtests/Makefile (bench-clean): Likewise.
64845
64846 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
64847
64848 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
64849
64850 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
64851
64852 * stdio-common/tstdiomisc.c: Fix coding-style violation.
64853
64854 2013-04-15 Andreas Schwab <schwab@suse.de>
64855
64856 * nscd/grpcache.c (cache_addgr): Properly check for short write.
64857 * nscd/initgrcache.c (addinitgroupsX): Likewise.
64858 * nscd/pwdcache.c (cache_addpw): Likewise.
64859 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
64860 more than recsize.
64861
64862 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
64863
64864 * benchtests/Makefile (bench): Write all output to
64865 bench-out.tmp together.
64866
64867 2013-04-15 Andreas Schwab <schwab@suse.de>
64868
64869 * nscd/nscd.c (main): Don't fork again after closing files.
64870
64871 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
64872
64873 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
64874
64875 * benchtests/Rules (bench-deps): Collect dependencies into a
64876 single variable. Add Makefile to dependencies.
64877 ($(objpfx)bench-%.c): Depend on bench-deps.
64878
64879 2013-04-12 Roland McGrath <roland@hack.frob.com>
64880 Xavier Roche <roche+kml2@exalead.com>
64881
64882 [BZ #15361]
64883 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
64884 just that it's a file descriptor.
64885 * manual/llio.texi (Synchronizing AIO Operations): Update description
64886 for EBADF error from aio_fsync.
64887
64888 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
64889
64890 * Rules (bench): Move target definition...
64891 * benchtests/Makefile: ... here.
64892
64893 2013-04-11 Carlos O'Donell <carlos@redhat.com>
64894
64895 * math/libm-test.inc (cos_test): Fix PI/2 test.
64896 (sincos_test): Likewise.
64897 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
64898 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
64899
64900 2013-04-11 Andreas Schwab <schwab@suse.de>
64901
64902 [BZ #13988]
64903 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
64904 accept exponent character only when digits were seen.
64905 * stdio-common/Makefile (tests): Add bug26.
64906 * stdio-common/bug26.c: New file.
64907
64908 [BZ #14293]
64909 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
64910 non-freeable.
64911
64912 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64913
64914 * Makeconfig (rtld-prefix): Define built linker prefix.
64915 * Rules (run-bench): Use it.
64916 * math/Makefile (run-regen-ulps): Likewise.
64917
64918 * Rules (bench): Remove eval.
64919
64920 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
64921 Roland McGrath <roland@hack.frob.com>
64922 Ondrej Bilka <neleai@seznam.cz>
64923
64924 [BZ #15346]
64925 * time/getdate.c: Include ctype.h and alloca.h.
64926 (__getdate_r): Trim leading and trailing spaces of input.
64927 * time/tst-getdate.c (tests): Add tests with leading and
64928 trailing spaces.
64929
64930 2013-04-08 Roland McGrath <roland@hack.frob.com>
64931
64932 [BZ #14280]
64933 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
64934 when computing value.
64935
64936 2013-04-06 Carlos O'Donell <carlos@redhat.com>
64937
64938 * math/README.libm-test (How can I generate "libm-test-ulps"?):
64939 Use testrun.sh to run libm tests.
64940
64941 [BZ #15309]
64942 * elf/dl-open.c (dl_open_worker): memset all of seen array.
64943
64944 2013-04-06 Marko Myllynen <myllynen@redhat.com>
64945
64946 [BZ #15264]
64947 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
64948
64949 2013-04-06 Carlos O'Donell <carlos@redhat.com>
64950
64951 * Makefile.in (regen-ulps): New target.
64952 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
64953 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
64954 [ifneq (no,$(PERL)] (regen-ulps): New target.
64955 [ifeq (no,$(PERL)] (regen-ulps): New target.
64956 * math/libm-test.inc (ulps_file_name): Define.
64957 (output_dir): New variable.
64958 (options): Add "output-dir" option.
64959 (parse_opt): Handle 'o' case.
64960 (main): If output_dir is non-NULL use it as a prefix
64961 otherwise use "".
64962 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
64963
64964 2013-04-06 Carlos O'Donell <carlos@redhat.com>
64965
64966 [BZ #10060, #10062]
64967 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
64968 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
64969 fail configure if __sync_val_compare_and_swap is not inlined.
64970 * sysdeps/i386/configure: Regenerate.
64971 * configure.in: Build for i686 when configured for i386.
64972 * configure: Regenerate.
64973 * README: Remove i386 reference.
64974
64975 2013-04-06 Carlos O'Donell <carlos@redhat.com>
64976
64977 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
64978 * sysdeps/s390/s390-64/sysdep.h: Likewise.
64979
64980 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
64981
64982 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
64983 (lmsnanval): New variables.
64984 (F): Add conversion tests.
64985 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
64986 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
64987
64988 * stdio-common/tstdiomisc.c (F): Properly collect individual
64989 tests' results.
64990
64991 [BZ #14686, #15336]
64992 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
64993 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
64994 Instead, use input NaN values or generate a qNaN by arithmetic
64995 operation. Also fix bugs to comply with the standard.
64996 * math/libm-test.inc (remainder_test): Add more tests.
64997
64998 [BZ #15335, #15342]
64999 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
65000 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
65001 input NaN values or generate a qNaN by arithmetic operation.
65002
65003 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
65004 unreachable code.
65005
65006 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
65007 definitions.
65008
65009 2013-04-03 Joseph Myers <joseph@codesourcery.com>
65010
65011 [BZ #14478]
65012 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
65013 underflowed result.
65014 * math/s_cexpf.c (__cexpf): Likewise.
65015 * math/s_cexpl.c (__cexpl): Likewise.
65016 * math/libm-test.inc (cexp_test): Add more tests.
65017
65018 2013-04-03 Andreas Schwab <schwab@suse.de>
65019
65020 [BZ #15330]
65021 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
65022 order arrays from heap if bigger than alloca cutoff.
65023
65024 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
65025
65026 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
65027 (SNAN_TESTS_double): Refer to GCC PR56831.
65028 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
65029 GCC PR56828.
65030
65031 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
65032
65033 * Rules (bench): Move bench.out after the run is complete.
65034
65035 * Rules (bench): Echo currently running benchmark.
65036
65037 * benchtests/Makefile (bench): Add atan and slowatan.
65038 * benchtests/atan-inputs: New file.
65039 * benchtests/slowatan-inputs: New file.
65040 * benchtests/slowatan.c: New file.
65041
65042 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
65043 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
65044 its value.
65045
65046 [BZ #15305]
65047 * sysdeps/unix/sysv/linux/kernel-features.h
65048 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
65049 __ASSUME_XFS_RESTRICTED_CHOWN.
65050 * sysdeps/unix/sysv/linux/pathconf.c
65051 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
65052 Save and restore errno.
65053
65054 2013-04-02 Joseph Myers <joseph@codesourcery.com>
65055
65056 [BZ #15327]
65057 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
65058 arguments using __kernel_casinh.
65059 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
65060 arguments using __kernel_casinhf.
65061 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
65062 arguments using __kernel_casinhl.
65063 * math/libm-test.inc (cacosh_test): Add more tests.
65064 * sysdeps/i386/fpu/libm-test-ulps: Update.
65065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65066
65067 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
65068
65069 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
65070 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
65071
65072 * bench/Makefile (bench): Add sin and slowsin.
65073 * benchtests/sin-inputs: New file.
65074 * benchtests/slowsin-inputs: New file.
65075 * benchtests/slowsin.c: New file.
65076
65077 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
65078 (bench): Add slowexp and slowpow.
65079 (exp-ITER): Increase iterations.
65080 (pow-ITER): Likewise.
65081 * benchtests/exp-inputs: Change input.
65082 * benchtests/pow-inputs: Likewise.
65083 * benchtests/slowexp-inputs: New file.
65084 * benchtests/slowexp.c: New file.
65085 * benchtests/slowpow-inputs: New file.
65086 * benchtests/slowpow.c: New file.
65087
65088 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65089
65090 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
65091 instructions.
65092 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
65093 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
65094 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
65095 * benchtests/Makefile: Add rint benchtest.
65096 * benchtests/rint-inputs: Input for rint benchtest.
65097
65098 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
65099
65100 * Versions.def (libm): Add GLIBC_2.18.
65101 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
65102 hidden libm prototypes.
65103 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
65104 * math/Makefile (libm-calls): Add s_issignaling.
65105 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
65106 __issignalingf, __issignalingl. Adjust all libm.abilist files.
65107 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
65108 declaration.
65109 * math/math.h [__USE_GNU] (issignaling): New macro.
65110 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
65111 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
65112 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
65113 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
65114 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
65115 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
65116 * manual/arith.texi (issignaling): New section.
65117 * manual/libm-err-tab.pl (@all_functions): Update comment.
65118 * math/gen-libm-test.pl (parse_args): Apply special handling for
65119 issignaling.
65120 * math/libm-test.inc (print_float, issignaling_test): New
65121 functions.
65122 (check_float_internal): Add issignaling checks.
65123 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
65124 default definition.
65125 * sysdeps/powerpc/math-tests.h: New file.
65126 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
65127 tests.
65128 * math/test-snan.c (TEST_FUNC): Likewise.
65129
65130 2013-03-30 David S. Miller <davem@davemloft.net>
65131
65132 * po/de.po: Update from translation team.
65133
65134 2013-03-30 Joseph Myers <joseph@codesourcery.com>
65135
65136 [BZ #10357]
65137 * math/k_casinh.c (__kernel_casinh): Handle arguments with
65138 imaginary part less than 1.0 and real part less than 0.5
65139 specially.
65140 * math/k_casinhf.c (__kernel_casinhf): Likewise.
65141 * math/k_casinhl.c (__kernel_casinhl): Likewise.
65142 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
65143 (cacos_test): Add more tests.
65144 (casin_test): Likewise.
65145 (casinh_test): Likewise.
65146 * sysdeps/i386/fpu/libm-test-ulps: Update.
65147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65148
65149 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
65150
65151 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
65152 ONE with its value.
65153
65154 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
65155 (__pow_mp): Replace ONE and MONE with their values.
65156 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
65157 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
65158 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65159 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
65160 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
65161 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65162
65163 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
65164
65165 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
65166 (__pow_mp): Replace ZERO and MZERO with their values.
65167 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
65168 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
65169 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65170 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
65171 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
65172 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
65173 (__sqr): Likewise.
65174
65175 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
65176
65177 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
65178
65179 2013-03-28 Roland McGrath <roland@hack.frob.com>
65180
65181 * include/stdlib.h [!SHARED] (__call_tls_dtors):
65182 Declare with __attribute__ ((weak)).
65183 * stdlib/exit.c (__libc_atexit) [!SHARED]:
65184 Call __call_tls_dtors only if it's not NULL.
65185
65186 2013-03-28 Roland McGrath <roland@hack.frob.com>
65187
65188 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
65189 didn't do it already, then set _dl_phdr and _dl_phnum based on the
65190 magic __ehdr_start linker symbol if it's defined.
65191 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
65192 them up here if it was already done.
65193
65194 * elf/dl-support.c (_dl_phdr): Make pointer to const.
65195 (_dl_aux_init): Use const in cast when setting it.
65196 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
65197 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
65198 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
65199
65200 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
65201 Declare them here.
65202 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
65203 * csu/libc-tls.c: Nor here.
65204 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
65205
65206 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
65207 (__libc_message): Never call vsyslog.
65208
65209 2013-03-28 Alan Modra <amodra@gmail.com>
65210
65211 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
65212 Define as empty.
65213 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
65214 Likewise.
65215
65216 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65217
65218 [BZ #15214]
65219 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
65220 underflow.
65221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65222
65223 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
65224
65225 [BZ #15304]
65226 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
65227 Don't add gid passed as argument.
65228
65229 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
65230
65231 2013-03-27 Joseph Myers <joseph@codesourcery.com>
65232
65233 [BZ #15307]
65234 * math/k_casinh.c (__kernel_casinh): Handle arguments with
65235 imaginary part between 1.0 and 1.5 and real part less than 0.5
65236 specially.
65237 * math/k_casinhf.c (__kernel_casinhf): Likewise.
65238 * math/k_casinhl.c (__kernel_casinhl): Likewise.
65239 * math/libm-test.inc (cacos_test): Add more tests.
65240 (casin_test): Likewise.
65241 (casinh_test): Likewise.
65242 * sysdeps/i386/fpu/libm-test-ulps: Update.
65243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65244
65245 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
65246
65247 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
65248 constants.
65249 (norm): Likewise.
65250 (denorm): Likewise.
65251 (__dbl_mp): Likewise.
65252 (add_magnitudes): Likewise.
65253 (sub_magnitudes): Likewise.
65254 (__add): Likewise.
65255 (__sub): Likewise.
65256 (__mul): Likewise.
65257 (__sqr): Likewise.
65258 (__inv): Likewise.
65259 (__dvd): Likewise.
65260
65261 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
65262 commented code.
65263 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
65264 (__dubcos): Likewise.
65265 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
65266 (__ieee754_acos): Likewise.
65267 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
65268 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
65269 (__exp1): Likewise.
65270 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
65271 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
65272 (log1): Likewise.
65273 (my_log2): Likewise.
65274 (checkint): Likewise.
65275 * sysdeps/ieee754/dbl-64/e_remainder.c
65276 (__ieee754_remainder): Likewise.
65277 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
65278 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
65279 (bsloww): Likewise.
65280 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65281
65282 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
65283 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
65284 MANTISSA_STORE_T to store computations on mantissa. Use
65285 macros for rounding and division.
65286 (denorm): Likewise.
65287 (__dbl_mp): Likewise.
65288 (add_magnitudes): Likewise.
65289 (sub_magnitudes): Likewise.
65290 (__mul): Likewise.
65291 (__sqr): Likewise.
65292 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
65293 powers of two in terms of TWOPOW macro.
65294 (mp_no): Make type of mantissa as MANTISSA_T.
65295 [!RADIXI]: Define RADIXI.
65296 [!TWO52]: Define TWO52.
65297 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
65298
65299 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65300
65301 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
65302 llroundl symbol when building for PPC32.
65303
65304 2013-03-24 Mark H Weaver <mhw@netris.org>
65305
65306 * manual/arith.texi (Normalization Functions): Fix prototypes for
65307 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
65308
65309 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65310
65311 [BZ #13889]
65312 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
65313 high value to check if expl overflow.
65314 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
65315 to check for underflow and overflow.
65316 * math/libm-test.inc: Add exp test.
65317
65318 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
65319
65320 [BZ #11120]
65321 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
65322 with NOT_IN_libc.
65323
65324 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65325
65326 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
65327 symbol.
65328
65329 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
65330
65331 * math/gen-libm-test.pl (parse_args, special_functions): Properly
65332 wrap blocks consisting of several statements.
65333
65334 * sysdeps/generic/math-tests.h: New file.
65335 * sysdeps/i386/fpu/math-tests.h: Likewise.
65336 * math/test-snan.c: Include it.
65337 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
65338
65339 2013-03-21 Joseph Myers <joseph@codesourcery.com>
65340
65341 [BZ #15285]
65342 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
65343 (__ieee754_j0l): Do not improve calculations using cos of twice
65344 input for inputs above LDBL_MAX / 2.0L.
65345 (__ieee754_y0l): Likewise.
65346 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
65347 (__ieee754_j1l): Do not improve calculations using cos of twice
65348 input for inputs above LDBL_MAX / 2.0L.
65349 (__ieee754_y1l): Likewise.
65350 * math/libm-test.inc (j0_test): Add another test.
65351 (j1_test): Likewise.
65352 (y0_test): Likewise.
65353 (y1_test): Likewise.
65354 * sysdeps/i386/fpu/libm-test-ulps: Update.
65355
65356 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
65357
65358 * Rules ($(objpfx)bench-%.c): Include code from a C source
65359 file.
65360
65361 2013-03-21 Joseph Myers <joseph@codesourcery.com>
65362
65363 [BZ #15287]
65364 * math/k_casinh.c (__kernel_casinh): Handle arguments with
65365 imaginary part 1.0 and real part less than 0.5 specially.
65366 * math/k_casinhf.c (__kernel_casinhf): Likewise.
65367 * math/k_casinhl.c (__kernel_casinhl): Likewise.
65368 * math/libm-test.inc (cacos_test): Add more tests.
65369 (casin_test): Likewise.
65370 (casinh_test): Likewise.
65371 * sysdeps/i386/fpu/libm-test-ulps: Update.
65372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65373
65374 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
65375
65376 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
65377 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
65378
65379 2013-03-20 Joseph Myers <joseph@codesourcery.com>
65380
65381 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
65382 * config.make.in (config-cflags-sse4): Remove variable.
65383 (config-cflags-avx): Likewise.
65384 (config-cflags-sse2avx): Likewise.
65385 (config-cflags-novzeroupper): Likewise.
65386 (config-asflags-i686): Likewise.
65387 (have-mfma4): Likewise.
65388 (have-as-vis3): Likewise.
65389 (MIG): Likewise.
65390 * configure.in (MIG): Do not AC_SUBST.
65391 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
65392 (libc_cv_cc_sse4): Do not AC_SUBST.
65393 (libc_cv_cc_avx): Likewise.
65394 (libc_cv_cc_sse2avx): Likewise.
65395 (libc_cv_cc_novzeroupper): Likewise.
65396 (libc_cv_cc_fma4): Likewise.
65397 (libc_cv_as_i686): Likewise.
65398 (libc_cv_sparc_as_vis3): Likewise.
65399 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
65400 LIBC_CONFIG_VAR.
65401 (config-asflags-i686): Likewise.
65402 (config-cflags-avx): Likewise.
65403 (config-cflags-sse2avx): Likewise.
65404 (have-mfma4): Likewise.
65405 (config-cflags-novzeroupper): Likewise.
65406 * sysdeps/mach/configure.in (MIG): Likewise.
65407 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
65408 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
65409 LIBC_CONFIG_VAR.
65410 (config-cflags-avx): Likewise.
65411 (config-cflags-sse2avx): Likewise.
65412 (have-mfma4): Likewise.
65413 (config-cflags-novzeroupper): Likewise.
65414 * configure: Regenerated.
65415 * sysdeps/i386/configure: Likewise.
65416 * sysdeps/mach/configure: Likewise.
65417 * sysdeps/sparc/configure: Likewise.
65418 * sysdeps/x86_64/configure: Likewise.
65419
65420 2013-03-20 Roland McGrath <roland@hack.frob.com>
65421
65422 [BZ #14812]
65423 * locale/programs/localedef.c (options): Put N_ translation marker
65424 on argument names, not just descriptions.
65425
65426 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
65427
65428 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
65429
65430 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
65431
65432 [BZ #14176]
65433 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
65434
65435 2013-03-19 Roland McGrath <roland@hack.frob.com>
65436
65437 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
65438 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
65439 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
65440 [!BEFORE_ABORT] (before_abort): New function.
65441 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
65442 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
65443 (writev_for_fatal): New function.
65444 (WRITEV_FOR_FATAL): New macro; call that.
65445 (backtrace_and_maps): New function.
65446 (BEFORE_ABORT): New macro; call that.
65447 (struct str_list): Type removed.
65448 (__libc_message, __libc_fatal): Functions removed.
65449 Include <sysdeps/posix/libc_fatal.c> instead.
65450
65451 2013-03-19 Joseph Myers <joseph@codesourcery.com>
65452
65453 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
65454 constants.
65455 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
65456 double constants.
65457
65458 2013-03-19 Andreas Schwab <schwab@suse.de>
65459
65460 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
65461 * sysdeps/gnu/configure: Regenerate.
65462
65463 * configure.in: Substitute libc_cv_rtlddir.
65464 * configure: Regenerate.
65465 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
65466 * Makeconfig (rtlddir, inst_rtlddir): New variables.
65467 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
65468 * elf/Makefile (install-others, CFLAGS-interp.c)
65469 (ldso_install, common-ldd-rewrite): Likewise.
65470 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
65471 $(inst_slibdir)/$(rtld-installed-name).
65472 * scripts/rellns-sh: Add -p option.
65473 * Makerules (make-shlib-link): Use rellns-sh to get relative name
65474 for source.
65475
65476 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
65477
65478 * manual/nptl.texi: Renamed to ...
65479 * manual/threads.texi: ... this.
65480 * manual/Makefile (chapters): Update.
65481
65482 2013-03-18 Roland McGrath <roland@hack.frob.com>
65483
65484 [BZ #14812]
65485 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
65486 on argument names, not just descriptions.
65487 * malloc/memusagestat.c (options): Likewise.
65488 * nss/getent.c (options): Likewise.
65489
65490 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
65491
65492 [BZ #14812]
65493 * iconv/iconv_prog.c (options): Put N_ translation marker
65494 on argument names, not just descriptions.
65495 * iconv/iconvconfig.c (options): Likewise.
65496
65497 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
65498
65499 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
65500 implementation which is faster on all x86_64 architectures.
65501 Tested on AMD, Intel Nehalem, SNB, IVB.
65502 * sysdeps/x86_64/strnlen.S: Likewise.
65503
65504 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
65505 Remove all multiarch strlen and strnlen versions.
65506 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
65507 Remove strlen and strnlen related parts.
65508
65509 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
65510 Inline strlen part.
65511 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
65512
65513 * sysdeps/x86_64/multiarch/strlen.S: Remove.
65514 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
65515 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
65516 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
65517 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65518 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
65519
65520 2013-03-17 Carlos O'Donell <carlos@redhat.com>
65521
65522 * manual/memory.texi (Malloc Tunable Parameters):
65523 Sort parameters alphabetically. Add comments for missing entries.
65524
65525 2013-03-17 David S. Miller <davem@davemloft.net>
65526
65527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
65528
65529 2013-03-16 Joseph Myers <joseph@codesourcery.com>
65530
65531 [BZ #15283]
65532 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
65533 for arguments at most half maximum finite value.
65534 * math/libm-test.inc (j0_test): Add more tests.
65535 (j1_test): Likewise.
65536 (y0_test): Likewise.
65537 (y1_test): Likewise.
65538 * sysdeps/i386/fpu/libm-test-ulps: Update.
65539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65540
65541 [BZ #14155]
65542 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
65543 1 / x and functions P and Q for arguments above 0x1p256L.
65544 (__ieee754_y0l): Likewise.
65545 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
65546 (__ieee754_y1l): Likewise.
65547 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
65548 (j1_test): Likewise.
65549 (y0_test): Likewise.
65550 (y1_test): Likewise.
65551
65552 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
65553
65554 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
65555 variable.
65556
65557 2013-03-15 Roland McGrath <roland@hack.frob.com>
65558
65559 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
65560 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
65561 zero since it's initialized to EXEC_PAGESIZE.
65562
65563 * sysdeps/unix/sysv/linux/ldsodefs.h
65564 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
65565 * sysdeps/generic/ldsodefs.h: ... here.
65566
65567 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
65568
65569 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
65570
65571 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
65572 math/test-snan.c.
65573 * math/test-snan.c: Renamed from
65574 sysdeps/powerpc/fpu/test-powerpc-snan.c.
65575 * math/Makefile (tests): Add test-snan.
65576 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
65577 test-powerpc-snan.
65578
65579 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
65580 SUFFIX. Initialize qNaN_var with __builtin_nan family of
65581 functions.
65582 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
65583 __builtin_nan family of functions.
65584 * math/libm-test.inc (initialize): Initialize qnan_value with
65585 __builtin_nan family of functions.
65586 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
65587 Remove variables.
65588 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
65589 Remove functions.
65590 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
65591 storage class. Initialize qNaN_var and sNaN_var with
65592 __builtin_nan and __builtin_nans families of functions,
65593 respectively.
65594
65595 * math/libm-test.inc (acosh_test): Also test with qNaN input.
65596 (sqrt_test): Remove duplicate test with qNaN input.
65597 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
65598 (round_test, signbit_test, significand_test): Note missing +/-Inf
65599 as well as qNaN tests.
65600
65601 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
65602 qNaN_var. Fix a few strings, too.
65603 * math/libm-test.inc (nan_value): Rename to qnan_value.
65604 * math/gen-libm-test.pl (%beautify): Adjust to that.
65605 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
65606 * math/test-misc.c (main): Likewise.
65607 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
65608 to __qnan_bytes, and __qnan_union, respectively.
65609 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
65610 Likewise.
65611 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
65612 and lqnanval, respectively.
65613 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
65614 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
65615 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
65616 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
65617
65618 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
65619 * math/test-misc.c (main) [__x86_64__]: Enable test for long
65620 doubles.
65621
65622 * math/test-misc.c (main): Fix copy'n'pastos.
65623 * misc/tst-efgcvt.c (special): Likewise.
65624
65625 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
65626 Remove declarations.
65627
65628 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
65629
65630 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
65631 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
65632 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
65633 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
65634
65635 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65636
65637 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
65638 macro to return vdso values correctly in IFUNC implementations.
65639 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
65640 Optimization by using IFUNC.
65641
65642 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
65643 Richard Henderson <rth@redhat.com>
65644 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65645
65646 * Makefile.in (bench): New target.
65647 * NEWS: Mention the benchmark framework.
65648 * Rules (bench): Likewise.
65649 (binaries-bench): Generate binaries for functions to
65650 benchmark.
65651 * benchtests/Makefile: New makefile for benchmark tests.
65652 * benchtests/bench-skeleton.c: New skeleton file for benchmark
65653 programs.
65654 * benchtests/exp-inputs: New input file for EXP function.
65655 * benchtests/pow-inputs: New input file for POW function.
65656 * scripts/bench.pl: New script to generate source files for
65657 benchmark programs.
65658
65659 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
65660
65661 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
65662 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
65663 computations on mantissa. Use macros for rounding and
65664 division.
65665 (denorm): Likewise.
65666 (__dbl_mp): Likewise.
65667 (add_magnitudes): Likewise.
65668 (sub_magnitudes): Likewise.
65669 (__mul): Likewise.
65670 (__sqr): Likewise.
65671 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
65672 powers of two in terms of TWOPOW macro.
65673 (mp_no): Make type of mantissa as MANTISSA_T.
65674 [!RADIXI]: Define RADIXI.
65675 [!TWO52]: Define TWO52.
65676 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
65677
65678 * manual/nptl.texi (cindex): Modify threads to pthreads.
65679
65680 2013-03-15 Joseph Myers <joseph@codesourcery.com>
65681
65682 * sysdeps/x86_64/preconfigure: Regenerated.
65683
65684 2013-03-14 Joseph Myers <joseph@codesourcery.com>
65685
65686 [BZ #14155]
65687 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
65688 0x1p28 and above.
65689 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
65690 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
65691 0x1p28 and above.
65692 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
65693 * math/libm-test.inc (j0_test): Do not allow one spurious
65694 underflow exception.
65695 (y1_test): Likewise.
65696
65697 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
65698
65699 * manual/Makefile (chapters): Add nptl.
65700 * manual/debug.texi (Debugging Support): Add link to Threads
65701 chapter.
65702 * manual/nptl.texi: New file.
65703
65704 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
65705
65706 2013-03-14 Petr Baudis <pasky@ucw.cz>
65707
65708 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
65709 for non-NULL pointer before the memory validity test. Pointed
65710 out by Holger Brunck <holger.brunck@keymile.com>.
65711
65712 2013-03-13 Andreas Schwab <schwab@suse.de>
65713
65714 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
65715 instead of .os.
65716
65717 2013-03-13 Joseph Myers <joseph@codesourcery.com>
65718
65719 * timezone/zic.c: Update from tzcode 2013b.
65720
65721 2013-03-12 Carlos O'Donell <carlos@redhat.com>
65722
65723 * manual/install.texi (Configuring and compiling):
65724 Mention i686 and i586.
65725 * INSTALL: Regenerate.
65726
65727 2013-03-12 Roland McGrath <roland@hack.frob.com>
65728
65729 * sysdeps/init_array/elf-init.c: New file.
65730 * csu/elf-init.c
65731 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
65732 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
65733
65734 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
65735 __gmon_start__ as global, but as static with a .preinit_array pointer.
65736 * sysdeps/init_array/gmon-start.c: New file. Use that.
65737 * sysdeps/init_array/crti.S: New file, empty except for comments.
65738 * sysdeps/init_array/crtn.S: Likewise.
65739
65740 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
65741
65742 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
65743 definining bcopy.
65744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65745 Remove Prefer_SSE_for_memop.
65746 * sysdeps/x86_64/multiarch/init-arch.h: Remove
65747 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
65748 HAS_PREFER_SSE_FOR_MEMOP.
65749 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
65750 memset-x86-64.
65751 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
65752 Remove bzero, memset ifunc support.
65753 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
65754 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
65755 * sysdeps/x86_64/multiarch/memset.S: Likewise.
65756 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
65757
65758 2013-03-11 Andreas Schwab <schwab@suse.de>
65759
65760 [BZ #15234]
65761 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
65762 by SHLIB_COMPAT.
65763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
65764 (GLIBC_2.16): Remove pthread_atfork.
65765
65766 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
65767
65768 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
65769 (ptestcases.h): Likewise.
65770
65771 2013-03-08 Roland McGrath <roland@hack.frob.com>
65772
65773 * Makeconfig ($(common-objpfx)config.status): Depend on
65774 sysdeps/*/preconfigure{,.in} too.
65775
65776 2013-03-08 Joseph Myers <joseph@codesourcery.com>
65777
65778 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
65779 (__free_hook): Use void * instead of __malloc_ptr_t.
65780 (__malloc_hook): Likewise.
65781 (__realloc_hook): Likewise.
65782 (__memalign_hook): Likewise.
65783 (__after_morecore_hook): Likewise.
65784 * malloc/arena.c (save_malloc_hook): Likewise.
65785 (save_free_hook): Likewise.
65786 * malloc/hooks.c (malloc_hook_ini): Likewise.
65787 (realloc_hook_ini): Likewise.
65788 (memalign_hook_ini): Likewise.
65789 * malloc/malloc.c (malloc_hook_ini): Likewise.
65790 (realloc_hook_ini): Likewise.
65791 (memalign_hook_ini): Likewise.
65792 (__free_hook): Likewise.
65793 (__malloc_hook): Likewise.
65794 (__realloc_hook): Likewise.
65795 (__memalign_hook): Likewise.
65796 (__libc_malloc): Likewise.
65797 (__libc_free): Likewise.
65798 (__libc_realloc): Likewise.
65799 (__libc_memalign): Likewise.
65800 (__libc_valloc): Likewise.
65801 (__libc_pvalloc): Likewise.
65802 (__libc_calloc): Likewise.
65803 (__posix_memalign): Likewise.
65804 * malloc/morecore.c (__sbrk): Likewise.
65805 (__default_morecore): Likewise.
65806
65807 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
65808
65809 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
65810 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
65811 __malloc_ptrdiff_t.
65812
65813 * malloc/malloc.h (__malloc_size_t): Remove macro.
65814 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
65815 __malloc_size_t.
65816 (old_memalign_hook): Likewise.
65817 (old_realloc_hook): Likewise.
65818 (struct hdr): Likewise.
65819 (flood): Likewise.
65820 (mallochook): Likewise.
65821 (memalignhook): Likewise.
65822 (reallochook): Likewise.
65823 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
65824 (tr_old_realloc_hook): Likewise.
65825 (tr_old_memalign_hook): Likewise.
65826 (tr_mallochook): Likewise.
65827 (tr_reallochook): Likewise.
65828 (tr_memalignhook): Likewise.
65829
65830 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65831
65832 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
65833 default_ldbl_pack and using as default implementation.
65834 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
65835 implementation.
65836 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
65837 redundant definition.
65838 (ldbl_insert_mantissa): Likewise.
65839 (ldbl_canonicalize): Likewise.
65840 (ldbl_nearbyint): Likewise.
65841 (ldbl_pack): Rename to ldbl_pack_ppc.
65842 (ldbl_unpack): Rename to ldbl_unpack_ppc.
65843 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
65844 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
65845
65846 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
65847
65848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
65849 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
65850 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
65851 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
65852 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
65853 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
65854 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
65855 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
65856
65857 2013-03-07 Andreas Jaeger <aj@suse.de>
65858
65859 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65860 bits/mman-linux.h.
65861
65862 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
65863
65864 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
65865 Include mpa.h and declare __MPEXP.
65866 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
65867 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
65868 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
65869 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
65870 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
65871 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
65872 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
65873
65874 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
65875 (__slowpow): Use long double EXPL and LOGL functions to
65876 compute POW.
65877 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
65878 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
65879 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
65880 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
65881 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
65882 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
65883
65884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
65885 intermediate variable to calculate exponent.
65886 (__sqr): Likewise.
65887 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
65888 Likewise.
65889 (__sqr): Likewise.
65890
65891 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
65892 [!NO__SQR]: Define __sqr.
65893 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
65894 and NO__SQR. Remove all code except __mul and __sqr. Include
65895 sysdeps/ieee754/dbl-64/mpa.c.
65896 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65897
65898 [BZ #12723]
65899 * posix/Makefile (tests): Add tst-pathconf.
65900 * posix/tst-pathconf.c: New test case.
65901 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
65902 _PC_PIPE_BUF.
65903 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
65904
65905 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
65906
65907 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
65908
65909 2013-03-06 Andreas Jaeger <aj@suse.de>
65910
65911 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
65912 definition via __MAP_ANONYMOUS.
65913
65914 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
65915 it's not part of Linux headers.
65916
65917 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
65918 (MAP_HUGE_MASK): Define.
65919
65920 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
65921 Define.
65922 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
65923 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
65924 Define.
65925 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
65926 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
65927 Define.
65928 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
65929 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
65930 Define.
65931 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
65932
65933 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
65934 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
65935 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
65936 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
65937 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
65938 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
65939
65940 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
65941 Handle f2fs.
65942
65943 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65944 Handle f2fs and efivarfs.
65945
65946 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
65947 f2fs.
65948
65949 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
65950 (EFIVARFS_MAGIC): Add.
65951 (F2FS_LINK_MAX): Add.
65952
65953 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
65954
65955 * stdio-common/vfprintf.c: Replace __builtin_expect with
65956 __glibc_unlikely.
65957
65958 2013-03-06 Joseph Myers <joseph@codesourcery.com>
65959
65960 [BZ #13550]
65961 * sysdeps/generic/bp-sym.h: Remove file.
65962 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
65963 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
65964 <bp-sym.h> and <bp-asm.h>.
65965 (__longjmp): Don't use BP_SYM.
65966 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
65967 and <bp-asm.h>.
65968 (memcpy): Don't use BP_SYM.
65969 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
65970 <bp-sym.h> and <bp-asm.h>.
65971 (memcpy): Don't use BP_SYM.
65972 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
65973 <bp-asm.h>.
65974 (memcpy): Don't use BP_SYM.
65975 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
65976 <bp-asm.h>.
65977 (memset): Don't use BP_SYM.
65978 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65979 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65980 (__bzero): Don't use BP_SYM.
65981 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65982 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65983 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
65984 <bp-sym.h> and <bp-asm.h>.
65985 (memcmp): Don't use BP_SYM. Remove comment about bounded
65986 pointers.
65987 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
65988 <bp-sym.h> and <bp-asm.h>.
65989 (memcpy): Don't use BP_SYM.
65990 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
65991 <bp-sym.h> and <bp-asm.h>.
65992 (memset): Don't use BP_SYM.
65993 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65994 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65995 (__bzero): Don't use BP_SYM.
65996 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65997 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65998 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
65999 <bp-sym.h> and <bp-asm.h>.
66000 (strncmp): Don't use BP_SYM. Remove comment about bounded
66001 pointers.
66002 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
66003 <bp-sym.h> and <bp-asm.h>.
66004 (memcpy): Don't use BP_SYM.
66005 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
66006 <bp-sym.h> and <bp-asm.h>.
66007 (memset): Don't use BP_SYM.
66008 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66009 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66010 (__bzero): Don't use BP_SYM.
66011 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66012 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66013 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
66014 <bp-sym.h> and <bp-asm.h>.
66015 (__memchr): Don't use BP_SYM.
66016 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
66017 <bp-sym.h> and <bp-asm.h>.
66018 (memcmp): Don't use BP_SYM. Remove comment about bounded
66019 pointers.
66020 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
66021 <bp-sym.h> and <bp-asm.h>.
66022 (memcpy): Don't use BP_SYM.
66023 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
66024 <bp-sym.h> and <bp-asm.h>.
66025 (__mempcpy): Don't use BP_SYM.
66026 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
66027 <bp-sym.h> and <bp-asm.h>.
66028 (__memrchr): Don't use BP_SYM.
66029 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
66030 <bp-sym.h> and <bp-asm.h>.
66031 (memset): Don't use BP_SYM.
66032 (__bzero): Likewise.
66033 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
66034 <bp-sym.h> and <bp-asm.h>.
66035 (__rawmemchr): Don't use BP_SYM.
66036 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
66037 <bp-sym.h> and <bp-asm.h>.
66038 (__STRCMP): Don't use BP_SYM.
66039 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
66040 <bp-sym.h> and <bp-asm.h>.
66041 (strchr): Don't use BP_SYM.
66042 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
66043 <bp-sym.h> and <bp-asm.h>.
66044 (__strchrnul): Don't use BP_SYM.
66045 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
66046 <bp-sym.h> and <bp-asm.h>.
66047 (strlen): Don't use BP_SYM.
66048 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
66049 <bp-sym.h> and <bp-asm.h>.
66050 (strncmp): Don't use BP_SYM. Remove comment about bounded
66051 pointers.
66052 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
66053 <bp-sym.h> and <bp-asm.h>.
66054 (__strnlen): Don't use BP_SYM.
66055 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
66056 <bp-sym.h> and <bp-asm.h>.
66057 (__GI__setjmp): Don't use BP_SYM.
66058 (_setjmp): Likewise.
66059 (__sigsetjmp): Likewise.
66060 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
66061 (L(start_addresses)): Don't use BP_SYM.
66062 (_start): Likewise.
66063 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
66064 <bp-asm.h>.
66065 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
66066 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
66067 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66068 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66069 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
66070 <bp-asm.h>.
66071 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
66072 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
66073 about bounded pointers.
66074 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
66075 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66076 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
66077 <bp-asm.h>.
66078 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
66079 about bounded pointers. Remove GKM FIXME comments.
66080 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
66081 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
66082 <bp-asm.h>.
66083 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
66084 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
66085 Remove GKM FIXME comments.
66086 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66087 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66088 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
66089 <bp-asm.h>.
66090 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
66091 about bounded pointers. Remove GKM FIXME comment.
66092 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
66093 and <bp-asm.h>.
66094 (strncmp): Don't use BP_SYM. Remove comment about bounded
66095 pointers.
66096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
66097 <bp-sym.h> and <bp-asm.h>.
66098 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
66099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
66100 <bp-sym.h> and <bp-asm.h>.
66101 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
66102 comment.
66103
66104 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
66105
66106 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
66107 call free(NULL).
66108
66109 2013-03-05 David S. Miller <davem@davemloft.net>
66110
66111 * po/es.po: Update from translation team.
66112
66113 2013-03-05 Andreas Jaeger <aj@suse.de>
66114
66115 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
66116 <bits/mman-linux.h>.
66117 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66118 is fine.
66119 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
66120 <bits/mman-linux.h> to end of file.
66121 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66122 is fine.
66123 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
66124 <bits/mman-linux.h> to end of file.
66125 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66126 is fine.
66127 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
66128 <bits/mman-linux.h> to end of file.
66129
66130 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
66131 (MCL_CURRENT, MCL_FUTURE): Define here.
66132
66133 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66134
66135 [BZ #15232]
66136 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
66137 attribute_hidden.
66138 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
66139
66140 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66141
66142 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
66143 fourth parameter needed for rt_sigprocmask syscall.
66144 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
66145 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
66146 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
66147 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
66148 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
66149 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
66150
66151 2013-03-04 Joseph Myers <joseph@codesourcery.com>
66152
66153 [BZ #13550]
66154 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
66155 comment about bounded pointers.
66156 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
66157 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
66158
66159 2013-03-04 Andreas Jaeger <aj@suse.de>
66160
66161 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
66162 common definitions.
66163
66164 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
66165 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
66166 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
66167 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66168 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
66169 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66170
66171 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66172
66173 [BZ #15055]
66174 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
66175 __ieee754_sqrl instead of __sqrl.
66176
66177 2013-03-01 Joseph Myers <joseph@codesourcery.com>
66178
66179 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
66180 * sysdeps/powerpc/fpu_control.h: ... here.
66181 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
66182 * sysdeps/powerpc/bits/fenvinline.h: ... here.
66183 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
66184 * sysdeps/powerpc/bits/mathinline.h: ... here.
66185
66186 2013-03-01 Roland McGrath <roland@hack.frob.com>
66187
66188 * elf/dl-hwcaps.c (_dl_important_hwcaps):
66189 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
66190 to just [NEED_DL_SYSINFO_DSO].
66191 * elf/dl-support.c: Likewise.
66192 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
66193 * elf/rtld.c (dl_main): Likewise.
66194 * elf/setup-vdso.h (setup_vdso): Likewise.
66195 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
66196 * sysdeps/unix/sysv/linux/dl-sysdep.c
66197 (_dl_discover_osversion): Likewise.
66198
66199 2013-03-01 Carlos O'Donell <carlos@redhat.com>
66200
66201 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
66202 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
66203
66204 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
66205
66206 * NEWS: Mention libm performance improvements and non-x86 PI
66207 futex support.
66208
66209 * csu/libc-start.c (__pthread_initialize_minimal): Change
66210 function arguments.
66211 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
66212
66213 2013-02-28 Joseph Myers <joseph@codesourcery.com>
66214
66215 [BZ #13550]
66216 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
66217 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
66218 <bp-sym.h> and <bp-asm.h>.
66219 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
66220 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
66221 and <bp-asm.h>.
66222 (memcpy): Don't use BP_SYM.
66223 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
66224 <bp-asm.h>.
66225 (__mpn_add_n): Don't use BP_SYM.
66226 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
66227 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
66228 and <bp-asm.h>.
66229 (__mpn_addmul_1): Don't use BP_SYM.
66230 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66231 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
66232 <bp-sym.h>.
66233 (_setjmp): Don't use BP_SYM.
66234 (__novmx_setjmp): Likewise.
66235 (__GI__setjmp): Likewise.
66236 (__vmx_setjmp): Likewise.
66237 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
66238 <bp-sym.h>.
66239 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
66240 (__bzero): Don't use BP_SYM.
66241 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66242 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66243 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
66244 <bp-sym.h> and <bp-asm.h>.
66245 (memcpy): Don't use BP_SYM.
66246 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
66247 <bp-sym.h> and <bp-asm.h>.
66248 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
66249 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
66250 <bp-sym.h> and <bp-asm.h>.
66251 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
66252 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
66253 <bp-asm.h>.
66254 (__mpn_lshift): Don't use BP_SYM.
66255 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66256 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
66257 <bp-asm.h>.
66258 (memset): Don't use BP_SYM.
66259 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66260 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66261 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
66262 <bp-asm.h>.
66263 (__mpn_mul_1): Don't use BP_SYM.
66264 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66265 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
66266 <bp-sym.h> and <bp-asm.h>.
66267 (memcmp): Don't use BP_SYM.
66268 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
66269 <bp-sym.h> and <bp-asm.h>.
66270 (memcpy): Don't use BP_SYM.
66271 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
66272 <bp-sym.h> and <bp-asm.h>.
66273 (memset): Don't use BP_SYM.
66274 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
66275 <bp-sym.h> and <bp-asm.h>.
66276 (strncmp): Don't use BP_SYM.
66277 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
66278 <bp-sym.h> and <bp-asm.h>.
66279 (memcpy): Don't use BP_SYM.
66280 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
66281 <bp-sym.h> and <bp-asm.h>.
66282 (memset): Don't use BP_SYM.
66283 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
66284 <bp-sym.h> and <bp-asm.h>.
66285 (__memchr): Don't use BP_SYM.
66286 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
66287 <bp-sym.h> and <bp-asm.h>.
66288 (memcmp): Don't use BP_SYM.
66289 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
66290 <bp-sym.h> and <bp-asm.h>.
66291 (memcpy): Don't use BP_SYM.
66292 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
66293 <bp-sym.h> and <bp-asm.h>.
66294 (__mempcpy): Don't use BP_SYM.
66295 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
66296 <bp-sym.h> and <bp-asm.h>.
66297 (__memrchr): Don't use BP_SYM.
66298 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
66299 <bp-sym.h> and <bp-asm.h>.
66300 (memset): Don't use BP_SYM.
66301 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
66302 <bp-sym.h> and <bp-asm.h>.
66303 (__rawmemchr): Don't use BP_SYM.
66304 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
66305 <bp-sym.h> and <bp-asm.h>.
66306 (__STRCMP): Don't use BP_SYM.
66307 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
66308 <bp-sym.h> and <bp-asm.h>.
66309 (strchr): Don't use BP_SYM.
66310 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
66311 <bp-sym.h> and <bp-asm.h>.
66312 (__strchrnul): Don't use BP_SYM.
66313 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
66314 <bp-sym.h> and <bp-asm.h>.
66315 (strlen): Don't use BP_SYM.
66316 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
66317 <bp-sym.h> and <bp-asm.h>.
66318 (strncmp): Don't use BP_SYM.
66319 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
66320 <bp-sym.h> and <bp-asm.h>.
66321 (__strnlen): Don't use BP_SYM.
66322 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
66323 <bp-asm.h>.
66324 (__mpn_rshift): Don't use BP_SYM.
66325 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66326 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
66327 <bp-sym.h> and <bp-asm.h>.
66328 (__sigsetjmp): Don't use BP_SYM.
66329 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
66330 (L(start_addresses)): Don't use BP_SYM.
66331 (_start): Likewise.
66332 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
66333 <bp-asm.h>.
66334 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
66335 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66336 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66337 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
66338 <bp-asm.h>.
66339 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
66340 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
66341 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66342 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
66343 <bp-asm.h>.
66344 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
66345 comments.
66346 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
66347 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
66348 <bp-asm.h>.
66349 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
66350 FIXME comments.
66351 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66352 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66353 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
66354 <bp-asm.h>.
66355 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
66356 comment.
66357 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
66358 and <bp-asm.h>.
66359 (strncmp): Don't use BP_SYM,
66360 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
66361 <bp-asm.h>.
66362 (__mpn_sub_n): Don't use BP_SYM.
66363 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66364 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
66365 and <bp-asm.h>.
66366 (__mpn_submul_1): Don't use BP_SYM.
66367 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
66369 <bp-sym.h> and <bp-asm.h>.
66370 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
66371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
66372 <bp-sym.h> and <bp-asm.h>.
66373 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
66374 comment.
66375
66376 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
66377
66378 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
66379 Use ZK to minimize writes to Z.
66380 (sub_magnitudes): Simplify code a bit.
66381 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
66382 Use ZK to minimize writes to Z.
66383 (sub_magnitudes): Simplify code a bit.
66384
66385 2013-02-27 Roland McGrath <roland@hack.frob.com>
66386
66387 * csu/gmon-start.c: Add special exception to license text.
66388
66389 2013-02-27 Richard Henderson <rth@redhat.com>
66390
66391 * scripts/config.guess: Update from config.git.
66392 * scripts/config.sub: Likewise.
66393
66394 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
66395
66396 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
66397
66398 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
66399
66400 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
66401
66402 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
66403
66404 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
66405
66406 2013-02-26 Roland McGrath <roland@hack.frob.com>
66407
66408 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
66409 [$(build-shared = yes].
66410
66411 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
66412
66413 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
66414 (__mul): Reduce iterations for calculating mantissa.
66415
66416 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
66417 MPTWO.
66418 (__mpranred): Likewise.
66419
66420 [BZ #15160]
66421 * malloc/memusagestat.c (main): Draw graphs for heap and stack
66422 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
66423
66424 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
66425
66426 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
66427 Define __attribute__.
66428
66429 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
66430
66431 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
66432 unused.
66433 * posix/regex_internal.h (__attribute): Remove.
66434 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
66435 (re_string_context_at): Likewise.
66436 (bitset_not): Use __attribute__ and mark function as possibly
66437 unused.
66438 (bitset_merge): Likewise.
66439 (bitset_mask): Likewise.
66440 (re_string_char_size_at): Likewise.
66441 (re_string_wchar_at): Likewise.
66442 (re_string_elem_size_at): Likewise.
66443
66444 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
66445
66446 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
66447 code.
66448 (cc32): Likewise.
66449
66450 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
66451 (__acr): Likewise.
66452 (__cpy): Likewise.
66453 (norm): Likewise.
66454 (denorm): Likewise.
66455 (__dbl_mp): Likewise.
66456 (add_magnitudes): Likewise.
66457 (sub_magnitudes): Likewise.
66458 (__mul): Likewise.
66459 (__inv): Likewise.
66460
66461 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
66462 style.
66463
66464 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
66465 style.
66466
66467 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
66468 code.
66469
66470 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
66471 up changes with default code.
66472 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
66473 Likewise.
66474
66475 2013-02-24 Allan McRae <allan@archlinux.org>
66476
66477 * manual/socket.texi (The Internet Namespace): Order menu items
66478 to match that in the file.
66479
66480 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
66481 node listing of the info page menu.
66482
66483 2013-02-21 Joseph Myers <joseph@codesourcery.com>
66484
66485 [BZ #13550]
66486 * sysdeps/i386/bp-asm.h: Remove file.
66487 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
66488 (PARMS): Do not use macros from bp-asm.h.
66489 (S1): Likewise.
66490 (S2): Likewise.
66491 (SIZE): Likewise.
66492 (__mpn_add_n): Do not use BP_SYM
66493 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
66494 "bp-asm.h".
66495 (PARMS): Do not use macros from bp-asm.h.
66496 (S1): Likewise.
66497 (SIZE): Likewise.
66498 (__mpn_addmul_1): Do not use BP_SYM
66499 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
66500 "bp-asm.h".
66501 (PARMS): Do not use macros from bp-asm.h.
66502 (SIGMSK): Likewise.
66503 (_setjmp): Likewise. Do not use BP_SYM.
66504 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
66505 "bp-asm.h".
66506 (PARMS): Do not use macros from bp-asm.h.
66507 (SIGMSK): Likewise.
66508 (setjmp): Likewise. Do not use BP_SYM.
66509 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
66510 "bp-asm.h".
66511 (PARMS): Do not use macros from bp-asm.h.
66512 (__frexp): Do not use BP_SYM.
66513 (frexp): Likewise.
66514 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
66515 "bp-asm.h".
66516 (PARMS): Do not use macros from bp-asm.h.
66517 (__frexpf): Do not use BP_SYM.
66518 (frexpf): Likewise.
66519 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
66520 "bp-asm.h".
66521 (PARMS): Do not use macros from bp-asm.h.
66522 (__frexpl): Do not use BP_SYM.
66523 (frexpl): Likewise.
66524 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
66525 "bp-asm.h".
66526 (PARMS): Do not use macros from bp-asm.h.
66527 (__remquo): Do not use BP_SYM.
66528 (remquo): Likewise.
66529 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
66530 "bp-asm.h".
66531 (PARMS): Do not use macros from bp-asm.h.
66532 (__remquof): Do not use BP_SYM.
66533 (remquof): Likewise.
66534 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
66535 "bp-asm.h".
66536 (PARMS): Do not use macros from bp-asm.h.
66537 (__remquol): Do not use BP_SYM.
66538 (remquol): Likewise.
66539 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
66540 "bp-asm.h".
66541 (PARMS): Do not use macros from bp-asm.h.
66542 (DEST): Likewise.
66543 (SRC): Likewise.
66544 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
66545 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
66546 "bp-asm.h".
66547 (PARMS): Do not use macros from bp-asm.h.
66548 (strlen): Do not use BP_SYM.
66549 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
66550 "bp-asm.h".
66551 (PARMS): Do not use macros from bp-asm.h.
66552 (S1): Likewise.
66553 (S2): Likewise.
66554 (SIZE): Likewise.
66555 (__mpn_add_n): Do not use BP_SYM.
66556 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
66557 "bp-asm.h".
66558 (PARMS): Do not use macros from bp-asm.h.
66559 (S1): Likewise.
66560 (SIZE): Likewise.
66561 (__mpn_addmul_1): Do not use BP_SYM.
66562 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
66563 weak_alias.
66564 (bzero): Likewise.
66565 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
66566 "bp-asm.h".
66567 (PARMS): Do not use macros from bp-asm.h.
66568 (S): Likewise.
66569 (SIZE): Likewise.
66570 (__mpn_lshift): Do not use BP_SYM.
66571 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
66572 "bp-asm.h".
66573 (PARMS): Do not use macros from bp-asm.h.
66574 (DEST): Likewise.
66575 (SRC): Likewise.
66576 (LEN): Likewise.
66577 (memcpy): Likewise. Do not use BP_SYM.
66578 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
66579 libc_hidden_def and weak_alias.
66580 (mempcpy): Do not use BP_SYM in weak_alias.
66581 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
66582 "bp-asm.h".
66583 (PARMS): Do not use macros from bp-asm.h.
66584 (DEST): Likewise.
66585 (LEN): Likewise.
66586 [!BZERO_P] (CHR): Likewise.
66587 (memset): Likewise. Do not use BP_SYM.
66588 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
66589 "bp-asm.h".
66590 (PARMS): Do not use macros from bp-asm.h.
66591 (S1): Likewise.
66592 (SIZE): Likewise.
66593 (__mpn_mul_1): Do not use BP_SYM.
66594 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
66595 "bp-asm.h".
66596 (PARMS): Do not use macros from bp-asm.h.
66597 (S): Likewise.
66598 (SIZE): Likewise.
66599 (__mpn_rshift): Do not use BP_SYM.
66600 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
66601 "bp-asm.h".
66602 (PARMS): Do not use macros from bp-asm.h.
66603 (STR): Likewise.
66604 (CHR): Likewise.
66605 (strchr): Likewise. Do not use BP_SYM.
66606 (index): Do not use BP_SYM in weak_alias.
66607 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
66608 "bp-asm.h".
66609 (PARMS): Do not use macros from bp-asm.h.
66610 (DEST): Likewise.
66611 (SRC): Likewise.
66612 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
66613 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
66614 "bp-asm.h".
66615 (PARMS): Do not use macros from bp-asm.h.
66616 (strlen): Do not use BP_SYM.
66617 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
66618 "bp-asm.h".
66619 (PARMS): Do not use macros from bp-asm.h.
66620 (S1): Likewise.
66621 (S2): Likewise.
66622 (SIZE): Likewise.
66623 (__mpn_sub_n): Do not use BP_SYM.
66624 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
66625 "bp-asm.h".
66626 (PARMS): Do not use macros from bp-asm.h.
66627 (S1): Likewise.
66628 (SIZE): Likewise.
66629 (__mpn_submul_1): Do not use BP_SYM.
66630 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
66631 "bp-asm.h".
66632 (PARMS): Do not use macros from bp-asm.h.
66633 (S1): Likewise.
66634 (S2): Likewise.
66635 (SIZE): Likewise.
66636 (__mpn_add_n): Do not use BP_SYM.
66637 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
66638 weak_alias.
66639 (bzero): Likewise.
66640 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
66641 "bp-asm.h".
66642 (PARMS): Do not use macros from bp-asm.h.
66643 (BLK2): Likewise.
66644 (LEN): Likewise.
66645 (memcmp): Do not use BP_SYM.
66646 (bcmp): Do not use BP_SYM in weak_alias.
66647 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
66648 "bp-asm.h".
66649 (PARMS): Do not use macros from bp-asm.h.
66650 (DEST): Likewise.
66651 (SRC): Likewise.
66652 (LEN): Likewise.
66653 (memcpy): Likewise. Do not use BP_SYM.
66654 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
66655 "bp-asm.h".
66656 (PARMS): Do not use macros from bp-asm.h.
66657 (DEST): Likewise.
66658 (SRC): Likewise.
66659 (LEN): Likewise.
66660 (memmove): Likewise. Do not use BP_SYM.
66661 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
66662 "bp-asm.h".
66663 (PARMS): Do not use macros from bp-asm.h.
66664 (DEST): Likewise.
66665 (SRC): Likewise.
66666 (LEN): Likewise.
66667 (__mempcpy): Likewise. Do not use BP_SYM.
66668 (mempcpy): Do not use BP_SYM in weak_alias.
66669 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
66670 "bp-asm.h".
66671 (PARMS): Do not use macros from bp-asm.h.
66672 (DEST): Likewise.
66673 (LEN): Likewise.
66674 [!BZERO_P] (CHR): Likewise.
66675 (memset): Likewise. Do not use BP_SYM.
66676 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
66677 "bp-asm.h".
66678 (PARMS): Do not use macros from bp-asm.h.
66679 (STR2): Likewise.
66680 (strcmp): Do not use BP_SYM.
66681 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
66682 "bp-asm.h".
66683 (PARMS): Do not use macros from bp-asm.h.
66684 (STR): Likewise.
66685 (DELIM): Likewise.
66686 [USE_AS_STRTOK_R] (SAVE): Likewise.
66687 (FUNCTION): Likewise. Do not use BP_SYM.
66688 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
66689 aliases.
66690 (strtok_r): Likewise.
66691 (__GI___strtok_r): Likewise.
66692 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
66693 (PARMS): Do not use macros from bp-asm.h.
66694 (S): Likewise.
66695 (SIZE): Likewise.
66696 (__mpn_lshift): Do not use BP_SYM.
66697 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
66698 (PARMS): Do not use macros from bp-asm.h.
66699 (STR): Likewise.
66700 (CHR): Likewise.
66701 (__memchr): Do not use BP_SYM.
66702 (memchr): Do not use BP_SYM in weak_alias.
66703 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
66704 (PARMS): Do not use macros from bp-asm.h.
66705 (BLK2): Likewise.
66706 (LEN): Likewise.
66707 (memcmp): Do not use BP_SYM.
66708 (bcmp): Do not use BP_SYM in weak_alias.
66709 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
66710 (PARMS): Do not use macros from bp-asm.h.
66711 (S1): Likewise.
66712 (SIZE): Likewise.
66713 (__mpn_mul_1): Do not use BP_SYM.
66714 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
66715 "bp-asm.h".
66716 (PARMS): Do not use macros from bp-asm.h.
66717 (STR): Likewise.
66718 (CHR): Likewise.
66719 (__rawmemchr): Do not use BP_SYM.
66720 (rawmemchr): Do not use BP_SYM in weak_alias.
66721 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
66722 (PARMS): Do not use macros from bp-asm.h.
66723 (S): Likewise.
66724 (SIZE): Likewise.
66725 (__mpn_rshift): Do not use BP_SYM.
66726 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
66727 (PARMS): Do not use macros from bp-asm.h.
66728 (SIGMSK): Likewise.
66729 (__sigsetjmp): Likewise. Do not use BP_SYM.
66730 * sysdeps/i386/start.S: Do not include "bp-sym.h".
66731 (_start): Do not use BP_SYM.
66732 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
66733 (PARMS): Do not use macros from bp-asm.h.
66734 (DEST): Likewise.
66735 (SRC): Likewise.
66736 (__stpcpy): Likewise. Do not use BP_SYM.
66737 (stpcpy): Do not use BP_SYM in weak_alias.
66738 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
66739 "bp-asm.h".
66740 (PARMS): Do not use macros from bp-asm.h.
66741 (DEST): Likewise.
66742 (SRC): Likewise.
66743 (LEN): Likewise.
66744 (__stpncpy): Likewise. Do not use BP_SYM.
66745 (stpncpy): Do not use BP_SYM in weak_alias.
66746 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
66747 (PARMS): Do not use macros from bp-asm.h.
66748 (STR): Likewise.
66749 (CHR): Likewise.
66750 (strchr): Likewise. Do not use BP_SYM.
66751 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
66752 "bp-asm.h".
66753 (PARMS): Do not use macros from bp-asm.h.
66754 (STR): Likewise.
66755 (CHR): Likewise.
66756 (__strchrnul): Likewise. Do not use BP_SYM.
66757 (strchrnul): Do not use BP_SYM in weak_alias.
66758 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
66759 "bp-asm.h".
66760 (PARMS): Do not use macros from bp-asm.h.
66761 (STOP): Likewise.
66762 (strcspn): Do not use BP_SYM.
66763 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
66764 "bp-asm.h".
66765 (PARMS): Do not use macros from bp-asm.h.
66766 (STR): Likewise.
66767 (STOP): Likewise.
66768 (strpbrk): Likewise. Do not use BP_SYM.
66769 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
66770 "bp-asm.h".
66771 (PARMS): Do not use macros from bp-asm.h.
66772 (STR): Likewise.
66773 (CHR): Likewise.
66774 (strrchr): Likewise. Do not use BP_SYM.
66775 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
66776 (PARMS): Do not use macros from bp-asm.h.
66777 (SKIP): Likewise.
66778 (strspn): Do not use BP_SYM.
66779 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
66780 (PARMS): Do not use macros from bp-asm.h.
66781 (STR): Likewise.
66782 (DELIM): Likewise.
66783 (SAVE): Likewise.
66784 (FUNCTION): Likewise. Do not use BP_SYM.
66785 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
66786 aliases.
66787 (strtok_r): Likewise.
66788 (__GI___strtok_r): Likewise.
66789 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
66790 (PARMS): Do not use macros from bp-asm.h.
66791 (S1): Likewise.
66792 (S2): Likewise.
66793 (SIZE): Likewise.
66794 (__mpn_sub_n): Do not use BP_SYM.
66795 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
66796 "bp-asm.h".
66797 (PARMS): Do not use macros from bp-asm.h.
66798 (S1): Likewise.
66799 (SIZE): Likewise.
66800 (__mpn_submul_1): Do not use BP_SYM.
66801 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
66802 <bp-sym.h>.
66803 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
66804 and <bp-asm.h>.
66805 (PARMS): Do not use macros from bp-asm.h.
66806 (FLAGS): Likewise.
66807 (PTID): Likewise.
66808 (TLS): Likewise.
66809 (CTID): Likewise.
66810 (__clone): Do not use BP_SYM.
66811 (clone): Do not use BP_SYM in weak_alias.
66812 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
66813 and <bp-asm.h>.
66814 (PARMS): Do not use macros from bp-asm.h.
66815 (LEN): Likewise.
66816 (__mmap64): Do not use BP_SYM.
66817 (mmap64): Do not use BP_SYM in weak_alias.
66818 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
66819 <bp-sym.h> and <bp-asm.h>.
66820 (PARMS): Do not use macros from bp-asm.h.
66821 (__posix_fadvise64_l64): Do not use BP_SYM.
66822 * sysdeps/unix/sysv/linux/i386/semtimedop.S
66823 (PARMS): Do not use macros from bp-asm.h.
66824 (NSOPS): Likewise.
66825 (semtimedop): Do not use BP_SYM.
66826 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
66827 and <bp-asm.h>.
66828
66829 2013-02-21 Allan McRae <allan@archlinux.org>
66830
66831 * manual/message.texi (Charset conversion in gettext):
66832 Move @end statement to beginning of line.
66833
66834 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66835
66836 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
66837 static.
66838 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
66839 Likewise.
66840
66841 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
66842 (denorm): Likewise.
66843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
66844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
66845
66846 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66847
66848 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
66849 tail-call to the resolved function if pltexit isn't needed.
66850
66851 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66852
66853 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
66854 or Y being zero as being unlikely.
66855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
66856 Likewise.
66857
66858 2013-02-20 Carlos O'Donell <carlos@redhat.com>
66859
66860 * manual/nss.texi (System Databases and Name Service Switch):
66861 Remove frobnicate @pxref.
66862
66863 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
66864
66865 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
66866 __attribute__ ((unused)) to __attribute__ ((__unused__)).
66867
66868 2013-02-20 Petr Machata <pmachata@redhat.com>
66869
66870 * elf/elf.h (R_ARM_TARGET1): New macro.
66871 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
66872 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
66873 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
66874 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
66875 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
66876 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
66877 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
66878 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
66879 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
66880 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
66881 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
66882 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
66883 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
66884 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
66885 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
66886 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
66887 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
66888 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
66889 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
66890 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
66891 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
66892 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
66893 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
66894 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
66895 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
66896 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
66897 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
66898 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
66899 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
66900 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
66901 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
66902 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
66903 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
66904 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
66905 (R_ARM_THM_GOT_BREL12): Likewise.
66906 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
66907 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
66908 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
66909 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
66910 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
66911 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
66912 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
66913 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
66914 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
66915
66916 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
66917
66918 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
66919 __attribute_used__ to __attribute__ ((unused)).
66920
66921 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
66922
66923 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
66924 powerpc mpa.c.
66925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
66926 comment formatting.
66927 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
66928
66929 2013-02-19 Joseph Myers <joseph@codesourcery.com>
66930
66931 [BZ #13550]
66932 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
66933 Remove macro.
66934 (ENTER): Remove both macro definitions.
66935 (LEAVE): Likewise.
66936 (CHECK_BOUNDS_LOW): Likewise.
66937 (CHECK_BOUNDS_HIGH): Likewise.
66938 (CHECK_BOUNDS_BOTH): Likewise.
66939 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
66940 (RETURN_BOUNDED_POINTER): Likewise.
66941 (RETURN_NULL_BOUNDED_POINTER): Likewise.
66942 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
66943 (POP_ERRNO_LOCATION_RETURN): Likewise.
66944 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
66945 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66946 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
66947 macros.
66948 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66949 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
66950 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
66951 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
66952 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
66953 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
66954 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
66955 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
66956 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
66957 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
66958 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
66959 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
66960 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66961 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
66962 removed macros.
66963 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66964 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
66965 macros.
66966 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66967 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
66968 * sysdeps/i386/i586/memset.S (memset): Likewise.
66969 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
66970 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66971 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
66972 macros.
66973 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66974 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
66975 Change uses of L(2) to L(out).
66976 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
66977 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
66978 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
66979 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66980 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
66981 removed macros.
66982 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66983 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
66984 macros.
66985 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66986 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
66987 (RETURN): Do not use macro LEAVE.
66988 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
66989 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
66990 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
66991 * sysdeps/i386/i686/memset.S (memset): Likewise.
66992 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
66993 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
66994 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
66995 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
66996 Likewise.
66997 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66998 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
66999 L(1_2) and L(1_3) into L(1).
67000 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
67001 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
67002 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67003 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
67004 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
67005 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
67006 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
67007 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67008 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
67009 macros.
67010 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
67011 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67012 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
67013 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
67014 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
67015 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67016 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
67017 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
67018 * sysdeps/i386/strcspn.S (strcspn): Likewise.
67019 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
67020 * sysdeps/i386/strrchr.S (strrchr): Likewise.
67021 * sysdeps/i386/strspn.S (strspn): Likewise.
67022 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
67023 conditional code.
67024 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67025 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
67026 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
67027 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
67028 L(1_3) into L(1_1).
67029 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
67030 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67031 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
67032 macros.
67033 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67034
67035 2013-02-19 Jakub Jelinek <jakub@redhat.com>
67036
67037 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
67038 macro.
67039
67040 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
67041
67042 * math/atest-exp.c (exp_mpn): Remove ROUND.
67043 * math/atest-exp2.c (exp_mpn): Likewise.
67044 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
67045
67046 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
67047 * stdlib/tst-tls-atexit-lib.c: Likewise.
67048 * stdlib/tst-tls-atexit.c: Likewise.
67049
67050 2013-02-18 Mike Frysinger <vapier@gentoo.org>
67051
67052 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
67053 and __attribute_alloc_size__.
67054
67055 2013-02-18 Mike Frysinger <vapier@gentoo.org>
67056
67057 * include/programs/xmalloc.h: Change __attribute_alloc_size to
67058 __attribute_alloc_size__.
67059 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
67060 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
67061
67062 2013-02-18 Mike Frysinger <vapier@gentoo.org>
67063
67064 * include/programs/xmalloc.h: New file.
67065 * catgets/gencat.c: Include it.
67066 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
67067 * elf/pldd.c: Likewise.
67068 * iconv/iconv_charmap.c: Likewise.
67069 * iconv/iconvconfig.c: Likewise.
67070 * iconv/strtab.c: Likewise.
67071 * locale/programs/locale.c: Likewise.
67072 * locale/programs/localedef.h: Likewise.
67073 * locale/programs/simple-hash.c: Likewise.
67074 * nscd/nscd.h: Likewise.
67075 * nss/makedb.c: Likewise.
67076 * sysdeps/generic/ldconfig.h: Likewise.
67077
67078 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
67079
67080 * Versions.def: Add GLIBC_2.18.
67081 * include/link.h (struct link_map): New member l_tls_dtor_count.
67082 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
67083 (__call_tls_dtors): Likewise.
67084 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
67085 __cxa_thread_atexit_impl.
67086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67087 Likewise.
67088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67089 Likewise.
67090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
67091 Likewise.
67092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
67093 Likewise.
67094 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
67096 Likewise.
67097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
67098 Likewise.
67099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67100 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
67101 Likewise.
67102 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
67103 (tests): Add test case tst-tls-atexit.
67104 (modules-names): Add shared library for tst-tls-atexit.
67105 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
67106 (GLIBC_PRIVATE): Add __call_tls_dtors.
67107 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
67108 for libstdc++.
67109 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
67110 * stdlib/tst-tls-atexit.c: New test case.
67111 * stdlib/tst-tls-atexit-lib.c: New test case.
67112
67113 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
67114
67115 * elf/Versions (ld): Add _dl_find_dso_for_object.
67116 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
67117 * elf/dl-open.c (_dl_find_dso_for_object): New function.
67118 (dl_open_worker): Use _dl_find_dso_for_object.
67119 * elf/dl-sym.c (do_sym): Likewise.
67120 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
67121
67122 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67123
67124 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
67125 Syntactic changes only.
67126 (_dl_runtime_profile): Do a tail-call to the resolved function.
67127
67128 2013-02-17 Joseph Myers <joseph@codesourcery.com>
67129
67130 [BZ #13550]
67131 * sysdeps/x86_64/bp-asm.h: Remove file.
67132 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
67133 <bp-sym.h> and <bp-asm.h>.
67134 (__clone): Do not use BP_SYM.
67135 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
67136 <bp-sym.h> and <bp-asm.h>.
67137 * sysdeps/unix/x86_64/sysdep.S: Likewise.
67138 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
67139 "bp-asm.h".
67140 (_setjmp): Do not use BP_SYM.
67141 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
67142 "bp-asm.h".
67143 (setjmp): Do not use BP_SYM.
67144 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
67145 libc_hidden_def.
67146 (mempcpy): Do not use BP_SYM in weak_alias.
67147 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
67148 "bp-asm.h".
67149 (strchr): Do not use BP_SYM.
67150 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
67151 "bp-asm.h".
67152 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
67153 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
67154 (_start): Do not use BP_SYM.
67155 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
67156 "bp-asm.h".
67157 (strcat): Do not use BP_SYM.
67158 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
67159 "bp-asm.h".
67160 (STRCMP): Do not use BP_SYM.
67161 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
67162 "bp-asm.h".
67163 (STRCPY): Do not use BP_SYM.
67164 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
67165 "bp-asm.h".
67166 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
67167 "bp-asm.h".
67168 (FUNCTION): Do not use BP_SYM.
67169 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
67170 weak_alias.
67171 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
67172
67173 2013-02-17 Andreas Jaeger <aj@suse.de>
67174
67175 * time/Versions: Sort entries.
67176 * string/Versions: Likewise.
67177 * resolv/Versions: Likewise.
67178 * posix/Versions: Likewise.
67179 * iconv/Versions: Likewise.
67180 * elf/Versions: Likewise.
67181 * wcsmbs/Versions: Likewise.
67182
67183 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
67184
67185 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
67186 loop termination condition.
67187
67188 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
67189 variable to calculate EZ.
67190 (__sqr): Likewise.
67191
67192 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
67193 the lower precision input.
67194
67195 2013-02-15 Joseph Myers <joseph@codesourcery.com>
67196
67197 [BZ #13550]
67198 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
67199 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
67200 (run-via-rtld-prefix): Do not handle %-bp tests.
67201 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
67202 (all-object-suffixes): Remove .ob.
67203 (bppfx): Remove variable.
67204 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
67205 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
67206 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
67207 [$(build-bounded) = yes] (libtype.ob): Likewise.
67208 * Makerules (elide-routines.ob): Remove variable.
67209 (do-tests-clean): Do not handle *-bp.out.
67210 (common-mostlyclean): Do not handle *-bp and *-bp.out.
67211 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
67212 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
67213 (tests): Do not include $(tests-bp.out).
67214 (xtests): Do not include $(xtests-bp.out).
67215 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
67216 [$(build-bounded) = yes] ($(addprefix
67217 $(objpfx),$(binaries-bounded))): Remove rule.
67218 ($(objpfx)%-bp.out): Remove rule.
67219 * config.make.in (build-bounded): Remove variable.
67220 * crypt/Makefile [$(build-bounded) = yes]
67221 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
67222 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
67223 append to variable.
67224 [$(build-bounded) = yes] (install-lib): Likewise.
67225 [$(build-bounded) = yes] (generated): Likewise.
67226 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
67227 Remove rule.
67228 * intl/Makefile [$(build-bounded) = yes]
67229 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
67230 * math/Makefile [$(build-bounded) = yes]
67231 ($(tests:%=$(objpfx)%-bp): Likewise.
67232 * misc/Makefile [$(build-bounded) = yes]
67233 ($(objpfx)tst-tsearch-bp): Likewise.
67234 * nptl/Makeconfig (bounded-thread-library): Remove variable.
67235 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
67236 Remove dependency.
67237 * string/Makefile (o-objects.ob): Remove variable.
67238 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
67239 (CFLAGS-.ob): Remove variable.
67240 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
67241 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
67242 both definitions of variable.
67243 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
67244 (ASFLAGS-.ob): Remove variable.
67245
67246 2013-02-14 Joseph Myers <joseph@codesourcery.com>
67247
67248 [BZ #13550]
67249 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
67250 Remove __BOUNDED_POINTERS__ from condition.
67251 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
67252 * string/bits/string2.h [!__NO_STRING_INLINES &&
67253 !__BOUNDED_POINTERS__]: Likewise.
67254 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
67255 Likewise.
67256 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
67257 Remove conditional code.
67258 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
67259 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
67260 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
67261 condition.
67262
67263 [BZ #13550]
67264 * csu/libc-start.c: Do not include <bp-sym.h>.
67265 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
67266 * elf/dl-open.c: Do not include <bp-sym.h>.
67267 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
67268 * math/fegetenv.c: Do not include <bp-sym.h>.
67269 (fegetenv): Do not use BP_SYM in versioned symbols.
67270 * nptl/sysdeps/pthread/bits/libc-lockP.h
67271 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
67272 <bp-sym.h>.
67273 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67274 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
67275 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67276 (__pthread_mutex_destroy): Likewise.
67277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67278 (__pthread_mutex_lock): Likewise.
67279 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67280 (__pthread_mutex_trylock): Likewise.
67281 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67282 (__pthread_mutex_unlock): Likewise.
67283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67284 (__pthread_mutexattr_init): Likewise.
67285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67286 (__pthread_mutexattr_destroy): Likewise.
67287 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67288 (__pthread_mutexattr_settype): Likewise.
67289 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67290 (__pthread_rwlock_init): Likewise.
67291 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67292 (__pthread_rwlock_destroy): Likewise.
67293 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67294 (__pthread_rwlock_rdlock): Likewise.
67295 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67296 (__pthread_rwlock_tryrdlock): Likewise.
67297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67298 (__pthread_rwlock_wrlock): Likewise.
67299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67300 (__pthread_rwlock_trywrlock): Likewise.
67301 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67302 (__pthread_rwlock_unlock): Likewise.
67303 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67304 (__pthread_key_create): Likewise.
67305 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67306 (__pthread_setspecific): Likewise.
67307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67308 (__pthread_getspecific): Likewise.
67309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
67310 Likewise.
67311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67312 (_pthread_cleanup_push_defer): Likewise.
67313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67314 (_pthread_cleanup_pop_restore): Likewise.
67315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67316 (pthread_setcancelstate): Likewise.
67317 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
67318 <bp-sym.h>.
67319 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
67320 (memchr): Do not use BP_SYM in weak_alias.
67321 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
67322 (fegetenv): Do not use BP_SYM in versioned symbols.
67323 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
67324 (fesetenv): Do not use BP_SYM in versioned symbols.
67325 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
67326 (feupdateenv): Do not use BP_SYM in versioned symbols.
67327 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
67328 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
67329 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
67330 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
67331 (open64): Do not use BP_SYM in weak_alias.
67332 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
67333 (fegetenv): Do not use BP_SYM in versioned symbols.
67334 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
67335 (fesetenv): Do not use BP_SYM in versioned symbols.
67336 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
67337 (feupdateenv): Do not use BP_SYM in versioned symbols.
67338 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
67339 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
67340 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
67341 (feraiseexcept): Do not use BP_SYM in versioned symbols.
67342 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
67343 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
67344 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
67345 <bp-sym.h>.
67346 (__libc_start_main): Do not use BP_SYM.
67347
67348 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
67349
67350 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
67351 redundant return line.
67352 (norm): Likewise.
67353 (denorm): Likewise.
67354 (dbl_mp): Likewise.
67355 (sub_magnitudes): Likewise.
67356 (__add): Likewise.
67357 (__sub): Likewise.
67358 (__mul): Likewise.
67359 (__inv): Likewise.
67360 (__dvd): Likewise.
67361 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
67362 (norm): Likewise.
67363 (denorm): Likewise.
67364 (dbl_mp): Likewise.
67365 (sub_magnitudes): Likewise.
67366 (__add): Likewise.
67367 (__sub): Likewise.
67368 (__mul): Likewise.
67369 (__inv): Likewise.
67370 (__dvd): Likewise.
67371
67372 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
67373 instead of __mul.
67374 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
67375 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
67376 (cc32): Likewise.
67377
67378 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
67379 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
67380 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
67381 of __mul for squares.
67382 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
67383 function
67384 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
67385 Likewise.
67386 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
67387 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67388
67389 2013-02-13 Joseph Myers <joseph@codesourcery.com>
67390
67391 [BZ #13550]
67392 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
67393 code.
67394 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
67395 prototype or function definition. Rename ubp_* variables and
67396 parameters. Remove argv definitions conditional on
67397 [__BOUNDED_POINTERS__].
67398 * debug/backtrace.c (__backtrace): Do not use __unbounded.
67399 * elf/dl-runtime.c (_dl_fixup): Likewise.
67400 * include/set-hooks.h (RUN_HOOK): Likewise.
67401 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
67402 definition.
67403 * string/strcpy.c (strcpy): Do not use __unbounded.
67404 * sysdeps/generic/frame.h (struct layout): Likewise.
67405 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
67406 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
67407 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
67408 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
67409 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
67410 (__backtrace): Likewise.
67411 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
67412 use __ptrvalue.
67413 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
67414 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
67415 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
67416 Likewise.
67417 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
67418 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
67419 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
67420 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
67421 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
67422 Do not use __unbounded.
67423 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
67424 Rename __unboundedrlimits parameter to rlimits in prototype.
67425 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
67426 Do not use __unbounded.
67427 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
67428 not use __ptrvalue.
67429 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
67430 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
67431 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
67432 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
67433 __ptrvalue or __unbounded.
67434 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
67435 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
67436 use __unbounded.
67437 (__new_msgctl): Do not use __ptrvalue.
67438 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
67439 __unbounded.
67440 (__libc_msgrcv): Do not use __ptrvalue.
67441 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
67442 startup_info): Do not use __unbounded.
67443 (__libc_start_main): Likewise. Rename ubp_* variables and
67444 parameters. Remove argv definitions conditional on
67445 [__BOUNDED_POINTERS__].
67446 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
67447 __ptrvalue.
67448 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
67449 use __unbounded.
67450 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
67451 or __ptrvalue.
67452 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
67453 use __unbounded.
67454 (__new_shmctl): Do not use __ptrvalue.
67455 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
67456 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
67457 Likewise.
67458 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
67459 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
67460 (__libc_sigaction): Likewise.
67461 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
67462 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
67463 Likewise.
67464 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
67465
67466 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
67467
67468 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
67469
67470 * string/mempcpy.c: Implement by calling memcpy.
67471
67472 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
67473
67474 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
67475
67476 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
67477 evaluation.
67478
67479 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
67480 values in the mantissa.
67481
67482 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
67483 minimize writes to Z.
67484 (sub_magnitudes): Simplify code a bit.
67485
67486 2013-02-12 Roland McGrath <roland@hack.frob.com>
67487
67488 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
67489 from the message. The linker prefixes all warnings with that already.
67490
67491 2013-02-12 Andreas Schwab <schwab@suse.de>
67492
67493 [BZ #15078]
67494 * posix/regexec.c (extend_buffers): Add parameter min_len.
67495 (check_matching): Pass minimum needed length.
67496 (clean_state_log_if_needed): Likewise.
67497 (get_subexp): Likewise.
67498 * posix/Makefile (tests): Add bug-regex34.
67499 (bug-regex34-ENV): Define.
67500 * posix/bug-regex34.c: New file.
67501
67502 [BZ #11561]
67503 * posix/regcomp.c (parse_bracket_exp): When looking up collating
67504 elements compare against the byte sequence of it, not its name.
67505 * posix/Makefile (tests): Add bug-regex35.
67506 (bug-regex35-ENV): Define.
67507 * posix/bug-regex35.c: New file.
67508
67509 2013-02-11 Tom de Vries <tom@codesourcery.com>
67510
67511 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
67512 comment.
67513 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
67514 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
67515 (CHECK_EOL): Add undef.
67516
67517 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
67518
67519 * bits/stdlib-bsearch.h: New file.
67520 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
67521 * stdlib/stdlib.h: Likewise.
67522
67523 2013-02-11 Roland McGrath <roland@hack.frob.com>
67524
67525 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
67526 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
67527 declaration.
67528 * manual/search.texi (Array Search Function): Add missing const in
67529 lfind prototype.
67530 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
67531 declaration to use rlim_t.
67532 (Basic Scheduling Functions): Remove erroneous const from
67533 sched_getparam prototype. Remove erroneous * from
67534 sched_get_priority_max and sched_get_priority_min prototypes.
67535 (Resource Usage): Fix summary @comment on vtimes to refer to
67536 sys/vtimes.h rather than vtimes.h.
67537 Add missing *s in vtimes prototype.
67538 (Limits on Resources): Fix ulimit prototype to return long int.
67539 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
67540 prototypes to use long int rather than double.
67541 (BSD Random): Fix initstate and setstate to use char *, not void *.
67542 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
67543 prototype to make second argument 'struct aiocb64 *const[]'.
67544 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
67545 (Status of AIO Operations): Remove erroneous const in aio_return and
67546 aio_return64 prototypes.
67547 (Synchronizing I/O): Fix sync prototype to return void.
67548 * manual/startup.texi (Suboptions): Remove an erroneous const in
67549 getsubopt prototype.
67550 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
67551 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
67552 use size_t rather than int.
67553 (Scanning All Users): Likewise for getpwent_r.
67554 (Setting Groups): Add missing const to setgroups prototype.
67555 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
67556 * manual/socket.texi (Host Names): Fix gethostbyaddr and
67557 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
67558 'const void *' rather than 'const char *'.
67559 (Host Address Functions): Likewise for inet_ntop.
67560 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
67561 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
67562 ssize_t for return value.
67563 (Sending Data): Likewise for send, sendto, sendmsg.
67564 (Socket Option Functions): Add a missing const in setsockopt prototype.
67565 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
67566 use wchar_t for the argument.
67567 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
67568 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
67569 take no arguments.
67570 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
67571 double/float/long double for second argument.
67572 Fix return types of significand, significandf, significandl.
67573 * manual/filesys.texi (Setting Permissions): Use mode_t for second
67574 argument in fchmod prototype.
67575 (File Owner): Use uid_t and gid_t in fchown prototype.
67576 (File Times): Add const to utimes, futimes, and lutimes prototypes.
67577 (Making Special Files): Use mode_t and dev_t in mknod prototype.
67578 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
67579 use 'const struct dirent **' as argument types to CMP function pointer
67580 argument.
67581 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
67582 (File Times): Fix summary magic @comment for struct utimbuf and utime
67583 to refer to utime.h, not time.h.
67584 * manual/string.texi (Argz Functions): Add missing const in
67585 argz_extract and argz_next prototypes.
67586 (Finding Tokens in a String): Likewise for basename.
67587 (String/Array Comparison): Fix typo in wcscasecmp prototype.
67588 (Copying and Concatenation): Fix typo in wmemmove prototype.
67589 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
67590 (Signal Stack): Remove erroneous const in sigstack prototype.
67591 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
67592 prototype.
67593 (Simple Calendar Time): Likewise for stime.
67594 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
67595 prototype.
67596 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
67597 say sys/sysctl.h instead.
67598 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
67599 and vsyslog prototypes.
67600
67601 2013-02-11 Tom de Vries <tom@codesourcery.com>
67602
67603 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
67604 Remove.
67605
67606 2013-02-11 Roland McGrath <roland@hack.frob.com>
67607
67608 * misc/sys/mman.h: Fix typo in mremap comment.
67609
67610 2013-02-08 Roland McGrath <roland@hack.frob.com>
67611
67612 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
67613 the '\0' terminator.
67614
67615 2013-02-08 Joseph Myers <joseph@codesourcery.com>
67616
67617 [BZ #13550]
67618 * debug/segfault.c: Don't include <bp-checks.h>.
67619 * sysdeps/generic/bp-checks.h: Remove file.
67620 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
67621 (__GETDENTS): Don't use CHECK_N.
67622 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
67623 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
67624 (__getgroups): Don't use CHECK_N.
67625 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
67626 (setgroups): Don't use CHECK_N.
67627 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
67628 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
67629 (__libc_msgrcv): Don't use CHECK_N.
67630 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
67631 (__libc_msgsnd): Don't use CHECK_N.
67632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
67633 <bp-checks.h>.
67634 (__libc_pread): Don't use CHECK_N.
67635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
67636 include <bp-checks.h>.
67637 (__libc_pread64): Don't use CHECK_N.
67638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
67639 include <bp-checks.h>.
67640 (__libc_pwrite): Don't use CHECK_N.
67641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
67642 include <bp-checks.h>.
67643 (__libc_pwrite64): Don't use CHECK_N.
67644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
67645 <bp-checks.h>.
67646 (__libc_pread): Don't use CHECK_N.
67647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
67648 include <bp-checks.h>.
67649 (__libc_pread64): Don't use CHECK_N.
67650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
67651 include <bp-checks.h>.
67652 (__libc_pwrite): Don't use CHECK_N.
67653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
67654 include <bp-checks.h>.
67655 (__libc_pwrite64): Don't use CHECK_N.
67656 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
67657 (do_pread): Don't use CHECK_N.
67658 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
67659 (do_pread64): Don't use CHECK_N.
67660 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
67661 (do_pwrite): Don't use CHECK_N.
67662 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
67663 (do_pwrite64): Don't use CHECK_N.
67664 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
67665 (__libc_readv): Don't use CHECK_N.
67666 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
67667 (semop): Don't use CHECK_N.
67668 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
67669 <bp-checks.h>.
67670 (semtimedop): Don't use CHECK_N.
67671 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
67672 (__libc_pread): Don't use CHECK_N.
67673 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
67674 <bp-checks.h>.
67675 (__libc_pread64): Don't use CHECK_N.
67676 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
67677 <bp-checks.h>.
67678 (__libc_pwrite): Don't use CHECK_N.
67679 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
67680 <bp-checks.h>.
67681 (__libc_pwrite64): Don't use CHECK_N.
67682 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
67683 <bp-checks.h>.
67684 (__libc_msgrcv): Don't use CHECK_N.
67685 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
67686 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
67687 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
67688 (__libc_writev): Don't use CHECK_N.
67689
67690 2013-02-08 Roland McGrath <roland@hack.frob.com>
67691
67692 * string/strcpy.c: Removed unused variable.
67693
67694 * Makeconfig (+sysdep-includes): Define with := rather than =.
67695 Use an existing include/ subdir of each sysdeps dir before it.
67696
67697 2013-02-08 Carlos O'Donell <carlos@redhat.com>
67698
67699 * nscd/connection.c (register_traced_file): Comment function.
67700 [HAVE_INOTIFY] (union __inev): Define.
67701 [HAVE_INOTIFY] (inotify_check_files): New function.
67702 [HAVE_INOTIFY] (clear_db_cache): Likewise.
67703 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
67704 clear_db_cache.
67705 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
67706
67707 2013-02-08 Carlos O'Donell <carlos@redhat.com>
67708
67709 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
67710 loaded if not already and that a failure is permanent.
67711
67712 2013-02-08 Carlos O'Donell <carlos@redhat.com>
67713
67714 [BZ #15006]
67715 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
67716 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
67717
67718 2013-02-08 Joseph Myers <joseph@codesourcery.com>
67719
67720 [BZ #13550]
67721 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
67722 (CHECK_1_NULL_OK): Likewise.
67723 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
67724 (__fxstat): Do not use CHECK_1.
67725 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
67726 <bp-checks.h>.
67727 (___fxstat64): Do not use CHECK_1.
67728 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
67729 <bp-checks.h>.
67730 (__fxstatat): Do not use CHECK_1.
67731 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
67732 <bp-checks.h>.
67733 (__fxstatat64): Do not use CHECK_1.
67734 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
67735 <bp-checks.h>.
67736 (__fxstat): Do not use CHECK_1.
67737 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
67738 <bp-checks.h>.
67739 (__fxstatat): Do not use CHECK_1.
67740 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
67741 <bp-checks.h>.
67742 (__getresgid): Do not use CHECK_1.
67743 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
67744 <bp-checks.h>.
67745 (__getresuid): Do not use CHECK_1.
67746 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
67747 <bp-checks.h>.
67748 (__lxstat): Do not use CHECK_1.
67749 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
67750 <bp-checks.h>.
67751 (__old_msgctl): Do not use CHECK_1.
67752 (__new_msgctl): Likewise.
67753 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
67754 <bp-checks.h>.
67755 (__new_setrlimit): Do not use CHECK_1.
67756 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
67757 <bp-checks.h>.
67758 (__old_shmctl): Do not use CHECK_1.
67759 (__new_shmctl): Likewise.
67760 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
67761 <bp-checks.h>.
67762 (__xstat): Do not use CHECK_1.
67763 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
67764 (__lxstat): Do not use CHECK_1.
67765 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
67766 <bp-checks.h>.
67767 (___lxstat64): Do not use CHECK_1.
67768 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
67769 (__old_msgctl): Do not use CHECK_1.
67770 (__new_msgctl): Likewise.
67771 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
67772 <bp-checks.h>.
67773 (__gettimeofday): Do not use CHECK_1.
67774 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
67775 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
67776 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
67777 <bp-checks.h>.
67778 (__gettimeofday): Do not use CHECK_1.
67779 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
67780 (__old_shmctl): Do not use CHECK_1_NULL_OK.
67781 (__new_shmctl): Do not use CHECK_1.
67782 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
67783 <bp-checks.h>.
67784 (do_sigtimedwait): Do not use CHECK_1.
67785 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
67786 <bp-checks.h>.
67787 (do_sigwaitinfo): Do not use CHECK_1.
67788 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
67789 <bp-checks.h>.
67790 (msgctl): Do not use CHECK_1.
67791 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
67792 <bp-checks.h>.
67793 (shmctl): Do not use CHECK_1.
67794 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
67795 (ustat): Do not use CHECK_1.
67796 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
67797 <bp-checks.h>.
67798 (__fxstat): Do not use CHECK_1.
67799 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
67800 <bp-checks.h>.
67801 (__fxstatat): Do not use CHECK_1.
67802 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
67803 <bp-checks.h>.
67804 (__lxstat): Do not use CHECK_1.
67805 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
67806 <bp-checks.h>.
67807 (__xstat): Do not use CHECK_1.
67808 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
67809 (__xstat): Do not use CHECK_1.
67810 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
67811 (___xstat64): Do not use CHECK_1.
67812
67813 [BZ #13550]
67814 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
67815 definitions.
67816 (CHECK_BOUNDS_HIGH): Likewise.
67817 * string/strcpy.c: Do not include <bp-checks.h>.
67818 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
67819
67820 2013-02-07 Roland McGrath <roland@hack.frob.com>
67821
67822 * nscd/nscd-client.h (__nscd_drop_map_ref):
67823 Add __attribute__ ((unused)).
67824 * nis/nss-nisplus.h (niserr2nss): Likewise.
67825
67826 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
67827 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
67828
67829 * csu/libc-tls.c (init_static_tls, init_slotinfo):
67830 Remove inline keyword.
67831 * include/rounding-mode.h (round_away): Likewise.
67832 * libio/wfileops.c (adjust_wide_data): Likewise.
67833 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
67834 (__m128i_strloadu_tolower): Likewise.
67835 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
67836 (__m128i_strloadu_tolower): Likewise.
67837 * time/mktime.c (ydhms_diff): Likewise.
67838 * locale/elem-hash.h (elem_hash): Likewise.
67839 * locale/setlocale.c (setdata): Likewise.
67840 * posix/regex_internal.h (re_string_char_size_at): Likewise.
67841 (re_string_wchar_at): Likewise.
67842 (bitset_not, bitset_merge, bitset_mask): Likewise.
67843 [!(__GNUC__ > 3)] (inline): Remove macro.
67844 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
67845 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
67846 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
67847 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
67848 * string/memcmp.c (memcmp_bytes): Likewise.
67849 * locale/programs/locarchive.c (compute_hashval): Likewise.
67850 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
67851 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
67852 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
67853 * nss/getent.c (print_rpc, print_protocols): Likewise.
67854 (print_passwd, print_group, print_aliases): Likewise.
67855 * nis/nss-nisplus.h (niserr2nss): Likewise.
67856 * nscd/connections.c (restart_p): Likewise.
67857 Change return type to bool.
67858
67859 2013-02-05 Roland McGrath <roland@hack.frob.com>
67860
67861 * Makeconfig (all-Depend-files): Add existing
67862 $(sorted-subdirs:=/Depend) files.
67863 (all-subdirs): Remove nss.
67864 * sysdeps/unix/inet/Subdirs: Add it here instead.
67865 * hesiod/Depend: New file.
67866
67867 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
67868 instead of calling alloca.
67869
67870 * io/lseek.c (__lseek): Rename to __libc_lseek.
67871 Define __lseek as an alias.
67872
67873 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
67874
67875 2013-02-04 Carlos O'Donell <carlos@redhat.com>
67876
67877 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
67878 else clause and remove check for non-standard endianness.
67879
67880 2013-02-04 David S. Miller <davem@davemloft.net>
67881
67882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67883
67884 2013-02-04 Joseph Myers <joseph@codesourcery.com>
67885
67886 [BZ #13550]
67887 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
67888 (__ubp_memchr): Remove prototype.
67889 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
67890 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
67891 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
67892 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
67893 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
67894 Remove alias.
67895 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
67896 (__ubp_memchr): Likewise.
67897 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
67898 (__ubp_memchr): Likewise.
67899 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
67900 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
67901 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
67902 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
67903 CHECK_STRING.
67904 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
67905 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
67906 (__getcwd): Do not use CHECK_STRING.
67907 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
67908 <bp-checks.h>.
67909 (__real_chown): Do not use CHECK_STRING.
67910 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
67911 <bp-checks.h>.
67912 (fchownat): Do not use CHECK_STRING.
67913 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
67914 CHECK_STRING.
67915 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
67916 <bp-checks.h>.
67917 (__lchown): Do not use CHECK_STRING.
67918 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
67919 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
67920 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
67921 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
67922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
67923 include <bp-checks.h>.
67924 (truncate64): Do not use CHECK_STRING.
67925 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
67926 <bp-checks.h>.
67927 (__real_chown): Do not use CHECK_STRING.
67928 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
67929 <bp-checks.h>.
67930 (__lchown): Do not use CHECK_STRING.
67931 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
67932 <bp-checks.h>.
67933 (__chown): Do not use CHECK_STRING.
67934 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
67935 <bp-checks.h>.
67936 (truncate64): Do not use CHECK_STRING.
67937 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
67938 Likewise.
67939 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
67940 (__xmknod): Do not use CHECK_STRING.
67941 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
67942 <bp-checks.h>.
67943 (__xmknodat): Do not use CHECK_STRING.
67944 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
67945 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
67946
67947 2013-02-04 Andreas Schwab <schwab@suse.de>
67948
67949 [BZ #14142]
67950 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
67951 * include/netdb.h: Likewise for h_errno.
67952 * elf/tst-stackguard1.c: Include <tls.h>.
67953
67954 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
67955
67956 * elf/link.h (struct link_map): Extend the l_addr comment.
67957 * include/link.h (struct link_map): Likewise.
67958
67959 2013-02-01 Joseph Myers <joseph@codesourcery.com>
67960
67961 [BZ #13550]
67962 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
67963 (BOUNDED_1): Remove macro.
67964 * debug/backtrace.c: Don't include <bp-checks.h>.
67965 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
67966 (__backtrace): Likewise.
67967 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
67968 <bp-checks.h>.
67969 (__backtrace): Don't use BOUNDED_1.
67970 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
67971 <bp-checks.h>.
67972 (__backtrace): Don't use BOUNDED_1.
67973 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
67974 (__backtrace): Don't use BOUNDED_1.
67975 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
67976 (shmat): Don't use BOUNDED_N.
67977
67978 2013-01-31 Joseph Myers <joseph@codesourcery.com>
67979
67980 [BZ #13550]
67981 * sysdeps/generic/bp-start.h: Remove file.
67982 * csu/libc-start.c: Don't include <bp-start.h>.
67983 (LIBC_START_MAIN): Set up __environ directly instead of using
67984 INIT_ARGV_and_ENVIRON.
67985 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
67986 <bp-start.h>.
67987
67988 [BZ #13550]
67989 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
67990 definitions.
67991 (CHECK_FCNTL): Likewise.
67992 (CHECK_N_PAGES): Likewise.
67993
67994 [BZ #13550]
67995 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
67996 definitions.
67997 (CHECK_SIGSET_NULL_OK): Likewise.
67998 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
67999 <bp-checks.h>.
68000 (sigpending): Don't use CHECK_SIGSET.
68001 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
68002 <bp-checks.h>.
68003 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68004 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
68005 <bp-checks.h>.
68006 (do_sigsuspend): Don't use CHECK_SIGSET.
68007 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
68008 use CHECK_SIGSET.
68009 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
68010 (do_sigwait): Don't use CHECK_SIGSET.
68011 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
68012 use CHECK_SIGSET.
68013 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
68014 include <bp-checks.h>.
68015 (sigpending): Don't use CHECK_SIGSET.
68016 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
68017 include <bp-checks.h>.
68018 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68019 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
68020 <bp-checks.h>.
68021 (sigpending): Don't use CHECK_SIGSET.
68022 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
68023 <bp-checks.h>.
68024 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68025
68026 [BZ #13550]
68027 * sysdeps/generic/bp-semctl.h: Remove file.
68028 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
68029 <bp-checks.h> and <bp-semctl.h>.
68030 (__old_semctl): Don't use CHECK_SEMCTL.
68031 (__new_semctl): Likewise.
68032 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
68033 and <bp-semctl.h>.
68034 (__old_semctl): Don't use CHECK_SEMCTL.
68035 (__new_semctl): Likewise.
68036 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
68037 <bp-checks.h> and <bp-semctl.h>.
68038 (__old_semctl): Don't use CHECK_SEMCTL.
68039 (__new_semctl): Likewise.
68040 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
68041 <bp-checks.h> and <bp-semctl.h>.
68042 (semctl): Don't use CHECK_SEMCTL.
68043
68044 [BZ #13550]
68045 * Makerules (elide-bp-thunks): Remove variable.
68046 (elide-routines.oS): Don't use $(elide-bp-thunks).
68047 (elide-routines.os): Likewise.
68048 (elide-routines.o): Likewise.
68049 (elide-routines.op): Likewise.
68050 (elide-routines.og): Likewise.
68051 (objects): Don't use $(bp-thunks).
68052 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
68053 include.
68054 (common-generated): Do not add s-proto-bp.d.
68055 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
68056 (int): Likewise.
68057 (typ): Likewise.
68058 Do not generate makefile rules for bounded-pointer thunks.
68059 * sysdeps/generic/bp-thunks.h: Remove file.
68060 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
68061 * sysdeps/unix/s-proto-bp.S: Likewise.
68062
68063 [BZ #15062]
68064 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
68065 parts of result separately when argument is not close to line from
68066 -i to i and one part of argument is small.
68067 * math/k_casinhf.c (__kernel_casinhf): Likewise.
68068 * math/k_casinhl.c (__kernel_casinhl): Likewise.
68069 * math/libm-test.inc (cacos_test): Add more tests.
68070 (casin_test): Likewise.
68071 (casinh_test): Likewise.
68072 * sysdeps/i386/fpu/libm-test-ulps: Update.
68073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68074
68075 2013-01-31 David S. Miller <davem@davemloft.net>
68076
68077 * po/de.po: Update from translation team.
68078
68079 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
68080
68081 * time/tzfile.c: Include stdint.h for SIZE_MAX.
68082
68083 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
68084
68085 * configure.in (_AC_PROG_CC_C89): New definition.
68086 * configure: Regenerate.
68087
68088 * configure.in (AC_PROG_CPP): New definition.
68089 * configure: Regenerate.
68090
68091 2013-01-23 Joseph Myers <joseph@codesourcery.com>
68092
68093 * debug/tst-backtrace.h: New file.
68094 * debug/tst-backtrace2.c: Include tst-backtrace.h.
68095 (ret): Remove variable.
68096 (x): Likewise.
68097 (FAIL): Remove macro.
68098 (NO_INLINE): Likewise.
68099 (fn1): Use match function instead of strstr.
68100 * debug/tst-backtrace3.c: Include tst-backtrace.h.
68101 (ret): Remove variable.
68102 (x): Likewise.
68103 (FAIL): Remove macro.
68104 (NO_INLINE): Likewise.
68105 (fn): Use match function instead of strstr.
68106 * debug/tst-backtrace4.c: Include tst-backtrace.h.
68107 (ret): Remove variable.
68108 (x): Likewise.
68109 (FAIL): Remove macro.
68110 (NO_INLINE): Likewise.
68111 (handle_signal): Use match function instead of strstr.
68112 * debug/tst-backtrace5.c: Include tst-backtrace.h.
68113 (ret): Remove variable.
68114 (x): Likewise.
68115 (FAIL): Remove macro.
68116 (NO_INLINE): Likewise.
68117 (handle_signal): Use match function instead of strstr.
68118
68119 2013-01-23 Roland McGrath <roland@hack.frob.com>
68120
68121 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
68122
68123 2013-01-23 David S. Miller <davem@davemloft.net>
68124
68125 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
68126 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
68127 argument of CAS if possible.
68128 * sysdeps/sparc/sparc64/bits/atomic.h
68129 (__arch_compare_and_exchange_val_32_acq): Likewise.
68130 (__arch_compare_and_exchange_val_64_acq): Likewise.
68131
68132 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
68133
68134 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
68135 * sysdeps/posix/ulimit.c: ... this.
68136 Include <limits.h>.
68137 * sysdeps/unix/bsd/ulimit.c: Remove file.
68138
68139 2013-01-23 Adam Conrad <adconrad@0c3.net>
68140
68141 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
68142 (LDFLAGS-tst-array5): Likewise.
68143
68144 2013-01-23 Joseph Myers <joseph@codesourcery.com>
68145
68146 [BZ #15036]
68147 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
68148 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
68149 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
68150 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
68151
68152 2013-01-21 David S. Miller <davem@davemloft.net>
68153
68154 * sysdeps/sparc/backtrace.c: New file.
68155 * sysdeps/sparc/sparc32/backtrace.h: New file.
68156 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
68157 * sysdeps/sparc/sparc64/backtrace.h: New file.
68158 * sysdeps/sparc/sparc64/backtrace.c: Delete.
68159 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
68160 -funwind-tables.
68161
68162 2013-01-21 Andreas Schwab <schwab@suse.de>
68163
68164 [BZ #15020]
68165 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
68166 closed its stdout.
68167
68168 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
68169
68170 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
68171 "mpa2.h".
68172 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68173
68174 2013-01-18 Joseph Myers <joseph@codesourcery.com>
68175 Mark Mitchell <mark@codesourcery.com>
68176 Tom de Vries <tom@codesourcery.com>
68177 Paul Pluzhnikov <ppluzhnikov@google.com>
68178
68179 * debug/tst-backtrace2.c: New file.
68180 * debug/tst-backtrace3.c: Likewise.
68181 * debug/tst-backtrace4.c: Likewise.
68182 * debug/tst-backtrace5.c: Likewise.
68183 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
68184 (CFLAGS-tst-backtrace3.c): Likewise.
68185 (CFLAGS-tst-backtrace4.c): Likewise.
68186 (CFLAGS-tst-backtrace5.c): Likewise.
68187 (LDFLAGS-tst-backtrace2): Likewise.
68188 (LDFLAGS-tst-backtrace3): Likewise.
68189 (LDFLAGS-tst-backtrace4): Likewise.
68190 (LDFLAGS-tst-backtrace5): Likewise.
68191 (tests): Add new tests tst-backtrace2, tst-backtrace3,
68192 tst-backtrace4 and tst-backtrace5.
68193
68194 2013-01-18 Anton Blanchard <anton@samba.org>
68195 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
68196
68197 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
68198 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
68199 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
68200 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
68201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
68202 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
68203 "+r" and remove output regs list as redundant. Add explicit inline
68204 asm to specify register of return val to work around compiler codegen
68205 bug. Remove (int) cast on return value. Add return type parameter to
68206 use in macro so that this macro does not truncate return value for
68207 64-bit values.
68208 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
68209 pass to INTERNAL_VSYSCALL_NCS.
68210 (INLINE_VSYSCALL): Add 'long int' as return type to
68211 INTERNAL_VSYSCALL_NCS macro invocation.
68212 (INTERNAL_VSYSCALL): Add 'long int' as return type to
68213 INTERNAL_VSYSCALL_NCS macro invocation.
68214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68215
68216 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
68217
68218 [BZ #14496]
68219 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
68220 Fix application of SIMD FP exception mask.
68221
68222 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
68223 mp_no from a power of two.
68224 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
68225 __mpexp_twomm1. Use __pow_mp.
68226
68227 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
68228 multiplication.
68229
68230 2013-01-17 David S. Miller <davem@davemloft.net>
68231
68232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68233
68234 2013-01-17 Joseph Myers <joseph@codesourcery.com>
68235
68236 [BZ #15023]
68237 * include/complex.h: Condition contents on [!_COMPLEX_H].
68238 (__kernel_casinhf): New prototype.
68239 (__kernel_casinh): Likewise.
68240 (__kernel_casinhl): Likewise.
68241 * math/Makefile (libm_calls): Add k_casinh.
68242 * math/k_casinh.c: New file.
68243 * math/k_casinhf.c: Likewise.
68244 * math/k_casinhl.c: Likewise.
68245 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
68246 finite nonzero arguments.
68247 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
68248 finite nonzero arguments.
68249 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
68250 finite nonzero arguments.
68251 * math/s_casinh.c: Do not include <float.h>.
68252 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
68253 * math/s_casinhf.c: Do not include <float.h>.
68254 (__casinhf): Move code for finite nonzero arguments to
68255 k_casinhf.c.
68256 * math/s_casinhl.c: Do not include <float.h>.
68257 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
68258 redefine.
68259 (__casinhl): Move code for finite nonzero arguments to
68260 k_casinhl.c.
68261 * math/libm-test.inc (cacos_test): Add more tests.
68262 * sysdeps/i386/fpu/libm-test-ulps: Update.
68263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68264
68265 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
68266
68267 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
68268 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
68269 [!HAVE_MREMAP]: Remove [defined linux] case.
68270 * malloc/arena.c: Do not include <malloc-sysdep.h>.
68271
68272 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
68273
68274 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
68275
68276 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
68277
68278 * elf/elf.h (R_386_SIZE32): New relocation.
68279 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
68280 R_386_SIZE32.
68281 (elf_machine_rela): Likewise.
68282 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
68283 R_X86_64_SIZE64 and R_X86_64_SIZE32.
68284
68285 2013-01-17 Joseph Myers <joseph@codesourcery.com>
68286
68287 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
68288 (FP_FAST_FMA): Do not define.
68289 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
68290 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
68291 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
68292 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
68293 !_SOFT_FLOAT]: Likewise.
68294 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
68295 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
68296 value.
68297 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
68298 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
68299 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
68300 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
68301 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
68302 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
68303 file.
68304
68305 2013-01-16 Andreas Schwab <schwab@suse.de>
68306
68307 [BZ #14327]
68308 * include/stdlib.h (__mktemp): Add declaration.
68309 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
68310 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
68311
68312 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
68313
68314 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
68315 definitions.
68316 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
68317 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
68318 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
68319 definitions here.
68320 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
68321 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
68322 definitions.
68323 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
68324 and ONE.
68325 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
68326 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
68327 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
68328 definitions.
68329 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
68330 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
68331 definitions.
68332 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
68333
68334 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
68335
68336 2013-01-15 David S. Miller <davem@davemloft.net>
68337
68338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68339 trunc{,f} to libm-sysdep_routes.
68340 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
68341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
68342 file.
68343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
68344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
68345 file.
68346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
68347 file.
68348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
68349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
68350 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
68351 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
68352 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
68353 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
68354 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
68355 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
68356
68357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68358 nearbyint{,f} to libm-sysdep_routes.
68359 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
68360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
68361 New file.
68362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
68363 file.
68364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
68365 New file.
68366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
68367 file.
68368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
68369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
68370 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
68371 file.
68372 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
68373 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
68374 file.
68375 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
68376 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
68377 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
68378
68379 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
68380 libc_feholdexcept and libc_fesetenv.
68381
68382 2013-01-15 Mike Frysinger <vapier@gentoo.org>
68383
68384 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
68385
68386 2013-01-14 David S. Miller <davem@davemloft.net>
68387
68388 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
68389 (SPARC_ASM_VIS2_IFUNC): Likewise.
68390 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
68391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
68392 use of 'siam' instruction.
68393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
68394 Likewise.
68395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
68396 Likewise.
68397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
68398 Likewise.
68399 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
68400 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
68401 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
68402 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
68403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
68404 file.
68405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
68406 file.
68407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
68408 file.
68409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
68410 file.
68411 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
68412 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
68413 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
68414 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
68415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
68416 new VIS2 routines.
68417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
68418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
68420 Likewise.
68421 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
68422 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
68423 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
68424 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
68425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
68426 routines to libm-sysdep_routines.
68427 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
68428
68429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68430 fdim/fdimf to libm-sysdep_routines.
68431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
68432 file.
68433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
68434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
68435 file.
68436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
68437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
68438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
68439 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
68440 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
68441 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
68442 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
68443
68444 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
68445
68446 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
68447 to optimize copies.
68448
68449 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
68450 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
68451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68452
68453 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
68454 local variable MPTWO.
68455 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
68456 Likewise.
68457
68458 2013-01-13 Mike Frysinger <vapier@gentoo.org>
68459
68460 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
68461 GLOB_NOESCAPE.
68462
68463 2013-01-13 Mike Frysinger <vapier@gentoo.org>
68464
68465 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
68466
68467 2013-01-13 Mike Frysinger <vapier@gentoo.org>
68468
68469 * manual/pattern.texi (glob_t): Document gl_flags.
68470 (glob64_t): Likewise.
68471
68472 2013-01-11 David S. Miller <davem@davemloft.net>
68473
68474 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
68475 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
68476 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
68477 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
68478 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
68479 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
68480 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
68481 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
68482 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
68483 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
68484 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
68485 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
68486 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
68487
68488 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
68489 sparc V9 rather than using V8 code.
68490 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68491 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68492
68493 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
68494 Move to...
68495 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
68496 Here.
68497
68498 2013-01-11 Roland McGrath <roland@hack.frob.com>
68499
68500 [BZ #14941]
68501 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
68502 not in the main loop.
68503 * configure: Regenerated.
68504
68505 2013-01-11 Joseph Myers <joseph@codesourcery.com>
68506
68507 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
68508 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
68509 to just #else.
68510 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
68511 [!__GLIBC_HAVE_LONG_LONG] case.
68512 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
68513 condition to just #else.
68514 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
68515 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
68516 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
68517 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
68518 unconditional.
68519 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
68520 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
68521 #elif condition to just #else.
68522 * sysdeps/unix/sysv/linux/sys/sysmacros.h
68523 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
68524 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
68525 #elif condition to just #else.
68526
68527 2013-01-11 Steve Ellcey <sellcey@mips.com>
68528
68529 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
68530 (EF_MIPS_ARCH_64): Fix value.
68531 (EF_MIPS_ARCH_32R2): New.
68532 (EF_MIPS_ARCH_64R2): New.
68533
68534 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
68535
68536 * Makeconfig (+link-pie-before-libc): New.
68537 (+link-pie-after-libc): Likewise.
68538 (+link-pie-tests): Likewise.
68539 (+link-pie): Rewritten.
68540 (link-before-libc): Remove $(config-LDFLAGS).
68541 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
68542 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
68543 (config-LDFLAGS): Renamed to ...
68544 (rtld-LDFLAGS): This.
68545 (rtld-tests-LDFLAGS): New macro.
68546 (link-libc-rpath-link): Likewise.
68547 (link-libc-tests-rpath-link): Likewise.
68548 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
68549 (link-libc): Prepand $(link-libc-rpath-link).
68550 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
68551 (test-program-prefix): New macro.
68552 (test-via-rtld-prefix): Likewise.
68553 (test-program-cmd): Likewise.
68554 (host-test-program-cmd): Likewise.
68555 * Makefile ($(common-objpfx)testrun.sh): Replace
68556 $(run-program-prefix) with $(test-program-prefix).
68557 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
68558 $(rtld-LDFLAGS).
68559 ($(common-objpfx)shlib.lds): Likewise.
68560 (build-module-helper): Likewise.
68561 ($(common-objpfx)format.lds): Likewise.
68562 * Rules (binaries-pie-tests): New.
68563 (binaries-pie-notests): Likewise.
68564 (binaries-pie): Rewritten.
68565 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
68566 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
68567 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
68568 (make-test-out): Replace $(host-built-program-cmd) with
68569 $(host-test-program-cmd).
68570 * config.make.in (build-hardcoded-path-in-tests): New variable.
68571 * configure.in (--enable-hardcoded-path-in-tests): New configure
68572 option.
68573 (hardcoded_path_in_tests): New AC_SUBST.
68574 * configure: Regenerated.
68575 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
68576 $(built-program-cmd) with $(test-program-cmd).
68577 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
68578 (test_program_cmd): This.
68579 * elf/Makefile ($(objpfx)order.out): Run test with
68580 $(test-program-prefix).
68581 ($(objpfx)order2.out): Likewise.
68582 ($(objpfx)tst-initorder.out): Likewise.
68583 ($(objpfx)tst-initorder2.out): Likewise.
68584 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
68585 $(test-program-cmd).
68586 ($(objpfx)tst-array1-static.out): Likewise.
68587 ($(objpfx)tst-array2.out): Likewise.
68588 ($(objpfx)tst-array3.out): Likewise.
68589 ($(objpfx)tst-array4.out): Likewise.
68590 ($(objpfx)tst-array5.out): Likewise.
68591 ($(objpfx)tst-array5-static.out): Likewise.
68592 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
68593 $(test-program-cmd).
68594 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
68595 $(run-program-prefix) with $(test-program-prefix).
68596 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
68597 (test_program_prefix): This.
68598 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
68599 $(run-program-prefix) with $(test-program-prefix).
68600 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
68601 (test_program_prefix): This.
68602 * iconvdata/tst-tables.sh: Likewise.
68603 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
68604 $(run-program-prefix) with $(test-program-prefix).
68605 ($(objpfx)tst-translit.out): Likewise.
68606 ($(objpfx)tst-gettext2.out): Likewise.
68607 ($(objpfx)tst-gettext4.out): Likewise.
68608 ($(objpfx)tst-gettext6.out): Likewise.
68609 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
68610 (test_program_prefix): This.
68611 * intl/tst-gettext2.sh: Likewise.
68612 * intl/tst-gettext4.sh Likewise.
68613 * intl/tst-gettext6.sh: Likewise.
68614 * intl/tst-translit.sh: Likewise.
68615 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
68616 with $(test-program-cmd).
68617 * libio/Makefile ($(objpfx)test-freopen.out): Replace
68618 $(run-program-prefix) with $(test-program-prefix).
68619 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
68620 (test_program_prefix): This.
68621 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
68622 $(run-program-prefix) with $(test-program-prefix).
68623 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
68624 (test_program_prefix): This.
68625 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
68626 * posix/Makefile ($(objpfx)globtest.out): Replace
68627 $(run-via-rtld-prefix) and $(test-wrapper) with
68628 $(test-program-prefix) and $(test-via-rtld-prefix).
68629 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
68630 $(test-program-prefix).
68631 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
68632 $(host-test-program-cmd).
68633 (tst-spawn-ARGS): Likewise.
68634 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
68635 $(test-program-prefix).
68636 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
68637 (test_via_rtld_prefix): This.
68638 (test_wrapper): Renamed to ...
68639 (test_program_prefix): This.
68640 (run_program_prefix): Replaced by test_program_prefix.
68641 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
68642 (test_program_prefix): This.
68643 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
68644 with $(host-test-program-cmd).
68645 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
68646 $(run-program-prefix) with $(test-program-prefix).
68647 ($(objpfx)tst-printf.out): Likewise.
68648 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
68649 $(test-program-cmd).
68650 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
68651 (test_program_prefix): This.
68652 * stdio-common/tst-unbputc.sh: Likewise.
68653 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
68654 $(run-program-prefix) with $(test-program-prefix).
68655 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
68656 (test_program_prefix): This.
68657 * string/Makefile ($(objpfx)tst-svc.out): Replace
68658 $(built-program-cmd) with $(test-program-cmd).
68659
68660 2013-01-11 Andreas Jaeger <aj@suse.de>
68661
68662 [BZ #15003]
68663 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
68664 value. Sync with Linux 3.7.
68665
68666 2013-01-10 David S. Miller <davem@davemloft.net>
68667
68668 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
68669 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68670 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68671
68672 2013-01-10 Roland McGrath <roland@hack.frob.com>
68673
68674 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
68675 never set.
68676 * configure: Regenerated.
68677
68678 2013-01-10 David S. Miller <davem@davemloft.net>
68679
68680 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
68681 sparc V9 rather than using V8 code.
68682 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68683 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68684
68685 2013-01-10 Roland McGrath <roland@hack.frob.com>
68686
68687 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
68688 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
68689 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
68690 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
68691 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
68692 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
68693 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
68694 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
68695 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
68696 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
68697 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
68698 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
68699 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
68700 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
68701 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
68702 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
68703 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
68704 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
68705 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
68706 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
68707 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
68708 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
68709 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
68710 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
68711 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
68712 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
68713 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
68714
68715 2013-01-10 David S. Miller <davem@davemloft.net>
68716
68717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68718
68719 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
68720
68721 * posix/Makefile (tests-static): New variable.
68722 (tests): Add $(tests-static).
68723 (tst-exec-static-ARGS): New variable.
68724 (tst-spawn-static-ARGS): Likewise.
68725 * posix/tst-exec-static.c: New file.
68726 * posix/tst-spawn-static.c: Likewise.
68727 * posix/tst-exec.c: Support run directly.
68728 * posix/tst-spawn.c: Likewise.
68729
68730 2013-01-10 Joseph Myers <joseph@codesourcery.com>
68731
68732 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
68733 long.
68734 * math/bits/mathcalls.h (llrint): Likewise.
68735 (llround): Likewise.
68736 * stdlib/stdlib.h (struct drand48_data): Likewise.
68737 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
68738 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
68739 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
68740 Likewise.
68741 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
68742 Likewise.
68743 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
68744 (elf_greg_t): Likewise.
68745 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
68746 (__jmp_buf): Likewise.
68747 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
68748 definitions.
68749 (llrint): Likewise, for all definitions.
68750 (llrintl): Likewise.
68751
68752 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
68753 Remove [__GNUC__] condition.
68754 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
68755 condition to just [__USE_ISOC99].
68756 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
68757
68758 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
68759
68760 [BZ #14200]
68761 * sysdeps/unix/sysv/linux/x86/bits/environments.h
68762 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
68763 defined.
68764 (_POSIX_V6_ILP32_OFF32): Likewise.
68765 (_XBS5_ILP32_OFF32): Likewise.
68766 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
68767 (__ILP32_OFFBIG_LDFLAGS): Likewise.
68768
68769 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
68770
68771 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
68772
68773 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
68774 doubles __mpexp_twomm1. Adjust usage.
68775 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
68776 Remove.
68777
68778 2013-01-10 Andreas Schwab <schwab@suse.de>
68779
68780 [BZ #14964]
68781 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
68782 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
68783
68784 2013-01-09 David S. Miller <davem@davemloft.net>
68785
68786 [BZ #15003]
68787 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
68788 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
68789 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
68790 (TCP_FASTOPEN): Define.
68791 (tcp_repair_opt): New structure.
68792 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
68793 enum values.
68794 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
68795 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
68796 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
68797 (tcp_cookie_transactions): New structure.
68798
68799 2013-01-09 Anton Blanchard <anton@samba.org>
68800
68801 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
68802 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
68803 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
68804 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
68805
68806 2013-01-09 Joseph Myers <joseph@codesourcery.com>
68807
68808 * include/features.h (__USE_ANSI): Remove.
68809
68810 2013-01-09 Roland McGrath <roland@hack.frob.com>
68811
68812 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
68813
68814 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
68815
68816 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
68817
68818 * sysdeps/s390/fpu/libm-test-ulps: Update.
68819
68820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68821
68822 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
68823 (__acr): Likewise.
68824 (__cpy): Likewise.
68825 (norm): Likewise.
68826 (denorm): Likewise.
68827 (__mp_dbl): Likewise.
68828 (__dbl_mp): Likewise.
68829 (add_magnitudes): Likewise.
68830 (sub_magnitudes): Likewise.
68831 (__add): Likewise.
68832 (__sub): Likewise.
68833 (__mul): Likewise.
68834 (__inv): Likewise.
68835 (__dvd): Likewise.
68836 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
68837 (__acr): Likewise.
68838 (__cpy): Likewise.
68839 (norm): Likewise.
68840 (denorm): Likewise.
68841 (__mp_dbl): Likewise.
68842 (__dbl_mp): Likewise.
68843 (add_magnitudes): Likewise.
68844 (sub_magnitudes): Likewise.
68845 (__add): Likewise.
68846 (__sub): Likewise.
68847 (__mul): Likewise.
68848 (__inv): Likewise.
68849 (__dvd): Likewise.
68850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
68851 (__acr): Likewise.
68852 (__cpy): Likewise.
68853 (norm): Likewise.
68854 (denorm): Likewise.
68855 (__mp_dbl): Likewise.
68856 (__dbl_mp): Likewise.
68857 (add_magnitudes): Likewise.
68858 (sub_magnitudes): Likewise.
68859 (__add): Likewise.
68860 (__sub): Likewise.
68861 (__mul): Likewise.
68862 (__inv): Likewise.
68863 (__dvd): Likewise.
68864
68865 2013-01-08 Joseph Myers <joseph@codesourcery.com>
68866
68867 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
68868 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
68869 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
68870 2 && __USE_EXTERN_INLINES]: Likewise.
68871
68872 2013-01-08 Andreas Jaeger <aj@suse.de>
68873
68874 [BZ #14985]
68875 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
68876 Remove.
68877 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
68878 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
68879
68880 2013-01-07 Anton Blanchard <anton@samba.org>
68881
68882 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
68883 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
68884 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
68885 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
68886 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
68887 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
68888 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
68889 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
68890 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
68891 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68892 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
68893 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
68894 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
68895 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
68896 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
68897 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
68898 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
68899 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
68900 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
68901 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
68902 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
68903 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
68904 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
68905 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
68906 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
68907 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
68908 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
68909 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
68910 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
68911 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
68912 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
68913 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68914 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68915 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
68916 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
68917 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
68918 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
68919 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
68920 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
68921 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
68922 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
68923 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68924 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
68925
68926 2013-01-07 Joseph Myers <joseph@codesourcery.com>
68927
68928 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
68929 (__MALLOC_PMT): Likewise.
68930 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
68931 [__GNUC__], only on [_LIBC].
68932 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
68933 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
68934 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
68935 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
68936 forward declaration.
68937 (realloc_hook_ini): Likewise.
68938 (memalign_hook_ini): Likewise.
68939 (__libc_memalign): Do not use __MALLOC_PMT in variable
68940 declaration.
68941 (__libc_valloc): Likewise.
68942 (__libc_pvalloc): Likewise.
68943 (__libc_calloc): Likewise.
68944 (__posix_memalign): Likewise.
68945
68946 [BZ #14996]
68947 * math/s_casinh.c: Include <float.h>.
68948 (__casinh): Do not do computation with squaring and square root
68949 for large arguments.
68950 * math/s_casinhf.c: Include <float.h>.
68951 (__casinhf): Do not do computation with squaring and square root
68952 for large arguments.
68953 * math/s_casinhl.c: Include <float.h>.
68954 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
68955 (__casinhl): Do not do computation with squaring and square root
68956 for large arguments.
68957 * math/libm-test.inc (casin_test): Add more tests.
68958 (casinh_test): Likewise.
68959 * sysdeps/i386/fpu/libm-test-ulps: Update.
68960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68961
68962 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
68963
68964 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
68965 (__x86_64_raw_data_cache_size): Likewise.
68966 (__x86_64_data_cache_size_half): Likewise.
68967 (__x86_64_raw_data_cache_size_half): Likewise.
68968 (__x86_64_shared_cache_size): Likewise.
68969 (__x86_64_raw_shared_cache_size): Likewise.
68970 (__x86_64_shared_cache_size_half): Likewise.
68971 (__x86_64_raw_shared_cache_size_half): Likewise.
68972 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
68973 to ...
68974 (__x86_data_cache_size): This.
68975 (__x86_64_raw_data_cache_size): Renamed to ...
68976 (__x86_raw_data_cache_size): This.
68977 (__x86_64_data_cache_size_half): Renamed to ...
68978 (__x86_data_cache_size_half): This.
68979 (__x86_64_raw_data_cache_size_half): Renamed to ...
68980 (__x86_raw_data_cache_size_half): This.
68981 (__x86_64_shared_cache_size): Renamed to ...
68982 (__x86_shared_cache_size): This.
68983 (__x86_64_raw_shared_cache_size): Renamed to ...
68984 (__x86_raw_shared_cache_size): This.
68985 (__x86_64_shared_cache_size_half): Renamed to ...
68986 (__x86_shared_cache_size_half): This.
68987 (__x86_64_raw_shared_cache_size_half): Renamed to ...
68988 (__x86_raw_shared_cache_size_half): This.
68989 * sysdeps/x86_64/memcpy.S: Updated.
68990 * sysdeps/x86_64/memset.S: Likewise.
68991 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
68992 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
68993 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
68994
68995 2013-01-04 David S. Miller <davem@davemloft.net>
68996
68997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68998
68999 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
69000
69001 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
69002 1 to avoid redefinition warning.
69003 (__USE_GNU): Don't define.
69004 (init_signaling_nan): Protoize.
69005
69006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69007
69008 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
69009
69010 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
69011 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
69012 (__cpymn): Likewise.
69013 (norm): Remove commented code.
69014 (denorm): Likewise.
69015 (__mp_dbl): Likewise.
69016 (__inv): Likewise.
69017 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
69018 (__cpymn): Likewise.
69019 (norm): Remove commented code.
69020 (denorm): Likewise.
69021 (__mp_dbl): Likewise.
69022 (__inv): Likewise.
69023
69024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
69025 mp_no value for 1.0 and 2.0.
69026 (norm): Use RADIXI instead of radixi.d.
69027 (denorm): Likewise.
69028 (__mul): Use 0.0 instead of zero.d.
69029 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
69030 mp_no value for 1.0 and 2.0.
69031 (norm): Use RADIXI instead of radixi.d.
69032 (denorm): Likewise.
69033 (__mul): Use 0.0 instead of zero.d.
69034
69035 2013-01-04 Joseph Myers <joseph@codesourcery.com>
69036
69037 [BZ #14994]
69038 * math/s_casinh.c (__casinh): Reduce finite argument to first
69039 quadrant then set signs of results at the end.
69040 * math/s_casinhf.c (__casinhf): Likewise.
69041 * math/s_casinhl.c (__casinhl): Likewise.
69042 * math/libm-test.inc (casin_test): Add more tests.
69043 (casinh_test): Likewise.
69044 * sysdeps/i386/fpu/libm-test-ulps: Update.
69045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69046
69047 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
69048
69049 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
69050
69051 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
69052
69053 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
69054 declarations.
69055 (denorm): Likewise.
69056 (__mp_dbl): Likewise.
69057 (__inv): Likewise.
69058
69059 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
69060 and adjust the header comment.
69061
69062 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
69063 variable name from declaration.
69064
69065 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
69066
69067 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69068 Initialize COMMON_CPUID_INDEX_7 element.
69069 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
69070 (CPUID_RTM): Likewise.
69071 (HAS_RTM): Likewise.
69072 (COMMON_CPUID_INDEX_7): New enum.
69073
69074 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
69075
69076 [BZ #14981]
69077 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
69078 size is zero, record memory as freed.
69079
69080 2013-01-03 Andreas Jaeger <aj@suse.de>
69081
69082 * po/ia.po: Add new Interlingua translation.
69083
69084 2012-01-03 Allan McRae <allan@archlinux.org>
69085
69086 * locale/programs/localedef.c: Fix description of '--posix' flag.
69087
69088 2013-01-02 Joseph Myers <joseph@codesourcery.com>
69089
69090 * NEWS: Update dates in second copyright notice.
69091 * README: Update copyright dates in example.
69092 * manual/libc.texinfo: Update copyright dates.
69093 * scripts/test-installation.pl: Update copyright date in --version
69094 output.
69095
69096 * hurd/ctty-input.c: Fix copyright notice formatting.
69097 * hurd/ctty-output.c: Likewise.
69098 * hurd/dtable.c: Likewise.
69099 * hurd/hurd-raise.c: Likewise.
69100 * hurd/hurdprio.c: Likewise.
69101 * hurd/msgportdemux.c: Likewise.
69102 * misc/sys/file.h: Likewise.
69103 * misc/sys/ioctl.h: Likewise.
69104 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
69105 * sysdeps/mach/hurd/chdir.c: Likewise.
69106 * sysdeps/mach/hurd/fchdir.c: Likewise.
69107 * sysdeps/mach/hurd/rename.c: Likewise.
69108 * sysdeps/mach/hurd/rmdir.c: Likewise.
69109 * sysdeps/mach/hurd/seekdir.c: Likewise.
69110 * sysdeps/mach/hurd/setsid.c: Likewise.
69111 * sysdeps/posix/wait3.c: Likewise.
69112
69113 * All files with FSF copyright notices: Update copyright dates
69114 using scripts/update-copyrights.
69115 * intl/plural.c: Regenerated.
69116 * locale/programs/charmap-kw.h: Likewise.
69117 * locale/programs/locfile-kw.h: Likewise.
69118
69119 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
69120
69121 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
69122 four values.
69123
69124 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
69125 calculation loop and add branch prediction.
69126
69127 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
69128 check access beyond bounds of m1np.
69129
69130 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
69131 MPTWO.
69132 (__inv): Remove local variable MPTWO to use the global
69133 constant.
69134 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
69135 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
69136 variable MPTWO.
69137 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
69138 MP3HALFS static const.
69139
69140 2013-01-01 David S. Miller <davem@davemloft.net>
69141
69142 * po/ca.po: Update from translation team.
69143
69144 2013-01-01 Joseph Myers <joseph@codesourcery.com>
69145
69146 * scripts/update-copyrights: New file.
69147 * Makeconfig: Reformat copyright notice.
69148 * ctype/ctype.h: Likewise.
69149 * debug/swprintf_chk.c: Likewise.
69150 * elf/dl-cache.c: Likewise.
69151 * elf/dl-debug.c: Likewise.
69152 * elf/dl-object.c: Likewise.
69153 * grp/initgroups.c: Likewise.
69154 * hurd/Makefile: Likewise.
69155 * hurd/hurd/signal.h: Likewise.
69156 * hurd/hurdfault.c: Likewise.
69157 * hurd/hurdioctl.c: Likewise.
69158 * hurd/hurdlookup.c: Likewise.
69159 * hurd/intr-msg.c: Likewise.
69160 * iconv/gconv_open.c: Likewise.
69161 * libio/swprintf.c: Likewise.
69162 * locale/lc-ctype.c: Likewise.
69163 * locale/nl_langinfo.c: Likewise.
69164 * mach/Machrules: Likewise.
69165 * mach/Makefile: Likewise.
69166 * malloc/obstack.h: Likewise.
69167 * manual/Makefile: Likewise.
69168 * manual/tsort.awk: Likewise.
69169 * misc/bits/stab.def: Likewise.
69170 * nis/nis_print_group_entry.c: Likewise.
69171 * nis/nis_table.c: Likewise.
69172 * nis/nss_compat/compat-pwd.c: Likewise.
69173 * nis/nss_compat/compat-spwd.c: Likewise.
69174 * po/Makefile: Likewise.
69175 * posix/fnmatch.c: Likewise.
69176 * posix/regex.h: Likewise.
69177 * resolv/Makefile: Likewise.
69178 * resolv/nss_dns/dns-network.c: Likewise.
69179 * resolv/res_hconf.c: Likewise.
69180 * scripts/gen-sorted.awk: Likewise.
69181 * soft-fp/soft-fp.h: Likewise.
69182 * stdio-common/printf.h: Likewise.
69183 * stdlib/monetary.h: Likewise.
69184 * stdlib/random.c: Likewise.
69185 * stdlib/random_r.c: Likewise.
69186 * sysdeps/generic/Makefile: Likewise.
69187 * sysdeps/gnu/Makefile: Likewise.
69188 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69189 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69190 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69191 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69192 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69193 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69194 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69195 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69196 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69197 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69198 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
69199 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
69200 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
69201 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
69202 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
69203 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
69204 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
69205 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69206 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69207 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69208 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69209 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69210 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69211 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
69212 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
69213 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
69214 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
69215 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
69216 * sysdeps/mach/hurd/errnos.awk: Likewise.
69217 * sysdeps/mach/hurd/fork.c: Likewise.
69218 * sysdeps/mach/hurd/getcwd.c: Likewise.
69219 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
69220 * sysdeps/mach/hurd/mmap.c: Likewise.
69221 * sysdeps/mach/hurd/utimes.c: Likewise.
69222 * sysdeps/mach/hurd/xmknod.c: Likewise.
69223 * sysdeps/posix/profil.c: Likewise.
69224 * sysdeps/posix/readdir_r.c: Likewise.
69225 * sysdeps/powerpc/bits/mathdef.h: Likewise.
69226 * sysdeps/powerpc/bits/setjmp.h: Likewise.
69227 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
69228 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
69229 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
69230 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
69231 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69232 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69233 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69234 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
69235 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69236 * sysdeps/pthread/lio_listio.c: Likewise.
69237 * sysdeps/sparc/dl-procinfo.h: Likewise.
69238 * sysdeps/unix/i386/sysdep.S: Likewise.
69239 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
69240 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
69241 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
69242 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
69243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69244 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
69245 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
69246 * sysdeps/unix/sysv/linux/speed.c: Likewise.
69247 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
69248 * sysdeps/wordsize-32/divdi3.c: Likewise.
69249 * time/sys/time.h: Likewise.
69250 * wcsmbs/Makefile: Likewise.
69251
69252 2013-01-01 David S. Miller <davem@davemloft.net>
69253
69254 * po/fr.po: Update from translation team.
69255
69256 * catgets/gencat.c: Update copyright year.
69257 * csu/version.c: Likewise.
69258 * debug/catchsegv.sh: Likewise.
69259 * debug/pcprofiledump.c: Likewise.
69260 * debug/xtrace.sh: Likewise.
69261 * elf/ldconfig.c: Likewise.
69262 * elf/ldd.bash.in: Likewise.
69263 * elf/pldd.c: Likewise.
69264 * elf/sotruss.ksh: Likewise.
69265 * elf/sprof.c: Likewise.
69266 * iconv/iconv_prog.c: Likewise.
69267 * iconv/iconvconfig.c: Likewise.
69268 * locale/programs/locale.c: Likewise.
69269 * locale/programs/localedef.c: Likewise.
69270 * login/programs/pt_chown.c: Likewise.
69271 * malloc/memusage.sh: Likewise.
69272 * malloc/memusagestat.c: Likewise.
69273 * malloc/mtrace.pl: Likewise.
69274 * nscd/nscd.c: Likewise.
69275 * nss/getent.c: Likewise.
69276 * nss/makedb.c: Likewise.
69277 * posix/getconf.c: Likewise.
69278
69279 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
69280
69281 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
69282 numbers.
69283
69284 2012-12-30 Mike Frysinger <vapier@gentoo.org>
69285
69286 * math/bits/mathcalls.h (modf): Use __nonnull.
69287
69288 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
69289
69290 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
69291 (split): Use macro CN instead of the bare value.
69292 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
69293 could be used.
69294 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
69295 instead of the bare value.
69296 (power1): Likewise.
69297
69298 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
69299
69300 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
69301 __ATAN_TWOM.
69302 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69303
69304 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
69305 their values.
69306 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
69307 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69308 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
69309 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
69310
69311 2012-12-28 Andreas Jaeger <aj@suse.de>
69312
69313 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
69314 values are from Linux 3.7.
69315
69316 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
69317 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
69318
69319 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
69320
69321 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
69322 TRUE case.
69323
69324 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
69325 (norm): Likewise.
69326 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
69327 variables with preprocessor constants.
69328 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69329 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
69330 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
69331
69332 2012-12-27 Bruno Haible <bruno@clisp.org>
69333
69334 [BZ #14317]
69335 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
69336 only if needed.
69337
69338 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
69339
69340 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
69341 and use variable directly.
69342 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
69343
69344 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
69345 MPONE.
69346 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
69347 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
69348 variable MPONE.
69349 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69350 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
69351 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
69352 include directive. Remove local variable MPONE.
69353 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
69354 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
69355 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69356
69357 2012-12-25 David S. Miller <davem@davemloft.net>
69358
69359 * version.h (RELEASE): Set to "development".
69360 (VERSION): Set to "2.17.90".
69361 * NEWS: Add 2.18 section.
69362
69363 2012-12-21 David S. Miller <davem@davemloft.net>
69364
69365 * po/hr.po: Update from translation team.
69366
69367 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69368
69369 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
69370
69371 2012-12-19 Steve Ellcey <sellcey@mips.com>
69372
69373 * NEWS: Mention new memcpy for MIPS.
69374
69375 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
69376
69377 * manual/contrib.texi (Contributors): Spelling correction.
69378
69379 2012-12-15 David S. Miller <davem@davemloft.net>
69380
69381 * po/ru.po: Update from translation team.
69382
69383 2012-12-13 David S. Miller <davem@davemloft.net>
69384
69385 * NEWS: Mention IFUNC testsuite enhancements.
69386
69387 * po/pl.po: Update from translation team.
69388 * po/bg.po: Likewise.
69389
69390 * manual/contrib.texi (Contributors): Update entries for Hongjiu
69391 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
69392
69393 2012-12-11 David S. Miller <davem@davemloft.net>
69394
69395 * po/sv.po: Update from translation team.
69396
69397 * po/vi.po: Update from translation team.
69398
69399 * po/cs.po: Update from translation team.
69400
69401 * po/de.po: Update from translation team.
69402 * po/eo.po: Likewise.
69403 * po/nl.po: Likewise.
69404
69405 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
69406
69407 [BZ #14246]
69408 * manual/argp.texi (Argp Helper Functions): Move node to follow
69409 Argp Parsing State.
69410
69411 [BZ #14872]
69412 * manual/conf.texi (Limits on File System Capacity): Mention if
69413 terminating null is included in the max size.
69414
69415 2012-12-10 Andreas Jaeger <aj@suse.de>
69416
69417 * po/cs.po: Update from translation team.
69418
69419 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
69420
69421 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
69422 void pointer and cast to uintptr_t.
69423 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
69424 path.
69425 * sysdeps/s390/s390-64/memcpy.S: Likewise.
69426 * sysdeps/s390/s390-64/memset.S: Likewise.
69427
69428 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
69429
69430 [BZ #14833]
69431 * menual/message.texi (Message Translation): Fix typos.
69432 (Helper programs for gettext): Likewise.
69433
69434 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
69435
69436 [BZ #14898]
69437 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
69438 Change to -1.
69439
69440 2012-12-07 David S. Miller <davem@davemloft.net>
69441
69442 * po/libc.pot: Update.
69443
69444 2012-12-07 Richard Henderson <rth@redhat.com>
69445
69446 [BZ #10114]
69447 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
69448 normal/normal case to before the switch.
69449 (_FP_DIV): Likewise.
69450
69451 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
69452 Mike Frysinger <vapier@gentoo.org>
69453
69454 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
69455 check for __NR_fadvise64_64.
69456
69457 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
69458
69459 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
69460 0, not just to plain "0" as a statement.
69461 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
69462 with cw.
69463
69464 2012-12-06 Joseph Myers <joseph@codesourcery.com>
69465
69466 * NEWS: Use sourceware.org in Bugzilla URL.
69467
69468 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
69469
69470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
69471 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
69472
69473 * stdio-common/tst-put-error.c (do_test): Add newline to the
69474 padded test to ensure flush.
69475
69476 2012-12-05 Jeff Law <law@redhat.com>
69477
69478 * sunrpc/etc.rpc (fedfs_admin): Add entry.
69479
69480 2012-12-05 Joseph Myers <joseph@codesourcery.com>
69481
69482 * README: Don't refer to ports add-on as distributed separately.
69483 Mention AArch64 in list of systems supported in the ports add-on.
69484
69485 * LICENSES: Add more non-FSF copyright and license notices.
69486
69487 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
69488 ((unused)).
69489
69490 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
69491
69492 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
69493 10000 as width of padded output.
69494
69495 2012-12-04 Joseph Myers <joseph@codesourcery.com>
69496
69497 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
69498
69499 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
69500 variable LX with __attribute__ ((unused)).
69501 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
69502 Likewise.
69503 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
69504 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69505 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
69506 with __attribute__ ((unused)).
69507
69508 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
69509
69510 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
69511
69512 2012-12-04 Joseph Myers <joseph@codesourcery.com>
69513
69514 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
69515 (CFLAGS-nldbl-acos.c): New variable.
69516 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
69517 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
69518 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
69519 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
69520 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
69521 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
69522 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
69523 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
69524 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
69525 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
69526 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
69527 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
69528 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
69529 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
69530 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
69531 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
69532 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
69533 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
69534 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
69535 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
69536 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
69537 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
69538 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
69539 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
69540 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
69541 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
69542 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
69543 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
69544 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
69545 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
69546 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
69547 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
69548 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
69549 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
69550 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
69551 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
69552 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
69553 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
69554 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
69555 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
69556 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
69557 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
69558 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
69559 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
69560 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
69561 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
69562 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
69563 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
69564 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
69565 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
69566 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
69567 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
69568 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
69569 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
69570 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
69571 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
69572 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
69573 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
69574 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
69575 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
69576 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
69577 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
69578 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
69579 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
69580 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
69581 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
69582 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
69583 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
69584 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
69585 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
69586 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
69587 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
69588 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
69589 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
69590 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
69591 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
69592 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
69593 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
69594 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
69595 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
69596 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
69597 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
69598 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
69599 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
69600 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
69601 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
69602 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
69603 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
69604 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
69605 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
69606 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
69607 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
69608 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
69609 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
69610 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
69611 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
69612 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
69613
69614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
69615 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
69616
69617 [BZ #14914]
69618 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
69619 whole low double instead of just low 47 bits when splitting values
69620 into two parts.
69621
69622 2012-12-03 Allan McRae <allan@archlinux.org>
69623
69624 * manual/stdio.texi (Predefined Printf Handlers): Remove
69625 @hsep and @vsep usage.
69626
69627 2012-12-03 Mike Frysinger <vapier@gentoo.org>
69628
69629 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
69630 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
69631
69632 2012-12-03 Jeff Law <law@redhat.com>
69633
69634 * time/sys/time.h (settimeofday): Do not mark TV argument
69635 as __nonnull.
69636
69637 2012-12-01 Mike Frysinger <vapier@gentoo.org>
69638
69639 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
69640 when currently writing and seek to current position when not.
69641 * libio/Makefile (tests): Remove bug-fclose1.
69642 * libio/bug-fclose1.c: Delete.
69643
69644 2012-12-01 Joseph Myers <joseph@codesourcery.com>
69645
69646 * manual/arith.texi (feenableexcept): Fix typo.
69647 (fedisableexcept): Likewise.
69648
69649 2012-11-30 Roland McGrath <roland@hack.frob.com>
69650
69651 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
69652 second, differently-typed declaration, rather than a cast.
69653
69654 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
69655
69656 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
69657 * include/rpc/svc.h: ... here.
69658
69659 2012-11-30 Aurelien Jarno <aurel32@debian.org>
69660
69661 [BZ #13013]
69662 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
69663 depending n and resplen2 to catch cases where answer
69664 equals answerp2.
69665
69666 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
69667
69668 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
69669 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
69670
69671 2012-11-29 Mike Frysinger <vapier@gentoo.org>
69672
69673 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
69674
69675 2012-11-29 Roland McGrath <roland@hack.frob.com>
69676
69677 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
69678
69679 2012-11-28 Jeff Law <law@redhat.com>
69680
69681 [BZ #13761]
69682 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
69683 dataset_temporary. Track alloca usage into alloca_used.
69684 If dataset is large allocate and release it via malloc/free.
69685
69686 2012-06-04 Florian Weimer <fweimer@redhat.com>
69687
69688 [BZ #14197]
69689 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
69690
69691 2012-11-28 David S. Miller <davem@davemloft.net>
69692
69693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69694
69695 2012-11-28 Joseph Myers <joseph@codesourcery.com>
69696
69697 [BZ #14803]
69698 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
69699 of pi/2 rounded to nearest to 64 bits.
69700 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
69701 nearest to 64 bits.
69702 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
69703 bits.
69704
69705 2012-11-28 Jeff Law <law@redhat.com>
69706 Martin Osvald <mosvald@redhat.com>
69707
69708 [BZ #14889]
69709 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
69710 * sunrpc/svc.c: Include time.h.
69711 (__svc_accept_failed): New function.
69712 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
69713 any reason other than EINTR, call __svc_accept_failed.
69714 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
69715 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
69716
69717 2012-11-28 Andreas Schwab <schwab@suse.de>
69718
69719 * scripts/abilist.awk: Also handle indirect functions in .opd
69720 section.
69721
69722 2012-11-28 Joseph Myers <joseph@codesourcery.com>
69723
69724 [BZ #13881]
69725 * sysdeps/x86/fpu/powl_helper.c: New file.
69726 * sysdeps/x86/fpu/Makefile: Likewise.
69727 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
69728 (p3): New object.
69729 (__ieee754_powl): Use __powl_helper for finite arguments except
69730 integer exponents below 8.
69731 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
69732 (p3): New object.
69733 (__ieee754_powl): Use __powl_helper for finite arguments except
69734 integer exponents below 8.
69735 * math/libm-test.inc (pow_test): Add more tests and enable some
69736 previously disabled tests.
69737 * sysdeps/i386/fpu/libm-test-ulps: Update.
69738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69739
69740 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
69741 Carlos O'Donell <carlos_odonell@mentor.com>
69742
69743 * nss/makedb.c (is_prime): Assert that input is odd and greater
69744 than 4. Note that fact in a comment too.
69745 (next_prime): Add 4 to input.
69746
69747 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
69748
69749 [BZ #11741]
69750 * libio/Makefile (tests): Add test case tst-fwrite-error.
69751 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
69752 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
69753 * libio/tst-fwrite-error.c: New test case.
69754
69755 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
69756
69757 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
69758 before casting to void *.
69759 * include/libc-internal.h (__pointer_type): New macro.
69760 (__integer_if_pointer_type_sub): Likewise.
69761 (__integer_if_pointer_type): Likewise.
69762 (cast_to_integer): Likewise.
69763 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
69764 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
69765 before casting to atomic64_t.
69766 (atomic_exchange_acq): Likewise.
69767 (__arch_exchange_and_add_body): Likewise.
69768 (__arch_add_body): Likewise.
69769 (atomic_add_negative): Likewise.
69770 (atomic_add_zero): Likewise.
69771
69772 2012-11-26 Joseph Myers <joseph@codesourcery.com>
69773
69774 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
69775 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
69776 (add_fdes): Likewise.
69777 (linear_search_fdes): Likewise.
69778 (binary_search_unencoded_fdes): Likewise.
69779
69780 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
69781
69782 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
69783
69784 2012-11-24 Adam Conrad <adconrad@0c3.net>
69785
69786 * configure.in: Autodetect C++ header directories.
69787 * configure: Regenerated.
69788
69789 2012-11-23 Mike Frysinger <vapier@gentoo.org>
69790
69791 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
69792
69793 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
69794
69795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69796
69797 2012-11-22 Joseph Myers <joseph@codesourcery.com>
69798
69799 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
69800 LDBL_MANT_DIG == 106]: Disable some tests.
69801 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
69802 Likewise.
69803 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
69804 Likewise.
69805
69806 [BZ #14871]
69807 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
69808 input for small inputs. Return +/- pi/2 for large inputs.
69809 * math/libm-test.inc (atan_test): Add more tests.
69810
69811 * sysdeps/generic/unwind-dw2-fde-glibc.c
69812 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
69813 __attribute__ ((unused)).
69814
69815 [BZ #14645]
69816 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
69817 x * y if x and y are nonzero and z is zero.
69818
69819 [BZ #14811]
69820 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
69821 nonzero exponents with absolute value below 0x1p-117 to +/-
69822 0x1p-117.
69823
69824 [BZ #14869]
69825 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
69826 up arguments below 2**-450, not just those below 2**-500.
69827 * math/libm-test.inc (hypot_test): Add another test.
69828
69829 [BZ #14868]
69830 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
69831 Return a+b for ratio over 2**120, not 2**60.
69832 * math/libm-test.inc (hypot_test): Add another test.
69833
69834 * math/libm-test.inc (clog_test): Use
69835 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
69836 (clog10_test): Likewise.
69837
69838 [BZ #6778]
69839 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
69840
69841 2012-11-22 Andreas Schwab <schwab@suse.de>
69842
69843 * sysdeps/i386/fpu/libm-test-ulps: Update.
69844
69845 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
69846
69847 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
69848 printf output with newline.
69849
69850 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
69851
69852 [BZ #14865]
69853 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
69854 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
69855 -z nodlopen, -z initfirst and -z execstack support.
69856 * configure: Regenerated.
69857
69858 * elf/elf.h (DF_1_NODIRECT): New macro.
69859 (DF_1_IGNMULDEF): Likewise.
69860 (DF_1_NOKSYMS): Likewise.
69861 (DF_1_NOHDR): Likewise.
69862 (DF_1_EDITED): Likewise.
69863 (DF_1_NORELOC): Likewise.
69864 (DF_1_SYMINTPOSE): Likewise.
69865 (DF_1_GLOBAUDIT): Likewise.
69866 (DF_1_SINGLETON): Likewise.
69867 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
69868 DT_1_SUPPORTED_MASK bits.
69869 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
69870
69871 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
69872
69873 * sysdeps/unix/make-syscalls.sh: Document prefixes.
69874
69875 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
69876
69877 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
69878 macro.
69879
69880 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
69881 (sendmmsg): Move declarations...
69882 * socket/sys/socket.h: ... here.
69883 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
69884 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
69885 include it from...
69886 * socket/recvmmsg.c: ... this new file.
69887 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
69888 (sendmmsg): Rename to __sendmmsg, create weak alias and make
69889 definition of __sendmmsg hidden.
69890 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
69891 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
69892 Move ENOSYS stub into and include it from...
69893 * socket/sendmmsg.c: ... this new file.
69894 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
69895 (sysdep_routines): Move recvmmsg and sendmmsg...
69896 * socket/Makefile (routines): ... here.
69897 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
69898 (GLIBC_PRIVATE): Add __sendmmsg.
69899 * include/sys/socket.h (__sendmmsg): Add declarations.
69900 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
69901 sendmmsg.
69902
69903 2012-11-20 Joseph Myers <joseph@codesourcery.com>
69904
69905 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
69906 variable I1 with __attribute__ ((unused)).
69907 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
69908
69909 2012-11-19 Joseph Myers <joseph@codesourcery.com>
69910
69911 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
69912 DUMMY variables with __attribute__ ((unused)).
69913
69914 * bits/byteswap.h: Include <bits/types.h>.
69915 (__bswap_64): Use __uint64_t instead of unsigned long long int.
69916
69917 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
69918
69919 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
69920 string_t. Do not manually set errno.
69921 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
69922 length with __strnlen. Make sure to both set errno and return it on
69923 failure.
69924
69925 2012-11-19 David S. Miller <davem@davemloft.net>
69926
69927 With help from Joseph Myers.
69928 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
69929 very large arguments properly.
69930 * math/libm-test.inc (atan_test): New tests.
69931 (atan2_test): New tests.
69932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69933 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69934
69935 2012-11-19 Joseph Myers <joseph@codesourcery.com>
69936
69937 [BZ #14856]
69938 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
69939 Define to 3.
69940
69941 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
69942 [POSIX] (EADDRNOTAVAIL): Likewise.
69943 [POSIX] (EAFNOSUPPORT): Likewise.
69944 [POSIX] (EALREADY): Likewise.
69945 [POSIX] (ECONNABORTED): Likewise.
69946 [POSIX] (ECONNREFUSED): Likewise.
69947 [POSIX] (ECONNRESET): Likewise.
69948 [POSIX] (EDESTADDRREQ): Likewise.
69949 [POSIX] (EDQUOT): Likewise.
69950 [POSIX] (EHOSTUNREACH): Likewise.
69951 [POSIX] (EIDRM): Likewise.
69952 [POSIX] (EISCONN): Likewise.
69953 [POSIX] (ELOOP): Likewise.
69954 [POSIX] (EMULTIHOP): Likewise.
69955 [POSIX] (ENETDOWN): Likewise.
69956 [POSIX] (ENETUNREACH): Likewise.
69957 [POSIX] (ENOBUFS): Likewise.
69958 [POSIX] (ENODATA): Likewise.
69959 [POSIX] (ENOLINK): Likewise.
69960 [POSIX] (ENOMSG): Likewise.
69961 [POSIX] (ENOPROTOOPT): Likewise.
69962 [POSIX] (ENOSR): Likewise.
69963 [POSIX] (ENOSTR): Likewise.
69964 [POSIX] (ENOTCONN): Likewise.
69965 [POSIX] (ENOTSOCK): Likewise.
69966 [POSIX] (EOPNOTSUPP): Likewise.
69967 [POSIX] (EOVERFLOW): Likewise.
69968 [POSIX] (EPROTO): Likewise.
69969 [POSIX] (EPROTONOSUPPORT): Likewise.
69970 [POSIX] (EPROTOTYPE): Likewise.
69971 [POSIX] (ESTALE): Likewise.
69972 [POSIX] (ETIME): Likewise.
69973 [POSIX] (ETXTBSY): Likewise.
69974 [POSIX] (EWOULDBLOCK): Likewise.
69975 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
69976 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
69977 [POSIX] (SEEK_CUR): Likewise.
69978 [POSIX] (SEEK_END): Likewise.
69979 [POSIX || UNIX98] (mode_t): Do not require.
69980 [POSIX] (off_t): Likewise.
69981 [POSIX] (pid_t): Likewise.
69982 [POSIX] (sys/stat.h): Do not allow header.
69983 [POSIX] (unistd.h): Likewise.
69984 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
69985 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
69986 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
69987 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
69988 require.
69989 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
69990 sigevent): Specify elements.
69991 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
69992 entry.
69993 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
69994 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
69995
69996 * conform/data/cpio.h-data [POSIX]: Disable whole file.
69997 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
69998 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
69999 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
70000 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
70001 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
70002 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
70003 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
70004 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
70005 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
70006 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
70007 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
70008 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
70009 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
70010 Likewise.
70011 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
70012 Likewise.
70013 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
70014 Likewise.
70015 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
70016 Likewise.
70017 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
70018 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
70019 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
70020 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
70021 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
70022 Specify lower bound on value.
70023 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
70024 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
70025 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
70026 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
70027 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
70028 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
70029 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
70030 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
70031 value.
70032 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
70033 as optional.
70034 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
70035 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
70036 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
70037 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
70038 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
70039 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
70040 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
70041 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
70042 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
70043 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
70044 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
70045 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
70046 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
70047 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
70048 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
70049 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
70050 entry.
70051 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
70052 optional.
70053 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
70054 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
70055 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
70056 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
70057 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
70058 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
70059 Likewise.
70060 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
70061 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
70062 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
70063 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
70064 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
70065 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
70066 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
70067 as optional.
70068 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
70069 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
70070 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
70071 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
70072 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
70073 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
70074 specify as optional.
70075 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
70076 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
70077 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
70078 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
70079 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
70080 [XPG3] (NL_LANGMAX): Likewise.
70081 [POSIX || XPG3] (NL_MSGMAX): Likewise.
70082 [POSIX || XPG3] (NL_NMAX): Likewise.
70083 [POSIX || XPG3] (NL_SETMAX): Likewise.
70084 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
70085 [XPG3] (NZERO): Likewise.
70086 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
70087 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
70088 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
70089 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
70090 (REG_ERANGE): Expect.
70091 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
70092 optional-constant.
70093 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
70094 Use (void) in prototype.
70095 [POSIX] (*_t): Allow.
70096 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
70097 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
70098 (WRDE_BADVAL): Expect.
70099
70100 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
70101 expect.
70102 [XPG3 || XPG4] (O_RSYNC): Likewise.
70103 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
70104 Likewise.
70105 [XPG3 || XPG4] (pthread_sigmask): Likewise.
70106 [XPG3 || XPG4] (sigqueue): Likewise.
70107 [XPG3 || XPG4] (sigtimedwait): Likewise.
70108 [XPG3 || XPG4] (sigwaitinfo): Likewise.
70109 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
70110 [XPG3 || XPG4] (vsnprintf): Likewise.
70111 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
70112 Likewise.
70113 [XPG3 || XPG4] (blksize_t): Likewise.
70114 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
70115 Likewise.
70116 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
70117 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
70118 [XPG3 || XPG4] (struct itimerspec): Likewise.
70119 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
70120 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
70121 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
70122 [XPG3 || XPG4] (clockid_t): Likewise.
70123 [XPG3 || XPG4] (timer_t): Likewise.
70124 [XPG3 || XPG4] (clock_getres): Likewise.
70125 [XPG3 || XPG4] (clock_gettime): Likewise.
70126 [XPG3 || XPG4] (clock_settime): Likewise.
70127 [XPG3 || XPG4] (nanosleep): Likewise.
70128 [XPG3 || XPG4] (timer_create): Likewise.
70129 [XPG3 || XPG4] (timer_delete): Likewise.
70130 [XPG3 || XPG4] (timer_gettime): Likewise.
70131 [XPG3 || XPG4] (timer_getoverrun): Likewise.
70132 [XPG3 || XPG4] (timer_settime): Likewise.
70133 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
70134 [XPG3 || XPG4] (getlogin_r): Likewise.
70135 [XPG3 || XPG4] (pread): Likewise.
70136 [XPG3 || XPG4] (pthread_atfork): Likewise.
70137 [XPG3 || XPG4] (pwrite): Likewise.
70138
70139 [BZ #14835]
70140 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
70141 <bits/siginfo.h>.
70142
70143 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
70144
70145 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
70146 finalizing MALLSTREAM.
70147
70148 * sysdeps/mach/hurd/syncfs.c: New file.
70149
70150 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
70151
70152 [BZ #14719]
70153 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
70154 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
70155 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
70156 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
70157 (_nss_dns_gethostbyname4_r): Likewise.
70158 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
70159 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
70160
70161 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
70162
70163 [BZ #13763]
70164 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
70165
70166 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
70167
70168 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
70169 * elf/cache.c (print_entry): Print ",AArch64" for
70170 FLAG_AARCH64_LIB64
70171
70172 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
70173 * elf/cache.c (print_entry): Print ",hard-float" for
70174 FLAG_ARM_LIBHF.
70175
70176 2012-11-18 David S. Miller <davem@davemloft.net>
70177
70178 With help from Joseph Myers.
70179 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
70180 cutoff to 2**-13.
70181 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
70182 cutoff to 2**-25.
70183 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
70184 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
70185 small.
70186 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
70187 * math/libm-test.inc (y0_test): New tests.
70188 (y1_test): New tests.
70189 * sysdeps/i386/fpu/libm-test-ulps: Update.
70190 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70192
70193 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
70194
70195 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
70196 64-bit targets.
70197 * configure: Regenerated.
70198
70199 2012-11-17 David S. Miller <davem@davemloft.net>
70200
70201 [BZ #14811]
70202 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
70203 nonzero exponents with absolute value below 0x1p-128 to +/-
70204 0x1p-128.
70205
70206 2012-11-17 Joseph Myers <joseph@codesourcery.com>
70207
70208 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
70209
70210 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
70211
70212 * posix/getconf-speclist.c: New file.
70213 * posix/posix-envs.def: Likewise.
70214 * posix/confstr.c (START_ENV_GROUP): New macro.
70215 (END_ENV_GROUP): Likewise.
70216 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
70217 (KNOWN_PRESENT_ENV_STRING): Likewise.
70218 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
70219 (UNKNOWN_ENVIRONMENT): Likewise.
70220 (confstr): Include posix-envs.def instead of handling
70221 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
70222 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
70223 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
70224 (END_ENV_GROUP): Likewise.
70225 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
70226 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
70227 (UNKNOWN_ENVIRONMENT): Likewise.
70228 (__sysconf): Include posix-envs.def instead of handling associated
70229 cases directly here.
70230 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
70231 preprocessing getconf-speclist.c rather than running getconf or
70232 generating empty file.
70233
70234 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
70235
70236 * scripts/check-local-headers.sh: Ignore 'mach' headers.
70237
70238 2012-11-16 Andrej Lajovic <natrij@gmail.com>
70239
70240 [BZ #14672]
70241 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
70242
70243 2012-11-16 David S. Miller <davem@davemloft.net>
70244
70245 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
70246 smaller than LDBL_EPSILON/2.0L, just return xm1.
70247
70248 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
70249
70250 * elf/tst-array1.c (init): Set constructor priority to 1000.
70251 (fini): Set destructor priority to 1000.
70252 * elf/tst-array2dep.c: Likewise.
70253
70254 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
70255
70256 [BZ #11741]
70257 * libio/fileops.c (_IO_new_file_write): Correctly return error.
70258 (_IO_new_file_xsputn): Also return EOF if none of the input
70259 data was written when overflow failed.
70260 * libio/iopadn.c (_IO_padn): Likewise.
70261 * libio/iowpadn.c (_IO_wpadn): Likewise.
70262 * stdio-common/tst-put-error.c: Add copyright notice.
70263 (do_test): Add case for printing padded string.
70264 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
70265 _IO_padn returned error.
70266 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
70267 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
70268 return EOF.
70269
70270 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
70271
70272 * libio/libioP.h: Add comment note that the references to C++
70273 bits are now obsolete.
70274
70275 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
70276
70277 * math/libm-test.inc (check_complex): Use asprintf.
70278
70279 2012-11-14 Joseph Myers <joseph@codesourcery.com>
70280
70281 * debug/pcprofiledump.c (print_version): Update copyright year.
70282 * malloc/memusagestat.c (print_version): Likewise.
70283
70284 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
70285
70286 [BZ #14831]
70287 * elf/Makefile (tests): Add tst-audit8.
70288 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
70289 ($(objpfx)tst-audit8.out): New target.
70290 (tst-audit8-ENV): New variable.
70291 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
70292 audit if l_reloc_result is NULL.
70293 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
70294 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
70295 * elf/tst-audit8.c: New file.
70296
70297 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
70298
70299 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
70300 * misc/Makefile (CFLAGS-select.c): Define.
70301 * posix/Makefile (CFLAGS-pause.c): Define.
70302
70303 2012-11-13 David S. Miller <davem@davemloft.net>
70304
70305 * crypt/Makefile: Move test targets after toplevel Rules
70306 inclusion. Grab any necessary sysdep routines when linking.
70307 * crypt/md5.c (md5_process_block): Remove define, we will always
70308 name it __md5_process_block.
70309 (md5_finish_ctx): Update md5_process_block call.
70310 (md5_stream): Likewise.
70311 (md5_process_bytes): Likewise.
70312 (md5_process_block): Rename to __md5_process_block and move to ...
70313 * crypt/md5-block.c: ... here.
70314 * crypt/sha256.c (sha256_process_block): Move to ...
70315 * crypt/sha256-block.c: ... here.
70316 * crypt/sha512.c (sha512_process_block): Move to ...
70317 * crypt/sha512-block.c: ... here.
70318 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
70319 path.
70320 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
70321 * sysdeps/sparc/sparc64/multiarch/Makefile
70322 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
70323 crypt subdir.
70324 (localedef-aux): Add md5 crypto assembler when in locale subdir.
70325 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
70326 multiarch changes.
70327 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
70328 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
70329 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
70330 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
70331 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
70332 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
70333 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
70334 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
70335 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
70336 file.
70337 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
70338 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
70339 file.
70340 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
70341
70342 2012-11-13 Joseph Myers <joseph@codesourcery.com>
70343
70344 * timezone/tzselect.ksh: Update from tzcode git revision
70345 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
70346 * timezone/zdump.c: Likewise.
70347 * timezone/zic.c: Likewise.
70348 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
70349 in TZVERSION setting, not $(PKGVERSION).
70350 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
70351 REPORT_BUGS_TO settings.
70352
70353 [BZ #14838]
70354 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
70355 macro.
70356
70357 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
70358
70359 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
70360 detection to immediately after _FP_ROUND().
70361 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
70362 bits are 0.
70363
70364 2012-11-11 David S. Miller <davem@davemloft.net>
70365
70366 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
70367 inttypes.h
70368 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
70369 __close rather than their public counterparts.
70370
70371 2012-11-10 Joseph Myers <joseph@codesourcery.com>
70372
70373 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
70374 file.
70375 [UNIX98] (sem_timedwait): Do not expect.
70376 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
70377 [XPG4 || UNIX98] (sockatmark): Do not expect.
70378 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
70379 (clock_getcpuclockid): Do not expect.
70380 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
70381 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
70382 Do not expect.
70383 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
70384 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
70385 [UNIX98] (vwscanf): Likewise.
70386 [UNIX98] (vswscanf): Likewise.
70387
70388 2012-11-09 Joseph Myers <joseph@codesourcery.com>
70389
70390 * timezone/version.h: Remove file.
70391 * timezone/README: Do not refer to version.h.
70392 * timezone/Makefile ($(objpfx)zic.o): New dependency on
70393 $(objpfx)version.h.
70394 ($(objpfx)zdump.o): Likewise.
70395 ($(objpfx)version.h): New target.
70396
70397 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
70398 2012i.
70399 * timezone/README: Don't mention modification to tzselect.ksh.
70400 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
70401 work on unmodified tzselect.ksh. Substitute version numbers in
70402 tzselect.ksh.
70403
70404 * Makefile (format-me): Remove.
70405 (INSTALL): Adjust indentation. Use commands directly instead of
70406 using $(format-me).
70407
70408 * aclocal.m4 (ACX_PKGVERSION): New macro.
70409 (ACX_BUGURL): Likewise.
70410 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
70411 (PKGVERSION): New AC_DEFINE_UNQUOTED.
70412 (REPORT_BUGS_TO): Likewise.
70413 * configure: Regenerated.
70414 * config.h.in (PKGVERSION): New macro.
70415 (REPORT_BUGS_TO): Likewise.
70416 * config.make.in (PKGVERSION): New variable.
70417 (PKGVERSION_TEXI): Likewise.
70418 (REPORT_BUGS_TO): Likewise.
70419 (REPORT_BUGS_TEXI): Likewise.
70420 * Makefile (format-me): Use -I$(common-objpfx)manual.
70421 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
70422 ($(common-objpfx)manual/%): New target.
70423 (manual/%): Remove target.
70424 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
70425 (print_version): Use PKGVERSION.
70426 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
70427 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
70428 and REPORT_BUGS_TO.
70429 ($(objpfx)xtrace): Likewise.
70430 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
70431 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
70432 (print_version): Use PKGVERSION.
70433 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
70434 (do_version): Use PKGVERSION.
70435 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
70436 REPORT_BUGS_TO.
70437 (common-ldd-rewrite): Likewise.
70438 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
70439 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
70440 (print_version): Use PKGVERSION.
70441 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
70442 * elf/pldd.c (argp_program_bug_address): Remove variable.
70443 (more_help): New function.
70444 (argp): Use more_help.
70445 (print_version): Use PKGVERSION.
70446 * elf/sln.c (main): Use PKGVERSION.
70447 (usage): Use REPORT_BUGS_TO.
70448 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
70449 (top level): Use PKGVERSION.
70450 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
70451 (print_version): Use PKGVERSION.
70452 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
70453 (print_version): Use PKGVERSION.
70454 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
70455 (print_version): Use PKGVERSION.
70456 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
70457 (print_version): Use PKGVERSION.
70458 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
70459 (print_version): Use PKGVERSION.
70460 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
70461 (print_version): Use PKGVERSION.
70462 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
70463 and BUGURL.
70464 ($(objpfx)memusage): Likewise.
70465 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
70466 (do_version): Use PKGVERSION.
70467 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
70468 (print_version): Use PKGVERSION.
70469 * malloc/mtrace.pl ($PACKAGE): Remove variable.
70470 ($PKGVERSION): New variable.
70471 ($REPORT_BUGS_TO): Likewise.
70472 (usage): Use $REPORT_BUGS_TO.
70473 (top level): Use $PKGVERSION.
70474 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
70475 ($(objpfx)pkgvers.texi): New rule.
70476 ($(objpfx)stamp-pkgvers): Likewise.
70477 * manual/install.texi: Include pkgvers.texi.
70478 (--with-pkgversion): Document new configure option.
70479 (--with-bugurl): Likewise.
70480 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
70481 than necessarily for this particular distribution. Use
70482 REPORT_BUGS_TO for where to report bugs.
70483 * INSTALL: Regenerated.
70484 * manual/libc.texinfo: Include pkgvers.texi.
70485 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
70486 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
70487 (print_version): Use PKGVERSION.
70488 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
70489 (print_version): Use PKGVERSION.
70490 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
70491 (print_version): Use PKGVERSION.
70492 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
70493 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
70494 macro.
70495 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
70496 (print_version): Use PKGVERSION.
70497 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
70498 (print_version): Use PKGVERSION.
70499 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
70500 and PKGVERSION.
70501
70502 * timezone/checktab.awk: Update from tzcode 2012i.
70503 * timezone/ialloc.c: Likewise.
70504 * timezone/private.h: Likewise.
70505 * timezone/scheck.c: Likewise.
70506 * timezone/tzfile.h: Likewise.
70507 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
70508 (TZVERSION): Hardcode tzcode version number.
70509 * timezone/zdump.c: Update from tzcode 2012i.
70510 * timezone/zic.c: Likewise.
70511 * timezone/version.h: New file.
70512 * timezone/README: Describe version.h. Update upstream location.
70513
70514 [BZ #14824]
70515 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
70516 (mktemp): Enable declaration.
70517 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
70518 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
70519 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
70520 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
70521 Likewise.
70522 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
70523 Likewise.
70524 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
70525 Likewise.
70526 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
70527 Likewise.
70528 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
70529 Likewise.
70530 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
70531 Likewise.
70532
70533 [BZ #14821]
70534 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
70535 offset in buffer as u_int32_t not u_long. Consistently use memcpy
70536 for copies of such integer values.
70537 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
70538 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
70539
70540 2012-11-09 Andreas Jaeger <aj@suse.de>
70541
70542 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
70543 definitions and declarations that are provided by
70544 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
70545
70546 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70547
70548 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
70549 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
70550 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
70551 definition.
70552
70553 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
70554
70555 * elf/elf.h: Update comment before AArch64 relocations.
70556
70557 2012-11-07 David S. Miller <davem@davemloft.net>
70558
70559 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
70560 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70561 (__start_context): Declare.
70562 (__makecontext_ret): Delete.
70563 (__makecontext): Hook up __start_context instead of
70564 __makecontext_ret.
70565 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
70566 (sysdep_routines): Add __start_context when in stdlib.
70567
70568 2012-11-07 Joseph Myers <joseph@codesourcery.com>
70569
70570 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
70571 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
70572 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
70573 hardcoded "nm".
70574 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
70575 (READELF): New variable. Use it instead of hardcoded "readelf".
70576
70577 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
70578
70579 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
70580 * sysdeps/x86/Makefile: Here.
70581 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
70582 * sysdeps/x86/tst-xmmymm.sh: This.
70583
70584 2012-11-07 Joseph Myers <joseph@codesourcery.com>
70585
70586 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
70587 expectations.
70588 [UNIX98] (pthread_barrier_t): Do not expect.
70589 [UNIX98] (pthread_barrierattr_t): Likewise.
70590 [UNIX98] (pthread_spinlock_t): Likewise.
70591 [UNIX98] (pthread_barrier_destroy): Likewise.
70592 [UNIX98] (pthread_barrier_init): Likewise.
70593 [UNIX98] (pthread_barrier_wait): Likewise.
70594 [UNIX98] (pthread_barrierattr_destroy): Likewise.
70595 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
70596 [UNIX98] (pthread_barrierattr_init): Likewise.
70597 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
70598 [UNIX98] (pthread_getcpuclockid): Likewise.
70599 [UNIX98] (pthread_mutex_timedlock): Likewise.
70600 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
70601 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
70602 [UNIX98] (pthread_sigmask): Likewise.
70603 [UNIX98] (pthread_spin_destroy): Likewise.
70604 [UNIX98] (pthread_spin_init): Likewise.
70605 [UNIX98] (pthread_spin_lock): Likewise.
70606 [UNIX98] (pthread_spin_trylock): Likewise.
70607 [UNIX98] (pthread_spin_unlock): Likewise.
70608 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
70609 Do not expect.
70610 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
70611 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
70612 [XPG3 || XPG4] (pthread_cond_t): Likewise.
70613 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
70614 [XPG3 || XPG4] (pthread_key_t): Likewise.
70615 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
70616 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
70617 [XPG3 || XPG4] (pthread_once_t): Likewise.
70618 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
70619 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
70620 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
70621 [XPG3 || XPG4] (pthread_t): Likewise.
70622
70623 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
70624 not expect.
70625 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
70626
70627 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
70628 Change function return type to int.
70629
70630 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
70631 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
70632 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
70633 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
70634 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
70635 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
70636 [!POSIX] (posix_madvise): Likewise.
70637 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
70638 && !UNIX98].
70639 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
70640 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
70641 (mode_t): Likewise.
70642 (posix_mem_offset): Likewise.
70643 (posix_typed_mem_get_info): Likewise.
70644 (posix_typed_mem_open): Likewise.
70645
70646 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
70647 Change condition to [XOPEN2K8].
70648
70649 * conform/conformtest.pl: Preprocess allow-header data with -x c
70650 instead of from stdin.
70651 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
70652 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
70653 [C99-based standards] (cerfc): Likewise.
70654 [C99-based standards] (cexp2): Likewise.
70655 [C99-based standards] (cexpm1): Likewise.
70656 [C99-based standards] (clog10): Likewise.
70657 [C99-based standards] (clog1p): Likewise.
70658 [C99-based standards] (clog2): Likewise.
70659 [C99-based standards] (clgamma): Likewise.
70660 [C99-based standards] (ctgamma): Likewise.
70661 [C99-based standards] (cerff): Likewise.
70662 [C99-based standards] (cerfcf): Likewise.
70663 [C99-based standards] (cexp2f): Likewise.
70664 [C99-based standards] (cexpm1f): Likewise.
70665 [C99-based standards] (clog10f): Likewise.
70666 [C99-based standards] (clog1pf): Likewise.
70667 [C99-based standards] (clog2f): Likewise.
70668 [C99-based standards] (clgammaf): Likewise.
70669 [C99-based standards] (ctgammaf): Likewise.
70670 [C99-based standards] (cerfl): Likewise.
70671 [C99-based standards] (cerfcl): Likewise.
70672 [C99-based standards] (cexp2l): Likewise.
70673 [C99-based standards] (cexpm1l): Likewise.
70674 [C99-based standards] (clog10l): Likewise.
70675 [C99-based standards] (clog1pl): Likewise.
70676 [C99-based standards] (clog2l): Likewise.
70677 [C99-based standards] (clgammal): Likewise.
70678 [C99-based standards] (ctgammal): Likewise.
70679 * conform/data/inttypes.h-data [C99-based standards]: Include
70680 stdint.h-data. Remove all expectations for stdint.h contents.
70681 [C99-based standards] (PRI*): Do not allow.
70682 [C99-based standards] (SCN*): Likewise.
70683 [C99-based standards] (*_t): Likewise.
70684 [C99-based-standards] (PRId8): Expect macro.
70685 [C99-based-standards] (PRIi8): Likewise.
70686 [C99-based-standards] (PRIo8): Likewise.
70687 [C99-based-standards] (PRIu8): Likewise.
70688 [C99-based-standards] (PRIx8): Likewise.
70689 [C99-based-standards] (PRIX8): Likewise.
70690 [C99-based-standards] (SCNd8): Likewise.
70691 [C99-based-standards] (SCNi8): Likewise.
70692 [C99-based-standards] (SCNo8): Likewise.
70693 [C99-based-standards] (SCNu8): Likewise.
70694 [C99-based-standards] (SCNx8): Likewise.
70695 [C99-based-standards] (PRIdLEAST8): Likewise.
70696 [C99-based-standards] (PRIiLEAST8): Likewise.
70697 [C99-based-standards] (PRIoLEAST8): Likewise.
70698 [C99-based-standards] (PRIuLEAST8): Likewise.
70699 [C99-based-standards] (PRIxLEAST8): Likewise.
70700 [C99-based-standards] (PRIXLEAST8): Likewise.
70701 [C99-based-standards] (SCNdLEAST8): Likewise.
70702 [C99-based-standards] (SCNiLEAST8): Likewise.
70703 [C99-based-standards] (SCNoLEAST8): Likewise.
70704 [C99-based-standards] (SCNuLEAST8): Likewise.
70705 [C99-based-standards] (SCNxLEAST8): Likewise.
70706 [C99-based-standards] (PRIdFAST8): Likewise.
70707 [C99-based-standards] (PRIiFAST8): Likewise.
70708 [C99-based-standards] (PRIoFAST8): Likewise.
70709 [C99-based-standards] (PRIuFAST8): Likewise.
70710 [C99-based-standards] (PRIxFAST8): Likewise.
70711 [C99-based-standards] (PRIXFAST8): Likewise.
70712 [C99-based-standards] (SCNdFAST8): Likewise.
70713 [C99-based-standards] (SCNiFAST8): Likewise.
70714 [C99-based-standards] (SCNoFAST8): Likewise.
70715 [C99-based-standards] (SCNuFAST8): Likewise.
70716 [C99-based-standards] (SCNxFAST8): Likewise.
70717 [C99-based-standards] (PRId16): Likewise.
70718 [C99-based-standards] (PRIi16): Likewise.
70719 [C99-based-standards] (PRIo16): Likewise.
70720 [C99-based-standards] (PRIu16): Likewise.
70721 [C99-based-standards] (PRIx16): Likewise.
70722 [C99-based-standards] (PRIX16): Likewise.
70723 [C99-based-standards] (SCNd16): Likewise.
70724 [C99-based-standards] (SCNi16): Likewise.
70725 [C99-based-standards] (SCNo16): Likewise.
70726 [C99-based-standards] (SCNu16): Likewise.
70727 [C99-based-standards] (SCNx16): Likewise.
70728 [C99-based-standards] (PRIdLEAST16): Likewise.
70729 [C99-based-standards] (PRIiLEAST16): Likewise.
70730 [C99-based-standards] (PRIoLEAST16): Likewise.
70731 [C99-based-standards] (PRIuLEAST16): Likewise.
70732 [C99-based-standards] (PRIxLEAST16): Likewise.
70733 [C99-based-standards] (PRIXLEAST16): Likewise.
70734 [C99-based-standards] (SCNdLEAST16): Likewise.
70735 [C99-based-standards] (SCNiLEAST16): Likewise.
70736 [C99-based-standards] (SCNoLEAST16): Likewise.
70737 [C99-based-standards] (SCNuLEAST16): Likewise.
70738 [C99-based-standards] (SCNxLEAST16): Likewise.
70739 [C99-based-standards] (PRIdFAST16): Likewise.
70740 [C99-based-standards] (PRIiFAST16): Likewise.
70741 [C99-based-standards] (PRIoFAST16): Likewise.
70742 [C99-based-standards] (PRIuFAST16): Likewise.
70743 [C99-based-standards] (PRIxFAST16): Likewise.
70744 [C99-based-standards] (PRIXFAST16): Likewise.
70745 [C99-based-standards] (SCNdFAST16): Likewise.
70746 [C99-based-standards] (SCNiFAST16): Likewise.
70747 [C99-based-standards] (SCNoFAST16): Likewise.
70748 [C99-based-standards] (SCNuFAST16): Likewise.
70749 [C99-based-standards] (SCNxFAST16): Likewise.
70750 [C99-based-standards] (PRId32): Likewise.
70751 [C99-based-standards] (PRIi32): Likewise.
70752 [C99-based-standards] (PRIo32): Likewise.
70753 [C99-based-standards] (PRIu32): Likewise.
70754 [C99-based-standards] (PRIx32): Likewise.
70755 [C99-based-standards] (PRIX32): Likewise.
70756 [C99-based-standards] (SCNd32): Likewise.
70757 [C99-based-standards] (SCNi32): Likewise.
70758 [C99-based-standards] (SCNo32): Likewise.
70759 [C99-based-standards] (SCNu32): Likewise.
70760 [C99-based-standards] (SCNx32): Likewise.
70761 [C99-based-standards] (PRIdLEAST32): Likewise.
70762 [C99-based-standards] (PRIiLEAST32): Likewise.
70763 [C99-based-standards] (PRIoLEAST32): Likewise.
70764 [C99-based-standards] (PRIuLEAST32): Likewise.
70765 [C99-based-standards] (PRIxLEAST32): Likewise.
70766 [C99-based-standards] (PRIXLEAST32): Likewise.
70767 [C99-based-standards] (SCNdLEAST32): Likewise.
70768 [C99-based-standards] (SCNiLEAST32): Likewise.
70769 [C99-based-standards] (SCNoLEAST32): Likewise.
70770 [C99-based-standards] (SCNuLEAST32): Likewise.
70771 [C99-based-standards] (SCNxLEAST32): Likewise.
70772 [C99-based-standards] (PRIdFAST32): Likewise.
70773 [C99-based-standards] (PRIiFAST32): Likewise.
70774 [C99-based-standards] (PRIoFAST32): Likewise.
70775 [C99-based-standards] (PRIuFAST32): Likewise.
70776 [C99-based-standards] (PRIxFAST32): Likewise.
70777 [C99-based-standards] (PRIXFAST32): Likewise.
70778 [C99-based-standards] (SCNdFAST32): Likewise.
70779 [C99-based-standards] (SCNiFAST32): Likewise.
70780 [C99-based-standards] (SCNoFAST32): Likewise.
70781 [C99-based-standards] (SCNuFAST32): Likewise.
70782 [C99-based-standards] (SCNxFAST32): Likewise.
70783 [C99-based-standards] (PRId64): Likewise.
70784 [C99-based-standards] (PRIi64): Likewise.
70785 [C99-based-standards] (PRIo64): Likewise.
70786 [C99-based-standards] (PRIu64): Likewise.
70787 [C99-based-standards] (PRIx64): Likewise.
70788 [C99-based-standards] (PRIX64): Likewise.
70789 [C99-based-standards] (SCNd64): Likewise.
70790 [C99-based-standards] (SCNi64): Likewise.
70791 [C99-based-standards] (SCNo64): Likewise.
70792 [C99-based-standards] (SCNu64): Likewise.
70793 [C99-based-standards] (SCNx64): Likewise.
70794 [C99-based-standards] (PRIdLEAST64): Likewise.
70795 [C99-based-standards] (PRIiLEAST64): Likewise.
70796 [C99-based-standards] (PRIoLEAST64): Likewise.
70797 [C99-based-standards] (PRIuLEAST64): Likewise.
70798 [C99-based-standards] (PRIxLEAST64): Likewise.
70799 [C99-based-standards] (PRIXLEAST64): Likewise.
70800 [C99-based-standards] (SCNdLEAST64): Likewise.
70801 [C99-based-standards] (SCNiLEAST64): Likewise.
70802 [C99-based-standards] (SCNoLEAST64): Likewise.
70803 [C99-based-standards] (SCNuLEAST64): Likewise.
70804 [C99-based-standards] (SCNxLEAST64): Likewise.
70805 [C99-based-standards] (PRIdFAST64): Likewise.
70806 [C99-based-standards] (PRIiFAST64): Likewise.
70807 [C99-based-standards] (PRIoFAST64): Likewise.
70808 [C99-based-standards] (PRIuFAST64): Likewise.
70809 [C99-based-standards] (PRIxFAST64): Likewise.
70810 [C99-based-standards] (PRIXFAST64): Likewise.
70811 [C99-based-standards] (SCNdFAST64): Likewise.
70812 [C99-based-standards] (SCNiFAST64): Likewise.
70813 [C99-based-standards] (SCNoFAST64): Likewise.
70814 [C99-based-standards] (SCNuFAST64): Likewise.
70815 [C99-based-standards] (SCNxFAST64): Likewise.
70816 [C99-based-standards] (PRIdMAX): Likewise.
70817 [C99-based-standards] (PRIiMAX): Likewise.
70818 [C99-based-standards] (PRIoMAX): Likewise.
70819 [C99-based-standards] (PRIuMAX): Likewise.
70820 [C99-based-standards] (PRIxMAX): Likewise.
70821 [C99-based-standards] (PRIXMAX): Likewise.
70822 [C99-based-standards] (SCNdMAX): Likewise.
70823 [C99-based-standards] (SCNiMAX): Likewise.
70824 [C99-based-standards] (SCNoMAX): Likewise.
70825 [C99-based-standards] (SCNuMAX): Likewise.
70826 [C99-based-standards] (SCNxMAX): Likewise.
70827 [C99-based-standards] (PRIdPTR): Likewise.
70828 [C99-based-standards] (PRIiPTR): Likewise.
70829 [C99-based-standards] (PRIoPTR): Likewise.
70830 [C99-based-standards] (PRIuPTR): Likewise.
70831 [C99-based-standards] (PRIxPTR): Likewise.
70832 [C99-based-standards] (PRIXPTR): Likewise.
70833 [C99-based-standards] (SCNdPTR): Likewise.
70834 [C99-based-standards] (SCNiPTR): Likewise.
70835 [C99-based-standards] (SCNoPTR): Likewise.
70836 [C99-based-standards] (SCNuPTR): Likewise.
70837 [C99-based-standards] (SCNxPTR): Likewise.
70838 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
70839 allow.
70840 * conform/data/stdint.h-data: Update comments to clarify
70841 requirements.
70842 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
70843 type.
70844 [C99-based standards] (INT8_MAX): Likewise.
70845 [C99-based standards] (INT16_MIN): Likewise.
70846 [C99-based standards] (INT16_MAX): Likewise.
70847 [C99-based standards] (INT32_MIN): Likewise.
70848 [C99-based standards] (INT32_MAX): Likewise.
70849 [C99-based standards] (INT64_MIN): Likewise.
70850 [C99-based standards] (INT64_MAX): Likewise.
70851 [C99-based standards] (UINT8_MAX): Likewise.
70852 [C99-based standards] (UINT16_MAX): Likewise.
70853 [C99-based standards] (UINT32_MAX): Likewise.
70854 [C99-based standards] (UINT64_MAX): Likewise.
70855 [C99-based standards] (INT_LEAST8_MIN): Likewise.
70856 [C99-based standards] (INT_LEAST8_MAX): Likewise.
70857 [C99-based standards] (INT_LEAST16_MIN): Likewise.
70858 [C99-based standards] (INT_LEAST16_MAX): Likewise.
70859 [C99-based standards] (INT_LEAST32_MIN): Likewise.
70860 [C99-based standards] (INT_LEAST32_MAX): Likewise.
70861 [C99-based standards] (INT_LEAST64_MIN): Likewise.
70862 [C99-based standards] (INT_LEAST64_MAX): Likewise.
70863 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
70864 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
70865 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
70866 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
70867 [C99-based standards] (INT_FAST8_MIN): Likewise.
70868 [C99-based standards] (INT_FAST8_MAX): Likewise.
70869 [C99-based standards] (INT_FAST16_MIN): Likewise.
70870 [C99-based standards] (INT_FAST16_MAX): Likewise.
70871 [C99-based standards] (INT_FAST32_MIN): Likewise.
70872 [C99-based standards] (INT_FAST32_MAX): Likewise.
70873 [C99-based standards] (INT_FAST64_MIN): Likewise.
70874 [C99-based standards] (INT_FAST64_MAX): Likewise.
70875 [C99-based standards] (UINT_FAST8_MAX): Likewise.
70876 [C99-based standards] (UINT_FAST16_MAX): Likewise.
70877 [C99-based standards] (UINT_FAST32_MAX): Likewise.
70878 [C99-based standards] (UINT_FAST64_MAX): Likewise.
70879 [C99-based standards] (INTPTR_MIN): Likewise.
70880 [C99-based standards] (INTPTR_MAX): Likewise.
70881 [C99-based standards] (UINTPTR_MAX): Likewise.
70882 [C99-based standards] (INTMAX_MIN): Likewise.
70883 [C99-based standards] (INTMAX_MAX): Likewise.
70884 [C99-based standards] (UINTMAX_MAX): Likewise.
70885 [C99-based standards] (PTRDIFF_MIN): Likewise.
70886 [C99-based standards] (PTRDIFF_MAX): Likewise.
70887 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
70888 [C99-based standards] (SIZE_MAX): Likewise.
70889 [C99-based standards] (WCHAR_MAX): Likewise.
70890 [C99-based standards] (WINT_MAX): Likewise.
70891 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
70892 constraint on value.
70893 [C99-based standards] (WCHAR_MIN): Likewise.
70894 [C99-based standards] (WINT_MIN): Likewise.
70895 [C99-based standards] (*_t): Allow.
70896 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
70897 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
70898 Include math.h-data and complex.h-data. Remove all expectations
70899 of math.h and complex.h contents.
70900 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
70901 at end of line.
70902 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
70903 (struct tm): Expect tag.
70904 [C99-based-standards] (wcstof): Expect function.
70905 [C99-based-standards] (wcstold): Likewise.
70906 [C99-based-standards] (wcstoll): Likewise.
70907 [C99-based-standards] (wcstoull): Likewise.
70908 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
70909 macro-int-constant. Specify type.
70910 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
70911 constraint on value.
70912 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
70913 Specify type.
70914 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
70915 Specify value.
70916 [ISO C standards]: Do not allow headers.
70917 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
70918 wcs[abcdefghijklmnopqrstuvwxyz]*.
70919 [ISO C standards] (*_t): Do not allow.
70920 * conform/data/wctype.h-data [C99-based standards] (iswblank):
70921 Expect function.
70922 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
70923 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
70924 Specify type.
70925 [ISO C standards]: Do not allow headers.
70926 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
70927 is[abcdefghijklmnopqrstuvwxyz]*.
70928 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
70929 to[abcdefghijklmnopqrstuvwxyz]*.
70930 [ISO C standards] (*_t): Do not allow.
70931 * conform/data/stdalign.h-data: New file.
70932 * conform/data/stdbool.h-data: Likewise.
70933 * conform/data/stdnoreturn.h-data: Likewise.
70934
70935 2012-11-07 Roland McGrath <roland@hack.frob.com>
70936
70937 [BZ #14815]
70938 * manual/filesys.texi (Directory Entries): Typo fix.
70939 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
70940
70941 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
70942
70943 * elf/elf.h (EM_AARCH64): New macro.
70944 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
70945 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
70946 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
70947 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
70948 (R_AARCH64_TLSDESC): Likewise.
70949 (NT_ARM_TLS): Likewise.
70950 (NT_ARM_HW_BREAK): Likewise.
70951 (NT_ARM_HW_WATCH): Likewise.
70952
70953 2012-11-07 Joseph Myers <joseph@codesourcery.com>
70954
70955 [BZ #14811]
70956 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
70957 (__ieee754_powl): Saturate nonzero exponents with absolute value
70958 below 0x1p-79 to +/- 0x1p-79.
70959 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
70960 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
70961 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
70962 nonzero exponents with absolute value below 0x1p-32 to +/-
70963 0x1p-32.
70964 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
70965 (__ieee754_powl): Saturate nonzero exponents with absolute value
70966 below 0x1p-79 to +/- 0x1p-79.
70967 * math/libm-test.inc (pow_test): Add more tests.
70968
70969 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70970
70971 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
70972 _dl_s390_cap_flags with kernel. Increase string length.
70973 (_dl_s390_platforms): Add z196 and zEC12.
70974
70975 2012-11-07 Joseph Myers <joseph@codesourcery.com>
70976
70977 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
70978 Change XOPEN21K to XOPEN2K.
70979
70980 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
70981
70982 * string/memmove.c: Use memcpy when possible.
70983
70984 2012-11-06 Andreas Jaeger <aj@suse.de>
70985
70986 * po/eo.po: Update from translation team.
70987
70988 2012-11-06 Joseph Myers <joseph@codesourcery.com>
70989
70990 [BZ #14793]
70991 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
70992 exponent and small x and y exponents, scale x or y up. Increase
70993 by 2 the exponent used in scaling up.
70994 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70995 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70996 * math/libm-test.inc (fma_test): Add more tests.
70997 (fma_test_towardzero): Likewise.
70998 (fma_test_downward): Likewise.
70999 (fma_test_upward): Likewise.
71000
71001 2012-11-05 Joseph Myers <joseph@codesourcery.com>
71002
71003 [BZ #14805]
71004 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
71005 fenv_t *.
71006
71007 [BZ #14801]
71008 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
71009 namespace for names of struct fields.
71010 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
71011 fenv_t fields.
71012 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
71013 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
71014
71015 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
71016
71017 [BZ #3665]
71018 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
71019
71020 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
71021
71022 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
71023 PTR_DEMANGLE.
71024
71025 [BZ #5246]
71026 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
71027 PTR_DEMANGLE.
71028
71029 2012-11-04 Joseph Myers <joseph@codesourcery.com>
71030
71031 [BZ #14797]
71032 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
71033 definitely overflow as x * y not x * y + z.
71034 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71035 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71036 * math/libm-test.inc (fma_test): Add more tests.
71037 (fma_test_towardzero): Likewise.
71038 (fma_test_downward): Likewise.
71039 (fma_test_upward): Likewise.
71040
71041 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
71042
71043 [BZ #157]
71044
71045 * include/stub-tag.h: Remove file.
71046 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
71047 '#include' of it.
71048 * manual/maint.texi (Porting): Don't reference it.
71049 * Makerules ($(objpfx)stubs): Likewise.
71050 * dirent/closedir.c: Don't include <stub-tag.h>.
71051 * dirent/dirfd.c: Likewise.
71052 * dirent/fdopendir.c: Likewise.
71053 * dirent/getdents.c: Likewise.
71054 * dirent/getdents64.c: Likewise.
71055 * dirent/opendir.c: Likewise.
71056 * dirent/readdir.c: Likewise.
71057 * dirent/readdir64.c: Likewise.
71058 * dirent/readdir64_r.c: Likewise.
71059 * dirent/readdir_r.c: Likewise.
71060 * dirent/rewinddir.c: Likewise.
71061 * dirent/seekdir.c: Likewise.
71062 * dirent/telldir.c: Likewise.
71063 * gmon/profil.c: Likewise.
71064 * grp/setgroups.c: Likewise.
71065 * inet/if_index.c: Likewise.
71066 * io/access.c: Likewise.
71067 * io/chdir.c: Likewise.
71068 * io/chmod.c: Likewise.
71069 * io/chown.c: Likewise.
71070 * io/close.c: Likewise.
71071 * io/dup.c: Likewise.
71072 * io/dup2.c: Likewise.
71073 * io/dup3.c: Likewise.
71074 * io/euidaccess.c: Likewise.
71075 * io/faccessat.c: Likewise.
71076 * io/fchdir.c: Likewise.
71077 * io/fchmod.c: Likewise.
71078 * io/fchmodat.c: Likewise.
71079 * io/fchown.c: Likewise.
71080 * io/fchownat.c: Likewise.
71081 * io/fcntl.c: Likewise.
71082 * io/flock.c: Likewise.
71083 * io/fstatfs.c: Likewise.
71084 * io/fstatfs64.c: Likewise.
71085 * io/fstatvfs.c: Likewise.
71086 * io/fstatvfs64.c: Likewise.
71087 * io/futimens.c: Likewise.
71088 * io/fxstat.c: Likewise.
71089 * io/fxstat64.c: Likewise.
71090 * io/fxstatat.c: Likewise.
71091 * io/fxstatat64.c: Likewise.
71092 * io/getcwd.c: Likewise.
71093 * io/isatty.c: Likewise.
71094 * io/lchmod.c: Likewise.
71095 * io/lchown.c: Likewise.
71096 * io/link.c: Likewise.
71097 * io/linkat.c: Likewise.
71098 * io/lseek.c: Likewise.
71099 * io/lseek64.c: Likewise.
71100 * io/lxstat64.c: Likewise.
71101 * io/mkdir.c: Likewise.
71102 * io/mkdirat.c: Likewise.
71103 * io/mkfifo.c: Likewise.
71104 * io/mkfifoat.c: Likewise.
71105 * io/open.c: Likewise.
71106 * io/open64.c: Likewise.
71107 * io/openat.c: Likewise.
71108 * io/openat64.c: Likewise.
71109 * io/pipe.c: Likewise.
71110 * io/pipe2.c: Likewise.
71111 * io/poll.c: Likewise.
71112 * io/posix_fadvise.c: Likewise.
71113 * io/posix_fadvise64.c: Likewise.
71114 * io/posix_fallocate.c: Likewise.
71115 * io/posix_fallocate64.c: Likewise.
71116 * io/read.c: Likewise.
71117 * io/readlink.c: Likewise.
71118 * io/readlinkat.c: Likewise.
71119 * io/rmdir.c: Likewise.
71120 * io/sendfile.c: Likewise.
71121 * io/sendfile64.c: Likewise.
71122 * io/statfs.c: Likewise.
71123 * io/statfs64.c: Likewise.
71124 * io/statvfs.c: Likewise.
71125 * io/statvfs64.c: Likewise.
71126 * io/symlink.c: Likewise.
71127 * io/symlinkat.c: Likewise.
71128 * io/ttyname.c: Likewise.
71129 * io/ttyname_r.c: Likewise.
71130 * io/umask.c: Likewise.
71131 * io/unlink.c: Likewise.
71132 * io/unlinkat.c: Likewise.
71133 * io/utime.c: Likewise.
71134 * io/utimensat.c: Likewise.
71135 * io/write.c: Likewise.
71136 * io/xmknod.c: Likewise.
71137 * io/xmknodat.c: Likewise.
71138 * io/xstat.c: Likewise.
71139 * io/xstat64.c: Likewise.
71140 * login/getpt.c: Likewise.
71141 * login/grantpt.c: Likewise.
71142 * login/unlockpt.c: Likewise.
71143 * math/e_acoshl.c: Likewise.
71144 * math/e_acosl.c: Likewise.
71145 * math/e_asinl.c: Likewise.
71146 * math/e_atan2l.c: Likewise.
71147 * math/e_atanhl.c: Likewise.
71148 * math/e_coshl.c: Likewise.
71149 * math/e_expl.c: Likewise.
71150 * math/e_fmodl.c: Likewise.
71151 * math/e_gammal_r.c: Likewise.
71152 * math/e_hypotl.c: Likewise.
71153 * math/e_j0l.c: Likewise.
71154 * math/e_j1l.c: Likewise.
71155 * math/e_jnl.c: Likewise.
71156 * math/e_lgammal_r.c: Likewise.
71157 * math/e_log10l.c: Likewise.
71158 * math/e_log2l.c: Likewise.
71159 * math/e_logl.c: Likewise.
71160 * math/e_powl.c: Likewise.
71161 * math/e_rem_pio2l.c: Likewise.
71162 * math/e_sinhl.c: Likewise.
71163 * math/e_sqrtl.c: Likewise.
71164 * math/fclrexcpt.c: Likewise.
71165 * math/fedisblxcpt.c: Likewise.
71166 * math/feenablxcpt.c: Likewise.
71167 * math/fegetenv.c: Likewise.
71168 * math/fegetexcept.c: Likewise.
71169 * math/fegetround.c: Likewise.
71170 * math/feholdexcpt.c: Likewise.
71171 * math/fesetenv.c: Likewise.
71172 * math/fesetround.c: Likewise.
71173 * math/feupdateenv.c: Likewise.
71174 * math/fgetexcptflg.c: Likewise.
71175 * math/fraiseexcpt.c: Likewise.
71176 * math/fsetexcptflg.c: Likewise.
71177 * math/ftestexcept.c: Likewise.
71178 * math/k_cosl.c: Likewise.
71179 * math/k_rem_pio2l.c: Likewise.
71180 * math/k_sinl.c: Likewise.
71181 * math/k_tanl.c: Likewise.
71182 * math/s_asinhl.c: Likewise.
71183 * math/s_atanl.c: Likewise.
71184 * math/s_cbrtl.c: Likewise.
71185 * math/s_erfl.c: Likewise.
71186 * math/s_expm1l.c: Likewise.
71187 * math/s_log1pl.c: Likewise.
71188 * math/s_tanhl.c: Likewise.
71189 * misc/acct.c: Likewise.
71190 * misc/brk.c: Likewise.
71191 * misc/chflags.c: Likewise.
71192 * misc/chroot.c: Likewise.
71193 * misc/fchflags.c: Likewise.
71194 * misc/fgetxattr.c: Likewise.
71195 * misc/flistxattr.c: Likewise.
71196 * misc/fremovexattr.c: Likewise.
71197 * misc/fsetxattr.c: Likewise.
71198 * misc/fsync.c: Likewise.
71199 * misc/ftruncate.c: Likewise.
71200 * misc/futimes.c: Likewise.
71201 * misc/futimesat.c: Likewise.
71202 * misc/getdomain.c: Likewise.
71203 * misc/getdtsz.c: Likewise.
71204 * misc/gethostid.c: Likewise.
71205 * misc/gethostname.c: Likewise.
71206 * misc/getloadavg.c: Likewise.
71207 * misc/getpagesize.c: Likewise.
71208 * misc/getsysstats.c: Likewise.
71209 * misc/getxattr.c: Likewise.
71210 * misc/gtty.c: Likewise.
71211 * misc/ioctl.c: Likewise.
71212 * misc/lgetxattr.c: Likewise.
71213 * misc/listxattr.c: Likewise.
71214 * misc/llistxattr.c: Likewise.
71215 * misc/lremovexattr.c: Likewise.
71216 * misc/lsetxattr.c: Likewise.
71217 * misc/lutimes.c: Likewise.
71218 * misc/madvise.c: Likewise.
71219 * misc/mincore.c: Likewise.
71220 * misc/mlock.c: Likewise.
71221 * misc/mlockall.c: Likewise.
71222 * misc/mmap.c: Likewise.
71223 * misc/mprotect.c: Likewise.
71224 * misc/msync.c: Likewise.
71225 * misc/munlock.c: Likewise.
71226 * misc/munlockall.c: Likewise.
71227 * misc/munmap.c: Likewise.
71228 * misc/preadv.c: Likewise.
71229 * misc/preadv64.c: Likewise.
71230 * misc/ptrace.c: Likewise.
71231 * misc/pwritev.c: Likewise.
71232 * misc/pwritev64.c: Likewise.
71233 * misc/readv.c: Likewise.
71234 * misc/reboot.c: Likewise.
71235 * misc/remap_file_pages.c: Likewise.
71236 * misc/removexattr.c: Likewise.
71237 * misc/revoke.c: Likewise.
71238 * misc/select.c: Likewise.
71239 * misc/setdomain.c: Likewise.
71240 * misc/setegid.c: Likewise.
71241 * misc/seteuid.c: Likewise.
71242 * misc/sethostid.c: Likewise.
71243 * misc/sethostname.c: Likewise.
71244 * misc/setregid.c: Likewise.
71245 * misc/setreuid.c: Likewise.
71246 * misc/setxattr.c: Likewise.
71247 * misc/sstk.c: Likewise.
71248 * misc/stty.c: Likewise.
71249 * misc/swapoff.c: Likewise.
71250 * misc/swapon.c: Likewise.
71251 * misc/sync.c: Likewise.
71252 * misc/syncfs.c: Likewise.
71253 * misc/syscall.c: Likewise.
71254 * misc/truncate.c: Likewise.
71255 * misc/ualarm.c: Likewise.
71256 * misc/usleep.c: Likewise.
71257 * misc/ustat.c: Likewise.
71258 * misc/utimes.c: Likewise.
71259 * misc/vhangup.c: Likewise.
71260 * misc/writev.c: Likewise.
71261 * posix/_exit.c: Likewise.
71262 * posix/alarm.c: Likewise.
71263 * posix/execve.c: Likewise.
71264 * posix/fexecve.c: Likewise.
71265 * posix/fork.c: Likewise.
71266 * posix/fpathconf.c: Likewise.
71267 * posix/getaddrinfo.c: Likewise.
71268 * posix/getegid.c: Likewise.
71269 * posix/geteuid.c: Likewise.
71270 * posix/getgid.c: Likewise.
71271 * posix/getgroups.c: Likewise.
71272 * posix/getlogin.c: Likewise.
71273 * posix/getlogin_r.c: Likewise.
71274 * posix/getpgid.c: Likewise.
71275 * posix/getpid.c: Likewise.
71276 * posix/getppid.c: Likewise.
71277 * posix/getresgid.c: Likewise.
71278 * posix/getresuid.c: Likewise.
71279 * posix/getsid.c: Likewise.
71280 * posix/getuid.c: Likewise.
71281 * posix/glob64.c: Likewise.
71282 * posix/nanosleep.c: Likewise.
71283 * posix/pathconf.c: Likewise.
71284 * posix/pause.c: Likewise.
71285 * posix/posix_madvise.c: Likewise.
71286 * posix/pread.c: Likewise.
71287 * posix/pread64.c: Likewise.
71288 * posix/pwrite.c: Likewise.
71289 * posix/pwrite64.c: Likewise.
71290 * posix/sched_getaffinity.c: Likewise.
71291 * posix/sched_getp.c: Likewise.
71292 * posix/sched_gets.c: Likewise.
71293 * posix/sched_primax.c: Likewise.
71294 * posix/sched_primin.c: Likewise.
71295 * posix/sched_rr_gi.c: Likewise.
71296 * posix/sched_setaffinity.c: Likewise.
71297 * posix/sched_setp.c: Likewise.
71298 * posix/sched_sets.c: Likewise.
71299 * posix/sched_yield.c: Likewise.
71300 * posix/setgid.c: Likewise.
71301 * posix/setlogin.c: Likewise.
71302 * posix/setpgid.c: Likewise.
71303 * posix/setresgid.c: Likewise.
71304 * posix/setresuid.c: Likewise.
71305 * posix/setsid.c: Likewise.
71306 * posix/setuid.c: Likewise.
71307 * posix/sleep.c: Likewise.
71308 * posix/spawni.c: Likewise.
71309 * posix/sysconf.c: Likewise.
71310 * posix/times.c: Likewise.
71311 * posix/wait.c: Likewise.
71312 * posix/wait3.c: Likewise.
71313 * posix/wait4.c: Likewise.
71314 * posix/waitpid.c: Likewise.
71315 * resolv/gai_sigqueue.c: Likewise.
71316 * resource/getpriority.c: Likewise.
71317 * resource/getrlimit.c: Likewise.
71318 * resource/getrusage.c: Likewise.
71319 * resource/nice.c: Likewise.
71320 * resource/setpriority.c: Likewise.
71321 * resource/setrlimit.c: Likewise.
71322 * resource/ulimit.c: Likewise.
71323 * rt/aio_cancel.c: Likewise.
71324 * rt/aio_fsync.c: Likewise.
71325 * rt/aio_read.c: Likewise.
71326 * rt/aio_sigqueue.c: Likewise.
71327 * rt/aio_suspend.c: Likewise.
71328 * rt/aio_write.c: Likewise.
71329 * rt/clock_getres.c: Likewise.
71330 * rt/clock_gettime.c: Likewise.
71331 * rt/clock_nanosleep.c: Likewise.
71332 * rt/clock_settime.c: Likewise.
71333 * rt/lio_listio.c: Likewise.
71334 * rt/mq_close.c: Likewise.
71335 * rt/mq_getattr.c: Likewise.
71336 * rt/mq_notify.c: Likewise.
71337 * rt/mq_open.c: Likewise.
71338 * rt/mq_receive.c: Likewise.
71339 * rt/mq_send.c: Likewise.
71340 * rt/mq_setattr.c: Likewise.
71341 * rt/mq_timedreceive.c: Likewise.
71342 * rt/mq_timedsend.c: Likewise.
71343 * rt/mq_unlink.c: Likewise.
71344 * rt/shm_open.c: Likewise.
71345 * rt/shm_unlink.c: Likewise.
71346 * rt/timer_create.c: Likewise.
71347 * rt/timer_delete.c: Likewise.
71348 * rt/timer_getoverr.c: Likewise.
71349 * rt/timer_gettime.c: Likewise.
71350 * rt/timer_settime.c: Likewise.
71351 * setjmp/__longjmp.c: Likewise.
71352 * setjmp/setjmp.c: Likewise.
71353 * signal/kill.c: Likewise.
71354 * signal/killpg.c: Likewise.
71355 * signal/raise.c: Likewise.
71356 * signal/sigaction.c: Likewise.
71357 * signal/sigaltstack.c: Likewise.
71358 * signal/sigblock.c: Likewise.
71359 * signal/sigignore.c: Likewise.
71360 * signal/sigintr.c: Likewise.
71361 * signal/signal.c: Likewise.
71362 * signal/sigpause.c: Likewise.
71363 * signal/sigpending.c: Likewise.
71364 * signal/sigqueue.c: Likewise.
71365 * signal/sigreturn.c: Likewise.
71366 * signal/sigset.c: Likewise.
71367 * signal/sigsetmask.c: Likewise.
71368 * signal/sigstack.c: Likewise.
71369 * signal/sigsuspend.c: Likewise.
71370 * signal/sigtimedwait.c: Likewise.
71371 * signal/sigvec.c: Likewise.
71372 * signal/sigwait.c: Likewise.
71373 * signal/sigwaitinfo.c: Likewise.
71374 * signal/sysv_signal.c: Likewise.
71375 * socket/accept.c: Likewise.
71376 * socket/accept4.c: Likewise.
71377 * socket/bind.c: Likewise.
71378 * socket/connect.c: Likewise.
71379 * socket/getpeername.c: Likewise.
71380 * socket/getsockname.c: Likewise.
71381 * socket/getsockopt.c: Likewise.
71382 * socket/isfdtype.c: Likewise.
71383 * socket/listen.c: Likewise.
71384 * socket/recv.c: Likewise.
71385 * socket/recvfrom.c: Likewise.
71386 * socket/recvmsg.c: Likewise.
71387 * socket/send.c: Likewise.
71388 * socket/sendmsg.c: Likewise.
71389 * socket/sendto.c: Likewise.
71390 * socket/setsockopt.c: Likewise.
71391 * socket/shutdown.c: Likewise.
71392 * socket/sockatmark.c: Likewise.
71393 * socket/socket.c: Likewise.
71394 * socket/socketpair.c: Likewise.
71395 * stdio-common/ctermid.c: Likewise.
71396 * stdio-common/cuserid.c: Likewise.
71397 * stdio-common/remove.c: Likewise.
71398 * stdio-common/rename.c: Likewise.
71399 * stdio-common/renameat.c: Likewise.
71400 * stdio-common/tempname.c: Likewise.
71401 * stdlib/getcontext.c: Likewise.
71402 * stdlib/makecontext.c: Likewise.
71403 * stdlib/setcontext.c: Likewise.
71404 * stdlib/swapcontext.c: Likewise.
71405 * stdlib/system.c: Likewise.
71406 * streams/fattach.c: Likewise.
71407 * streams/fdetach.c: Likewise.
71408 * streams/getmsg.c: Likewise.
71409 * streams/getpmsg.c: Likewise.
71410 * streams/putmsg.c: Likewise.
71411 * streams/putpmsg.c: Likewise.
71412 * sysdeps/unix/bsd/getpt.c: Likewise.
71413 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
71414 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
71415 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
71416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
71417 Likewise.
71418 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
71419 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
71420 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
71421 * sysvipc/msgctl.c: Likewise.
71422 * sysvipc/msgget.c: Likewise.
71423 * sysvipc/msgrcv.c: Likewise.
71424 * sysvipc/msgsnd.c: Likewise.
71425 * sysvipc/semctl.c: Likewise.
71426 * sysvipc/semget.c: Likewise.
71427 * sysvipc/semop.c: Likewise.
71428 * sysvipc/semtimedop.c: Likewise.
71429 * sysvipc/shmat.c: Likewise.
71430 * sysvipc/shmctl.c: Likewise.
71431 * sysvipc/shmdt.c: Likewise.
71432 * sysvipc/shmget.c: Likewise.
71433 * termios/tcdrain.c: Likewise.
71434 * termios/tcflow.c: Likewise.
71435 * termios/tcflush.c: Likewise.
71436 * termios/tcgetattr.c: Likewise.
71437 * termios/tcgetpgrp.c: Likewise.
71438 * termios/tcsendbrk.c: Likewise.
71439 * termios/tcsetattr.c: Likewise.
71440 * termios/tcsetpgrp.c: Likewise.
71441 * time/adjtime.c: Likewise.
71442 * time/clock.c: Likewise.
71443 * time/getitimer.c: Likewise.
71444 * time/gettimeofday.c: Likewise.
71445 * time/setitimer.c: Likewise.
71446 * time/settimeofday.c: Likewise.
71447 * time/stime.c: Likewise.
71448 * time/time.c: Likewise.
71449
71450 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
71451
71452 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
71453 /usr/old/bin.
71454
71455 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
71456 instead of spaces.
71457 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
71458
71459 2012-11-03 Joseph Myers <joseph@codesourcery.com>
71460
71461 [BZ #14796]
71462 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
71463 FE_TONEAREST before applying Dekker multiplication and Knuth
71464 addition. Clear inexact exceptions and check for exact zero
71465 results afterwards.
71466 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71467 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
71468 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71469 * math/libm-test.inc (fma_test): Add more tests.
71470 (fma_test_towardzero): Likewise.
71471 (fma_test_downward): Likewise.
71472 (fma_test_upward): Likewise.
71473 * sysdeps/generic/math_private.h (default_libc_fesetround): New
71474 function.
71475 (libc_fesetround): New macro.
71476 (libc_fesetroundf): Likewise.
71477 (libc_fesetroundl): Likewise.
71478 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
71479 function.
71480 (libc_fesetround_387): Likewise.
71481 (libc_fesetroundf): New macro.
71482 (libc_fesetround): Likewise.
71483 (libc_fesetroundl): Likewise.
71484 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
71485 function.
71486 (libc_fesetroundf): New macro.
71487 (libc_fesetround): Likewise.
71488 (libc_fesetroundl): Likewise.
71489 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
71490 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
71491 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
71492 libm_hidden_ver.
71493 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
71494 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
71495 libm_hidden_def.
71496 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
71497 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
71498 libm_hidden_ver.
71499 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
71500 libm_hidden_def.
71501
71502 [BZ #3439]
71503 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
71504 integer constant usable in #if and use that to give value to enum
71505 constant.
71506 (FE_DIVBYZERO): Likewise.
71507 (FE_UNDERFLOW): Likewise.
71508 (FE_OVERFLOW): Likewise.
71509 (FE_INVALID): Likewise.
71510 (FE_INVALID_SNAN): Likewise.
71511 (FE_INVALID_ISI): Likewise.
71512 (FE_INVALID_IDI): Likewise.
71513 (FE_INVALID_ZDZ): Likewise.
71514 (FE_INVALID_IMZ): Likewise.
71515 (FE_INVALID_COMPARE): Likewise.
71516 (FE_INVALID_SOFTWARE): Likewise.
71517 (FE_INVALID_SQRT): Likewise.
71518 (FE_INVALID_INTEGER_CONVERSION): Likewise.
71519 (FE_TONEAREST): Likewise.
71520 (FE_TOWARDZERO): Likewise.
71521 (FE_UPWARD): Likewise.
71522 (FE_DOWNWARD): Likewise.
71523 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
71524 (FE_DIVBYZERO): Likewise.
71525 (FE_OVERFLOW): Likewise.
71526 (FE_UNDERFLOW): Likewise.
71527 (FE_INEXACT): Likewise.
71528 (FE_TONEAREST): Likewise.
71529 (FE_DOWNWARD): Likewise.
71530 (FE_UPWARD): Likewise.
71531 (FE_TOWARDZERO): Likewise.
71532 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
71533 (FE_UNDERFLOW): Likewise.
71534 (FE_OVERFLOW): Likewise.
71535 (FE_DIVBYZERO): Likewise.
71536 (FE_INVALID): Likewise.
71537 (FE_TONEAREST): Likewise.
71538 (FE_TOWARDZERO): Likewise.
71539 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
71540 (FE_OVERFLOW): Likewise.
71541 (FE_UNDERFLOW): Likewise.
71542 (FE_DIVBYZERO): Likewise.
71543 (FE_INEXACT): Likewise.
71544 (FE_TONEAREST): Likewise.
71545 (FE_TOWARDZERO): Likewise.
71546 (FE_UPWARD): Likewise.
71547 (FE_DOWNWARD): Likewise.
71548 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
71549 (FE_DIVBYZERO): Likewise.
71550 (FE_OVERFLOW): Likewise.
71551 (FE_UNDERFLOW): Likewise.
71552 (FE_INEXACT): Likewise.
71553 (FE_TONEAREST): Likewise.
71554 (FE_DOWNWARD): Likewise.
71555 (FE_UPWARD): Likewise.
71556 (FE_TOWARDZERO): Likewise.
71557
71558 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
71559
71560 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
71561
71562 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
71563
71564 * scripts/cross-test-ssh.sh (command): Use newlines to separate
71565 commands. Quote $PWD.
71566 (blacklist_exports): Don't use remove_newlines. Replace "declare
71567 -x" by "export".
71568 (remove_newlines): Remove.
71569
71570 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
71571
71572 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
71573 * stdlib/stdlib.h (atof): Moved to ...
71574 * include/bits/stdlib-float.h: Here. New file.
71575 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
71576 * stdlib/bits/stdlib-float.h: New file.
71577 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
71578 -mno-sse -mno-mmx.
71579 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
71580 <xmmintrin.h>.
71581
71582 2012-11-02 Joseph Myers <joseph@codesourcery.com>
71583
71584 * conform/conformtest.pl (@headers): Add fenv.h.
71585 * conform/data/fenv.h-data: New file.
71586 * include/fenv.h [_ISOMAC]: Disable all contents of file except
71587 include of <math/fenv.h>.
71588
71589 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
71590 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
71591 && !UNIX98]. Enables tests for XOPEN2K8.
71592 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
71593 POSIX2008]: Likewise.
71594
71595 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
71596 (struct rusage): Do not expect type or its members.
71597
71598 [BZ #3439]
71599 * math/math.h (FP_NAN): Define macro to integer constant usable in
71600 #if and use that to give value to enum constant.
71601 (FP_INFINITE): Likewise.
71602 (FP_ZERO): Likewise.
71603 (FP_SUBNORMAL): Likewise.
71604 (FP_NORMAL): Likewise.
71605
71606 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
71607
71608 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
71609 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
71610 arguments.
71611
71612 2012-11-02 Roland McGrath <roland@hack.frob.com>
71613
71614 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
71615 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
71616 autoconf-time if not.
71617 * configure.in: Remove AC_PREREQ.
71618
71619 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
71620
71621 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
71622 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
71623 of the internal implementation.
71624
71625 2012-11-02 Joseph Myers <joseph@codesourcery.com>
71626
71627 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
71628 except include of <misc/sys/syslog.h>.
71629
71630 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
71631
71632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
71633 function returns with a NULL context exit with zero.
71634
71635 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
71636
71637 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
71638
71639 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
71640
71641 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
71642 (run_program_cmd): This.
71643 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
71644 (tst_langinfo): New variable. Use it.
71645
71646 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
71647
71648 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
71649 floating point opcodes.
71650
71651 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
71652
71653 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
71654 variable.
71655
71656 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
71657
71658 * sysdeps/mach/hurd/powerpc: Remove directory.
71659 * sysdeps/mach/powerpc: Likewise.
71660
71661 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
71662
71663 * scripts/check-local-headers.sh: Ignore c++ headers.
71664
71665 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
71666
71667 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
71668 __libc_cleanup_region_start argument.
71669
71670 2012-11-01 Joseph Myers <joseph@codesourcery.com>
71671
71672 [BZ #14784]
71673 [BZ #14785]
71674 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
71675 x * y using scaling, not as x * y + z.
71676 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71677 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71678 * math/libm-test.inc (fma_test): Add more tests.
71679 (fma_test_towardzero): Likewise.
71680 (fma_test_downward): Likewise.
71681 (fma_test_upward): Likewise.
71682
71683 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
71684
71685 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
71686
71687 2012-10-31 Joseph Myers <joseph@codesourcery.com>
71688
71689 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
71690 New variable.
71691
71692 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
71693
71694 * rt/tst-shm.c (worker): Correct checking for mmap failure.
71695
71696 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
71697
71698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71699 Fix sort order.
71700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71701 Likewise.
71702
71703 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
71704
71705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71706 Fix the order of the list for glibc 2.17.
71707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71708 Likewise.
71709
71710 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
71711
71712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71713
71714 2012-10-31 Joseph Myers <joseph@codesourcery.com>
71715
71716 [BZ #14610]
71717 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
71718 for low part of x being zero before using __atanl (y).
71719 * math/libm-test.inc (atan2_test): Add another test.
71720
71721 * manual/install.texi (Configuring and compiling): Document
71722 general use of test-wrapper and test-wrapper-env.
71723 * INSTALL: Regenerated.
71724
71725 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
71726 (__fma): Do not extract and scale down low bits on after-rounding
71727 systems when result rounded to normal precision would have normal
71728 exponent.
71729 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
71730 (__fmal): Do not extract and scale down low bits on after-rounding
71731 systems when result rounded to normal precision would have normal
71732 exponent.
71733 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
71734 (__fmal): Do not extract and scale down low bits on after-rounding
71735 systems when result rounded to normal precision would have normal
71736 exponent.
71737 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
71738 macro.
71739 (fma_test): Add more tests.
71740 (fma_test_towardzero): Likewise.
71741 (fma_test_downward): Likewise.
71742 (fma_test_upward): Likewise.
71743
71744 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
71745
71746 * sysdeps/i386/tininess.h: Renamed to ...
71747 * sysdeps/x86/tininess.h: This.
71748 * sysdeps/x86_64/tininess.h: Removed.
71749
71750 2012-10-30 Joseph Myers <joseph@codesourcery.com>
71751
71752 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
71753 input. Use $(build-program-cmd).
71754 ($(objpfx)tst-array1-static.out): Likewise.
71755 ($(objpfx)tst-array2.out): Likewise.
71756 ($(objpfx)tst-array3.out): Likewise.
71757 ($(objpfx)tst-array4.out): Likewise.
71758 ($(objpfx)tst-array5.out): Likewise.
71759 ($(objpfx)tst-array5-static.out): Likewise.
71760
71761 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
71762
71763 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
71764 if defined.
71765
71766 * nss/nsswitch.h (nss_interface_function): Provide new
71767 macro for use with NSS functions.
71768 * grp/initgroups.c: Use new macro.
71769 * nss/getXXbyYY.c: Likewise.
71770 * nss/getXXbyYY_r.c: Likewise.
71771 * nss/getXXent.c: Likewise.
71772 * nss/getXXent_r.c: Likewise.
71773 * sysdeps/posix/getaddrinfo.c: Likewise.
71774
71775 2012-10-30 Andreas Jaeger <aj@suse.de>
71776
71777 * po/ru.po: Update Russion translation from translation project.
71778
71779 2012-10-30 Joseph Myers <joseph@codesourcery.com>
71780
71781 [BZ #14152]
71782 [BZ #14783]
71783 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
71784 result and shift together with sticky bit instead of replicating
71785 round-to-nearest rounding.
71786 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71787 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71788 * math/libm-test.inc (fma_test): Add more tests. Do not permit
71789 missing underflow exceptions.
71790 (fma_test_towardzero): Add more tests.
71791 (fma_test_downward): Likewise.
71792 (fma_test_upward): Likewise.
71793
71794 [BZ #14047]
71795 * sysdeps/generic/tininess.h: New file.
71796 * sysdeps/i386/tininess.h: Likewise.
71797 * sysdeps/sh/tininess.h: Likewise.
71798 * sysdeps/x86_64/tininess.h: Likewise.
71799 * stdlib/tst-strtod-underflow.c: Likewise.
71800 * stdlib/tst-tininess.c: Likewise.
71801 * stdlib/strtod_l.c: Include <tininess.h>.
71802 (round_and_return): Do not set errno for exact underflow cases.
71803 Force an underflow exception when setting errno for underflow.
71804 Determine underflow based on rounding to normal precision if
71805 TININESS_AFTER_ROUNDING.
71806 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
71807 ERANGE for exact underflow cases.
71808 * stdlib/Makefile (tests): Add tst-tininess and
71809 tst-strtod-underflow.
71810 ($(objpfx)tst-tininess): Use $(link-libm).
71811 ($(objpfx)tst-strtod-underflow): Likewise.
71812
71813 2012-10-30 Andreas Jaeger <aj@suse.de>
71814
71815 [BZ #14767]
71816 * elf/Makefile (tests): Remove conditional for have-initfini-array
71817 since this is now always required and the variable does not exist
71818 anymore.
71819 (tests-static): Likewise.
71820 (modules-names): Likewise.
71821
71822 * po/eo.po: Add Esperanto translation from translation project.
71823
71824 * elf/tst-array1.c (fini_array): Make writeable so that it can be
71825 merged with constructor/destructor.
71826 (init_array): Likewise.
71827 * elf/tst-array2dep.c (fini_array): Likewise.
71828 (init_array): Likewise.
71829
71830 2012-10-29 Mike Frysinger <vapier@gentoo.org>
71831
71832 * manual/message.texi: Delete @cartouche tags.
71833
71834 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
71835
71836 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
71837 EOPNOTSUPP.
71838 * sysdeps/mach/hurd/fsync.c: Likewise.
71839
71840 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
71841 [_POSIX_REALTIME_SIGNALS]: Change condition to
71842 [_POSIX_REALTIME_SIGNALS > 0].
71843
71844 2012-10-27 Andreas Jaeger <aj@suse.de>
71845
71846 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
71847 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
71848 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
71849 [__WORDSIZE != 64]: Likewise.
71850
71851 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
71852
71853 * iconvdata/tst-table.sh: Remove ${SHELL}.
71854 * iconvdata/tst-tables.sh: Likewise.
71855
71856 2012-10-25 David S. Miller <davem@davemloft.net>
71857
71858 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71859 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
71860 of strtoull.
71861
71862 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
71863 ifunc-impl-list.c
71864 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71865 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
71866 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
71867 file.
71868
71869 2012-10-25 Roland McGrath <roland@hack.frob.com>
71870
71871 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71872 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
71873 __getdirentries.
71874
71875 2012-10-25 Joseph Myers <joseph@codesourcery.com>
71876 Jim Blandy <jimb@codesourcery.com>
71877
71878 * scripts/cross-test-ssh.sh: New file.
71879 * manual/install.texi (Configuring and compiling): Document use of
71880 cross-test-ssh.sh.
71881 * INSTALL: Regenerated.
71882
71883 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
71884
71885 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
71886 EOPNOTSUPP.
71887
71888 2012-10-25 Joseph Myers <joseph@codesourcery.com>
71889
71890 * Makeconfig (run-program-prefix): Fix comment.
71891
71892 2012-10-24 Joseph Myers <joseph@codesourcery.com>
71893 Jim Blandy <jimb@codesourcery.com>
71894
71895 * Makeconfig (test-wrapper): New variable,
71896 (test-wrapper-env): Likewise.
71897 [$(cross-compiling) = yes && $(test-wrapper) != ""]
71898 (run-built-tests): Define to yes.
71899 (run-program-prefix): Use $(test-wrapper).
71900 (built-program-cmd): Likewise.
71901 * Rules (make-test-out): Use $(test-wrapper-env) and
71902 $(host-built-program-cmd).
71903 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
71904 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
71905 tst-pathopt.sh.
71906 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
71907 $(test-wrapper-env) to tst-rtld-load-self.sh.
71908 ($(objpfx)order2.out): Use $(test-wrapper).
71909 ($(objpfx)tst-initorder.out): Likewise.
71910 ($(objpfx)tst-initorder2.out): Likewise.
71911 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
71912 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
71913 (test_wrapper_env): New variable. Use it to run ld.so.
71914 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
71915 Use it to run ld.so.
71916 (test_wrapper_env): Likewise.
71917 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
71918 $(test-wrapper) to run-iconv-test.sh.
71919 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
71920 (ICONV): Use $test_wrapper.
71921 * posix/Makefile ($(objpfx)globtest.out): Pass
71922 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
71923 globtest.sh, not $(run-program-prefix).
71924 * posix/globtest.sh (run_via_rtld_prefix): New variable.
71925 (test_wrapper): Likewise.
71926 (test_wrapper_env): Likewise. Use it to run globtest with HOME
71927 set together with run_via_rtld_prefix.
71928 (run_program_prefix): Define in terms of test_wrapper and
71929 run_via_rtld_prefix.
71930
71931 2012-10-24 Roland McGrath <roland@hack.frob.com>
71932
71933 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
71934 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
71935 Targets removed.
71936
71937 [BZ #14743]
71938 * include/time.h: Remove librt_hidden_proto (clock_gettime).
71939 Declare __clock_getres, __clock_gettime, __clock_settime,
71940 __clock_nanosleep, and __clock_getcpuclockid.
71941 * rt/clock_gettime.c: Define __clock_gettime as an alias.
71942 Remove librt_hidden_def (clock_gettime).
71943 * sysdeps/unix/clock_gettime.c: Likewise.
71944 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
71945 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
71946 * rt/clock_getres.c: Define __clock_getres as an alias.
71947 * sysdeps/posix/clock_getres.c: Likewise.
71948 * rt/clock_settime.c: Define __clock_settime as an alias.
71949 * sysdeps/unix/clock_settime.c: Likewise.
71950 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
71951 * sysdeps/unix/clock_nanosleep.c: Likewise.
71952 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
71953 * rt/clock-compat.c: New file.
71954 * rt/Makefile (librt-routines): Add clock-compat and move
71955 $(clock-routines) to ...
71956 (routines): ... here, new variable.
71957 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
71958 Don't add get_clockfreq here.
71959 * rt/Versions (libc: GLIBC_2.17): New version set.
71960 Add clock_* symbols here.
71961 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
71962 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
71963 (GLIBC_2.17): Add clock_* symbols.
71964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
71965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
71966 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
71967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71968 Likewise.
71969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71970 Likewise.
71971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
71972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
71973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
71974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
71975 * NEWS: Mention the move.
71976
71977 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
71978 Use __open, __read, __close rather than their public counterparts.
71979 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71980 (__get_clockfreq_via_cpuinfo): Likewise.
71981 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
71982 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
71983
71984 * config.h.in (HAVE_IFUNC): New #undef.
71985 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
71986 was successful.
71987 * configure: Regenerated.
71988
71989 2012-10-24 Mike Frysinger <vapier@gentoo.org>
71990
71991 * configure.in: Move READELF check to start of file.
71992 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
71993 libc_cv_asm_gnu_indirect_function in the process.
71994 * configure: Regenerated.
71995
71996 2012-10-24 Mike Frysinger <vapier@gentoo.org>
71997
71998 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
71999 send the output to /dev/null.
72000 (libc_cv_cc_with_libunwind): Likewise.
72001 (libc_cv_as_noexecstack): Likewise.
72002 * configure: Regenerate.
72003
72004 2012-10-24 Joseph Myers <joseph@codesourcery.com>
72005
72006 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
72007
72008 * posix/globtest.sh (TMPDIR): Do not set.
72009 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
72010 (testout): Likewise.
72011
72012 2012-10-24 Andreas Jaeger <aj@suse.de>
72013
72014 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
72015 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
72016 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
72017 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
72018 posix_fadvise64, posix_fallocate64.
72019
72020 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
72021 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
72022 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
72023 Likewise.
72024 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
72025 Likewise.
72026 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
72027
72028 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
72029 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
72030 <bits/fcntl-linux.h>.
72031 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
72032
72033 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
72034 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
72035 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
72036 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
72037 [__WORDSIZE != 64]: Likewise.
72038
72039 2012-10-23 Joseph Myers <joseph@codesourcery.com>
72040
72041 * Makeconfig (run-built-tests): New variable.
72042 * Rules [$(cross-compiling) = yes]: Change condition to
72043 [$(run-built-tests) = no].
72044 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
72045 to [$(run-built-tests) = yes].
72046 * elf/Makefile [$(cross-compiling) = no]: Likewise.
72047 * grp/Makefile [$(cross-compiling) = no]: Likewise.
72048 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
72049 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
72050 * intl/Makefile [$(cross-compiling) = no]: Likewise.
72051 * io/Makefile [$(cross-compiling) = no]: Likewise.
72052 * libio/Makefile [$(cross-compiling) = no]: Likewise.
72053 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
72054 * misc/Makefile [$(cross-compiling) = no]: Likewise.
72055 * posix/Makefile [$(cross-compiling) = no]: Likewise.
72056 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
72057 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
72058 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
72059 * string/Makefile [$(cross-compiling) = no]: Likewise.
72060
72061 * posix/Makefile ($(objpfx)globtest.out): Pass
72062 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
72063 $(rtld-installed-name).
72064 * posix/globtest.sh (elf_objpfx): Remove variable.
72065 (rtld_installed_name): Likewise.
72066 (library_path): Likewise.
72067 (run_program_prefix): New variable. Use for running globtest
72068 binary.
72069
72070 2012-10-23 Jim Blandy <jimb@codesourcery.com>
72071 Joseph Myers <joseph@codesourcery.com>
72072
72073 * Makeconfig (host-built-program-cmd): New variable.
72074 * elf/Makefile (tst-stackguard1-ARGS): Use
72075 $(host-built-program-cmd).
72076 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
72077 (tst-spawn-ARGS): Likewise.
72078 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
72079
72080 2012-10-23 Joseph Myers <joseph@codesourcery.com>
72081 Jim Blandy <jimb@codesourcery.com>
72082
72083 * Makeconfig (run-via-rtld-prefix): New variable.
72084 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
72085 (built-program-cmd): Likewise.
72086
72087 2012-10-22 Andreas Jaeger <aj@suse.de>
72088
72089 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
72090 __O_RSYNC if it exists, otherwise to O_SYNC.
72091
72092 2012-10-22 Jim Blandy <jimb@codesourcery.com>
72093 Joseph Myers <joseph@codesourcery.com>
72094
72095 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
72096 /dev/null.
72097 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
72098 from /dev/null
72099 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
72100 /dev/null.
72101
72102 2012-10-22 Andreas Jaeger <aj@suse.de>
72103
72104 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
72105 Define always.
72106 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
72107
72108 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72109 bits/fcntl-linux.h.
72110
72111 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
72112 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
72113
72114 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
72115 to __O_LARGEFILE.
72116 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
72117 to __O_LARGEFILE.
72118
72119 2012-10-21 Jim Blandy <jimb@codesourcery.com>
72120 Joseph Myers <joseph@codesourcery.com>
72121
72122 * config.make.in (NM): New variable.
72123
72124 2012-10-21 Andreas Jaeger <aj@suse.de>
72125
72126 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
72127 definitions and declarations that are provided by
72128 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
72129
72130 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
72131
72132 [BZ #14683]
72133 * elf/Makefile (tests-static): Add tst-leaks1-static.
72134 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
72135 ($(objpfx)tst-leaks1-static): New rule.
72136 ($(objpfx)tst-leaks1-static-mem): Likewise.
72137 (tst-leaks1-static-ENV): New macro.
72138 * elf/dl-open.c (dl_open_worker): Check the main application
72139 only if SHARED is defined.
72140 * elf/tst-leaks1-static.c: New file.
72141
72142 2012-10-20 Andreas Jaeger <aj@suse.de>
72143
72144 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
72145 generic values for Linux.
72146 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
72147 and declarations that are provided by <bits/fcntl-linux.h> and
72148 include <bits/fcntl-linux.h>.
72149 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72150 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72151
72152 2012-10-20 Roland McGrath <roland@hack.frob.com>
72153
72154 * io/fcntl.h: Move include of <bits/types.h> to the top and
72155 include it unconditionally.
72156
72157 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
72158
72159 * wcsmbs/Makefile (tests-ifunc): New variable.
72160 (tests): Add $(tests-ifunc).
72161 * wcsmbs/test-wcschr-ifunc.c: New file.
72162 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
72163 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
72164 * wcsmbs/test-wcslen-ifunc.c: Likewise.
72165 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
72166 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
72167
72168 * string/Makefile (tests-ifunc): New variable.
72169 (tests): Add $(tests-ifunc).
72170 * string/test-memccpy.c (TEST_NAME): New macro.
72171 * string/test-memchr.c (TEST_NAME): Likewise.
72172 * string/test-memcmp.c (TEST_NAME): Likewise.
72173 * string/test-memcpy.c (TEST_NAME): Likewise.
72174 * string/test-memmem.c (TEST_NAME): Likewise.
72175 * string/test-memmove.c (TEST_NAME): Likewise.
72176 * string/test-memset.c (TEST_NAME): Likewise.
72177 * string/test-rawmemchr.c (TEST_NAME): Likewise.
72178 * string/test-stpcpy.c (TEST_NAME): Likewise.
72179 * string/test-stpncpy.c (TEST_NAME): Likewise.
72180 * string/test-strcasecmp.c (TEST_NAME): Likewise.
72181 * string/test-strcasestr.c (TEST_NAME): Likewise.
72182 * string/test-strcat.c (TEST_NAME): Likewise.
72183 * string/test-strchr.c (TEST_NAME): Likewise.
72184 * string/test-strcmp.c(TEST_NAME): Likewise.
72185 * string/test-strcpy.c (TEST_NAME): Likewise.
72186 * string/test-strcspn.c (TEST_NAME): Likewise.
72187 * string/test-strlen.c (TEST_NAME): Likewise.
72188 * string/test-strncasecmp.c (TEST_NAME): Likewise.
72189 * string/test-strncmp.c (TEST_NAME): Likewise.
72190 * string/test-strncpy.c (TEST_NAME): Likewise.
72191 * string/test-strnlen.c (TEST_NAME): Likewise.
72192 * string/test-strpbrk.c (TEST_NAME): Likewise.
72193 * string/test-strrchr.c (TEST_NAME): Likewise.
72194 * string/test-strspn.c (TEST_NAME): Likewise.
72195 * string/test-strstr.c (TEST_NAME): Likewise.
72196 * string/test-bcopy-ifunc.c: New file.
72197 * string/test-bzero-ifunc.c: Likewise.
72198 * string/test-memccpy-ifunc.c: Likewise.
72199 * string/test-memchr-ifunc.c: Likewise.
72200 * string/test-memcmp-ifunc.c: Likewise.
72201 * string/test-memcpy-ifunc.c: Likewise.
72202 * string/test-memmem-ifunc.c: Likewise.
72203 * string/test-memmove-ifunc.c: Likewise.
72204 * string/test-mempcpy-ifunc.c: Likewise.
72205 * string/test-memset-ifunc.c: Likewise.
72206 * string/test-rawmemchr-ifunc.c: Likewise.
72207 * string/test-stpcpy-ifunc.c: Likewise.
72208 * string/test-stpncpy-ifunc.c: Likewise.
72209 * string/test-strcasecmp-ifunc.c: Likewise.
72210 * string/test-strcasestr-ifunc.c: Likewise.
72211 * string/test-strcat-ifunc.c: Likewise.
72212 * string/test-strchr-ifunc.c: Likewise.
72213 * string/test-strchrnul-ifunc.c: Likewise.
72214 * string/test-strcmp-ifunc.c: Likewise.
72215 * string/test-strcpy-ifunc.c: Likewise.
72216 * string/test-strcspn-ifunc.c: Likewise.
72217 * string/test-strlen-ifunc.c: Likewise.
72218 * string/test-strncasecmp-ifunc.c: Likewise.
72219 * string/test-strncat-ifunc.c: Likewise.
72220 * string/test-strncmp-ifunc.c: Likewise.
72221 * string/test-strncpy-ifunc.c: Likewise.
72222 * string/test-strnlen-ifunc.c: Likewise.
72223 * string/test-strpbrk-ifunc.c: Likewise.
72224 * string/test-strrchr-ifunc.c: Likewise.
72225 * string/test-strspn-ifunc.c: Likewise.
72226 * string/test-strstr-ifunc.c: Likewise.
72227
72228 * debug/Makefile (tests-ifunc): New variable.
72229 (tests): Add $(tests-ifunc).
72230 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
72231 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
72232 * debug/test-stpcpy_chk-ifunc.c: New file.
72233 * debug/test-strcpy_chk-ifunc.c: Likewise.
72234
72235 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
72236
72237 [BZ #13601]
72238 * elf/dl-load.c (open_verify): Retry read if the entire ELF
72239 header is not read in.
72240
72241 2012-10-19 Joseph Myers <joseph@codesourcery.com>
72242
72243 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
72244 script to $(SHELL) as $<. Pass $(common-objpfx) to script
72245 directly. Pass built executable to script as
72246 $(built-program-cmd).
72247 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
72248 $testprogram without using LD_LIBRARY_PATH and $ldso.
72249
72250 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
72251 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
72252 $(rtld-installed-name).
72253 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
72254 (rtld_installed_name): Likewise.
72255 (library_path): Likewise.
72256 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
72257 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
72258 $(run-program-prefix) to tst-tables.sh.
72259 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
72260 it to run tst-table-from and tst-table-to.
72261 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
72262 Pass it to tst-table.sh.
72263 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
72264 $(run-program-prefix) to tst-gettext.sh.
72265 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
72266 tst-translit.sh.
72267 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
72268 tst-gettext2.sh.
72269 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
72270 to run tst-gettext.
72271 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
72272 to run tst-gettext2.
72273 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
72274 to run tst-translit.
72275 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
72276 $(run-program-prefix) to tst-mtrace.sh.
72277 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
72278 to run tst-mtrace.
72279 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
72280 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
72281 $(rtld-installed-name).
72282 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
72283 (rtld_installed_name): Likewise.
72284 (run_program_prefix): New variable. Use it to run wordexp-test.
72285
72286 * Makeconfig (ARCH): Remove all definitions.
72287 (machine): Likewise.
72288 [ARCH]: Remove conditional code.
72289 [!objdir]: Give error.
72290 [!objdir] (objpfx): Remove.
72291 [!objdir] (common-objpfx): Likewise.
72292 [!objdir] (common-objdir): Likewise.
72293 * configure.in (config_makefile): Remove. Hardcode Makefile in
72294 AC_CONFIG_FILES call.
72295 * configure: Regenerated.
72296
72297 [BZ #13888]
72298 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
72299 or TMPDIR.
72300 (testout): Likewise.
72301
72302 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
72303 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
72304 $(rtld-installed-name).
72305 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
72306 (rtld_installed_name): Likewise.
72307 (runit): Remove function.
72308 (run_getconf): New variable, Use it for running getconf binary.
72309
72310 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
72311
72312 [BZ #14716]
72313 * string/test-memmem.c (check_result): New function.
72314 (do_one_test): Use it.
72315 (check1): New function.
72316 (test_main): Use it.
72317
72318 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
72319
72320 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
72321
72322 2012-10-18 Joseph Myers <joseph@codesourcery.com>
72323
72324 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
72325 (_G_LSEEK64): Likewise.
72326 (_G_MMAP64): Likewise.
72327 (_G_FSTAT64): Likewise.
72328 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
72329 (_G_LSEEK64): Likewise.
72330 (_G_MMAP64): Likewise.
72331 (_G_FSTAT64): Likewise.
72332 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
72333 unconditional. Call __mmap64 directly.
72334 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
72335 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
72336 __lseek64 directly.
72337 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
72338 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
72339 __mmap64 directly.
72340 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
72341 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
72342 __lseek64 directly.
72343 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
72344 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
72345 __lseek64 directly.
72346 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
72347 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
72348 __lseek64 directly.
72349 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
72350 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
72351 __fxstat64 directly.
72352 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
72353 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
72354 unconditional.
72355 (freopen64) [!_G_OPEN64]: Remove conditional code.
72356 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
72357 unconditional.
72358 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
72359 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
72360 unconditional.
72361 (ftello64) [!_G_LSEEK64]: Remove conditional code.
72362 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
72363 unconditional.
72364 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
72365 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
72366 unconditional.
72367 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
72368 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
72369 unconditional.
72370 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
72371 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
72372 unconditional.
72373 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
72374 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
72375 unconditional.
72376 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
72377
72378 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
72379
72380 [BZ #12140]
72381 * manual/memory.texi (Malloc Tunable Parameters): Add note
72382 about free list pointers overwriting some perturb bytes.
72383 Wording suggested by Roland McGrath.
72384
72385 2012-10-17 Joseph Myers <joseph@codesourcery.com>
72386
72387 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
72388 (lgamma_test): Likewise.
72389 (tgamma_test): Likewise.
72390
72391 2012-10-16 Florian Weimer <fweimer@redhat.com>
72392
72393 [BZ #14700]
72394 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
72395 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
72396
72397 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
72398
72399 * NEWS: Mention BZ #14716.
72400 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
72401 when removing AVAILABLE1_USES_J macro.
72402
72403 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
72404
72405 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
72406 (__bswap_64): __uint64_t for unsigned 64-bit int.
72407
72408 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
72409
72410 * include/string.h (memmem): Declare libc hidden alias.
72411 * string/memmem.c (memmem): Define libc hidden alias.
72412 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
72413 __read, __close instead of open, read, close.
72414
72415 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
72416
72417 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
72418 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
72419 global and hidden.
72420 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
72421 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
72422 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
72423 Likewise.
72424 (__rawmemchr_sse2): Likewise.
72425 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
72426 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
72427 (__strchr_sse2): Likewise.
72428 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
72429 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
72430 (__strcasecmp_sse2): Likewise.
72431 (__strncasecmp_sse2): Likewise.
72432 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
72433 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
72434 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
72435 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
72436 (__strrchr_sse2): Likewise.
72437 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
72438 ifunc-impl-list.c.
72439 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
72440 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
72441 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
72442 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
72443 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
72444 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
72445 * sysdeps/x86_64/multiarch/memset.S: Likewise.
72446 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
72447 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
72448 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
72449 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
72450 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
72451 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
72452 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
72453 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
72454 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
72455 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
72456 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
72457 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
72458 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
72459 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
72460 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
72461 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
72462 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
72463 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
72464 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
72465 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
72466 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
72467 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
72468 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
72469
72470 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
72471 global and hidden.
72472 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
72473 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
72474 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
72475 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
72476 Likewise.
72477 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
72478 Likewise.
72479 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
72480 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
72481 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
72482 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
72483 ifunc-impl-list.c.
72484 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72485 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72486 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72487 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72488 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72489 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72490 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72491 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72492 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72493 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72494 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72495 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72496 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72497 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
72498 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
72499 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72500 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
72501 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
72502 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72503 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72504 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72505 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72506 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72507 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72508 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72509 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
72510 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
72511 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
72512 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
72513 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72514 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
72515 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72516 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72517 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
72518 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72519 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72520 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72521 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72522 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72523 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72524 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
72525
72526 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
72527 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
72528 * include/ifunc-impl-list.h: New file.
72529 * misc/ifunc-impl-list.c: Likewise.
72530 * misc/Makefile (routines): Add ifunc-impl-list.
72531 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
72532 * string/test-string.h: Include <ifunc-impl-list.h>.
72533 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
72534 TEST_NAME]: New variables.
72535 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
72536 are defined.
72537 (test_init): Call __libc_ifunc_impl_list to initialize
72538 func_list if TEST_IFUNC and TEST_NAME are defined.
72539
72540 * string/Makefile (strop-tests): Add bcopy and bzero.
72541 * string/test-bcopy.c: New file.
72542 * string/test-bzero.c: Likewise.
72543 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
72544 defined.
72545 * string/test-memset.c: Support bzero test if TEST_BZERO is
72546 defined.
72547 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
72548 __libc_memmove.
72549 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
72550 __libc_memset.
72551 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
72552 of memset.
72553
72554 2012-10-10 Joseph Myers <joseph@codesourcery.com>
72555
72556 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
72557 * configure: Regenerated.
72558
72559 * Makeconfig (+link-static-before-libc): Don't include
72560 $(link-static-libc).
72561
72562 * libio/libio.h (_IO_pos_t): Remove.
72563
72564 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
72565
72566 * NEWS: Add note about FIPS mode. Wording suggested by Roland
72567 McGrath.
72568
72569 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
72570
72571 * crypt/crypt-entry.c: Include fips-private.h.
72572 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
72573 * crypt/md5c-test.c (main): Tolerate disabled MD5.
72574 * sysdeps/unix/sysv/linux/fips-private.h: New file.
72575 * sysdeps/generic/fips-private.h: New file, dummy fallback.
72576
72577 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
72578
72579 * crypt/crypt-private.h: Include stdbool.h.
72580 (_ufc_setup_salt_r): Return bool.
72581 * crypt/crypt-entry.c: Include errno.h.
72582 (__crypt_r): Return NULL with EINVAL for bad salt.
72583 * crypt/crypt_util.c (bad_for_salt): New.
72584 (_ufc_setup_salt_r): Check that salt is long enough and within
72585 the specified alphabet.
72586 * crypt/badsalttest.c: New file.
72587 * crypt/Makefile (tests): Add it.
72588 ($(objpfx)badsalttest): New.
72589
72590 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
72591
72592 * NEWS: Add entry for BZ #14602.
72593
72594 2012-10-09 Joseph Myers <joseph@codesourcery.com>
72595
72596 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
72597 type-generic.
72598 * math/libm-test.inc: Update comment listing what functions and
72599 macros are tested.
72600 (isgreater_test): New function.
72601 (isgreaterequal_test): Likewise.
72602 (isless_test): Likewise.
72603 (islessequal_test): Likewise.
72604 (islessgreater_test): Likewise.
72605 (isunordered_test): Likewise.
72606 (main): Call the new functions.
72607
72608 2012-10-09 Roland McGrath <roland@hack.frob.com>
72609
72610 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
72611 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
72612 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
72613 * sysdeps/i386/configure: Regenerated.
72614 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
72615 * sysdeps/mach/configure: Regenerated.
72616 * sysdeps/mach/hurd/configure: Regenerated.
72617 * sysdeps/powerpc/configure: Regenerated.
72618 * sysdeps/powerpc/powerpc32/configure: Regenerated.
72619 * sysdeps/powerpc/powerpc64/configure: Regenerated.
72620 * sysdeps/s390/s390-32/configure: Regenerated.
72621 * sysdeps/s390/s390-64/configure: Regenerated.
72622 * sysdeps/sh/configure: Regenerated.
72623 * sysdeps/sparc/configure: Regenerated.
72624 * sysdeps/unix/sysv/linux/configure: Regenerated.
72625 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
72626 * sysdeps/x86_64/configure: Regenerated.
72627
72628 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
72629 defined. Don't check if MAP is NULL.
72630
72631 2012-10-09 Joseph Myers <joseph@codesourcery.com>
72632
72633 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
72634 (_G_stat64): Likewise.
72635 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
72636 (_G_stat64): Likewise.
72637 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
72638 instead of struct _G_stat64.
72639 * libio/fileops.c (mmap_remap_check): Likewise.
72640 (decide_maybe_mmap): Likewise.
72641 (_IO_new_file_seekoff): Likewise.
72642 (_IO_file_stat): Likewise.
72643 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
72644 _G_off64_t.
72645 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
72646 instead of struct _G_stat64.
72647 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
72648
72649 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
72650
72651 [BZ #14602]
72652 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72653 Replace with ...
72654 (CHECK_EOL): New macro.
72655 (two_way_short_needle): Check beginning of haystack for EOL. Use
72656 CHECK_EOL.
72657 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72658 Replace with CHECK_EOL.
72659 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72660 Replace with CHECK_EOL.
72661
72662 2012-10-08 Joseph Myers <joseph@codesourcery.com>
72663
72664 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
72665 type-generic.
72666 * math/libm-test.inc: Update comment listing what functions and
72667 macros are tested.
72668 (finite_test): New function.
72669 (isinf_test): Likewise.
72670 (isnan_test): Likewise.
72671 (fpclassify_test): Test subnormal input.
72672 (isfinite_test): Likewise.
72673 (isnormal_test): Likewise.
72674 (main): Call the new functions.
72675
72676 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
72677
72678 [BZ #14660]
72679 * Makerules (%.dynsym): Force C locale when running
72680 $(OBJDUMP) --dynamic-syms.
72681
72682 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
72683
72684 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
72685 <stdint.h>.
72686
72687 2012-10-06 David S. Miller <davem@davemloft.net>
72688
72689 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
72690 upper 32-bits of the length value in %o2 since we use branch-on-register
72691 tests which consider the entire 64-bit register.
72692
72693 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
72694
72695 * string/test-strstr.c (check2): Add a test for page boundary.
72696
72697 2012-10-05 David S. Miller <davem@davemloft.net>
72698
72699 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
72700 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
72701 file.
72702 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
72703 sysdep_routines.
72704 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
72705 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
72706 and bzero when HWCAP_SPARC_CRYPTO is present.
72707
72708 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
72709
72710 [BZ #14602]
72711 * string/test-strstr.c (check2): New function.
72712 (test_main): Call check2.
72713
72714 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
72715 and bug-strchr1.
72716 * string/bug-strcasestr1.c (do_test): Moved to ...
72717 * string/test-strcasestr.c (check1): Here. New function.
72718 (do_one_test): Break out result checking code into ...
72719 (check_result): This. New function.
72720 (do_one_test): Call check_result.
72721 (test_main): Call check1.
72722 * string/bug-strchr1.c (do_test): Moved to ...
72723 * string/test-strchr.c (check1): Here. New function.
72724 (do_one_test): Break out result checking code into ...
72725 (check_result): This. New function.
72726 (do_one_test): Call check_result.
72727 (test_main): Call check1.
72728 * string/bug-strstr1.c (main): Moved to ...
72729 * string/test-strstr.c (check1): Here. New function.
72730 (do_one_test): Break out result checking code into ...
72731 (check_result): This. New function.
72732 (do_one_test): Call check_result.
72733 (test_main): Call check1.
72734 * string/bug-strcasestr1.c: Removed.
72735 * string/bug-strchr1.c: Likewise.
72736 * string/bug-strstr1.c: Likewise.
72737
72738 * elf/Makefile (dl-routines): Add hwcaps.
72739 * elf/dl-support.c (_dl_important_hwcaps): Removed.
72740 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
72741 (_dl_important_hwcaps): Moved to ...
72742 * elf/dl-hwcaps.c: Here. New file.
72743 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
72744
72745 [BZ #14557]
72746 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
72747 if IS_IN_rtld isn't defined.
72748
72749 * elf/dl-support.c (_dl_sysinfo_map): New.
72750 Include "get-dynamic-info.h" and "setup-vdso.h".
72751 (_dl_non_dynamic_init): Call setup_vdso.
72752 * elf/dynamic-link.h: Don't include <assert.h>.
72753 (elf_get_dynamic_info): Moved to ...
72754 * elf/get-dynamic-info.h: Here. New file.
72755 * elf/dynamic-link.h: Include "get-dynamic-info.h".
72756 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
72757 * elf/setup-vdso.h: Here. New file.
72758 * elf/rtld.c: Include "setup-vdso.h".
72759 (dl_main): Call setup_vdso.
72760
72761 2012-10-05 Joseph Myers <joseph@codesourcery.com>
72762
72763 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
72764 creal in comment listing functions tested. List finite, isinf,
72765 isnan, isless, islessequal, isgreater, isgreaterequal,
72766 islessgreater, isunordered, lgamma_r and pow10 as functions and
72767 macros not tested. Mention which functions not tested are aliases
72768 for other functions. Fix typo. Note that signs of NaNs are not
72769 tested.
72770
72771 * scripts/config.guess: Update from config.git.
72772 * scripts/config.sub: Likewise.
72773
72774 2012-10-04 Roland McGrath <roland@hack.frob.com>
72775
72776 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
72777 * misc/madvise.c (madvise): Renamed to __madvise.
72778 Make madvise a weak alias.
72779 * include/sys/mman.h: Declare __madvise.
72780 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
72781 * sysdeps/unix/syscalls.list
72782 (madvise): Make __madvise the strong name, and madvise a weak alias.
72783 * sysdeps/unix/sysv/linux/syscalls.list
72784 (madvise, mmap): Remove redundant entries.
72785 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
72786 * malloc/malloc.c (mtrim): Likewise.
72787 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
72788
72789 2012-10-03 Roland McGrath <roland@hack.frob.com>
72790
72791 * sysdeps/mach/hurd/dl-cache.c: File removed.
72792 * config.h.in (USE_LDCONFIG): New #undef.
72793 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
72794 * configure: Regenerated.
72795 * elf/Makefile (dl-routines): Add dl-cache only under
72796 [$(use-ldconfig) = yes].
72797 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
72798 cache on [USE_LDCONFIG].
72799 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
72800 [USE_LDCONFIG].
72801 * elf/rtld.c (dl_main): Likewise.
72802
72803 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
72804
72805 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
72806 _SC_LEVEL4_CACHE_LINESIZE.
72807
72808 2012-10-03 Roland McGrath <roland@hack.frob.com>
72809
72810 * sysdeps/unix/bsd/confstr.h: File removed.
72811
72812 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
72813
72814 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
72815 sys/sdt-config.h.
72816
72817 2012-10-02 Roland McGrath <roland@hack.frob.com>
72818
72819 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
72820 Make 'mapoff' field ElfW(Off) rather than off_t.
72821
72822 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
72823
72824 * nscd/Makefile: Remove nscd-cflags and all its users.
72825 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
72826 (CFLAGS-nonlib): Add compiler flags for nscd modules.
72827
72828 [BZ #10631]
72829 * malloc.c (malloc_printerr): Clarify error message.
72830
72831 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
72832
72833 [BZ #14648]
72834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72835 Set bit_FMA_Usable if FMA is supported.
72836 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
72837 macro.
72838 (bit_FMA4_Usable): Updated.
72839 (index_FMA_Usable): New macro.
72840 (CPUID_FMA): Likewise.
72841 (HAS_FMA): Defined with bit_FMA_Usable.
72842
72843 2012-10-01 Roland McGrath <roland@hack.frob.com>
72844
72845 * bits/types.h (__swblk_t): Type removed.
72846 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
72847 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
72848 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72849 (__SWBLK_T_TYPE): Likewise.
72850 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72851 (__SWBLK_T_TYPE): Likewise.
72852 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72853 (__SWBLK_T_TYPE): Likewise.
72854 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72855 (__SWBLK_T_TYPE): Likewise.
72856
72857 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
72858 Honza Horak <hhorak@redhat.com>
72859
72860 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
72861 (xdr_mapname): Use YPMAXMAP as maxsize.
72862 (xdr_peername): Use YPMAXPEER as maxsize.
72863 (xdr_keydat): Use YPAXRECORD as maxsize.
72864 (xdr_valdat): Use YPMAXRECORD as maxsize.
72865
72866 2012-10-01 Roland McGrath <roland@hack.frob.com>
72867
72868 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
72869
72870 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
72871 * csu/init-first.c: ... here.
72872 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
72873 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
72874 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
72875 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
72876 * sysdeps/i386/init-first.c: File removed.
72877 * sysdeps/sh/init-first.c: File removed.
72878
72879 2012-10-01 Joseph Myers <joseph@codesourcery.com>
72880
72881 [BZ #14645]
72882 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
72883 if x * y might underflow to zero and z is zero.
72884 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72885 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72886 * math/libm-test.inc (min_subnorm_value): New variable.
72887 (fma_test): Add more tests.
72888 (fma_test_towardzero): Likewise.
72889 (fma_test_downward): Likewise.
72890 (fma_test_upward): Likewise.
72891 (initialize): Set min_subnorm_value.
72892
72893 2012-09-29 Joseph Myers <joseph@codesourcery.com>
72894
72895 [BZ #14638]
72896 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
72897 0 + 0.
72898 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
72899 mode for addition resulting in exact zero.
72900 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
72901 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
72902 exact 0 + 0.
72903 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
72904 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72905 * math/libm-test.inc (fma_test): Add more tests.
72906 (fma_test_towardzero): New function.
72907 (fma_test_downward): Likewise.
72908 (fma_test_upward): Likewise.
72909 (main): Call the new functions.
72910
72911 2012-09-28 David S. Miller <davem@davemloft.net>
72912
72913 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
72914
72915 2012-09-28 Roland McGrath <roland@hack.frob.com>
72916
72917 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
72918 instead of SIGALRM.
72919
72920 * sysdeps/gnu/_G_config.h: Moved to ...
72921 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
72922 * sysdeps/mach/hurd/_G_config.h: Moved to ...
72923 * sysdeps/generic/_G_config.h: ... here.
72924
72925 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
72926
72927 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
72928
72929 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
72930 Conditionalize target on [libnss_test1.so-version].
72931
72932 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
72933
72934 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
72935 (elfobjdir): Move out of conditionals.
72936
72937 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
72938 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
72939 (__nss_lookup_function): Conditionalize label remove_from_tree on
72940 [!DO_STATIC_NSS || SHARED], matching its only use.
72941
72942 2012-09-28 David S. Miller <davem@davemloft.net>
72943
72944 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
72945 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
72946 file.
72947 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
72948 sysdep_routines.
72949 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
72950 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
72951 when HWCAP_SPARC_CRYPTO is present.
72952
72953 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
72954
72955 * io/tst-mknodat.c: Create a FIFO instead of a socket.
72956
72957 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
72958
72959 [BZ #6530]
72960 * stdio-common/vfprintf.c (process_string_arg): Revert
72961 2000-07-22 change.
72962
72963 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
72964
72965 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
72966 for testcase.
72967 * stdio-common/tst-sprintf.c: Include <locale.h>
72968 (main): Test sprintf's handling of incomplete multibyte
72969 characters.
72970
72971 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
72972
72973 * elf/dl-runtime.c (VERSYMIDX): Removed.
72974 * elf/dl-version.c (VERSYMIDX): Likewise.
72975 * elf/do-rel.h (VERSYMIDX): Likewise.
72976 (VALIDX): Likewise.
72977 * elf/dynamic-link.h (VERSYMIDX): Likewise.
72978 * elf/rtld.c (VALIDX): Likewise.
72979 (ADDRIDX): Likewise.
72980 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
72981 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
72982 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
72983 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
72984 (VALIDX): Likewise.
72985 (ADDRIDX): Likewise.
72986
72987 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
72988
72989 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
72990
72991 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
72992
72993 [BZ #11438]
72994 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
72995 to global scope.
72996 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
72997 addresses are in the same scope as 192.0.2/24.
72998 * posix/gai.conf: Document new scope table defaults.
72999
73000 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73001
73002 [BZ #5298]
73003 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
73004 for ftell. Compute offsets from write pointers instead.
73005 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
73006
73007 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73008
73009 [BZ #14543]
73010 * libio/Makefile (tests): New test case tst-fseek.
73011 * libio/tst-fseek.c: New test case to verify that fseek/ftell
73012 combination works in wide mode.
73013 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
73014 state when the external buffer state changes.
73015
73016 2012-09-27 David S. Miller <davem@davemloft.net>
73017
73018 [BZ #14376]
73019 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
73020 pass reloc->r_addend in as the 'high' argument to
73021 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
73022
73023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73024
73025 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
73026
73027 * rt/tst-aio2.c: Include <pthread.h>.
73028 * rt/tst-aio3.c: Likewise.
73029
73030 2012-09-27 Steve Ellcey <sellcey@mips.com>
73031
73032 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
73033
73034 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
73035
73036 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
73037 contents on [SHARED].
73038
73039 2012-09-26 Marek Polacek <polacek@redhat.com>
73040
73041 [BZ #14530]
73042 [BZ #13741]
73043 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
73044 for C++ and GCC <4.3 as well as for non GCC compilers.
73045
73046 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
73047
73048 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73049
73050 2012-09-25 Roland McGrath <roland@hack.frob.com>
73051
73052 * Makefile.in (all, install): Declare with .PHONY.
73053 Reported by Michael Hope <michael.hope@linaro.org>.
73054
73055 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
73056
73057 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
73058 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
73059 system header.
73060 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
73061 Likewise.
73062 (sydep_routines): Add the new and the internal functions.
73063 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
73064 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
73065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
73066 (GLIBC_2.17): Add the new function.
73067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
73068 (GLIBC_2.17): Likewise.
73069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
73070 (GLIBC_2.17): Likewise.
73071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
73072 (GLIBC_2.17): Likewise.
73073 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
73074
73075 2012-09-25 Alan Modra <amodra@gmail.com>
73076
73077 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
73078 Add release barrier before setting once_control to say
73079 initialisation is done. Add hints on lwarx. Use macro in
73080 place of isync.
73081 (clear_once_control): Add release barrier.
73082
73083 2012-09-25 Joseph Myers <joseph@codesourcery.com>
73084
73085 [BZ #13629]
73086 * math/s_clog.c (__clog): Handle more values close to |z| = 1
73087 specially.
73088 * math/s_clog10.c (__clog10): Likewise.
73089 * math/s_clog10f.c (__clog10f): Likewise.
73090 * math/s_clog10l.c (__clog10l): Likewise.
73091 * math/s_clogf.c (__clogf): Likewise.
73092 * math/s_clogl.c (__clogl): Likewise.
73093 * math/Makefile (libm-calls): Add x2y2m1.
73094 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
73095 (__x2y2m1): Likewise.
73096 (__x2y2m1l): Likewise.
73097 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
73098 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
73099 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
73100 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
73101 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
73102 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
73103 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
73104 * sysdeps/i386/fpu/libm-test-ulps: Update.
73105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73106
73107 [BZ #14621]
73108 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
73109 int as type of variable DEPTH.
73110 (glob): Use size_t instead of int as type of variables NEWCOUNT
73111 and OLD_PATHC.
73112
73113 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73114
73115 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
73116 Add s_sincosf-sse2.
73117 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
73118 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
73119 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
73120 macros for using routine as __sincosf_ia32.
73121 Use macro for function declaration and weak_alias.
73122 * sysdeps/i386/fpu/libm-test-ulps: Update.
73123
73124 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
73125 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73126
73127 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
73128 subnormal argument.
73129 * math/s_cexpf.c (__cexpf): Likewise.
73130 * math/s_csinf.c (__csinf): Likewise.
73131 * math/s_csinhf.c (__csinhf): Likewise.
73132 * math/s_ctanf.c (__ctanf): Likewise.
73133 * math/s_ctanhf.c (__ctanhf): Likewise.
73134 * math/s_ccosh.c (__ccoshf): Likewise.
73135 * math/s_cexp.c (__cexpl): Likewise.
73136 * math/s_csin.c (__csin): Likewise.
73137 * math/s_csinh.c (__csinh): Likewise.
73138 * math/s_ctan.c (__ctan): Likewise.
73139 * math/s_ctanh.c (ctanh): Likewise.
73140 * math/s_ccoshl.c (__ccoshl): Likewise.
73141 * math/s_cexpl.c (__cexpl): Likewise.
73142 * math/s_csinl.c (__csinl): Likewise.
73143 * math/s_csinhl.c (__csinhl): Likewise.
73144 * math/s_ctanl.c (__ctanl): Likewise.
73145 * math/s_ctanhl.c (__ctanhl): Likewise.
73146
73147 2012-09-25 Joseph Myers <joseph@codesourcery.com>
73148
73149 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
73150 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
73151 (_IO_off_t): Define to __off_t, not _G_off_t.
73152 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
73153 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
73154 (_IO_wint_t): Define to wint_t, not _G_wint_t.
73155 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
73156 type of __dummy and __dummy2 fields.
73157 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
73158 (_G_ssize_t): Likewise.
73159 (_G_off_t): Likewise.
73160 (_G_pid_t): Likewise.
73161 (_G_uid_t): Likewise.
73162 (_G_wchar_t): Likewise.
73163 (_G_wint_t): Likewise.
73164 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
73165 (_G_ssize_t): Likewise.
73166 (_G_off_t): Likewise.
73167 (_G_pid_t): Likewise.
73168 (_G_uid_t): Likewise.
73169 (_G_wchar_t): Likewise.
73170 (_G_wint_t): Likewise.
73171 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
73172 (_G_ssize_t): Likewise.
73173 (_G_off_t): Likewise.
73174 (_G_pid_t): Likewise.
73175 (_G_uid_t): Likewise.
73176 (_G_wchar_t): Likewise.
73177 (_G_wint_t): Likewise.
73178
73179 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
73180
73181 * malloc/arena.c: Include malloc-sysdep.h.
73182 (shrink_heap): Use check_may_shrink_heap to decide if madvise
73183 is sufficient to shrink the heap or an unmap is needed.
73184 * sysdeps/generic/malloc-sysdep.h: New file. Define
73185 new function check_may_shrink_heap.
73186 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
73187 new function check_may_shrink_heap.
73188
73189 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
73190
73191 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
73192 comments.
73193
73194 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
73195
73196 * catgets/test-gencat.sh: Add "set -e".
73197 * elf/tst-pathopt.sh: Likewise.
73198 * grp/tst_fgetgrent.sh: Likewise.
73199 * iconvdata/run-iconv-test.sh: Likewise.
73200 * intl/tst-gettext.sh: Likewise.
73201 * intl/tst-gettext2.sh: Likewise.
73202 * intl/tst-gettext4.sh: Likewise.
73203 * intl/tst-gettext6.sh: Likewise.
73204 * intl/tst-translit.sh: Likewise.
73205 * io/ftwtest-sh: Likewise.
73206 * libio/test-freopen.sh: Likewise.
73207 * malloc/tst-mtrace.sh: Likewise.
73208 * posix/globtest.sh: Likewise.
73209 * posix/tst-getconf.sh: Likewise.
73210 * posix/wordexp-tst.sh: Likewise.
73211 * stdio-common/tst-printf.sh: Likewise.
73212 * stdio-common/tst-unbputc.sh: Likewise.
73213 * stdlib/tst-fmtmsg.sh: Likewise.
73214 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
73215 * catgets/Makefile: Do not specify -e option when running
73216 testsuite shell scripts.
73217 * elf/Makefile: Likewise.
73218 * grp/Makefile: Likewise.
73219 * iconvdata/Makefile: Likewise.
73220 * intl/Makefile: Likewise.
73221 * io/Makefile: Likewise.
73222 * libio/Makefile: Likewise.
73223 * malloc/Makefile: Likewise.
73224 * posix/Makefile: Likewise.
73225 * stdio-common/Makefile: Likewise.
73226 * stdlib/Makefile: Likewise.
73227 * sysdeps/x86_64/Makefile: Likewise.
73228
73229 * io/ftwtest-sh: Add copyright header.
73230 * posix/globtest.sh: Likewise.
73231 * posix/tst-getconf.sh: Likewise.
73232 * posix/wordexp-tst.sh: Likewise.
73233 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
73234
73235 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
73236
73237 [BZ #13679]
73238 * Makeconfig (+link): Defined as $(+link-static) if
73239 $(build-shared) isn't yes.
73240 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
73241 isn't yes.
73242 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
73243
73244 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
73245
73246 [BZ #14562]
73247 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
73248 new chunk size with MALLOC_ALIGN_MASK.
73249
73250 2012-09-24 Joseph Myers <joseph@codesourcery.com>
73251
73252 [BZ #5044]
73253 * stdio-common/printf_fphex.c: Include <stdbool.h> and
73254 <rounding-mode.h>.
73255 (__printf_fphex): Determine rounding using get_rounding_mode and
73256 round_away.
73257 * stdio-common/tst-printf-round.c (struct hex_test): New
73258 structure.
73259 (hex_tests): New variable.
73260 (test_hex_in_one_mode): New function.
73261 (do_test): Also run tests for hex float output.
73262
73263 2012-09-21 Joseph Myers <joseph@codesourcery.com>
73264
73265 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
73266 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
73267 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
73268 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
73269 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
73270 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
73271 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
73272 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
73273
73274 2012-09-20 Joseph Myers <joseph@codesourcery.com>
73275
73276 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
73277 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
73278 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
73279 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
73280
73281 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
73282
73283 [BZ #14579]
73284 * elf/rtld.c (dl_main): Limit the check for self loading to normal
73285 mode only.
73286 * elf/tst-rtld-load-self.sh: New test.
73287 * elf/Makefile: Run it.
73288
73289 2012-09-18 Joseph Myers <joseph@codesourcery.com>
73290
73291 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
73292 (tst-writev-ENV): Remove.
73293 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
73294
73295 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
73296
73297 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
73298
73299 2012-09-17 Joseph Myers <joseph@codesourcery.com>
73300
73301 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
73302 unconditional.
73303 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
73304 Likewise.
73305 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
73306 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
73307 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
73308 Likewise.
73309
73310 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
73311
73312 [BZ #14587]
73313 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
73314 * config.make.in (have-cpp-asm-debuginfo): Removed.
73315 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
73316 * configure: Regenerated.
73317
73318 2012-09-14 Joseph Myers <joseph@codesourcery.com>
73319
73320 [BZ #5044]
73321 * stdio-common/printf_fp.c: Include <stdbool.h> and
73322 <rounding-mode.h>.
73323 (___printf_fp): Determine rounding using get_rounding_mode and
73324 round_away.
73325 * stdio-common/tst-printf-round.c: New file.
73326 * stdio-common/Makefile (tests): Add tst-printf-round.
73327 (link-libm): New variable.
73328 ($(objpfx)tst-printf-round): Depend in $(link-libm).
73329
73330 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
73331
73332 [BZ #14576]
73333 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
73334 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
73335 Likewise.
73336 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
73337 Likewise.
73338
73339 2012-09-13 Joseph Myers <joseph@codesourcery.com>
73340
73341 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
73342 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
73343 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
73344 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
73345
73346 2012-09-12 Joseph Myers <joseph@codesourcery.com>
73347
73348 [BZ #14518]
73349 * include/rounding-mode.h: New file.
73350 * sysdeps/generic/get-rounding-mode.h: Likewise.
73351 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
73352 * stdlib/strtod_l.c: Include <rounding-mode.h>.
73353 (MAX_VALUE): New macro.
73354 (MIN_VALUE): Likewise.
73355 (overflow_value): New function.
73356 (underflow_value): Likewise.
73357 (round_and_return): Use overflow_value and underflow_value to
73358 determine return values in overflow and underflow cases. Use
73359 round_away to determine rounding depending on rounding mode.
73360 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
73361 determine return values in overflow and underflow cases.
73362 * stdlib/tst-strtod-round.c: Include <fenv.h>.
73363 (struct test_results): New structure.
73364 (struct test): Use struct test_results to store expected results
73365 for all rounding modes.
73366 (TEST): Include expected results for all rounding modes.
73367 (test_in_one_mode): New function.
73368 (do_test): Use test_in_one_mode to compute and check results.
73369 Check results for all rounding modes.
73370 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
73371 $(link-libm).
73372
73373 2012-12-09 Allan McRae <allan@archlinux.org>
73374
73375 * sysdeps/i386/fpu/libm-test-ulps: Update
73376
73377 2012-09-11 Joseph Myers <joseph@codesourcery.com>
73378
73379 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
73380 (_G_int32_t): Likewise.
73381 (_G_uint16_t): Likewise.
73382 (_G_uint32_t): Likewise.
73383 (_G_HAVE_BOOL): Likewise.
73384 (_G_HAVE_ATEXIT): Likewise.
73385 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
73386 (_G_HAVE_IO_FILE_OPEN): Likewise.
73387 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
73388 (_G_int32_t): Likewise.
73389 (_G_uint16_t): Likewise.
73390 (_G_uint32_t): Likewise.
73391 (_G_HAVE_BOOL): Likewise.
73392 (_G_HAVE_ATEXIT): Likewise.
73393 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
73394 (_G_HAVE_IO_FILE_OPEN): Likewise.
73395 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
73396 (_G_int32_t): Likewise.
73397 (_G_uint16_t): Likewise.
73398 (_G_uint32_t): Likewise.
73399 (_G_HAVE_BOOL): Likewise.
73400 (_G_HAVE_ATEXIT): Likewise.
73401 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
73402 (_G_HAVE_IO_FILE_OPEN): Likewise.
73403
73404 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
73405
73406 * csu/libc-tls.c: Update copyright years.
73407
73408 2012-09-10 Joseph Myers <joseph@codesourcery.com>
73409
73410 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
73411 [!_G_USING_THUNKS]: Remove conditional code.
73412 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
73413 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
73414
73415 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
73416 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
73417 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
73418 (_G_VTABLE_LABEL_PREFIX): Likewise.
73419 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
73420 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
73421 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
73422 (_G_VTABLE_LABEL_PREFIX): Likewise.
73423 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
73424 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
73425 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
73426 (_G_VTABLE_LABEL_PREFIX): Likewise.
73427 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
73428
73429 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
73430
73431 * libio/Makefile: Include ../Makeconfig before tests.
73432 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
73433 only if $(build-shared) is yes.
73434
73435 * iconv/gconv_db.c: Update copyright years.
73436
73437 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73438
73439 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
73440 unwind info if defined PIC. Fix special cases description.
73441 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
73442
73443 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
73444 DP_HI_MASK entry.
73445 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
73446
73447 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
73448
73449 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
73450
73451 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
73452 is NULL.
73453
73454 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
73455 (LDLIBS-tst-chk4): This.
73456 (LDFLAGS-tst-chk5): Renamed to ...
73457 (LDLIBS-tst-chk5): This.
73458 (LDFLAGS-tst-chk6): Renamed to ...
73459 (LDLIBS-tst-chk6): This.
73460 (LDFLAGS-tst-lfschk4): Renamed to ...
73461 (LDLIBS-tst-lfschk4): This.
73462 (LDFLAGS-tst-lfschk5): Renamed to ...
73463 (LDLIBS-tst-lfschk5): This.
73464 (LDFLAGS-tst-lfschk6): Renamed to ...
73465 (LDLIBS-tst-lfschk6): This.
73466
73467 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
73468 on $(common-objpfx)soversions.mk.
73469
73470 2012-09-07 Joseph Myers <joseph@codesourcery.com>
73471
73472 [BZ #10014]
73473 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
73474 example host name.
73475
73476 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
73477
73478 * malloc/arena.c (arena_get_retry): New function that gets
73479 another arena for the caller to try its request on.
73480 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
73481 current arena cannot fulfill the request.
73482 (__libc_memalign): Likewise.
73483 (__libc_memalign): Likewise.
73484 (__libc_pvalloc): Likewise.
73485 (__libc_calloc): Likewise.
73486
73487 2012-09-05 John Tobey <john.tobey@gmail.com>
73488
73489 [BZ #13542]
73490 * manual/arith.texi (Operations on Complex): Fix description
73491 of carg branch cut.
73492
73493 2012-09-06 Joseph Myers <joseph@codesourcery.com>
73494
73495 [BZ #10014]
73496 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
73497 host name.
73498
73499 [BZ #10038]
73500 * manual/memory.texi (Memory): Make order of menu items match
73501 order of sections.
73502
73503 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
73504
73505 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
73506 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
73507 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
73508
73509 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
73510
73511 * csu/libc-tls.c (static_dtv): Renamed to ...
73512 (_dl_static_dtv): This. Make it global.
73513 (_dl_initial_dtv): Removed.
73514 (__libc_setup_tls): Updated.
73515 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
73516 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
73517 DL_INITIAL_DTV.
73518
73519 2012-09-06 Petr Machata <pmachata@redhat.com>
73520
73521 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
73522 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
73523 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
73524 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
73525
73526 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
73527
73528 [BZ #14545]
73529 * csu/libc-tls.c (_dl_initial_dtv): New variable.
73530 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
73531 freeing dtv[-1].
73532
73533 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
73534
73535 [BZ #14544]
73536 * Makeconfig (link-static-before-libc): Replace $(+prector)
73537 with $(+prectorT).
73538 (link-static-after-libc): Replace $(+postctor) with
73539 $(+postctorT).
73540 (link-bounded): Replace $(+prector)/$(+postctor) with
73541 $(+prectorT)/$(+postctorT).
73542 (+prectorT): New macro.
73543 (+postctorT): Likewise.
73544
73545 2012-09-06 Joseph Myers <joseph@codesourcery.com>
73546
73547 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
73548 (round_str): Handle values above the maximum for IBM long double
73549 as inexact.
73550 * stdlib/tst-strtod-round.c (tests): Regenerated.
73551
73552 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
73553
73554 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
73555 assembler flag.
73556 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
73557 zarch_nohighgprs around the zarch optimized routines.
73558 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
73559 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
73560 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
73561 for zarch.
73562
73563 2012-09-05 David S. Miller <davem@davemloft.net>
73564
73565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73566
73567 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
73568 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
73569 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
73570 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73571 entries.
73572
73573 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
73574
73575 * malloc/arena.c: Fold copyright years.
73576 * malloc/mcheck.c, malloc/memusage.c: Likewise.
73577
73578 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
73579
73580 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
73581
73582 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
73583
73584 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
73585
73586 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
73587
73588 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
73589 change internal state upon failure.
73590
73591 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
73592
73593 * malloc/mcheck.c (mcheck_check_all): Fix typo.
73594 * malloc/memusage.c (mmap): Likewise.
73595 (mmap64, mremap): Likewise. Adjust name in comment.
73596
73597 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
73598
73599 * libio/fileops.c: Fix typos in comments.
73600 * libio/oldfileops.c: Likewise.
73601 * libio/wfileops.c: Likewise.
73602
73603 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
73604
73605 [BZ #1349]
73606 * malloc/Makefile (tests): Add tst-malloc-usable test case.
73607 (tst-malloc-usable-ENV): Set environment for test case.
73608 * malloc/hooks.c (malloc_check_get_size): New function to get
73609 requested size.
73610 * malloc/malloc.c (musable): Use malloc_check_get_size.
73611 * malloc/tst-malloc-usable.c: New test case.
73612
73613 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
73614
73615 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
73616
73617 2012-09-05 Allan McRae <allan@archlinux.org>
73618
73619 [BZ #13966]
73620 * configure.in (CXX_SYSINCLUDES): Use compiler output to
73621 determine header location.
73622 * configure: Regenerated.
73623
73624 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
73625
73626 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
73627 float format.
73628 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
73629 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
73630 format.
73631 (test): Regenerate.
73632
73633 2012-09-04 David S. Miller <davem@davemloft.net>
73634
73635 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
73636 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
73637 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
73638
73639 2012-09-04 Florian Weimer <fweimer@redhat.com>
73640
73641 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
73642 failures.
73643
73644 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
73645
73646 2012-09-04 Joseph Myers <joseph@codesourcery.com>
73647
73648 [BZ #9914]
73649 * libio/iogetdelim.c: Include <limits.h>.
73650 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
73651 + len + 1 would overflow.
73652
73653 2012-09-03 Andreas Jaeger <aj@suse.de>
73654
73655 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73656 * sysdeps/i386/fpu/libm-test-ulps: Update.
73657
73658 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73659
73660 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
73661 Add s_sinf-sse2, s_conf-sse2.
73662
73663 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
73664 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
73665 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
73666 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
73667
73668 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
73669 for using routine as __sinf_ia32.
73670 Use macro for function declaration and weak_alias.
73671 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
73672 for using routine as __cosf_ia32.
73673 Use macro for function declaration and weak_alias.
73674
73675 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
73676 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
73677
73678 * sysdeps/x86_64/fpu/s_sinf.S: New file.
73679 * sysdeps/x86_64/fpu/s_cosf.S: New file.
73680 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73681
73682 * math/libm-test.inc (cos_test): Add more test cases.
73683 (sin_test): Likewise.
73684 (sincos_test): Likewise.
73685
73686 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
73687
73688 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
73689 (IFUNC_RESOLVE): Make pointers to the specialized implementations
73690 hidden.
73691 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
73692
73693 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
73694
73695 [BZ #14538]
73696 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
73697 first element of the GOT.
73698 (elf_machine_load_address): Return the difference between
73699 the runtime address of _DYNAMIC and elf_machine_dynamic ().
73700
73701 2012-09-01 Allan McRae <allan@archlinux.org>
73702
73703 [BZ #13412]
73704 * configure.in (AWK): Require gawk version 3.0 or later.
73705 * configure: Regenerated.
73706
73707 2012-09-01 Joseph Myers <joseph@codesourcery.com>
73708
73709 * sysdeps/unix/sysv/linux/kernel-features.h
73710 (__ASSUME_POSIX_CPU_TIMERS): Remove.
73711 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
73712 [__NR_clock_getres]: Make code unconditional.
73713 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
73714 (clock_getcpuclockid): Remove code left unreachable by removal of
73715 conditionals.
73716 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
73717 code unconditional.
73718 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
73719 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
73720 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
73721 Make code unconditional.
73722 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
73723 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
73724 * sysdeps/unix/sysv/linux/clock_settime.c
73725 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
73726 conditional code.
73727 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
73728 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
73729
73730 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
73731
73732 [BZ #14476]
73733 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
73734 scripts/test-installation.pl.
73735
73736 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
73737 and $ld_so_version if it is set.
73738
73739 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
73740
73741 [BZ #14516]
73742 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
73743 failure if reading from procfs failed.
73744 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
73745
73746 2012-08-27 Joseph Myers <joseph@codesourcery.com>
73747
73748 * sysdeps/unix/sysv/linux/kernel-features.h
73749 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
73750 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
73751 Remove conditional code.
73752 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73753 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
73754 Remove conditional code.
73755 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73756 * sysdeps/unix/sysv/linux/i386/fxstat.c
73757 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
73758 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73759 * sysdeps/unix/sysv/linux/i386/fxstatat.c
73760 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
73761 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73762 * sysdeps/unix/sysv/linux/i386/lxstat.c
73763 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
73764 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73765 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
73766 Remove conditional code.
73767 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73768 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
73769 Remove conditional code.
73770 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73771 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
73772 <kernel-features.h>.
73773 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
73774 Remove.
73775 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
73776 Remove conditional code.
73777 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73778 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
73779 Remove conditional.
73780
73781 2012-08-27 Mike Frysinger <vapier@gentoo.org>
73782
73783 [BZ #5400]
73784 * NEWS: Add fixed bug number.
73785
73786 2012-08-27 Joseph Myers <joseph@codesourcery.com>
73787
73788 [BZ #14519]
73789 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
73790 underflowing exponent in case of negative sign.
73791 * stdlib/tst-strtod-round-data: Add more tests.
73792 * stdlib/tst-strtod-round.c (tests): Regenerated.
73793
73794 [BZ #3479]
73795 * stdlib/strtod_l.c (NDIG): Remove.
73796 (HEXNDIG): Likewise.
73797 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
73798 smallest representable value.
73799 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
73800 lie within an exact representation of 1/2 ulp of the result.
73801 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
73802 unconditionally.
73803 (TENS_P9_IDX): Define unconditionally.
73804 (TENS_P9_SIZE): Likewise.
73805 (TENS_P10_IDX): Likewise.
73806 (TENS_P10_SIZE): Likewise.
73807 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
73808 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
73809 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
73810 entries for 10^2^13 and 10^2^14.
73811 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
73812 (TENS_P13_IDX): Define.
73813 (TENS_P13_SIZE): Likewise.
73814 (TENS_P14_IDX): Likewise.
73815 (TENS_P14_SIZE): Likewise.
73816 (_fpioconst_pow10): Change array size to
73817 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
73818 unconditional.
73819 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
73820 1024]: Add entries for 10^2^13 and 10^2^14.
73821 [LAST_POW10 > _LAST_POW10]: Remove #error.
73822 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
73823 (_fpioconst_pow10): Change array size to
73824 FPIOCONST_POW10_ARRAY_SIZE.
73825 * stdlib/gen-fpioconst.c: New file.
73826 * stdlib/gen-tst-strtod-round.c: Likewise.
73827 * stdlib/tst-strtod-round-data: Likewise.
73828 * stdlib/tst-strtod-round.c: Likewise.
73829 * stdlib/Makefile (tests): Add tst-strtod-round.
73830
73831 [BZ #14459]
73832 * stdlib/strtod_l.c: Include <stdint.h>.
73833 (NDEBUG): Do not define.
73834 (round_and_return): Change EXPONENT parameter to type intmax_t.
73835 Rearrange calculations to avoid internal overflow possibilities.
73836 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
73837 Rearrange calculations to avoid internal overflow possibilities.
73838 Assert that number fits inside MPNSIZE limbs.
73839 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
73840 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
73841 calculations and add assertions to avoid internal overflow
73842 possibilities. Add casts to avoid signed/unsigned operations.
73843 * stdlib/tst-strtod-overflow.c: New file.
73844 * stdlib/Makefile (tests): Add tst-strtod-overflow.
73845
73846 2012-08-25 Marek Polacek <polacek@redhat.com>
73847
73848 * time/time.h: Fix some typos in comments.
73849
73850 2012-08-23 Roland McGrath <roland@hack.frob.com>
73851
73852 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
73853 * posix/tst-rfc3484-2.c: Likewise.
73854 * posix/tst-rfc3484-3.c: Likewise.
73855
73856 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
73857
73858 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
73859 (EF_ARM_ABI_FLOAT_HARD): Likewise.
73860
73861 2012-08-23 Joseph Myers <joseph@codesourcery.com>
73862
73863 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
73864 #include of fxstatat64.c.
73865
73866 2012-08-22 Roland McGrath <roland@hack.frob.com>
73867
73868 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
73869 * shadow/getspent_r.c: Likewise.
73870 * shadow/getspnam.c: Likewise.
73871 * shadow/getspnam_r.c: Likewise.
73872 * gshadow/getsgent.c: Likewise.
73873 * gshadow/getsgent_r.c: Likewise.
73874 * gshadow/getsgnam.c: Likewise.
73875 * gshadow/getsgnam_r.c: Likewise.
73876 * inet/getnetbyad.c: Likewise.
73877 * inet/getnetbyad_r.c: Likewise.
73878 * inet/getnetbynm.c: Likewise.
73879 * inet/getnetbynm_r.c: Likewise.
73880 * inet/getnetent.c: Likewise.
73881 * inet/getnetent_r.c: Likewise.
73882 * inet/getproto.c: Likewise.
73883 * inet/getproto_r.c: Likewise.
73884 * inet/getprtent.c: Likewise.
73885 * inet/getprtent_r.c: Likewise.
73886 * inet/getprtname.c: Likewise.
73887 * inet/getprtname_r.c: Likewise.
73888 * inet/getrpcbyname.c: Likewise.
73889 * inet/getrpcbyname_r.c: Likewise.
73890 * inet/getrpcbynumber.c: Likewise.
73891 * inet/getrpcbynumber_r.c: Likewise.
73892 * inet/getrpcent.c: Likewise.
73893 * inet/getrpcent_r.c: Likewise.
73894 * inet/getaliasent.c: Likewise.
73895 * inet/getaliasent_r.c: Likewise.
73896 * inet/getaliasname.c: Likewise.
73897 * inet/getaliasname_r.c: Likewise.
73898 * nscd/getgrgid_r.c: Likewise.
73899 * nscd/getgrnam_r.c: Likewise.
73900 * nscd/gethstbyad_r.c: Likewise.
73901 * nscd/gethstbynm3_r.c: Likewise.
73902 * nscd/getpwnam_r.c: Likewise.
73903 * nscd/getpwuid_r.c: Likewise.
73904 * nscd/getsrvbynm_r.c: Likewise.
73905 * nscd/getsrvbypt_r.c: Likewise.
73906 * nscd/gai.c: Likewise.
73907
73908 * configure.in (build_nscd): New substituted variable, set
73909 by --disable-build-nscd and defaults to $use_nscd.
73910 * configure: Regenerated.
73911 * config.make.in (build-nscd): New substituted variable.
73912 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
73913 Change conditional to require [$(build-nscd) = yes] as well.
73914 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
73915
73916 [BZ #13696]
73917 * configure.in (use_nscd): New substituted variable, set by
73918 --disable-nscd. If enabled, define USE_NSCD.
73919 * configure: Regenerated.
73920 * config.h.in: Add USE_NSCD.
73921 * config.make.in (use-nscd): New substituted variable.
73922 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
73923 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
73924 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
73925 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
73926 (CFLAGS-getgrnam_r.c): Likewise.
73927 (CFLAGS-initgroups.c): Likewise.
73928 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
73929 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
73930 Variables removed.
73931 * inet/getnetgrent_r.c
73932 (nscd_setnetgrent): New function, broken out of ...
73933 (setnetgrent): ... here. Call it.
73934 (innetgr): Conditionalize nscd bits on [USE_NSCD].
73935 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
73936 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
73937 * nscd/Makefile (routines, aux): Move definitions after include of
73938 Makeconfig. Conditionalize on [$(use-nscd) != no].
73939 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
73940 Conditionalize on [USE_NSCD].
73941 (is_nscd, nscd_init_cb): Likewise.
73942 (nss_load_library): Conditionalize init callback on [USE_NSCD].
73943 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
73944 * nss/nss_db/db-init.c: Likewise.
73945 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
73946 [USE_NSCD].
73947 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
73948 (make_request): Use it.
73949 (cache_valid_p): New function.
73950 (__check_pf): Use it.
73951 * NEWS: Add item for --disable-nscd.
73952
73953 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
73954
73955 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
73956 to support sed >= 4.2.1-20-ga9bf076.
73957 * configure: Regenerated.
73958
73959 2012-08-22 Roland McGrath <roland@hack.frob.com>
73960
73961 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
73962 Conditionalize whole body on [IREL].
73963
73964 2012-08-22 Jeff Law <law@redhat.com>
73965
73966 [BZ #14505]
73967 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
73968 if the family is PF_UNSPEC.
73969
73970 2012-08-22 Mike Frysinger <vapier@gentoo.org>
73971
73972 * Makerules (lib-version): Rename from V.
73973 (install-lib-nosubdir): Change V to lib-version.
73974
73975 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
73976
73977 [BZ #14252]
73978 * powerpc32/power6/wcschr.c: New file.
73979 * powerpc32/power6/wcscpy.c: New file.
73980 * powerpc32/power6/wcsrchr.c: New file.
73981 * powerpc64/power6/wcschr.c: New file.
73982 * powerpc64/power6/wcscpy.c: New file.
73983 * powerpc64/power6/wcsrchr.c: New file.
73984
73985 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
73986
73987 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
73988 (two_way_short_needle): Use it.
73989 * string/strstr.c (AVAILABLE1_USES_J): Define.
73990 * string/strcasestr.c: Likewise.
73991
73992 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
73993 array references.
73994 * string/strcasestr.c (TOLOWER): Make side-effect safe.
73995
73996 [BZ #11607]
73997 * NEWS: Add an entry.
73998 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
73999 define their defaults.
74000 (two_way_short_needle): Detect end-of-string on-the-fly.
74001 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
74002 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
74003 * string/bug-strcasestr1.c: New test.
74004 * string/Makefile: Run it.
74005
74006 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
74007
74008 [BZ #11607]
74009 * string/str-two-way.h (two_way_short_needle): Optimize matching of
74010 the first character.
74011
74012 2012-08-21 Roland McGrath <roland@hack.frob.com>
74013
74014 * csu/elf-init.c (__libc_csu_irel): Function removed.
74015 * csu/libc-start.c (apply_irel): New function.
74016 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
74017
74018 2012-08-21 Joseph Myers <joseph@codesourcery.com>
74019
74020 * sysdeps/unix/sysv/linux/kernel-features.h
74021 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
74022 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
74023 <kernel-features.h>.
74024 [__NR_fadvise64_64]: Make code unconditional.
74025 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
74026 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
74027 !__NR_fadvise64_64)]: Likewise.
74028 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
74029 !__NR_fadvise64_64))]: Likewise.
74030 [__NR_fadvise64]: Make code unconditional.
74031 [!__NR_fadvise64]: Remove conditional code.
74032 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
74033 <kernel-features.h>.
74034 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74035 unconditional.
74036 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74037 conditional code.
74038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
74039 not include <kernel-features.h>.
74040 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74041 unconditional.
74042 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74043 conditional code.
74044 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
74045 include <kernel-features.h>.
74046 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74047 unconditional.
74048 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74049 conditional code.
74050
74051 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
74052
74053 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
74054 slight instruction rearrangements per scrollpipe analysis.
74055 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
74056
74057 2012-08-20 Roland McGrath <roland@hack.frob.com>
74058
74059 * manual/syslog.texi (syslog; vsyslog, closelog):
74060 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
74061 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
74062
74063 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
74064 DSOCAPS to match condition on defining it.
74065
74066 2012-08-20 Joseph Myers <joseph@codesourcery.com>
74067
74068 * sysdeps/unix/sysv/linux/kernel-features.h
74069 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
74070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
74071 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74072 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
74074 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74075 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
74077 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74078 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74079
74080 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
74081 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
74082
74083 * sysdeps/unix/sysv/linux/kernel-features.h
74084 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
74085 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
74086 unconditional.
74087 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74088 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
74089 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
74090 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74091 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
74092 Make code unconditional.
74093 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74094 (__mmap64) [!__NR_mmap2]: Likewise.
74095 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
74096 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
74097 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74098 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
74099 [__NR_mmap2]: Make code unconditional.
74100 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74101 (__mmap64) [!__NR_mmap2]: Likewise.
74102
74103 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74104
74105 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
74106
74107 2012-08-18 Andreas Jaeger <aj@suse.de>
74108
74109 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
74110
74111 2012-08-18 Mike Frysinger <vapier@gentoo.org>
74112
74113 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
74114 * include/unistd.h (__have_sock_cloexec): Likewise.
74115 (__have_pipe2): Likewise.
74116 (__have_dup3): Likewise.
74117
74118 2012-08-18 Mike Frysinger <vapier@gentoo.org>
74119
74120 [BZ #9685]
74121 * include/unistd.h (__have_pipe2): Change define into an extern int.
74122 (__have_dup3): Likewise.
74123 * socket/have_sock_cloexec.c: Include fcntl.h.
74124 (__have_pipe2): New variable.
74125 (__have_dup3): Likewise.
74126
74127 2012-08-17 Mike Frysinger <vapier@gentoo.org>
74128
74129 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
74130
74131 2012-08-17 Marek Polacek <polacek@redhat.com>
74132
74133 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
74134 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
74135
74136 2012-08-17 Roland McGrath <roland@hack.frob.com>
74137
74138 * configure.in: Add AC_SUBST for sysheaders.
74139 * configure: Regenerated.
74140 * config.make.in (sysheaders): New substituted variable.
74141
74142 * sysdeps/unix/mkfifo.c: Moved ...
74143 * sysdeps/posix/mkfifo.c: ... here.
74144 * sysdeps/unix/mkfifoat.c: Moved ...
74145 * sysdeps/posix/mkfifoat.c: ... here.
74146
74147 * sysdeps/unix/utime.c: Moved ...
74148 * sysdeps/posix/utime.c: ... here.
74149
74150 * sysdeps/unix/time.c: Moved ...
74151 * sysdeps/posix/time.c: ... here.
74152 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
74153 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
74154
74155 * sysdeps/unix/nice.c: Moved ...
74156 * sysdeps/posix/nice.c: ... here.
74157
74158 * sysdeps/unix/alarm.c: Moved ...
74159 * sysdeps/posix/alarm.c: ... here.
74160
74161 * intl/Makefile ($(codeset_mo)): Depend on the input file.
74162
74163 2012-08-17 Jeff Law <law@redhat.com>
74164
74165 * intl/Makefile (codeset_mo): New variable.
74166 ($(codeset_mo)): New target.
74167 (tst-codeset.out): Depend on that. Remove explicit rule.
74168 (tst-gettext3.out, tst-gettext5.out): Likewise.
74169 (LOCPATH-ENV, tst-codeset-ENV): New variables.
74170 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
74171 * intl/tst-codeset.sh: Remove.
74172 * intl/tst-gettext3.sh: Likewise.
74173 * intl/tst-gettext5.sh: Likewise.
74174
74175 2012-08-17 Roland McGrath <roland@hack.frob.com>
74176
74177 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
74178 * sysdeps/unix/syscalls.list: ... here.
74179
74180 * sysdeps/posix/getaddrinfo.c
74181 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
74182 (gaiconf_init, gaiconf_reload): Use them.
74183 [!_STATBUF_ST_NSEC]
74184 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
74185 Define using time_t rather than struct timespec.
74186
74187 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
74188 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
74189 Macros removed.
74190 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
74191 [!NO_THREADS].
74192 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
74193 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
74194 Likewise.
74195
74196 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
74197 __libc_cleanup_push argument.
74198
74199 * bits/param.h: New file.
74200 * misc/sys/param.h: New file.
74201 * include/sys/param.h: New file.
74202 * misc/Makefile (headers): Add bits/param.h.
74203 * sysdeps/generic/sys/param.h: File removed.
74204 * sysdeps/unix/sysv/linux/bits/param.h: New file.
74205 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
74206 * sysdeps/mach/hurd/bits/param.h: New file.
74207 * sysdeps/mach/hurd/sys/param.h: File removed.
74208
74209 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
74210 last change.
74211
74212 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
74213 [_IO_MTSAFE_IO].
74214 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
74215 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
74216 New macros.
74217
74218 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
74219 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
74220 rather than -D_IO_MTSAFE_IO conditionally.
74221 * stdio-common/Makefile (CPPFLAGS): Likewise.
74222 * wcsmbs/Makefile (CPPFLAGS): Likewise.
74223 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
74224 Use $(libio-mtsafe).
74225 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
74226 of -D_IO_MTSAFE_IO.
74227 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
74228 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
74229 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
74230 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
74231 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
74232 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
74233 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
74234 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
74235 (CFLAGS-fread_u_chk.c): Likewise.
74236 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
74237 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
74238 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
74239 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
74240 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
74241 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
74242 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
74243 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
74244 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
74245
74246 * libio/Makefile: Test [$(libc-reentrant) = yes]
74247 instead of [$(filter %REENTRANT, $(defines)) nonempty].
74248
74249 * Makeconfig
74250 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
74251 * sysdeps/pthread/configure: File removed.
74252 * sysdeps/pthread/Makeconfig: New file.
74253 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
74254 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
74255
74256 2012-08-16 Gary Benson <gbenson@redhat.com>
74257
74258 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
74259 unmapping the first object in a namespace.
74260
74261 2012-08-16 Roland McGrath <roland@hack.frob.com>
74262
74263 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
74264 (__internal_setnetgrent): ... this. Add internal_function to
74265 definition. Add libc_hidden_def.
74266 (setnetgrent): Update caller.
74267 (internal_endnetgrent): Renamed to ...
74268 (__internal_endnetgrent): ... this. Add internal_function to
74269 definition. Add libc_hidden_def.
74270 (endnetgrent): Update caller.
74271 (internal_getnetgrent_r): Renamed to ...
74272 (__internal_getnetgrent_r): ... this. Add internal_function to
74273 definition. Add libc_hidden_def.
74274 (__getnetgrent_r): Update caller.
74275 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
74276
74277 2012-08-16 Joseph Myers <joseph@codesourcery.com>
74278
74279 * stdlib/longlong.h: Update from GCC.
74280
74281 2012-08-16 Roland McGrath <roland@hack.frob.com>
74282
74283 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
74284 on _QL, which is set by umul_ppmm but never used.
74285 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
74286 variables, which are set by GMP macros but never used.
74287 * stdio-common/_itowa.c (_itowa): Likewise.
74288 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
74289 * stdlib/mod_1.c (mpn_mod_1): Likewise.
74290
74291 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
74292
74293 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
74294 struct La_sh_regs is not constant.
74295 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
74296 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
74297 and struct La_sparc64_regs are not constant.
74298
74299 2012-08-16 Joseph Myers <joseph@codesourcery.com>
74300
74301 * sysdeps/unix/sysv/linux/kernel-features.h
74302 (__ASSUME_POSIX_TIMERS): Remove.
74303 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
74304 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74305 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
74306 Make code unconditional.
74307 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74308 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
74309 Make code unconditional.
74310 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74311 * sysdeps/unix/sysv/linux/clock_nanosleep.c
74312 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
74313 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74314 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
74315 Make code unconditional.
74316 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74317 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
74318 (__libc_missing_posix_timers): Remove.
74319
74320 2012-08-15 Roland McGrath <roland@hack.frob.com>
74321
74322 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
74323 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
74324
74325 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
74326
74327 * elf/dl-sym.c: Include <stdlib.h>.
74328
74329 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
74330 constants, which avoids warnings in 32-bit builds.
74331
74332 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
74333 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
74334
74335 * misc/lseek.c: File moved to ...
74336 * io/lseek.c: ... here.
74337
74338 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
74339
74340 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
74341 shifting LEN more than 31 bits at once.
74342
74343 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74344
74345 [BZ #14195]
74346 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
74347 segmentation fault for a case of two empty input strings.
74348 * string/test-strncasecmp.c (check1): Renamed to...
74349 (bz12205): ...this.
74350 (bz14195): Add new testcase for two empty input strings and N > 0.
74351 (test_main): Call new testcase, adapt for renamed function.
74352
74353 2012-08-15 Andreas Jaeger <aj@suse.de>
74354
74355 [BZ #14090]
74356 * crypt/md5test2.c: New test, based on test supplied by Serge
74357 Belyshev <belyshev@depni.sinp.msu.ru>.
74358 * crypt/Makefile (xtests): Add md5test-giant..
74359 * crypt/Makefile ($(objpfx)md5test-giant): Add.
74360
74361 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
74362
74363 [BZ #14090]
74364 * crypt/md5.c (md5_process_block): Don't assume the buffer
74365 length is less than 2**32.
74366 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
74367 length is less than 2**64.
74368
74369 2012-08-15 Roland McGrath <roland@hack.frob.com>
74370
74371 * string/str-two-way.h: Include <sys/param.h>.
74372 (MAX): Macro removed.
74373
74374 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
74375 Move #define and #undef of memmove to just before and after
74376 including <string.h>.
74377
74378 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
74379 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
74380 and after including <string.h>. Move declarations of
74381 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
74382 to before #include "string/memmove.c".
74383
74384 * include/dirent.h: Declare __getdirentries.
74385
74386 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
74387 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
74388
74389 2012-08-14 Mike Frysinger <vapier@gentoo.org>
74390
74391 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
74392 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
74393 * sysdeps/i386/configure: Regenerated.
74394 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
74395 STABS_CURRENT_FILE, and STABS_FUN.
74396 (END): Remove call to STABS_FUN_END.
74397 (STABS_CURRENT_FILE1): Delete.
74398 (STABS_CURRENT_FILE): Likewise.
74399 (STABS_FUN): Likewise.
74400 (STABS_FUN_END): Likewise.
74401 (STABS_FUN2): Likewise.
74402 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
74403 * sysdeps/x86_64/configure: Regenerated.
74404
74405 2012-08-14 Roland McGrath <roland@hack.frob.com>
74406
74407 * elf/dl-open.c: Include <atomic.h>.
74408 * elf/dl-lookup.c: Likewise.
74409
74410 2012-08-14 Joseph Myers <joseph@codesourcery.com>
74411
74412 * sysdeps/unix/sysv/linux/kernel-features.h
74413 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
74414 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
74415 unconditionally.
74416 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
74417 unconditionally.
74418 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
74419 condition on __ASSUME_CLONE_THREAD_FLAGS.
74420
74421 2012-08-14 Andreas Jaeger <aj@suse.de>
74422
74423 * sysdeps/i386/fpu/libm-test-ulps: Update.
74424
74425 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
74426
74427 * include/atomic.h (atomic_exchange_and_add): Split into ...
74428 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
74429 New atomic macros.
74430
74431 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
74432
74433 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74434
74435 2012-08-13 Jeff Law <law@redhat.com>
74436
74437 * manual/stdio.texi (snprintf): Clarify handling of the trailing
74438 null byte in the output string.
74439
74440 2012-08-10 Joseph Myers <joseph@codesourcery.com>
74441
74442 * sysdeps/unix/sysv/linux/kernel-features.h
74443 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
74444 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
74445 (__ASSUME_ARG_MAX_STACK_BASED): Define.
74446 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
74447 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
74448 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
74449 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
74450
74451 2012-08-09 Jeff Law <law@redhat.com>
74452
74453 [BZ #13939]
74454 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
74455 When avoid_arena is set, don't retry in the that arena. Pick the
74456 next one, whatever it might be.
74457 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
74458 (arena_lock): Pass in new parameter to arena_get2.
74459 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
74460 arena_get2.
74461 (__libc_malloc): Unify retrying after main arena failure with
74462 __libc_memalign version.
74463 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
74464
74465 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
74466
74467 [BZ #14166]
74468 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
74469 to __redirect_strstr.
74470 (__strstr_sse42): Use typeof __redirect_strstr.
74471 (__strstr_ia32): Likewise.
74472 (__libc_strstr): New prototype.
74473 (strstr): Renamed to ...
74474 (__libc_strstr): This.
74475 (strstr): New strong alias of __libc_strstr.
74476 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
74477 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
74478 __redirect_time.
74479 Include <time.h>.
74480 (__libc_time): New prototype.
74481 (time_ifunc): Replace time with __libc_time.
74482 (time): New strong alias and hidden definition of __libc_time.
74483 (__GI_time): Remove strong alias.
74484 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
74485 Include <stddef.h>.
74486 (memmove): Redefined to __redirect_memmove.
74487 (__memmove_sse2): Use typeof __redirect_memmove.
74488 (__memmove_ssse3): Likewise.
74489 (__memmove_ssse3_back): Likewise.
74490 (__libc_memmove): New prototype.
74491 (memmove): Renamed to ...
74492 (__libc_memmove): This.
74493 (memmove): New strong alias of __libc_memmove.
74494
74495 2012-08-08 Mark Salter <msalter@redhat.com>
74496
74497 * elf/elf.h
74498 (R_MN10300_TLS_GD): Define.
74499 (R_MN10300_TLS_LD): Likewise.
74500 (R_MN10300_TLS_LDO): Likewise.
74501 (R_MN10300_TLS_GOTIE): Likewise.
74502 (R_MN10300_TLS_IE): Likewise.
74503 (R_MN10300_TLS_LE): Likewise.
74504 (R_MN10300_TLS_DTPMOD): Likewise.
74505 (R_MN10300_TLS_DTPOFF): Likewise.
74506 (R_MN10300_TLS_TPOFF): Likewise.
74507 (R_MN10300_SYM_DIFF): Likewise.
74508 (R_MN10300_ALIGN): Likewise.
74509 (R_MN10300_NUM): Update.
74510
74511 2012-08-08 Joseph Myers <joseph@codesourcery.com>
74512
74513 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
74514 Remove.
74515
74516 2012-08-08 Roland McGrath <roland@hack.frob.com>
74517
74518 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
74519
74520 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
74521 sysdeps/unix -> sysdeps/posix move.
74522 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
74523
74524 2012-08-07 Allan McRae <allan@archlinux.org>
74525
74526 [BZ #14303]
74527 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
74528 (SUNOS_CPP): Likewise.
74529 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
74530 not found.
74531 (open_input): Call CPP using execvp.
74532
74533 2012-08-07 Joseph Myers <joseph@codesourcery.com>
74534
74535 * sysdeps/unix/sysv/linux/kernel-features.h
74536 (__ASSUME_PROT_GROWSUPDOWN): Remove.
74537 (__ASSUME_NO_CLONE_DETACHED): Likewise.
74538 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
74539 (__ASSUME_WAITID_SYSCALL): Likewise.
74540 * sysdeps/unix/sysv/linux/dl-execstack.c
74541 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
74542 code unconditional.
74543 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
74544 conditional code.
74545 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
74546 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
74547 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
74548 code.
74549 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
74550 unconditional.
74551 [__ASSUME_WAITID_SYSCALL]: Likewise.
74552 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
74553
74554 2012-08-07 Roland McGrath <roland@hack.frob.com>
74555
74556 * sysdeps/unix/closedir.c: Renamed to ...
74557 * sysdeps/posix/closedir.c: ... here.
74558 * sysdeps/unix/dirfd.c: Renamed to ...
74559 * sysdeps/posix/dirfd.c: ... here.
74560 * sysdeps/unix/dirstream.h: Renamed to ...
74561 * sysdeps/posix/dirstream.h: ... here.
74562 * sysdeps/unix/fdopendir.c: Renamed to ...
74563 * sysdeps/posix/fdopendir.c: ... here.
74564 * sysdeps/unix/opendir.c: Renamed to ...
74565 * sysdeps/posix/opendir.c: ... here.
74566 * sysdeps/unix/readdir.c: Renamed to ...
74567 * sysdeps/posix/readdir.c: ... here.
74568 * sysdeps/unix/readdir_r.c: Renamed to ...
74569 * sysdeps/posix/readdir_r.c: ... here.
74570 * sysdeps/unix/rewinddir.c: Renamed to ...
74571 * sysdeps/posix/rewinddir.c: ... here.
74572 * sysdeps/unix/seekdir.c: Renamed to ...
74573 * sysdeps/posix/seekdir.c: ... here.
74574 * sysdeps/unix/telldir.c: Renamed to ...
74575 * sysdeps/posix/telldir.c: ... here.
74576 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
74577 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
74578 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
74579 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
74580
74581 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
74582 * bits/fcntl.h: ... here.
74583
74584 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
74585 not 0.
74586 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
74587 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
74588 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
74589 (struct flock): Move l_start, l_len to the beginning.
74590 Use __pid_t for l_pid.
74591 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
74592 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
74593 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
74594 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
74595 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
74596 [__USE_LARGEFILE64] (struct flock64): New type.
74597 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
74598
74599 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
74600 * bits/dirent.h: ... here.
74601
74602 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
74603 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
74604
74605 2012-08-07 Joseph Myers <joseph@codesourcery.com>
74606
74607 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74608 Change from 2.6.0 to 2.6.16.
74609 * sysdeps/unix/sysv/linux/configure: Regenerated.
74610 * sysdeps/unix/sysv/linux/kernel-features.h
74611 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
74612 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
74613 version.
74614 (__ASSUME_UTIMES): Likewise.
74615 (__ASSUME_CLONE_STOPPED): Remove.
74616 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
74617 architectures, not kernel version.
74618 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
74619 (__ASSUME_NO_CLONE_DETACHED): Likewise.
74620 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
74621 (__ASSUME_WAITID_SYSCALL): Likewise.
74622 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
74623 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
74624 * README: State 2.6.16 as minimum Linux kernel version. Do not
74625 refer to older versions.
74626
74627 2012-08-06 Roland McGrath <roland@hack.frob.com>
74628
74629 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
74630 Define alphasort64 as an alias.
74631 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
74632 Define versionsort64 as an alias.
74633 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
74634 Define scandir64 as an alias.
74635 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
74636 Define scandirat64 as an alias.
74637 * dirent/alphasort64.c (alphasort64):
74638 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
74639 * dirent/versionsort64.c: Likewise.
74640 * dirent/scandir64.c: Likewise.
74641 * dirent/scandirat64.c: Likewise.
74642 * sysdeps/wordsize-64/alphasort.c: File removed.
74643 * sysdeps/wordsize-64/alphasort64.c: File removed.
74644 * sysdeps/wordsize-64/scandir.c: File removed.
74645 * sysdeps/wordsize-64/scandir64.c: File removed.
74646 * sysdeps/wordsize-64/scandirat.c: File removed.
74647 * sysdeps/wordsize-64/scandirat64.c: File removed.
74648 * sysdeps/wordsize-64/versionsort.c: File removed.
74649 * sysdeps/wordsize-64/versionsort64.c: File removed.
74650 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
74651 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
74652 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
74653 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
74654 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
74655 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
74656 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
74657 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
74658
74659 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
74660 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
74661 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
74662 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74663 [defined __arch64__ || defined __sparcv9]
74664 (__INO_T_MATCHES_INO64_T): New macro.
74665 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
74666 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
74667 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
74668 * sysdeps/unix/sysv/linux/bits/dirent.h
74669 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
74670 (_DIRENT_MATCHES_DIRENT64): New macro.
74671
74672 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
74673 Define lockf64 as an alias.
74674 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
74675 Define fseeko64 as an alias.
74676 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
74677 Define ftello64 as an alias.
74678 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
74679 Define _IO_fgetpos64 and fgetpos64 as aliases.
74680 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
74681 Define _IO_fsetpos64 and fsetpos64 as aliases.
74682 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
74683 Conditionalize body on this.
74684 * libio/fseeko64.c: Likewise.
74685 * libio/ftello64.c: Likewise.
74686 * libio/iofgetpos64.c: Likewise.
74687 * libio/iofsetpos64.c: Likewise.
74688 * sysdeps/wordsize-64/lockf.c: File removed.
74689 * sysdeps/wordsize-64/lockf64.c: File removed.
74690 * sysdeps/wordsize-64/fseeko.c: File removed.
74691 * sysdeps/wordsize-64/fseeko64.c: File removed.
74692 * sysdeps/wordsize-64/ftello.c: File removed.
74693 * sysdeps/wordsize-64/ftello64.c: File removed.
74694 * sysdeps/wordsize-64/iofgetpos.c: File removed.
74695 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
74696 * sysdeps/wordsize-64/iofsetpos.c: File removed.
74697 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
74698 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
74699 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
74700 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
74701 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
74702 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
74703 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
74704 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
74705 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
74706 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
74707 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
74708
74709 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
74710 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
74711 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
74712 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74713 [defined __arch64__ || defined __sparcv9]
74714 (__OFF_T_MATCHES_OFF64_T): New macro.
74715 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
74716 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
74717 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74718 (__OFF_T_MATCHES_OFF64_T): New macro.
74719
74720 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
74721
74722 * stdlib/secure-getenv.c (__secure_getenv): Replace
74723 GLIBC_2_16 with GLIBC_2_17.
74724
74725 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
74726
74727 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
74728 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
74729
74730 2012-08-03 David S. Miller <davem@davemloft.net>
74731
74732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74733
74734 2012-08-03 Joseph Myers <joseph@codesourcery.com>
74735
74736 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
74737 Remove.
74738 (__ASSUME_CORRECT_SI_PID): Likewise.
74739 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
74740 (__ASSUME_TMPFS_NAME): Likewise.
74741 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
74742 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
74743 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
74744 (HAVE_AUX_SECURE): Make definition unconditional.
74745 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
74746 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
74747
74748 2012-08-03 Roland McGrath <roland@hack.frob.com>
74749
74750 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
74751 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
74752 * sysdeps/mach/hurd/eloop-threshold.h: New file.
74753 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
74754 __eloop_threshold instead of SYMLOOP_MAX.
74755
74756 * sysdeps/generic/eloop-threshold.h: New file.
74757 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
74758 of MAXSYMLINKS.
74759 * elf/chroot_canon.c (chroot_canon): Likewise.
74760
74761 2012-08-03 Joseph Myers <joseph@codesourcery.com>
74762
74763 [BZ #13717]
74764 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74765 Change to 2.6.0 everywhere.
74766 * sysdeps/unix/sysv/linux/configure: Regenerated.
74767 * sysdeps/unix/sysv/linux/kernel-features.h
74768 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
74769 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
74770 kernel versions.
74771 (__ASSUME_POSIX_TIMERS): Define unconditionally.
74772 (__ASSUME_FUTEX_REQUEUE): Remove.
74773 (__ASSUME_STATFS64): Define unconditionally.
74774 (__ASSUME_AT_SECURE): Likewise.
74775 (__ASSUME_CORRECT_SI_PID): Likewise.
74776 (__ASSUME_TGKILL): Define without depending on kernel version for
74777 i386.
74778 (__ASSUME_UTIMES): Likewise.
74779 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
74780 kernel version.
74781 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
74782 (__ASSUME_TMPFS_NAME): Likewise.
74783 * README: Update reference to Linux kernel versions.
74784
74785 2012-08-02 Marek Polacek <polacek@redhat.com>
74786
74787 [BZ #14150]
74788 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
74789 libc_cv_asm_type_prefix with %.
74790 * configure: Regenerated.
74791 * include/libc-symbols.h: Remove comment about
74792 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
74793 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
74794 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
74795 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
74796 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
74797 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
74798 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
74799 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
74800 * elf/tst-unique2mod1.c: Likewise.
74801 * elf/tst-unique1mod2.c: Likewise.
74802 * elf/tst-unique1mod1.c: Likewise.
74803 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
74804 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
74805 Replace ASM_TYPE_DIRECTIVE with .type.
74806 * sysdeps/s390/s390-64/sysdep.h: Likewise.
74807 * sysdeps/i386/sysdep.h: Likewise.
74808 * sysdeps/x86_64/sysdep.h: Likewise.
74809 * sysdeps/sh/sysdep.h: Likewise.
74810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
74811 Do not define ASM_TYPE_DIRECTIVE.
74812 * sysdeps/powerpc/sysdep.h: Likewise.
74813 * sysdeps/powerpc/powerpc32/sysdep.h:
74814 Replace ASM_TYPE_DIRECTIVE with .type.
74815 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
74816 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
74817 * sysdeps/i386/fpu/e_powf.S: Likewise.
74818 * sysdeps/i386/fpu/e_expl.S: Likewise.
74819 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74820 * sysdeps/i386/fpu/e_acosh.S: Likewise.
74821 * sysdeps/i386/fpu/e_pow.S: Likewise.
74822 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
74823 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74824 * sysdeps/i386/fpu/s_expm1.S: Likewise.
74825 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
74826 * sysdeps/i386/fpu/e_log2.S: Likewise.
74827 * sysdeps/i386/fpu/e_log2l.S: Likewise.
74828 * sysdeps/i386/fpu/e_scalb.S: Likewise.
74829 * sysdeps/i386/fpu/e_powl.S: Likewise.
74830 * sysdeps/i386/fpu/e_log10f.S: Likewise.
74831 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
74832 * sysdeps/i386/fpu/e_logl.S: Likewise.
74833 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
74834 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
74835 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
74836 * sysdeps/i386/fpu/e_log2f.S: Likewise.
74837 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74838 * sysdeps/i386/fpu/e_log.S: Likewise.
74839 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74840 * sysdeps/i386/fpu/e_logf.S: Likewise.
74841 * sysdeps/i386/fpu/e_log10l.S: Likewise.
74842 * sysdeps/i386/fpu/e_atanh.S: Likewise.
74843 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
74844 * sysdeps/i386/fpu/e_log10.S: Likewise.
74845 * sysdeps/i386/fpu/s_frexp.S: Likewise.
74846 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74847 * sysdeps/i386/fpu/s_asinh.S: Likewise.
74848 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
74849 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74850 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
74851 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
74852 * sysdeps/i386/i686/strtok.S: Likewise.
74853 * sysdeps/i386/i386-mcount.S: Likewise.
74854 * sysdeps/i386/strtok.S: Likewise.
74855 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
74856 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74857 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74858 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74859 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
74860 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74861 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
74862 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
74863 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74864 * sysdeps/x86_64/_mcount.S: Likewise.
74865 * sysdeps/x86_64/strtok.S: Likewise.
74866 * sysdeps/sh/_mcount.S: Likewise.
74867
74868 2012-08-01 Roland McGrath <roland@hack.frob.com>
74869
74870 * libio/iofopen.c: Include <fcntl.h>.
74871 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
74872 (_IO_fopen64, fopen64): Define as aliases.
74873 * libio/iofopen64.c: Include <fcntl.h>.
74874 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
74875 Conditionalize body on this.
74876 * sysdeps/wordsize-64/iofopen.c: File removed.
74877 * sysdeps/wordsize-64/iofopen64.c: File removed.
74878
74879 2012-08-01 Marek Polacek <polacek@redhat.com>
74880
74881 * libc/Makeconfig: Use elf in place of binfmt-subdir.
74882 Use dlfcn directly instead of a variable.
74883 (binfmt-subdir): Do not define.
74884 (dlfcn): Likewise.
74885
74886 2012-08-01 Joseph Myers <joseph@codesourcery.com>
74887
74888 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
74889 Remove all definitions.
74890 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
74891 <kernel-features.h>.
74892 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
74893 (miss_F_GETOWN_EX): Remove all definitions.
74894 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
74895 macro definition.
74896 [!__ASSUME_FCNTL64]: Remove conditional code.
74897 [__ASSUME_FCNTL64]: Make code unconditional.
74898 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
74899 <kernel-features.h>.
74900 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
74901 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
74902 (lockf64) [__NR_fcntl64]: Make code unconditional.
74903 (lockf64) [__ASSUME_FCNTL64]: Likewise.
74904
74905 * sysdeps/unix/sysv/linux/kernel-features.h
74906 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
74907 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
74908 Make code unconditional.
74909 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
74910 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
74911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
74912 [__NR_vfork]: Make code unconditional.
74913 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
74914 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
74915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
74916 [__NR_vfork]: Make code unconditional.
74917 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
74918 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
74919
74920 2012-08-01 Roland McGrath <roland@hack.frob.com>
74921
74922 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
74923 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
74924
74925 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
74926 Define mkstemp64 as an alias.
74927 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
74928 Define mkstemps64 as an alias.
74929 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
74930 Define mkostemp64 as an alias.
74931 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
74932 Define mkostemps64 as an alias.
74933 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
74934 Conditionalize body on this.
74935 * misc/mkostemp64.c: Likewise.
74936 * misc/mkostemps64.c: Likewise.
74937 * misc/mkstemps64.c: Likewise.
74938 * sysdeps/wordsize-64/mkstemp64.c: File removed.
74939 * sysdeps/wordsize-64/mkostemp64.c: File removed.
74940 * sysdeps/wordsize-64/mkostemp.c: File removed.
74941 * sysdeps/wordsize-64/mkstemp.c: File removed.
74942 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
74943 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
74944 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
74945 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
74946
74947 [BZ #14138]
74948 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
74949 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
74950 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
74951 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
74952
74953 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
74954 compat_symbol macros from <shlib-compat.h> rather than the underlying
74955 default_symbol_version and symbol_version macros, so that DEFAULT
74956 lines in shlib-versions are respected.
74957 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
74958
74959 2012-08-01 Florian Weimer <fweimer@redhat.com>
74960
74961 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
74962 Declare with warn_unused_result.
74963 (setgid, setregid, setegid, setresgid): Likewise.
74964 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
74965 Likewise.
74966 * WUR-REPORT: Remove set*id functions.
74967
74968 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
74969
74970 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
74971
74972 2012-07-31 Roland McGrath <roland@hack.frob.com>
74973
74974 [BZ #10191]
74975 * include/sys/socket.h (__libc_accept, __libc_accept4):
74976 Add attribute_hidden.
74977 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
74978
74979 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
74980 use of PTR_MANGLE.
74981 * inet/getnetgrent_r.c (setup): Likewise.
74982
74983 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
74984
74985 2012-07-31 David S. Miller <davem@davemloft.net>
74986
74987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74988
74989 2012-07-31 Joseph Myers <joseph@codesourcery.com>
74990
74991 [BZ #13629]
74992 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
74993 value between 1.0 and 2.0 and smaller part has absolute value less
74994 than 1.0.
74995 * math/s_clog10.c (__clog10): Likewise.
74996 * math/s_clog10f.c (__clog10f): Likewise.
74997 * math/s_clog10l.c (__clog10l): Likewise.
74998 * math/s_clogf.c (__clogf): Likewise.
74999 * math/s_clogl.c (__clogl): Likewise.
75000 * math/libm-test.inc (clog_test): Add more tests.
75001 (clog10_test): Likewise.
75002 * sysdeps/i386/fpu/libm-test-ulps: Update.
75003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75004
75005 2012-07-31 Florian Weimer <fweimer@redhat.com>
75006
75007 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
75008 Exit with zero in case no suitable GID is found, and write a
75009 message to standard error.
75010
75011 2012-07-30 Roland McGrath <roland@hack.frob.com>
75012
75013 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
75014 rather than to 1.
75015 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
75016 (MAXPATHLEN): Removed.
75017 (NOGROUP, NODEV): New macros.
75018 (setbit, clrbit, isset, isclr): New macros.
75019 (howmany, roundup, powerof2): New macros.
75020 (DEV_BSIZE): New macro.
75021
75022 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
75023 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
75024
75025 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
75026 definition on [!__NO_LONG_DOUBLE_MATH].
75027
75028 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
75029 PTR_MANGLE and PTR_DEMANGLE.
75030
75031 * socket/accept4.c (accept4): Rename to __libc_accept4.
75032 Define accept4 as a weak alias.
75033
75034 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
75035 on [_DIRENT_HAVE_D_TYPE].
75036 * io/ftw.c (ftw_dir): Likewise.
75037
75038 * io/xmknod.c (__xmknod): Don't check PATH for being null.
75039
75040 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
75041
75042 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
75043 Use the BSD numbers rather than the arbitrary ones we had.
75044 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
75045 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
75046 (SIGXCPU, SIGXFSZ): New macros.
75047 (_NSIG): Now 32.
75048
75049 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
75050 initializer on [_LIBC_REENTRANT].
75051
75052 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
75053 definitions inside [_POSIX_MAPPED_FILES].
75054
75055 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
75056
75057 * dirent/opendir.c: Include <fcntl.h>.
75058
75059 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
75060 (__libc_getspecific): Likewise.
75061 (__libc_key_create): Likewise.
75062
75063 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
75064 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
75065 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
75066 (tmpfile64): Define as alias.
75067 * sysdeps/wordsize-64/tmpfile.c: File removed.
75068 * sysdeps/wordsize-64/tmpfile64.c: File removed.
75069 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
75070 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
75071
75072 * stdio-common/vfscanf.c: Include <stdbool.h>.
75073 * nss/makedb.c: Likewise.
75074 * stdio-common/_i18n_number.h: Likewise.
75075 * argp/argp-help.c: Likewise.
75076 * posix/wordexp.c: Likewise.
75077 * sysdeps/posix/spawni.c: Likewise.
75078 * nss/nss_files/files-initgroups.c: Likewise.
75079 * stdio-common/reg-modifier.c: Include <stdlib.h>.
75080 * nss/nss_files/files-initgroups.c: Likewise.
75081 * nss/nss_db/db-netgrp.c: Likewise.
75082 * nss/nss_db/db-initgroups.c: Likewise.
75083 * io/fchmodat.c: Include <sys/stat.h>.
75084
75085 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
75086 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
75087
75088 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
75089 [HAVE_MMAP].
75090
75091 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
75092 Add multiple inclusion protection.
75093
75094 2012-07-27 David S. Miller <davem@davemloft.net>
75095
75096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75097
75098 2012-07-27 Gary Benson <gbenson@redhat.com>
75099
75100 [BZ #14298]
75101 * elf/rtld.c: Include <stap-probe.h>.
75102 (dl_main): Added static probes "init_start" and "init_complete".
75103 * elf/dl-load.c: Include <stap-probe.h>.
75104 (lose): Take new parameter "nsid".
75105 Added static probe "map_failed".
75106 (_dl_map_object_from_fd): Pass namespace id to lose.
75107 Added static probe "map_start".
75108 (open_verify): Pass namespace id to lose.
75109 * elf/dl-open.c: Include <stap-probe.h>.
75110 (dl_open_worker) Added static probes "map_complete", "reloc_start"
75111 and "reloc_complete".
75112 * elf/dl-close.c: Include <stap-probe.h>.
75113 (_dl_close_worker): Added static probes "unmap_start" and
75114 "unmap_complete".
75115 * elf/rtld-debugger-interface.txt: New file documenting the above.
75116
75117 2012-07-26 Roland McGrath <roland@hack.frob.com>
75118
75119 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
75120 rather than a string variable.
75121 * sunrpc/rpc_main.c (h_output): Likewise.
75122 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
75123
75124 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
75125
75126 * inet/check_native.c: New file.
75127
75128 2012-07-26 Joseph Myers <joseph@codesourcery.com>
75129
75130 [BZ #13629]
75131 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
75132 if larger part has absolute value 1.0.
75133 * math/s_clog10.c (__clog10): Likewise.
75134 * math/s_clog10f.c (__clog10f): Likewise.
75135 * math/s_clog10l.c (__clog10l): Likewise.
75136 * math/s_clogf.c (__clogf): Likewise.
75137 * math/s_clogl.c (__clogl): Likewise.
75138 * math/libm-test.inc (clog_test): Add more tests.
75139 (clog10_test): Likewise.
75140 * sysdeps/i386/fpu/libm-test-ulps: Update.
75141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75142
75143 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
75144 (pltexit): Likewise.
75145 (La_regs): Likewise.
75146 (La_retval): Likewise.
75147 (int_retval): Likewise.
75148 Update #error for removed macros to refer only to definitions in
75149 tst-audit.h.
75150 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
75151 macro.
75152 (pltexit): Likewise.
75153 (La_regs): Likewise.
75154 (La_retval): Likewise.
75155 (int_retval): Likewise.
75156 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
75157 macro.
75158 (pltexit): Likewise.
75159 (La_regs): Likewise.
75160 (La_retval): Likewise.
75161 (int_retval): Likewise.
75162 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
75163 macro.
75164 (pltexit): Likewise.
75165 (La_regs): Likewise.
75166 (La_retval): Likewise.
75167 (int_retval): Likewise.
75168 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
75169 macro.
75170 (pltexit): Likewise.
75171 (La_regs): Likewise.
75172 (La_retval): Likewise.
75173 (int_retval): Likewise.
75174 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
75175 macro.
75176 (pltexit): Likewise.
75177 (La_regs): Likewise.
75178 (La_retval): Likewise.
75179 (int_retval): Likewise.
75180 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
75181 macro.
75182 (pltexit): Likewise.
75183 (La_regs): Likewise.
75184 (La_retval): Likewise.
75185 (int_retval): Likewise.
75186 * sysdeps/generic/tst-audit.h: Update comment to refer only to
75187 macro definitions in tst-audit.h.
75188 * sysdeps/i386/tst-audit.h: New file.
75189 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
75190 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
75191 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
75192 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
75193 * sysdeps/sh/tst-audit.h: Likewise.
75194 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
75195 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
75196 * sysdeps/x86_64/tst-audit.h: Likewise.
75197
75198 2012-07-26 Andreas Jaeger <aj@suse.de>
75199
75200 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
75201 ptrace.
75202
75203 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
75204 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
75205 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
75206 PTRACE_O_MASK.
75207 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
75208 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
75209 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
75210
75211 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
75212 value.
75213
75214 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
75215 _sigsys.
75216 (si_call_addr, si_syscall, si_arch): Define new macro.
75217 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
75218 _sigsys.
75219 (si_call_addr, si_syscall, si_arch): Define new marcro.
75220 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
75221 _sigsys.
75222 (si_call_addr, si_syscall, si_arch): Define new macro.
75223 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
75224 _sigsys.
75225 (si_call_addr, si_syscall, si_arch): Define new macro.
75226
75227 2012-07-25 Joseph Myers <joseph@codesourcery.com>
75228
75229 [BZ #13717]
75230 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75231 Change to 2.4.21 where previously 2.4.1.
75232 * sysdeps/unix/sysv/linux/configure: Regenerated.
75233 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
75234 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
75235 Linux kernel version.
75236 (__ASSUME_STD_AUXV): Remove.
75237 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
75238 kernel version.
75239 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
75240 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
75241 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
75242 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
75243 (__ASSUME_NETLINK_SUPPORT): Likewise.
75244 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
75245 (__no_netlink_support): Remove conditional definition.
75246 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
75247 Remove.
75248 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
75249 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
75250 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
75251 (if_nameindex_ioctl): Remove.
75252 (if_nameindex_netlink): Do not handle __no_netlink_support.
75253 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
75254 code.
75255 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
75256 Remove conditional code.
75257 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
75258 code.
75259 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
75260 unconditional.
75261 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
75262 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
75263 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
75264 Remove.
75265 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
75266 [!__ASSUME_STD_AUXV]: Remove conditional code.
75267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
75268 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
75269 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
75270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
75271 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
75272 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
75273 code.
75274 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
75275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
75276 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
75277 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
75278 conditional code.
75279 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
75280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
75281 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
75282 code.
75283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
75284 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
75285 conditional code.
75286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
75287 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
75288 code unconditional.
75289 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75290 conditional code.
75291 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75292 unconditional.
75293 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75294 conditional code.
75295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
75296 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75297 unconditional.
75298 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75299 conditional code.
75300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
75301 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
75302 code unconditional.
75303 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75304 conditional code.
75305 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75306 unconditional.
75307 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75308 conditional code.
75309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
75310 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
75311 code unconditional.
75312 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75313 conditional code.
75314 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75315 unconditional.
75316 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75317 conditional code.
75318
75319 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
75320
75321 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
75322 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
75323 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
75324 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
75325 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
75326 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
75327 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
75328 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
75329 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
75330 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
75331 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
75332 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
75333 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
75334 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
75335 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
75336 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
75337 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
75338 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
75339 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
75340 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
75341 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
75342 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
75343 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
75344
75345 2012-07-25 Florian Weimer <fweimer@redhat.com>
75346
75347 * Versions.def: Add GLIBC_2.17.
75348 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
75349 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
75350 Introduce __libc_secure_getenv.
75351 * stdlib/Versions (2.17): Add secure_getenv
75352 (GLIBC_PRIVATE): Add __libc_secure_getenv.
75353 * stdlib/secure-getenv.c: Rename __secure_getenv to
75354 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
75355 symbol __secure_getenv for GLIBC_2.0.
75356 * stdlib/tst-secure-getenv.c: New.
75357 * stdlib/Makefile (tests): Add testcase.
75358 * manual/startup.texi (Environment Access): Document
75359 secure_getenv.
75360 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
75361 __libc_secure_getenv.
75362 * inet/ruserpass.c (ruserpass): Likewise.
75363 * malloc/mtrace.c (mtrace): Likewise.
75364 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
75365 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
75366 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
75367 * sysdeps/posix/tempname.c: Likewise. Evaluate
75368 HAVE_SECURE_GETENV.
75369 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
75370 __secure_getenv to __libc_secure_getenv.
75371 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
75372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75373 Likewise.
75374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75375 Likewise.
75376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75378 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75383
75384 2012-07-25 Joseph Myers <joseph@codesourcery.com>
75385
75386 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
75387 (struct La_i86_retval): Likewise.
75388 (struct La_x86_64_regs): Likewise.
75389 (struct La_x86_64_retval): Likewise.
75390 (struct La_x32_regs): Likewise.
75391 (struct La_x32_retval): Likewise.
75392 (struct La_ppc32_regs): Likewise.
75393 (struct La_ppc32_retval): Likewise.
75394 (struct La_ppc64_regs): Likewise.
75395 (struct La_ppc64_retval): Likewise.
75396 (struct La_sh_regs): Likewise.
75397 (struct La_sh_retval): Likewise.
75398 (struct La_s390_32_regs): Likewise.
75399 (struct La_s390_32_retval): Likewise.
75400 (struct La_s390_64_regs): Likewise.
75401 (struct La_s390_64_retval): Likewise.
75402 (struct La_sparc32_regs): Likewise.
75403 (struct La_sparc32_retval): Likewise.
75404 (struct La_sparc64_regs): Likewise.
75405 (struct La_sparc64_retval): Likewise.
75406 (struct audit_ifaces): Remove architecture-specific pltenter and
75407 pltexit members.
75408 * sysdeps/i386/ldsodefs.h: New file.
75409 * sysdeps/powerpc/ldsodefs.h: Likewise.
75410 * sysdeps/s390/ldsodefs.h: Likewise.
75411 * sysdeps/sh/ldsodefs.h: Likewise.
75412 * sysdeps/sparc/ldsodefs.h: Likewise.
75413 * sysdeps/x86_64/ldsodefs.h: Likewise.
75414
75415 2012-07-25 Marek Polacek <polacek@redhat.com>
75416
75417 [BZ #6808]
75418 * math/libm-test.inc (yn_test): Add another test.
75419 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
75420 to ERANGE when the result is +-Inf.
75421 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
75422 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
75423 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
75424 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
75425
75426 2012-07-24 Joseph Myers <joseph@codesourcery.com>
75427
75428 * conform/data/time.h-data (NULL): Use macro-constant. Require
75429 equal to 0.
75430 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
75431 clock_t.
75432 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
75433
75434 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
75435
75436 * configure.in <sysdeps resolving>: Correct printing
75437 Implies_before.
75438 * configure: Regenerate.
75439
75440 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
75441
75442 * math/w_ilogb.c: Include <limits.h>.
75443 * math/w_ilogbl.c: Likewise.
75444
75445 2012-07-20 Joseph Myers <joseph@codesourcery.com>
75446
75447 * manual/lang.texi (__va_copy): Document primarily as ISO C99
75448 va_copy. Document allowing for unavailable va_copy only as
75449 pre-C99 compatibility.
75450 * manual/string.texi (Copying and Concatenation): Use va_copy
75451 instead of __va_copy in concat example.
75452
75453 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
75454
75455 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
75456 (__sendto): Use create_address_port. Initialize APORT and deallocate
75457 it if not null.
75458
75459 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
75460 with O_NOLINK passed to __file_name_lookup.
75461
75462 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
75463 with O_NOLINK passed to __file_name_lookup.
75464
75465 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
75466 negative N or less than NGIDS.
75467
75468 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
75469 type to string_t. Set ERANGE as errno and return it if NAME is not big
75470 enough. Use memcpy instead of strncpy.
75471
75472 2012-07-20 Joseph Myers <joseph@codesourcery.com>
75473
75474 * elf/Makefile (check-data): Remove.
75475 (localplt.data): New vpath directive.
75476 ($(objpfx)check-localplt.out): Use localplt.data from vpath
75477 instead of $(check-data).
75478 * scripts/data/localplt-generic.data: Move to ...
75479 * sysdeps/generic/localplt.data: ... here.
75480 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
75481 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
75482 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
75483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
75484 ... here.
75485 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
75486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
75487 ... here.
75488 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
75489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
75490 ... here.
75491 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
75492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
75493 ... here.
75494 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
75495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
75496 ... here.
75497 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
75498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
75499 ... here.
75500
75501 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
75502
75503 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
75504 PPC32 and PPC64 files.
75505 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
75506 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
75507
75508 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75509
75510 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
75511 __makecontext_ret to ...
75512 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
75513 ... here and call exit if uc_link is NULL. New file.
75514 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
75515 __makecontext_ret.S.
75516 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
75517 __makecontext_ret to ...
75518 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
75519 ... here and call exit if uc_link is NULL. New file.
75520 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
75521 __makecontext_ret.S.
75522
75523 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75524
75525 * elf/elf.h (R_390_IRELATIVE): New definition.
75526 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
75527 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
75528 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
75529 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
75530 (elf_machine_lazy_rel): Likewise.
75531 * sysdeps/s390/dl-irel.h: New file.
75532 * sysdeps/s390/s390-64/memcpy.S: New asm code.
75533 * sysdeps/s390/s390-64/memset.S: New asm code.
75534 * sysdeps/s390/s390-64/memcmp.S: New asm code.
75535 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
75536 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
75537 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
75538 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
75539 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
75540 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
75541 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
75542 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
75543 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
75544 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
75545 * sysdeps/s390/s390-32/memcpy.S: New asm code.
75546 * sysdeps/s390/s390-32/memset.S: New asm code.
75547 * sysdeps/s390/s390-32/memcmp.S: New asm code.
75548
75549 2012-07-17 Marek Polacek <polacek@redhat.com>
75550
75551 [BZ #14349]
75552 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
75553 * sysdeps/s390/s390-64/configure.in: Likewise.
75554 * sysdeps/sparc/configure.in: Likewise.
75555 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
75556 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
75557 * sysdeps/i386/configure.in: Likewise.
75558 * sysdeps/x86_64/configure.in: Likewise.
75559 * sysdeps/sh/configure.in: Likewise.
75560 * sysdeps/s390/s390-32/configure: Regenerated.
75561 * sysdeps/s390/s390-64/configure: Likewise.
75562 * sysdeps/x86_64/configure: Likewise.
75563 * sysdeps/sh/configure: Likewise.
75564 * sysdeps/powerpc/powerpc64/configure: Likewise.
75565 * sysdeps/powerpc/powerpc32/configure: Likewise.
75566 * sysdeps/sparc/configure: Likewise.
75567 * sysdeps/i386/configure: Likewise.
75568
75569 * elf/dl-open.c: Comment fixes.
75570
75571 2012-07-17 Joseph Myers <joseph@codesourcery.com>
75572
75573 * Makefile [CXX] (check-data): Remove.
75574 [CXX] (c++-types.data): New vpath directive.
75575 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
75576 vpath. Do not allow for C++ type data being missing.
75577 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
75578 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
75579 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
75580 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
75581 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
75582 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
75583 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
75584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
75585 ... here.
75586 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
75587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
75588 ... here.
75589 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
75590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
75591 ... here.
75592 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
75593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
75594 ... here.
75595 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
75596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
75597 ... here.
75598 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
75599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
75600 ... here.
75601 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
75602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
75603 ... here.
75604 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
75605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
75606
75607 * elf/tls-macros.h (TLS_LE): Move architecture-specific
75608 definitions to architecture-specific files.
75609 (TLS_IE): Likewise.
75610 (TLS_LD): Likewise.
75611 (TLS_GD): Likewise.
75612 * sysdeps/i386/tls-macros.h: New file.
75613 * sysdeps/powerpc/tls-macros.h: Likewise.
75614 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
75615 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
75616 * sysdeps/sh/tls-macros.h: Likewise.
75617 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
75618 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
75619 * sysdeps/x86_64/tls-macros.h: Likewise.
75620
75621 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
75622
75623 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
75624 zero value for regular exit case.
75625
75626 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
75627 (__start_context): Preserve zero value for regular exit case.
75628
75629 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
75630 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75631
75632 * manual/setjmp.texi (setcontext): Clarify normal process
75633 termination when uc_link is the null pointer.
75634 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
75635 exit call.
75636
75637 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
75638
75639 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
75640 preprocessor. Test for each exception mask separately.
75641
75642 2012-07-16 Andreas Jaeger <aj@suse.de>
75643
75644 * po/ru.po: Update from translation team.
75645
75646 2012-07-15 Joseph Myers <joseph@codesourcery.com>
75647
75648 * conform/data/string.h-data (NULL): Use macro-constant. Require
75649 equal to 0.
75650 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
75651 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
75652 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
75653 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
75654 [ISO || ISO99 || ISO11] (*_t): Do not allow.
75655
75656 2012-07-13 Andreas Jaeger <aj@suse.de>
75657
75658 * po/fr.po: Update from translation team.
75659
75660 2012-07-12 Marek Polacek <polacek@redhat.com>
75661
75662 [BZ #14173]
75663 * math/libm-test.inc (yn_test): Add test for BZ #14173.
75664 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
75665 loop condition.
75666
75667 2012-07-12 Joseph Myers <joseph@codesourcery.com>
75668
75669 [BZ #13717]
75670 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75671 Change to 2.4.1 where previously 2.4.0.
75672 * sysdeps/unix/sysv/linux/configure: Regenerated.
75673 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
75674 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
75675 version.
75676 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
75677 (__ASSUME_AT_CLKTCK): Remove.
75678 (__ASSUME_AT_PAGESIZE): Likewise.
75679 (__ASSUME_AT_XID): Likewise.
75680 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
75681 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
75682 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
75683 unconditionally.
75684 (HAVE_AUX_PAGESIZE): Likewise.
75685 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
75686 [__ASSUME_AT_CLKTCK]: Make code unconditional.
75687 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
75688
75689 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
75690
75691 [BZ #14307]
75692 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
75693 the temporary buffer used to invoke __gethostbyname2_r,
75694 __gethostbyaddr_r and gethostbyname4_r to make room for struct
75695 host_data / struct gaih_addrtuple.
75696 * resolv/nss_dns/dns-host.c (global scope): Move definition of
75697 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
75698 header file nss/nsswitch.h.
75699 * nss/nsswitch.h (global scope): Add definition of implementation
75700 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
75701 resolv/nss_dns/dns-host.c).
75702
75703 2012-07-11 Andreas Jaeger <aj@suse.de>
75704
75705 * po/fr.po: Update from translation team.
75706
75707 * po/sv.po: Update from translation team
75708 * po/fr.po: Another update from translation team.
75709
75710 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
75711
75712 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
75713 for subnormals or multiply small sinh result by itself.
75714 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
75715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75716
75717 2012-07-11 David S. Miller <davem@davemloft.net>
75718
75719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75720
75721 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
75722
75723 [BZ #14347]
75724 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
75725 (INTERNAL_MARK): Shift it here.
75726
75727 2012-07-10 Marek Polacek <polacek@redhat.com>
75728
75729 [BZ #14151]
75730 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
75731 libc_cv_asm_global_directive with .globl.
75732 * configure: Regenerated.
75733 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
75734 with .globl.
75735 * sysdeps/i386/configure: Regenerated.
75736 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
75737 with .globl.
75738 * sysdeps/x86_64/configure: Regenerated.
75739 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
75740 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
75741 * elf/tst-unique2mod2.c: Likewise.
75742 * elf/tst-unique2mod1.c: Likewise.
75743 * elf/tst-unique1mod2.c: Likewise.
75744 * elf/tst-unique1mod1.c: Likewise.
75745 * sysdeps/s390/s390-32/sysdep.h: Likewise.
75746 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
75747 * sysdeps/s390/s390-64/sysdep.h: Likewise.
75748 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
75749 * sysdeps/mach/sysdep.h: Likewise.
75750 * sysdeps/i386/sysdep.h: Likewise.
75751 * sysdeps/i386/i386-mcount.S: Likewise.
75752 * sysdeps/x86_64/_mcount.S: Likewise.
75753 * sysdeps/x86_64/sysdep.h: Likewise.
75754 * sysdeps/sh/_mcount.S: Likewise.
75755 * sysdeps/sh/sysdep.h: Likewise.
75756 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
75757 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
75758 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
75759 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
75760 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
75761 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
75762 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
75763 * locale/localeinfo.h: Likewise.
75764 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
75765 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
75766
75767 2012-07-09 Roland McGrath <roland@hack.frob.com>
75768
75769 [BZ #14336]
75770 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
75771 system".
75772 * manual/message.texi (The Uniforum approach): Likewise.
75773 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
75774 (glibc iconv Implementation): Likewise.
75775
75776 2012-07-09 Joseph Myers <joseph@codesourcery.com>
75777
75778 [BZ #14337]
75779 * math/s_clog.c (__clog): Avoid scaling a value down where that
75780 could result in underflow.
75781 * math/s_clog10.c (__clog10): Likewise.
75782 * math/s_clog10f.c (__clog10f): Likewise.
75783 * math/s_clog10l.c (__clog10l): Likewise.
75784 * math/s_clogf.c (__clogf): Likewise.
75785 * math/s_clogl.c (__clogl): Likewise.
75786 * math/libm-test.inc (clog_test): Add more tests.
75787 (clog10_test): Likewise.
75788 * sysdeps/i386/fpu/libm-test-ulps: Update.
75789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75790
75791 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
75792
75793 [BZ #14283]
75794 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
75795 by 7 not 8 to examine high bit of fractional part.
75796
75797 [BZ #14042]
75798 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
75799 for call to __mcount_internal.
75800 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
75801 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
75802 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
75803
75804 2012-07-06 Joseph Myers <joseph@codesourcery.com>
75805
75806 [BZ #14154]
75807 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
75808 approximation for values within 0x1p-13f of an odd multiple of
75809 pi/4.
75810 * math/libm-test.inc (tan_test): Do not allow spurious underflow
75811 exception. Add more tests.
75812 * sysdeps/i386/fpu/libm-test-ulps: Update.
75813
75814 [BZ #6778]
75815 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
75816 inputs and return -1 for them. Do not check for +Inf in case not
75817 reachable for +Inf.
75818 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
75819 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
75820 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
75821 and return -1 for them. Do not check for +Inf in case not
75822 reachable for +Inf.
75823 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
75824 define.
75825 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
75826 and return -1 for them. Do not check for +Inf in case not
75827 reachable for +Inf.
75828 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
75829 spurious underflow.
75830 * sysdeps/i386/fpu/libm-test-ulps: Update.
75831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75832
75833 2012-07-06 Mike Frysinger <vapier@gentoo.org>
75834
75835 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
75836
75837 2012-07-05 Joseph Myers <joseph@codesourcery.com>
75838
75839 [BZ #14157]
75840 [BZ #14331]
75841 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
75842 could result in spurious underflow. Scale down values above
75843 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
75844 * math/s_csqrtf.c (__csqrtf): Likewise.
75845 * math/s_csqrtl.c (__csqrtl): Likewise.
75846 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
75847 spurious underflow.
75848 * sysdeps/i386/fpu/libm-test-ulps: Update.
75849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75850
75851 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
75852
75853 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
75854 xopen-msg.sed.
75855 * catgets/xopen-msg.awk: New file.
75856 * catgets/xopen-msg.sed: Removed.
75857
75858 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
75859 po2text.sed.
75860 * intl/po2test.awk: New file.
75861 * intl/po2test.sed: Removed.
75862
75863 2012-07-04 Joseph Myers <joseph@codesourcery.com>
75864
75865 [BZ #14328]
75866 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
75867 or multiply small sinh result by itself.
75868 * math/s_ctanf.c (__ctanf): Likewise.
75869 * math/s_ctanh.c (__ctanh): Likewise.
75870 * math/s_ctanhf.c (__ctanhf): Likewise.
75871 * math/s_ctanhl.c (__ctanhl): Likewise.
75872 * math/s_ctanl.c (__ctanl): Likewise.
75873 * math/libm-test.inc (ctan_test_tonearest): New function.
75874 (ctan_test_towardzero): Likewise.
75875 (ctan_test_downward): Likewise.
75876 (ctan_test_upward): Likewise.
75877 (ctanh_test_tonearest): Likewise.
75878 (ctanh_test_towardzero): Likewise.
75879 (ctanh_test_downward): Likewise.
75880 (ctanh_test_upward): Likewise.
75881 (main): Call these new functions.
75882 * sysdeps/i386/fpu/libm-test-ulps: Update.
75883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75884
75885 2012-07-03 Mike Frysinger <vapier@gentoo.org>
75886
75887 * .gitignore: Delete /ports entry.
75888
75889 2012-07-03 Andreas Jaeger <aj@suse.de>
75890
75891 * po/bg.po: Update from translation team.
75892 * po/cs.po: Likewise.
75893 * po/de.po: Likewise.
75894 * po/hr.po: Likewise.
75895 * po/nl.pl: Likewise.
75896 * po/pl.po: Likewise.
75897 * po/vi.po: Likewise.
75898
75899 2012-07-03 Joseph Myers <joseph@codesourcery.com>
75900
75901 * Makeconfig [!+link] (+link-before-libc): New variable.
75902 [!+link] (+link-after-libc): Likewise.
75903 [!+link] (+link-tests): Likewise.
75904 [!+link] (+link): Define in terms of $(+link-before-libc) and
75905 $(+link-after-libc).
75906 [!+link-static] (+link-static-before-libc): New variable.
75907 [!+link-static] (+link-static-after-libc): Likewise.
75908 [!+link-static] (+link-static-tests): Likewise.
75909 [!+link-static] (+link-static): Define in terms of
75910 $(+link-static-before-libc) and $(+link-static-after-libc).
75911 [build-shared] (link-libc-before-gnulib): New variable.
75912 [build-shared] (link-libc-tests): Likewise.
75913 [build-shared] (link-libc): Define in terms of
75914 $(link-libc-before-gnulib).
75915 [!build-shared] (link-libc-tests): New variable.
75916 (link-libc-static-tests): New variable.
75917 [!gnulib] (gnulib-arch): New variable.
75918 [!gnulib] (gnulib-tests): Likewise.
75919 [!gnulib] (static-gnulib-arch): Likewise.
75920 [!gnulib] (static-gnulib-tests): Likewise.
75921 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
75922 Define with "=" instead of ":=".
75923 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
75924 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
75925 * Rules (binaries-all-notests): New variable.
75926 (binaries-all-tests): Likewise.
75927 (binaries-static-notests): Likewise.
75928 (binaries-static-tests): Likewise.
75929 (binaries-all): Define using $(binaries-all-notests) and
75930 $(binaries-all-tests).
75931 (binaries-static): Define using $(binaries-static-notests) and
75932 $(binaries-static-tests).
75933 (binaries-shared-tests): New variable.
75934 (binaries-shared-notests): Likewise.
75935 (binaries-shared): Remove variable.
75936 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
75937 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
75938 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
75939 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
75940 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
75941 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
75942 * elf/Makefile (sln-modules): New variable.
75943 (extra-objs): Add $(sln-modules:=.o).
75944 (ldconfig-modules): Add static-stubs.
75945 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
75946 * elf/static-stubs.c: New file.
75947
75948 [BZ #14283]
75949 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
75950 by 7 not 8 to examine high bit of fractional part. Use volatile
75951 variables when splitting into final array of floats if
75952 __FLT_EVAL_METHOD__ != 0.
75953 * math/libm-test.inc (cos_test): Add another test.
75954 (sin_test): Likewise.
75955 * sysdeps/i386/fpu/libm-test-ulps: Update.
75956
75957 [BZ #14273]
75958 * math/libm-test.inc (cosh_test): Add more tests.
75959
75960 * version.h (RELEASE): Set to "development".
75961 (VERSION): Set to "2.16.90".
75962
75963 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
75964
75965 * NEWS: Update copyright. Remove last-updated date.
75966 Mention math library bug fixes and timezone data changes.
75967 * README: Mention GNU/Hurd, x32, and HPPA support status.
75968
75969 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
75970
75971 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
75972
75973 2012-06-27 Andreas Jaeger <aj@suse.de>
75974
75975 * manual/contrib.texi (Contributors): Add Samuel Thibault.
75976
75977 2012-06-25 Andreas Jaeger <aj@suse.de>
75978
75979 * sysdeps/s390/fpu/libm-test-ulps: Update.
75980
75981 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
75982 Thomas Schwinge <thomas@codesourcery.com>
75983
75984 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
75985 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
75986 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
75987 fanotify_mark.
75988
75989 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
75990
75991 * sysdeps/mach/start.c: Remove file.
75992 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
75993 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
75994 * sysdeps/sh/init-first.c: Likewise.
75995
75996 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
75997 registers for frame unwinding purposes, add CFI directives.
75998 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
75999 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
76000 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
76001 Likewise.
76002
76003 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
76004 __fortify_fail returning.
76005 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
76006
76007 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
76008 sysdeps/sh/____longjmp_chk.S.
76009 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
76010 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
76011 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
76012 (gen-as-const-headers): Append sigaltstack-offsets.sym.
76013
76014 * sysdeps/sh/abort-instr.h: New file.
76015 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
76016 process in case exit returns.
76017
76018 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
76019 initialize the GOT register before use.
76020
76021 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
76022 calculation of ARGC > 4.
76023
76024 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
76025 meaningful names to some local labels.
76026
76027 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
76028 Kaz Kojima <kkojima@rr.iij4u.or.jp>
76029
76030 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
76031 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
76032 (__arch_compare_and_exchange_val_16_acq): Likewise.
76033 (__arch_compare_and_exchange_val_32_acq): Likewise.
76034 (atomic_exchange_and_add): Fix gUSA sequence.
76035 (atomic_add): Likewise.
76036 (atomic_add_negative): Likewise.
76037 (atomic_add_zero): Likewise.
76038 (atomic_bit_test_set): Likewise.
76039
76040 2012-06-22 Andreas Schwab <schwab@redhat.com>
76041
76042 [BZ #13579]
76043 * include/link.h (struct link_map): Add l_free_initfini.
76044 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
76045 l_initfini.
76046 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
76047 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
76048 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
76049 set.
76050
76051 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
76052
76053 * configure.in: Use AC_LANG_SOURCE.
76054 * configure: Regenerate.
76055
76056 2012-06-22 Roland McGrath <roland@hack.frob.com>
76057
76058 * configure.in (libc_cv_localstatedir): New substituted variable.
76059 * configure: Regenerated.
76060 * config.make.in (localstatedir): New variable, substituted from
76061 libc_cv_localstatedir.
76062 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
76063 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
76064 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
76065 * sysdeps/gnu/configure: Regenerated.
76066
76067 2012-06-21 Jeff Law <law@redhat.com>
76068
76069 [BZ #14277]
76070 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
76071 free. Simplify list management for _LIBC case.
76072
76073 2012-06-21 Joseph Myers <joseph@codesourcery.com>
76074
76075 [BZ #14273]
76076 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
76077 Clear sign bit of 64-bit integer value before comparing against
76078 overflow value.
76079
76080 * sysdeps/mach/configure: Regenerated.
76081
76082 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
76083
76084 [BZ #14278]
76085 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
76086
76087 2012-06-21 Jeff Law <law@redhat.com>
76088
76089 [BZ #13882]
76090 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
76091 uint16_t for elements in the "seen" array to avoid char overflows.
76092 * elf/dl-fini.c (_dl_sort_fini): Likewise.
76093 * elf/dl-open.c (dl_open_worker): Likewise.
76094
76095 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
76096
76097 * scripts/list-sources.sh: Scan PORTS for translations.
76098 * po/libc.pot: Regenerated.
76099
76100 2012-06-21 Andreas Jaeger <aj@suse.de>
76101
76102 [BZ #12194]
76103 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
76104 warning.
76105 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
76106 * bits/byteswap-16.h (__bswap_16): Likewise.
76107 * bits/byteswap.h (__bswap_constant_16): Likewise.
76108
76109 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
76110
76111 [BZ #14117]
76112 * sysdeps/i386/fpu_control.h: Removed.
76113 * sysdeps/x86_64/fpu_control.h: Moved to ...
76114 * sysdeps/x86/fpu_control.h: Here.
76115
76116 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
76117 (_FPU_SETCW): Likewise.
76118
76119 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
76120
76121 [BZ #14117]
76122 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
76123 * sysdeps/x86/fpu/bits/mathinline.h: This.
76124 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
76125
76126 [BZ #14050]
76127 [BZ #14117]
76128 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
76129 functions if __x86_64__ is defined.
76130
76131 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
76132
76133 * string/endian.h: Add !__ASSEMBLER__ condition for including
76134 conversion interfaces.
76135
76136 2012-06-15 Joseph Myers <joseph@codesourcery.com>
76137
76138 [BZ #14241]
76139 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
76140 of ABS(x) in calculating zero to negative powers other than odd
76141 integers.
76142 * math/libm-test.inc (pow_test): Add more tests.
76143
76144 2012-06-15 Andreas Jaeger <aj@suse.de>
76145
76146 * manual/contrib.texi (Contributors): Update entry of Liubov
76147 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
76148 Machado Filho.
76149
76150 2012-06-15 Cyril Hrubis <metan@ucw.cz>
76151
76152 * string/string.h: Add __wur to GNU version of strerror_r.
76153
76154 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
76155
76156 [BZ #14229]
76157 * string/Makefile (tests): Add tst-strtok_r.
76158 * string/tst-strtok_r.c: New file.
76159 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
76160 RAX_LP/RDX_LP on SAVE_PTR.
76161
76162 2012-06-14 Roland McGrath <roland@hack.frob.com>
76163
76164 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
76165
76166 2012-06-14 Joseph Myers <joseph@codesourcery.com>
76167
76168 * libm_test.inc (csqrt_test): Allow more spurious underflow
76169 exceptions.
76170 (j0_test): Likewise.
76171 (j1_test): Likewise.
76172 (y0_test): Likewise.
76173 (y1_test): Likewise.
76174
76175 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
76176
76177 * po/Makefile (libc.pot): Use UTF-8 charset.
76178
76179 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
76180
76181 [BZ #14210]
76182 Suppress sign-conversion warning from FD_SET.
76183 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
76184 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
76185 not unsigned long int.
76186 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
76187
76188 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
76189
76190 [BZ #14050]
76191 [BZ #14117]
76192 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
76193 __extern_always_inline instead of __extern_inline.
76194 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
76195 (__signbit): Likewise.
76196 (__signbitl): Support C++ namespace.
76197 (lrintf): New inline function.
76198 (lrint): Likewise.
76199 (llrintf): Likewise.
76200 (llrint): Likewise.
76201 (fmaxf): Likewise.
76202 (fmax): Likewise.
76203 (fminf): Likewise.
76204 (fmin): Likewise.
76205 (rint): Likewise.
76206 (rintf): Likewise.
76207 (ceil): Likewise.
76208 (ceilf): Likewise.
76209 (floor): Likewise.
76210 (floorf): Likewise.
76211 (nearbyint): Likewise.
76212 (nearbyintf): Likewise.
76213
76214 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
76215
76216 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
76217 non-default versions.
76218
76219 2012-06-11 Roland McGrath <roland@hack.frob.com>
76220
76221 [BZ #14218]
76222 * manual/argp.texi (Argp): Reword argp_parse description slightly.
76223
76224 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
76225
76226 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
76227 (FE_UPWARD, FE_DOWNWARD): Don't define.
76228 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
76229 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
76230
76231 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
76232 reading it.
76233 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
76234 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76235
76236 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
76237
76238 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
76239 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
76240 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
76241 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
76242
76243 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
76244
76245 [BZ #14117]
76246 * sysdeps/i386/fpu/bits/fenv.h: Removed.
76247 * sysdeps/i386/fpu/Implies: New file.
76248 * sysdeps/x86_64/fpu/Implies: Likewise.
76249 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
76250 * sysdeps/x86/fpu/bits/fenv.h: This.
76251
76252 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
76253 __SSE_MATH__.
76254
76255 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
76256
76257 [BZ #14134]
76258 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
76259 character 0xffff that matches the last element of the
76260 conversion table.
76261
76262 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
76263
76264 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
76265 fmodl commit.
76266
76267 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
76268
76269 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
76270 values higher than 25.6283.
76271
76272 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
76273
76274 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
76275 subnormal exponent extraction and add some __builtin_expect.
76276 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
76277 Fix for subnormal mantissa calculation.
76278
76279 2012-06-04 Mike Frysinger <vapier@gentoo.org>
76280
76281 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
76282 cpu2 is -1 and errno is not ENOSYS.
76283
76284 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
76285
76286 [BZ #14117]
76287 * sysdeps/i386/i486/bits/string.h: Renamed to ...
76288 * sysdeps/x86/bits/string.h: This.
76289 * sysdeps/x86_64/bits/string.h: Removed.
76290
76291 * sysdeps/i386/i486/bits/string.h: Define inline functions only
76292 if not compiling for x86-64, but compiling for >= i486.
76293
76294 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
76295 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
76296
76297 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
76298 New macro from Linux kernel 3.4.0.
76299 (FP_XSTATE_MAGIC2): Likewise.
76300 (FP_XSTATE_MAGIC2_SIZE): Likewise.
76301 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
76302 (struct _fpx_sw_bytes): New struct.
76303 (struct _xsave_hdr): Likewise.
76304 (struct _ymmh_state): Likewise.
76305 (struct _xstate): Likewise.
76306
76307 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
76308 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
76309 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
76310 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
76311 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
76312 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
76313
76314 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
76315 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
76316 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
76317 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
76318 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
76319 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
76320
76321 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
76322
76323 [BZ #13743]
76324 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
76325 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
76326 (sysdep_headers): Include sys/platform/ppc.h.
76327 * sysdeps/powerpc/test-gettimebase.c: Test for
76328 __ppc_get_timebase() to catch future ISA opcode/insn changes.
76329 * manual/Makefile (appendices): Include platform.texi.
76330 * manual/contrib.texi (Contributors): Update @node pointers.
76331 * manual/maint.texi (Maintenance): Likewise.
76332 (Platform): New node.
76333 * manual/platform.texi: New file. Document the new features.
76334
76335 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
76336 Jakub Jelinek <jakub@redhat.com>
76337
76338 [BZ #14188]
76339 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
76340 where __builtin_expect is unavailable.
76341
76342 2012-06-03 David S. Miller <davem@davemloft.net>
76343
76344 * stdlib/longlong.h: Updated from GCC.
76345
76346 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
76347
76348 [BZ #14042]
76349 * sysdeps/powerpc/powerpc32/mcount.c: New file.
76350 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
76351 __mcount_internal.
76352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76353 (GLIBC_2.16): Likewise.
76354
76355 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
76356
76357 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
76358
76359 2012-06-01 Joseph Myers <joseph@codesourcery.com>
76360
76361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
76362 (default-abi): New variable.
76363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
76364 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
76365 variable.
76366 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
76367 Likewise.
76368 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
76369 Likewise.
76370 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
76371 Likewise.
76372
76373 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
76374 definition. Document in comment.
76375
76376 2012-06-01 David S. Miller <davem@davemloft.net>
76377
76378 * stdlib/longlong.h: Updated from GCC.
76379
76380 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
76381
76382 [BZ #14117]
76383 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
76384 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
76385 sys/debugreg.h sys/io.h here.
76386 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
76387 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
76388 sys/io.h.
76389 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
76390 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
76391 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
76392 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
76393 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
76394 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
76395
76396 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
76397 Define only if __x86_64__ is defined.
76398
76399 2012-06-01 Joseph Myers <joseph@codesourcery.com>
76400
76401 [BZ #14048]
76402 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
76403 Use int64_t for variable i.
76404 * math/libm-test.inc (fmod_test): Add more tests.
76405
76406 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
76407 z computation is not scheduled after fetestexcept.
76408 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
76409 Use math_force_eval instead of asm to ensure calculation scheduled
76410 before exception test.
76411 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
76412 Ensure a1 + u.d computation is not scheduled after fetestexcept.
76413
76414 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
76415
76416 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
76417 computation is not scheduled after fetestexcept.
76418
76419 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
76420
76421 [BZ #14117]
76422 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
76423 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
76424
76425 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
76426
76427 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
76428 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
76429
76430 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
76431
76432 [BZ #14117]
76433 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
76434 <bits/wordsize.h>.
76435 (__WCHAR_MIN): Support __WORDSIZE == 64.
76436 (__WCHAR_MAX): Likewise.
76437
76438 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
76439 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
76440
76441 [BZ #14183]
76442 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
76443 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
76444
76445 [BZ #14117]
76446 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
76447 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
76448
76449 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
76450 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
76451
76452 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
76453 Defined to 1 if __x86_64__ isn't defined.
76454 (_STAT_VER_LINUX_OLD): New.
76455 (st_atime): Remove duplicate.
76456 (st_mtime): Likewise.
76457 (st_ctime): Likewise.
76458
76459 2012-05-31 David S. Miller <davem@davemloft.net>
76460
76461 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
76462 entries.
76463
76464 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
76465
76466 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
76467 gen-libm-test.pl.
76468
76469 [BZ #14132]
76470 * elf/dl-reloc.c: Include <_itoa.h>.
76471 (_dl_reloc_bad_type): Remove use of INTUSE.
76472 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
76473 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
76474 * stdio-common/psiginfo.c (psiginfo): Likewise.
76475 * stdio-common/psignal.c (psignal): Likewise.
76476 * string/strsignal.c (strsignal): Likewise.
76477 * include/signal.h (_sys_siglist): Declare hidden proto.
76478 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
76479 INTVARDEF with libc_hidden_data_def.
76480 * stdio-common/itoa-udigits.c: Likewise.
76481 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
76482 (_itoa_lower_digits_internal): Remove declaration.
76483 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
76484 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
76485 (_sys_sigabbrev_internal): Remove aliases.
76486 (_sys_siglist): Define hidden alias.
76487
76488 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
76489
76490 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76491 bits/sysctl.h.
76492
76493 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
76494
76495 [BZ #14117]
76496 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
76497 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
76498
76499 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
76500 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
76501 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
76502 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
76503 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
76504 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
76505
76506 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
76507 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
76508 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
76509
76510 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
76511 with __addr.
76512 (insw): Likewise.
76513 (insl): Likewise.
76514 (outsb): Likewise.
76515 (outsw): Likewise.
76516 (outsl): Likewise.
76517
76518 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
76519 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
76520 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
76521
76522 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
76523 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
76524 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
76525 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
76526 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
76527 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
76528
76529 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
76530 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
76531
76532 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
76533 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
76534
76535 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
76536 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
76537 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
76538
76539 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
76540 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
76541 to ...
76542 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
76543
76544 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
76545 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
76546 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
76547
76548 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
76549 for x86-64.
76550 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
76551
76552 2012-05-31 Joseph Myers <joseph@codesourcery.com>
76553
76554 * math/math.h (M_El): Use two more decimal places.
76555 (M_LOG2El): Likewise.
76556 (M_LOG10El): Likewise.
76557 (M_LN2l): Likewise.
76558 (M_LN10l): Likewise.
76559 (M_PIl): Likewise.
76560 (M_PI_2l): Likewise.
76561 (M_PI_4l): Likewise.
76562 (M_1_PIl): Likewise.
76563 (M_2_PIl): Likewise.
76564 (M_2_SQRTPIl): Likewise.
76565 (M_SQRT2l): Likewise.
76566 (M_SQRT1_2l): Likewise.
76567
76568 2012-05-31 David S. Miller <davem@davemloft.net>
76569
76570 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
76571 values between float registers.
76572 * sysdeps/sparc/sparc64/memset.S: Likewise.
76573 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
76574
76575 2012-05-31 Mike Frysinger <vapier@gentoo.org>
76576
76577 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
76578 -D_FORTIFY_SOURCE=1.
76579 (CPPFLAGS-tst-longjmp_chk.c): Define.
76580 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
76581 (CPPFLAGS-tst-longjmp_chk2.c): Define.
76582 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
76583 CFLAGS-tst-wchar-h.c.
76584
76585 2012-05-31 Marek Polacek <polacek@redhat.com>
76586
76587 [BZ #14132]
76588 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
76589 __endmntent_internal): Remove declaration.
76590 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
76591 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
76592 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
76593
76594 2012-05-30 David S. Miller <davem@davemloft.net>
76595
76596 * sysdeps/sparc/sparc32/soft-fp/q_util.c
76597 (___Q_simulate_exceptions): Use real FP ops rather than writing
76598 into the %fsr.
76599 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
76600 Likewise.
76601
76602 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
76603
76604 [BZ #14117]
76605 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
76606 * sysdeps/x86/bits/xtitypes.h: This.
76607
76608 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
76609 * sysdeps/x86/bits/wordsize.h: This.
76610
76611 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
76612 * sysdeps/x86/bits/huge_vall.h: This.
76613
76614 * sysdeps/i386/bits/select.h: Removed.
76615 * sysdeps/x86_64/bits/select.h: Renamed to ...
76616 * sysdeps/x86/bits/select.h: This.
76617
76618 * sysdeps/i386/bits/setjmp.h: Removed.
76619 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
76620 * sysdeps/x86/bits/setjmp.h: This.
76621
76622 * sysdeps/i386/bits/mathdef.h: Removed.
76623 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
76624 * sysdeps/x86/bits/mathdef.h: This.
76625
76626 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
76627
76628 [BZ #14132]
76629 * include/sys/socket.h (__connect_internal)
76630 (__libc_sa_len_internal): Remove declaration.
76631 (__connect, __libc_sa_len): Declare hidden_proto.
76632 (SA_LEN): Remove use of INTUSE.
76633 * socket/connect.c: Add libc_hidden_def.
76634 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
76635 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
76636 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
76637 alias.
76638 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
76639 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
76640 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
76641 of adding _internal alias.
76642
76643 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
76644
76645 [BZ #14117]
76646 * sysdeps/i386/bits/link.h: Removed.
76647 * sysdeps/i386/bits/linkmap.h: Likewise.
76648 * sysdeps/x86_64/bits/link.h: Renamed to ...
76649 * sysdeps/x86/bits/link.h: This.
76650 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
76651 * sysdeps/x86/bits/linkmap.h: This.
76652
76653 * sysdeps/i386/bits/endian.h: Removed.
76654 * sysdeps/x86_64/bits/endian.h: Renamed to ...
76655 * sysdeps/x86/bits/endian.h: This.
76656
76657 * sysdeps/i386/bits/byteswap.h: Removed.
76658 * sysdeps/i386/bits/byteswap-16.h: Likewise.
76659 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
76660 * sysdeps/x86/bits/byteswap.h: This.
76661 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
76662 * sysdeps/x86/bits/byteswap-16.h: This.
76663 * sysdeps/i386/Implies: Add x86.
76664 * sysdeps/x86_64/Implies: Likewise.
76665
76666 2012-05-30 David S. Miller <davem@davemloft.net>
76667
76668 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
76669 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
76670 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
76671 (FP_TRAPPING_EXCEPTIONS): Define.
76672 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
76673 (FP_TRAPPING_EXCEPTIONS): Define.
76674 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
76675 subnormals only when inexact has been signalled or underflow
76676 exceptions are enabled.
76677 (_FP_PACK_CANONICAL): Likewise.
76678
76679 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
76680
76681 [BZ #14183]
76682 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
76683 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
76684
76685 2012-05-30 Richard Henderson <rth@twiddle.net>
76686
76687 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
76688 with #ifndef NOT_IN_libc.
76689
76690 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
76691 marked to avoid plt entry.
76692
76693 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
76694
76695 [BZ #14112]
76696 * Makeconfig (default-abi): New macro.
76697 (abi-includes): Likewise.
76698 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
76699 $(abi-$(default-abi)-lib-soname) for soname if defined.
76700 ($(common-objpfx)gnu/lib-names.stmp): Generate from
76701 abi-variants.
76702 * Makefile (installed-stubs): Likewise.
76703 * include/stubs-biarch.h: Removed.
76704 * scripts/lib-names.awk: Only handle one library at a time.
76705 * scripts/soversions.awk: Remove WORDSIZE support.
76706 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
76707 entries.
76708 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
76709 Removed.
76710 (syscall-list-default-condition): Likewise.
76711 (syscall-list-default-condition): Likewise.
76712 (syscall-list-includes): Likewise.
76713 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
76714 syscall-list-* with abi-*. Handle undefined abi-variants.
76715 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
76716 * sysdeps/unix/sysv/linux/i386/Implies: New file.
76717 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
76718 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
76719 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
76720 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
76721 Removed.
76722 (syscall-list-32-options): Likewise.
76723 (syscall-list-32-condition): Likewise.
76724 (syscall-list-64-options): Likewise.
76725 (syscall-list-64-condition): Likewise.
76726 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
76727 macro.
76728 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
76729 Renamed to ...
76730 (abi-*): This.
76731 (abi-64-ld-soname): New macro.
76732 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
76733 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
76734 Renamed to ...
76735 (abi-*): This.
76736 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
76737 * sysdeps/x86_64/x32/shlib-versions: Likewise.
76738
76739 2012-05-30 Joseph Myers <joseph@codesourcery.com>
76740
76741 * sysdeps/unix/sysv/linux/kernel-features.h
76742 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
76743 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
76744 include <kernel-features.h>.
76745 [!__NR_ftruncate64]: Remove conditional code.
76746 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76747 [__NR_ftruncate64]: Make code unconditional.
76748 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76749 * sysdeps/unix/sysv/linux/truncate64.c: Do not
76750 include <kernel-features.h>.
76751 [!__NR_ftruncate64]: Remove conditional code.
76752 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76753 [__NR_ftruncate64]: Make code unconditional.
76754 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
76756 include <kernel-features.h>.
76757 [!__NR_ftruncate64]: Remove conditional code.
76758 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76759 [__NR_ftruncate64]: Make code unconditional.
76760 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
76762 include <kernel-features.h>.
76763 [!__NR_ftruncate64]: Remove conditional code.
76764 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76765 [__NR_ftruncate64]: Make code unconditional.
76766 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76767
76768 * configure.in (libc_cv_fpie): Weaken to a compile test using
76769 LIBC_TRY_CC_OPTION.
76770 * configure: Regenerated.
76771
76772 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76773
76774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
76775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
76776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
76777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
76778 Refreshed.
76779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
76780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
76781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
76782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
76783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
76784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
76785 Refreshed.
76786
76787 2012-05-27 David S. Miller <davem@davemloft.net>
76788
76789 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
76790 (___Q_zero): New.
76791 (__Q_simulate_exceptions): Return void. Change to simulate
76792 exceptions by writing into the %fsr.
76793 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
76794 (__Qp_handle_exceptions): Likewise.
76795 (numbers): Delete.
76796 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
76797 __Qp_handle_exceptions.
76798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
76799 __Qp_handle_exceptions.
76800 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
76801 as unused and give dummy FP_RND_NEAREST initializer.
76802 (FP_INHIBIT_RESULTS): Define.
76803 (___Q_simulate_exceptions): Update declaration.
76804 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
76805 formatting.
76806 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
76807 as unused and give dummy FP_RND_NEAREST initializer.
76808 (__Qp_handle_exceptions): Update declaration.
76809 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
76810 formatting.
76811
76812 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
76813
76814 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
76815 the temporary FPU control word.
76816 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
76817 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
76818 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
76819 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
76820 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
76821 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
76822 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
76823 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
76824 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
76825 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
76826 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76827
76828 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
76829
76830 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
76831 fields.
76832
76833 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
76834
76835 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
76836 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
76837 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
76838 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
76839 Likewise.
76840 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
76841 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
76842 Likewise.
76843
76844 2012-05-27 Ulrich Drepper <drepper@gmail.com>
76845
76846 * po/h.po: Update from translation team.
76847
76848 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
76849
76850 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
76851
76852 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
76853 handling of denormals.
76854 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
76855 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
76856 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
76857 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
76858 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
76859 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
76860 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
76861 Likewise.
76862
76863 2012-05-26 Marek Polacek <polacek@redhat.com>
76864
76865 [BZ #14152]
76866 * math/libm-test.inc (fma_test): Don't always expect underflow
76867 exception.
76868
76869 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
76870
76871 [BZ #12416]
76872 * elf/tst-execstack.c: Include stackinfo.h.
76873 (do_test): Adjust test case to ensure that pthread_getattr_np
76874 behaviour remains the same after marking stack executable.
76875
76876 2012-05-25 Joseph Myers <joseph@codesourcery.com>
76877
76878 * sysdeps/unix/sysv/linux/kernel-features.h
76879 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
76880 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
76881 kernel-features.h.
76882 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
76883 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
76884 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
76885 kernel-features.h.
76886 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
76887 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
76888
76889 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
76890
76891 * configure.in: Define the default includes to being none.
76892 * configure: Regenerated.
76893
76894 2012-05-25 Roland McGrath <roland@hack.frob.com>
76895
76896 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
76897 * sysdeps/x86_64/setjmp.S: Likewise.
76898 * sysdeps/i386/bsd-setjmp.S: Likewise.
76899 * sysdeps/i386/bsd-_setjmp.S: Likewise.
76900 * sysdeps/i386/setjmp.S: Likewise.
76901 * sysdeps/i386/__longjmp.S: Likewise.
76902 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
76903 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
76904
76905 * include/stap-probe.h: New file.
76906 * configure.in: Handle --enable-systemtap.
76907 * configure: Regenerated.
76908 * config.h.in (USE_STAP_PROBE): New #undef.
76909 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
76910 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
76911 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
76912
76913 2012-05-25 Joseph Myers <joseph@codesourcery.com>
76914
76915 [BZ #13717]
76916 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
76917 to 2.4.0 where earlier.
76918 * sysdeps/unix/sysv/linux/configure: Regenerated.
76919 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
76920 <kernel-features.h>.
76921 [__ASSUME_32BITUIDS]: Make code unconditional.
76922 [!__ASSUME_32BITUIDS]: Remove conditional code.
76923 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
76924 <kernel-features.h>.
76925 [__ASSUME_32BITUIDS]: Make code unconditional.
76926 [!__ASSUME_32BITUIDS]: Remove conditional code.
76927 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
76928 [__ASSUME_32BITUIDS]: Make code unconditional.
76929 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
76930 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
76931 <kernel-features.h>.
76932 [__ASSUME_32BITUIDS]: Make code unconditional.
76933 [!__ASSUME_32BITUIDS]: Remove conditional code.
76934 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
76935 <kernel-features.h>.
76936 [__ASSUME_32BITUIDS]: Make code unconditional.
76937 [!__ASSUME_32BITUIDS]: Remove conditional code.
76938 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
76939 <kernel-features.h>.
76940 [__ASSUME_32BITUIDS]: Make code unconditional.
76941 [!__ASSUME_32BITUIDS]: Remove conditional code.
76942 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
76943 <kernel-features.h>.
76944 [__ASSUME_32BITUIDS]: Make code unconditional.
76945 [!__ASSUME_32BITUIDS]: Remove conditional code.
76946 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
76947 <kernel-features.h>.
76948 [__ASSUME_32BITUIDS]: Make code unconditional.
76949 [!__ASSUME_32BITUIDS]: Remove conditional code.
76950 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
76951 <kernel-features.h>.
76952 [__ASSUME_32BITUIDS]: Make code unconditional.
76953 [!__ASSUME_32BITUIDS]: Remove conditional code.
76954 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
76955 <kernel-features.h>.
76956 [__ASSUME_32BITUIDS]: Make code unconditional.
76957 [!__ASSUME_32BITUIDS]: Remove conditional code.
76958 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
76959 <kernel-features.h>.
76960 [__ASSUME_32BITUIDS]: Make code unconditional.
76961 [!__ASSUME_32BITUIDS]: Remove conditional code.
76962 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
76963 <kernel-features.h>.
76964 [__ASSUME_32BITUIDS]: Make code unconditional.
76965 [!__ASSUME_32BITUIDS]: Remove conditional code.
76966 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
76967 <kernel-features.h>.
76968 [__ASSUME_32BITUIDS]: Make code unconditional.
76969 [!__ASSUME_32BITUIDS]: Remove conditional code.
76970 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
76971 <kernel-features.h>.
76972 [__NR_setresgid] (__setresgid): Do not declare.
76973 [__ASSUME_32BITUIDS]: Make code unconditional.
76974 [!__ASSUME_32BITUIDS]: Remove conditional code.
76975 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
76976 <kernel-features.h>.
76977 [__NR_setresuid] (__setresuid): Do not declare.
76978 [__ASSUME_32BITUIDS]: Make code unconditional.
76979 [!__ASSUME_32BITUIDS]: Remove conditional code.
76980 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
76981 <kernel-features.h>.
76982 [__ASSUME_32BITUIDS]: Make code unconditional.
76983 [!__ASSUME_32BITUIDS]: Remove conditional code.
76984 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
76985 <kernel-features.h>.
76986 [__ASSUME_32BITUIDS]: Make code unconditional.
76987 [!__ASSUME_32BITUIDS]: Remove conditional code.
76988 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
76989 <kernel-features.h>.
76990 [__ASSUME_32BITUIDS]: Make code unconditional.
76991 [!__ASSUME_32BITUIDS]: Remove conditional code.
76992 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
76993 <kernel-features.h>.
76994 [__ASSUME_32BITUIDS]: Make code unconditional.
76995 [!__ASSUME_32BITUIDS]: Remove conditional code.
76996 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
76997 <kernel-features.h>.
76998 [__ASSUME_32BITUIDS]: Make code unconditional.
76999 [!__ASSUME_32BITUIDS]: Remove conditional code.
77000 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
77001 <kernel-features.h>.
77002 [__ASSUME_32BITUIDS]: Make code unconditional.
77003 [!__ASSUME_32BITUIDS]: Remove conditional code.
77004 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
77005 <kernel-features.h>.
77006 [__ASSUME_32BITUIDS]: Make code unconditional.
77007 [!__ASSUME_32BITUIDS]: Remove conditional code.
77008 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
77009 <kernel-features.h>.
77010 [__ASSUME_32BITUIDS]: Make code unconditional.
77011 [!__ASSUME_32BITUIDS]: Remove conditional code.
77012 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
77013 <kernel-features.h>.
77014 [__ASSUME_32BITUIDS]: Make code unconditional.
77015 [!__ASSUME_32BITUIDS]: Remove conditional code.
77016 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
77017 <kernel-features.h>.
77018 [__ASSUME_32BITUIDS]: Make code unconditional.
77019 [!__ASSUME_32BITUIDS]: Remove conditional code.
77020 * sysdeps/unix/sysv/linux/kernel-features.h
77021 (__ASSUME_SETRESUID_SYSCALL): Remove.
77022 (__ASSUME_SETRESGID_SYSCALL): Likewise.
77023 (__ASSUME_32BITUIDS): Likewise.
77024 (__ASSUME_LDT_WORKS): Likewise.
77025 (__ASSUME_O_DIRECTORY): Likewise.
77026 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
77027 architecture but not kernel version.
77028 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
77029 (__ASSUME_MMAP2_SYSCALL): Likewise.
77030 (__ASSUME_STAT64_SYSCALL): Likewise.
77031 (__ASSUME_IPC64): Likewise.
77032 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
77033 <kernel-features.h>.
77034 [__ASSUME_32BITUIDS]: Make code unconditional.
77035 [!__ASSUME_32BITUIDS]: Remove conditional code.
77036 * sysdeps/unix/sysv/linux/opendir.c: Do not include
77037 <kernel-features.h>.
77038 [__ASSUME_O_DIRECTORY]: Make code unconditional.
77039 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
77040 132096]: Remove conditional code.
77041 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
77042 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
77043 <kernel-features.h>.
77044 [__ASSUME_32BITUIDS]: Make code unconditional.
77045 [!__ASSUME_32BITUIDS]: Remove conditional code.
77046 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
77047 <kernel-features.h>.
77048 [__ASSUME_32BITUIDS]: Make code unconditional.
77049 [!__ASSUME_32BITUIDS]: Remove conditional code.
77050 * sysdeps/unix/sysv/linux/setegid.c: Do not include
77051 <kernel-features.h>.
77052 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
77053 unconditional.
77054 (__setresgid): Do not declare.
77055 [__ASSUME_32BITUIDS]: Make code unconditional.
77056 [!__ASSUME_32BITUIDS]: Remove conditional code.
77057 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
77058 <kernel-features.h>.
77059 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
77060 unconditional.
77061 (__setresuid): Do not declare.
77062 [__ASSUME_32BITUIDS]: Make code unconditional.
77063 [!__ASSUME_32BITUIDS]: Remove conditional code.
77064 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
77065 <kernel-features.h>.
77066 [__ASSUME_32BITUIDS]: Make code unconditional.
77067 [!__ASSUME_32BITUIDS]: Remove conditional code.
77068 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
77069 <kernel-features.h>.
77070 [__ASSUME_32BITUIDS]: Make code unconditional.
77071 [!__ASSUME_32BITUIDS]: Remove conditional code.
77072
77073 2012-05-25 Richard Henderson <rth@twiddle.net>
77074
77075 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
77076 dl_hwcap to ifunc resolver.
77077 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
77078 elf_ifunc_invoke.
77079 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
77080 dl_hwcap to ifunc resolver.
77081 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
77082
77083 2012-05-24 Joseph Myers <joseph@codesourcery.com>
77084
77085 [BZ #14153]
77086 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
77087 for |x| <= 2**-26, not 2**-57.
77088 * math/libm-test.inc (acos_test): Do not allow spurious underflow
77089 exception.
77090
77091 2012-05-24 Jeff Law <law@redhat.com>
77092
77093 * stdio-common/Makefile (tests): Add bug25.
77094 * stdio-common/bug25.c: New test.
77095
77096 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
77097
77098 [BZ #13576]
77099 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
77100 multiple of MALLOC_ALIGNMENT in size.
77101 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
77102
77103 2012-05-24 Joseph Myers <joseph@codesourcery.com>
77104
77105 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
77106 Require >= 256.
77107 (FILENAME_MAX): Use macro-int-constant.
77108 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
77109 (_IOFBF): Use macro-int-constant.
77110 (_IOLBF): Likewise.
77111 (_IONBF): Likewise.
77112 (SEEK_CUR): Likewise.
77113 (SEEK_END): Likewise.
77114 (SEEK_SET): Likewise.
77115 (TMP_MAX): Likewise.
77116 (EOF): Use macro-int-constant. Require < 0.
77117 (NULL): Use macro-constant. Require == 0.
77118 (stdin): Require type to be FILE *.
77119 (stdout): Likewise.
77120 (stderr): Likewise.
77121 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
77122 macro-int-constant.
77123 (EXIT_SUCCESS): Likewise.
77124 (NULL): Use macro-constant. Require == 0.
77125 (RAND_MAX): Use macro-int-constant.
77126 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
77127 [C99-based standards] (strtof): Require function.
77128 [C99-based standards] (strtold): Likewise.
77129 [C99-based standards] (strtoll): Likewise.
77130 [C99-based standards] (strtoull): Likewise.
77131 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
77132 [ISO || ISO99 || ISO11] (limits.h): Likewise.
77133 [ISO || ISO99 || ISO11] (math.h): Likewise.
77134 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
77135 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
77136 [ISO || ISO99 || ISO11] (*_t): Do not allow.
77137
77138 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
77139
77140 [BZ #14132]
77141 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
77142 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
77143 * intl/dgettext.c (DCGETTEXT): Likewise.
77144 * intl/gettext.c (DCGETTEXT): Likewise.
77145 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
77146 * posix/regex_internal.h (gettext): Likewise.
77147 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
77148 Remove declaration.
77149 * include/argz.h (__argz_count_internal)
77150 (__argz_stringify_internal): Remove declaration.
77151 (__argz_count, __argz_stringify): Declare hidden proto.
77152 * intl/dcgettext.c: Remove use of INTDEF.
77153 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
77154 * string/argz-stringify.c: Likewise.
77155 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
77156 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
77157 Declare hidden proto.
77158 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
77159 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
77160 Declare hidden proto.
77161 * include/stdio.h (__asprintf_internal): Don't declare.
77162 (__asprintf): Don't define as macro. Declare hidden proto.
77163 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
77164 (__fsetlocking): Declare hidden proto.
77165 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
77166 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
77167 hidden proto.
77168 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
77169 (_IO_setlinebuf): Remove use of INTUSE.
77170 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
77171 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
77172 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
77173 Remove declaration.
77174 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
77175 (_IO_do_flush): Remove use of INTUSE.
77176 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
77177 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
77178 (_IO_adjust_column, _IO_least_wmarker)
77179 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
77180 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
77181 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
77182 (_IO_default_doallocate, _IO_wdefault_doallocate)
77183 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
77184 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
77185 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
77186 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
77187 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
77188 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
77189 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
77190 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
77191 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
77192 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
77193 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
77194 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
77195 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
77196 proto.
77197 (_IO_flush_all_internal, _IO_adjust_column_internal)
77198 (_IO_default_uflow_internal, _IO_default_finish_internal)
77199 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
77200 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
77201 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
77202 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
77203 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
77204 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
77205 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
77206 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
77207 (_IO_file_close_internal, _IO_file_close_it_internal)
77208 (_IO_file_underflow_internal, _IO_file_overflow_internal)
77209 (_IO_file_init_internal, _IO_file_attach_internal)
77210 (_IO_file_fopen_internal, _IO_file_read_internal)
77211 (_IO_file_sync_internal, _IO_file_seek_internal)
77212 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
77213 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
77214 (_IO_str_underflow_internal, _IO_str_overflow_internal)
77215 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
77216 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
77217 (_IO_list_all_internal, _IO_link_in_internal)
77218 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
77219 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
77220 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
77221 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
77222 (_IO_do_write_internal, _IO_padn_internal)
77223 (_IO_getline_info_internal, _IO_getline_internal)
77224 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
77225 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
77226 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
77227 (_IO_vfscanf_internal, _IO_vfprintf_internal)
77228 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
77229 (_IO_init_internal, _IO_un_link_internal): Don't declare.
77230 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
77231 with libc_hidden_ver, remove use of INTUSE.
77232 * libio/genops.c: Likewise.
77233 * libio/freopen.c: Likewise.
77234 * libio/freopen64.c: Likewise.
77235 * libio/iofclose.c: Likewise.
77236 * libio/iofdopen.c: Likewise.
77237 * libio/iofflush.c: Likewise.
77238 * libio/iofflush_u.c: Likewise.
77239 * libio/iofgets.c: Likewise.
77240 * libio/iofgets_u.c: Likewise.
77241 * libio/iofopen.c: Likewise.
77242 * libio/iofopncook.c: Likewise.
77243 * libio/iofread.c: Likewise.
77244 * libio/iofread_u.c: Likewise.
77245 * libio/ioftell.c: Likewise.
77246 * libio/iofwrite.c: Likewise.
77247 * libio/iogetline.c: Likewise.
77248 * libio/iogets.c: Likewise.
77249 * libio/iogetwline.c: Likewise.
77250 * libio/iopadn.c: Likewise.
77251 * libio/iopopen.c: Likewise.
77252 * libio/ioseekoff.c: Likewise.
77253 * libio/ioseekpos.c: Likewise.
77254 * libio/iosetbuffer.c: Likewise.
77255 * libio/iosetvbuf.c: Likewise.
77256 * libio/ioungetc.c: Likewise.
77257 * libio/ioungetwc.c: Likewise.
77258 * libio/iovdprintf.c: Likewise.
77259 * libio/iovsprintf.c: Likewise.
77260 * libio/iovsscanf.c: Likewise.
77261 * libio/memstream.c: Likewise.
77262 * libio/obprintf.c: Likewise.
77263 * libio/oldfileops.c: Likewise.
77264 * libio/oldiofclose.c: Likewise.
77265 * libio/oldiofdopen.c: Likewise.
77266 * libio/oldiofopen.c: Likewise.
77267 * libio/oldiopopen.c: Likewise.
77268 * libio/oldstdfiles.c: Likewise.
77269 * libio/putc.c: Likewise.
77270 * libio/setbuf.c: Likewise.
77271 * libio/setlinebuf.c: Likewise.
77272 * libio/stdfiles.c: Likewise.
77273 * libio/strops.c: Likewise.
77274 * libio/vasprintf.c: Likewise.
77275 * libio/vscanf.c: Likewise.
77276 * libio/vsnprintf.c: Likewise.
77277 * libio/vswprintf.c: Likewise.
77278 * libio/wfiledoalloc.c: Likewise.
77279 * libio/wfileops.c: Likewise.
77280 * libio/wgenops.c: Likewise.
77281 * libio/wmemstream.c: Likewise.
77282 * libio/wstrops.c: Likewise.
77283 * libio/__fpurge.c: Likewise.
77284 * libio/__fsetlocking.c: Likewise.
77285 * assert/assert.c: Likewise.
77286 * debug/fgets_chk.c: Likewise.
77287 * debug/fgets_u_chk.c: Likewise.
77288 * debug/fread_chk.c: Likewise.
77289 * debug/fread_u_chk.c: Likewise.
77290 * debug/gets_chk.c: Likewise.
77291 * debug/obprintf_chk.c: Likewise.
77292 * debug/vasprintf_chk.c: Likewise.
77293 * debug/vdprintf_chk.c: Likewise.
77294 * debug/vsnprintf_chk.c: Likewise.
77295 * debug/vsprintf_chk.c: Likewise.
77296 * malloc/mtrace.c: Likewise.
77297 * misc/error.c: Likewise.
77298 * misc/syslog.c: Likewise.
77299 * stdio-common/asprintf.c: Likewise.
77300 * stdio-common/fxprintf.c: Likewise.
77301 * stdio-common/getw.c: Likewise.
77302 * stdio-common/isoc99_fscanf.c: Likewise.
77303 * stdio-common/isoc99_scanf.c: Likewise.
77304 * stdio-common/isoc99_vfscanf.c: Likewise.
77305 * stdio-common/isoc99_vscanf.c: Likewise.
77306 * stdio-common/isoc99_vsscanf.c: Likewise.
77307 * stdio-common/printf-prs.c: Likewise.
77308 * stdio-common/printf_fp.c: Likewise.
77309 * stdio-common/printf_fphex.c: Likewise.
77310 * stdio-common/printf_size.c: Likewise.
77311 * stdio-common/putw.c: Likewise.
77312 * stdio-common/scanf.c: Likewise.
77313 * stdio-common/sprintf.c: Likewise.
77314 * stdio-common/tmpfile.c: Likewise.
77315 * stdio-common/vfprintf.c: Likewise.
77316 * stdio-common/vfscanf.c: Likewise.
77317 * stdlib/strfmon_l.c: Likewise.
77318 * sunrpc/openchild.c: Likewise.
77319 * sunrpc/xdr_stdio.c: Likewise.
77320 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
77321 * sysdeps/mach/hurd/tmpfile.c: Likewise.
77322
77323 2012-05-24 Roland McGrath <roland@hack.frob.com>
77324
77325 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
77326
77327 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
77328 in the third column, to generate for the shared library an IFUNC
77329 that uses _dl_vdso_vsym.
77330 * Makerules (COMPILE.c, compile-stdin.c): New variables.
77331 * Makeconfig (object-suffixes-noshared): New variable.
77332
77333 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
77334 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
77335 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
77336 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
77337
77338 [BZ #14132]
77339 * include/sys/time.h (__gettimeofday): Remove macro.
77340 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
77341 * time/gettimeofday.c (__gettimeofday): Remove #undef.
77342 Remove INTDEF.
77343 (__gettimeofday): Add libc_hidden_def.
77344 (gettimeofday): Add libc_hidden_weak.
77345 * sysdeps/mach/gettimeofday.c: Likewise.
77346 * sysdeps/posix/gettimeofday.c: Likewise.
77347 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
77348 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
77349 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
77350 (__gettimeofday_internal): Remove strong_alias.
77351 (__gettimeofday): Add libc_hidden_def.
77352 (gettimeofday): Add libc_hidden_weak.
77353 * sysdeps/unix/syscalls.list (gettimeofday):
77354 Remove __gettimeofday_internal alias.
77355
77356 2012-05-24 Daniel Jacobowitz <drow@false.org>
77357 H.J. Lu <hongjiu.lu@intel.com>
77358
77359 [BZ #12495]
77360 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
77361 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
77362 (largebin_index_32_big): New.
77363 (largebin_index): Use it for 16-byte alignment.
77364 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
77365 correction with front_misalign.
77366
77367 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
77368
77369 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
77370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
77371 Likewise.
77372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
77373 Likewise.
77374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
77375 Likewise.
77376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
77377 Likewise.
77378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
77379 Likewise.
77380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
77381 Likewise.
77382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
77383 Likewise.
77384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
77385 Likewise.
77386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
77387 Likewise.
77388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
77389 Likewise.
77390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
77391 Likewise.
77392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
77393 Likewise.
77394
77395 * scripts/data/c++-types-x32-linux-gnu.data: New file.
77396 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
77397
77398 2012-05-24 Joseph Myers <joseph@codesourcery.com>
77399
77400 [BZ #10846]
77401 [BZ #14036]
77402 * math/libm-test.inc (exp_test): Add test from bug 14036.
77403 (pow_test): Add test from bug 10846.
77404
77405 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
77406 and other flags.
77407 (special_function): Do not include flags in test name.
77408 (parse_args): Likewise.
77409 * sysdeps/i386/fpu/libm-test-ulps: Update.
77410 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77411 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
77412 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
77413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77414
77415 * math/gen-libm-test.pl (%beautify): Add entries for underflow
77416 exceptions.
77417 * math/libm-test.inc ("Philosophy"): Update comment about
77418 exception testing.
77419 (UNDERFLOW_EXCEPTION): New macro.
77420 (UNDERFLOW_EXCEPTION_OK): Likewise.
77421 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
77422 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
77423 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
77424 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
77425 (INVALID_EXCEPTION_OK): Update value.
77426 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
77427 (OVERFLOW_EXCEPTION_OK): Likewise.
77428 (IGNORE_ZERO_INF_SIGN): Likewise.
77429 (test_exceptions): Handle underflow exceptions.
77430 (acos_test): Update for underflow exception expectations.
77431 (cexp_test): Likewise.
77432 (clog_test): Likewise.
77433 (clog10_test): Likewise.
77434 (csqrt_test): Likewise.
77435 (ctan_test): Likewise.
77436 (ctanh_test): Likewise.
77437 (exp_test): Likewise.
77438 (exp10_test): Likewise.
77439 (exp2_test): Likewise.
77440 (expm1_test): Likewise.
77441 (fma_test): Likewise.
77442 (j0_test): Likewise.
77443 (jn_test): Likewise.
77444 (nexttoward_test): Likewise.
77445 (pow_test): Likewise.
77446 (scalbn_test): Likewise.
77447 (scalbln_test): Likewise.
77448 (tan_test): Likewise.
77449 (y1_test): Likewise.
77450 * sysdeps/i386/fpu/libm-test-ulps: Update.
77451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77452
77453 2012-05-23 David S. Miller <davem@davemloft.net>
77454
77455 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
77456 (__libc_sigaction): Remove unused local variables.
77457
77458 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
77459
77460 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
77461
77462 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
77463
77464 mktime: avoid signed integer overflow
77465 * time/mktime.c (__mktime_internal): Do not mishandle the case
77466 where diff == INT_MIN.
77467
77468 mktime: simplify computation of average
77469 * time/mktime.c (ranged_convert): Use new time_t_avg function
77470 instead of rolling our own (probably-slower) code.
77471
77472 mktime: do not assume signed right shift propagates sign bit
77473 * time/mktime.c (isdst_differ): New static function.
77474 (__mktime_internal): No need to normalize tm_isdst now.
77475 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
77476 tm_isdst values.
77477
77478 mktime: merge another wrapv change from gnulib
77479 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
77480 from some compilers.
77481
77482 mktime: remove incorrect attempt at unusual arithmetics
77483 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
77484 The code didn't really work on such machines anyway.
77485 (TYPE_MINIMUM): Assume two's complement.
77486 (twos_complement_arithmetic): Verify that long_int and time_t
77487 are two's complement (or unsigned, in the latter case).
77488
77489 mktime: check signed shifts on long_int and time_t, too
77490 * time/mktime.c (SHR): Check that shifts work as desired
77491 on the types long_int and time_t too, as SHR is used on
77492 such types.
77493
77494 mktime: do not assume 'long' is wide enough
77495 * time/mktime.c (verify): Move decl up.
77496 (long_int): New type.
77497 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
77498 to remove assumption in the code that 'long' is wide enough to
77499 store year values. This assumption is not true on x32 and on
77500 some non-glibc platforms.
77501
77502 mktime: merge wrapv change from gnulib
77503 * time/mktime.c (WRAPV): New macro.
77504 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
77505 (guess_time_tm, __mktime_internal): Do not assume that signed
77506 integer overflow wraps around; modern compilers generate code
77507 where this assumption is no longer valid.
77508
77509 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
77510
77511 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
77512 Replace "jmp L(pseudo_end)" with "ret".
77513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
77514 Likewise.
77515
77516 2012-05-23 Andreas Jaeger <aj@suse.de>
77517
77518 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
77519 * sysdeps/unix/sysv/linux/poll.c: Remove file.
77520
77521 2012-05-23 Andreas Jaeger <aj@suse.de>
77522 Maximilian Attems <max@stro.at>
77523
77524 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
77525 New macros.
77526
77527 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
77528
77529 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
77530 code so that pseudo_end is just ret and the stack pointer is
77531 correct also for static library in error case.
77532
77533 2012-05-23 Joseph Myers <joseph@codesourcery.com>
77534
77535 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
77536 move to syscalls.list.
77537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
77538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
77539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
77540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
77541
77542 * manual/install.texi (Running make install): Do not mention Linux
77543 kernel version for which pt_chown is not needed.
77544 (Linux): Do not mention problems with nscd with 2.0 kernels.
77545 * INSTALL: Regenerated.
77546
77547 2012-05-23 Andreas Jaeger <aj@suse.de>
77548
77549 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
77550 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
77551 macro.
77552 * sysdeps/unix/sysv/linux/s390/bits/mman.h
77553 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77554 * sysdeps/unix/sysv/linux/sh/bits/mman.h
77555 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77556 * sysdeps/unix/sysv/linux/i386/bits/mman.h
77557 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77558 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
77559 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77560 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
77561 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77562 * sysdeps/unix/sysv/linux/bits/in.h
77563 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
77564
77565 2012-05-22 Roland McGrath <roland@hack.frob.com>
77566
77567 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
77568 (PREPARE_VERSION): Just use assert instead, it will be elided
77569 under [NDEBUG] anyway.
77570
77571 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
77572
77573 * sysdeps/unix/sysv/linux/Makefile: Include
77574 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
77575 (sysdep_routines): Remove sysctl.
77576 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
77577 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
77578 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
77579 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
77580 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
77581
77582 2012-05-22 Andreas Jaeger <aj@suse.de>
77583
77584 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
77585 that pseudo_end is just ret and the stack pointer is correct also
77586 for static library in error case.
77587
77588 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
77589
77590 [BZ #14122]
77591 * nss/nsswitch.c (defconfig_entries): New variable.
77592 (__nss_database_lookup): Don't leak defconfig entries.
77593 (nss_parse_service_list): Don't leak on error paths.
77594 (free_database_entries): New function.
77595 (free_defconfig): New function.
77596 (free_mem): Move common code to free_database_entries.
77597
77598 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
77599
77600 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
77601 Add arch_prctl.
77602 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
77603
77604 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
77605 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
77606 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
77607 New macro.
77608 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
77609 (INTERNAL_SYSCALL_TYPES): Likewise.
77610 (LOAD_ARGS_TYPES_[1-6]): Likewise.
77611 (LOAD_REGS_TYPES_[1-6]): Likewise.
77612 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
77613 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
77614
77615 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77616
77617 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
77618 copysignl for GLIBC_2_0.
77619 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
77620 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
77621 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
77622 logbl for GLIBC_2_0.
77623 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
77624 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
77625
77626 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
77627
77628 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
77629 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
77630
77631 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
77632 Use "neg %eax".
77633
77634 * time/mktime.c: Update copyright years.
77635
77636 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
77637
77638 mktime: merge comment-quoting-style change from gnulib
77639 * time/mktime.c: Quote 'like this' in comments.
77640 The GNU coding standards suggest that we no longer quote `like this',
77641 as "`" and "'" are typically rendered asymmetrically nowadays.
77642 The typical gnulib style is to quote 'like this' when quoting
77643 code, and "like this" when quoting English.
77644
77645 * time/mktime.c (compile-command): Add "-I.".
77646
77647 mktime: merge mktime-internal.h change from gnulib
77648 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
77649
77650 mktime: merge time_r change from gnulib
77651 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
77652
77653 mktime: merge DEBUG change from gnulib
77654 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
77655 case system <time.h> has a #define.
77656
77657 mktime: merge <sys/types.h> change from gnulib
77658 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
77659 since <time.t> is now guaranteed to define time_t.
77660
77661 mktime: merge HAVE_CONFIG_H change from gnulib
77662 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
77663
77664 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
77665
77666 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
77667 Use "neg %eax".
77668
77669 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
77670 __rlim_t cast.
77671 (struct rusage): Use anonymous union to pad each field to
77672 __syscall_slong_t.
77673
77674 2012-05-21 David S. Miller <davem@davemloft.net>
77675
77676 * Makefules (o-iterator): Remove .s cases.
77677 (compile-command.s): Delete.
77678 (COMPILE.s): Delete.
77679 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
77680
77681 2012-05-21 Joseph Myers <joseph@codesourcery.com>
77682
77683 * configure.in (libc_cv_predef_stack_protector): Only consider
77684 "foobar" and "__stack_chk_fail" lines in libc_undefs.
77685 * configure: Regenerated.
77686
77687 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
77688
77689 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
77690 New macro. Use R*LP on int and pointer.
77691 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
77692 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
77693 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
77694 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
77695
77696 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
77697 [__WORDSIZE_TIME64_COMPAT32] instead of
77698 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
77699 (struct utmp): Likewise.
77700 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
77701 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
77702 Renamed to ...
77703 (__WORDSIZE_TIME64_COMPAT32): This.
77704 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
77705 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
77706 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
77707 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
77708 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
77709 (__WORDSIZE_TIME64_COMPAT32): New macro.
77710
77711 2012-05-21 Andreas Jaeger <aj@suse.de>
77712
77713 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
77714 only if [SHARED]. Add prototype for __wcschr_ia32.
77715
77716 2012-05-21 Roland McGrath <roland@hack.frob.com>
77717
77718 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
77719 of %rbp unmolested in the jmp_buf while mangling the low bits.
77720 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
77721 unmolested high bits of %rbp while demangling the low bits.
77722 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
77723
77724 2012-05-21 Andreas Jaeger <aj@suse.de>
77725
77726 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
77727 * sunrpc/svc_simple.c: Use it for registerrpc.
77728 * sunrpc/xcrypt.c: Use it for passwd2des.
77729
77730 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
77731
77732 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
77733
77734 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
77735 Don't define if [__SYSCALL_WORDSIZE != 32].
77736 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
77737 New macro.
77738
77739 2012-05-21 Bruno Haible <bruno@clisp.org>
77740 Andreas Jaeger <aj@suse.de>
77741
77742 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
77743 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
77744 inptr and inend for must_buffer_ch.
77745 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
77746 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
77747 * stdio-common/Makefile (tests): Remove bug15.
77748 (bug15-ENV): Remove macro.
77749 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
77750 anymore.
77751
77752 2012-05-19 Andreas Jaeger <aj@suse.de>
77753 Roland McGrath <roland@hack.frob.com>
77754
77755 * manual/contrib.texi: Completely rewritten. It contains now an
77756 alphabetical list of contributors and their contributions.
77757
77758 2012-05-21 Richard Henderson <rth@twiddle.net>
77759
77760 * misc/getauxval.c (__getauxval): Use unsigned long int.
77761 * misc/sys/auxv.h: Include <sys/cdefs.h>.
77762 (getauxval): Use unsigned long int.
77763
77764 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
77765
77766 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
77767
77768 2012-05-21 Roland McGrath <roland@hack.frob.com>
77769
77770 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
77771 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
77772 __alignof__ (long double).
77773
77774 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77775
77776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77777
77778 2012-05-20 Richard Henderson <rth@twiddle.net>
77779
77780 * misc/getauxval.c: New file.
77781 * misc/sys/auxv.h: New file.
77782 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
77783 (routines): Add getauxval.
77784 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
77785 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
77786 * elf/dl-sysdep.c (_dl_auxv): Remove.
77787 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
77788 * elf/dl-support.c (_dl_auxv): New variable.
77789 (_dl_aux_init): Initialize it.
77790 * manual/startup.texi (Auxiliary Vector): New node.
77791 * sysdeps/generic/bits/hwcap.h: New file.
77792 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
77793 * sysdeps/powerpc/sysdep.h: ... here. Include it.
77794 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
77795 * sysdeps/sparc/sysdep.h: ... here. Include it.
77796 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
77797 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
77798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77799 Update.
77800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
77801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
77802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
77803 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
77804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
77805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
77806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
77807 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
77808
77809 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77810
77811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77812
77813 2012-05-19 David S. Miller <davem@davemloft.net>
77814
77815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77816
77817 2012-05-19 Joseph Myers <joseph@codesourcery.com>
77818
77819 [BZ #14123]
77820 * math/s_ccosh.c: Include <float.h>
77821 (__ccosh): Avoid internal overflow calculating sinh and cosh
77822 values before multiplying by sin and cos values.
77823 * math/s_ccoshf.c: Likewise.
77824 * math/s_ccoshl.c: Likewise.
77825 * math/s_csin.c: Likewise.
77826 * math/s_csinf.c: Likewise.
77827 * math/s_csinl.c: Likewise.
77828 * math/s_csinh.c: Likewise.
77829 * math/s_csinhf.c: Likewise.
77830 * math/s_csinhl.c: Likewise.
77831 * math/libm-test.inc (ccos_test): Add more tests.
77832 (ccosh_test): Likewise.
77833 (csin_test): Likewise.
77834 (csinh_test): Likewise.
77835 * sysdeps/i386/fpu/libm-test-ulps: Update.
77836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77837
77838 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
77839
77840 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
77841 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
77842
77843 * sysdeps/x86_64/x32/_itoa.h: Add comment.
77844
77845 2012-05-19 Joseph Myers <joseph@codesourcery.com>
77846
77847 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
77848 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
77849 * sysdeps/powerpc/soft-fp/Versions: Likewise.
77850 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
77851 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
77852 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
77853 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
77854 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
77855 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
77856 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
77857 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
77858 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
77859 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
77860 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
77861 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
77862 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
77863 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
77864 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
77865 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
77866 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
77867 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
77868 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
77869 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
77870 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
77871 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
77872 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
77873 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
77874 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
77875 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
77876 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
77877 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
77878
77879 2012-05-18 Andreas Jaeger <aj@suse.de>
77880
77881 * csu/.gitignore: Delete.
77882
77883 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
77884
77885 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
77886 (timex): Use __syscall_slong_t.
77887
77888 2012-05-18 Andreas Jaeger <aj@suse.de>
77889 Carlos O'Donell <carlos_odonell@mentor.com>
77890
77891 * manual/install.texi (Configuring and compiling): Update
77892 description about files modified in the source directory.
77893 * INSTALL: Regenerated.
77894
77895 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
77896
77897 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
77898 value. Use "or" to set return value to -1.
77899 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
77900 negate return value.
77901
77902 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
77903
77904 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
77905 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
77906 failure if the compiler has Graphite support disabled.
77907 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
77908 Likewise.
77909 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
77910 (CFLAGS-memmove.c): Likewise.
77911 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
77912 Likewise.
77913
77914 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
77915
77916 * sysdeps/x86_64/x32/_itoa.h: New file.
77917
77918 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
77919 getdents system call only if kernel and user dirents have the
77920 same d_ino and d_off.
77921
77922 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
77923 LLONG_MAX != LONG_MAX.
77924 (_itoa_word): Use _ITOA_WORD_TYPE on value.
77925 (_fitoa_word): Likewise.
77926
77927 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
77928 years.
77929 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
77930 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
77931 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
77932
77933 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
77934 include <bits/wordsize.h>. Check __x86_64__ instead of
77935 __WORDSIZE.
77936 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
77937 if __x86_64__ is defined. Use anonymous union on fpstate.
77938
77939 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
77940 anonymous union.
77941
77942 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
77943
77944 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
77945 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
77946 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
77947 Refer to _rtld_local_ro instead of _rtld_global_ro.
77948 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
77949 Likewise.
77950 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
77951 Likewise.
77952 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
77953 Likewise.
77954 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
77955 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
77956 of _rtld_global, and rtld_progname instead of _dl_argv[0].
77957
77958 [BZ #10882]
77959 * sysdeps/powerpc/powerpc32/dl-machine.c
77960 (__elf_machine_runtime_setup) [PROF]: Don't reference
77961 _dl_prof_resolve.
77962
77963 2012-05-18 Andreas Jaeger <aj@suse.de>
77964
77965 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
77966 function only available for GCCs before 3.4 since GCC 3.4
77967 introduced a builtin.
77968 (lrint): Likewise.
77969 (llrintf): Likewise.
77970 (llrint): Likewise.
77971 (fmaxf): Likewise.
77972 (fmax): Likewise.
77973 (fminf): Likewise.
77974 (fmin): Likewise.
77975 (rint): Likewise.
77976 (rintf): Likewise.
77977 (nearbyint): Likewise.
77978 (nearbyintf): Likewise.
77979 (ceil): Likewise.
77980 (ceilf): Likewise.
77981 (floor): Likewise.
77982 (floorf): Likewise.
77983
77984 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
77985
77986 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
77987 on both fields and cast pointer to __syscall_ulong_t.
77988
77989 * bits/types.h (__fsword_t): New type.
77990 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
77991 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
77992 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77993 (__FSWORD_T_TYPE): Likewise.
77994 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77995 (__FSWORD_T_TYPE): Likewise.
77996 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77997 (__FSWORD_T_TYPE): Likewise.
77998 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
77999 (__FSWORD_T_TYPE): Likewise.
78000 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
78001 __SWORD_TYPE with __fsword_t.
78002 (statfs64): Likewise.
78003
78004 2012-05-17 David S. Miller <davem@davemloft.net>
78005
78006 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
78007
78008 2012-05-17 Andreas Jaeger <aj@suse.de>
78009
78010 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
78011 warning.
78012
78013 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
78014
78015 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
78016
78017 2012-05-17 Andreas Jaeger <aj@suse.de>
78018
78019 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
78020 when it is used.
78021
78022 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
78023
78024 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
78025
78026 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
78027
78028 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
78029 * sysdeps/x86_64/tst-mallocalign1.c: New file.
78030
78031 2012-05-17 Andreas Jaeger <aj@suse.de>
78032 Carlos O'Donell <carlos_odonell@mentor.com>
78033
78034 [BZ #14059]
78035 * sysdeps/x86_64/multiarch/init-arch.h
78036 (bit_YMM_Usable): Rename to...
78037 (bit_AVX_Usable): ... this.
78038 (bit_FMA4_Usable): New macro.
78039 (bit_XMM_state): New macro.
78040 (bit_YMM_state): New macro.
78041 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
78042 [__ASSEMBLER__] (index_AVX_Usable): ... this.
78043 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
78044 (CPUID_OSXSAVE): New macro.
78045 (CPUID_AVX): New macro.
78046 (CPUID_FMA4): New macro.
78047 (index_YMM_Usable): Rename to...
78048 (index_AVX_Usable): ... this.
78049 (HAS_AVX): Use HAS_ARCH_FEATURE.
78050 (HAS_FMA4): Likewise.
78051 (HAS_YMM_USABLE): Remove.
78052 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78053 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
78054 are present.
78055 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
78056 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
78057 * sysdeps/x86_64/multiarch/Makefile: Likewise.
78058 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
78059 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
78060
78061 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
78062
78063 * math/libm-test.c: Support platforms without multiple rounding modes.
78064 * math/bug-nextafter.c: Support platforms without FP exceptions.
78065 * math/bug-nexttoward.c: Likewise.
78066 * math/test-fenv.c: Likewise.
78067 * math/test-misc.c: Likewise.
78068 * stdlib/bug-getcontext.c: Likewise.
78069
78070 2012-05-17 Andreas Jaeger <aj@suse.de>
78071
78072 * manual/examples/search.c (critter_cmp): Change signature to
78073 avoid warnings.
78074 * manual/string.texi (Collation Functions): Likewise.
78075
78076 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
78077
78078 * bits/types.h: Fold copyright years.
78079 * bits/typesizes.h: Likewise.
78080 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
78081 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
78082 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
78083 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
78084 * time/time.h: Likewise.
78085
78086 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
78087
78088 [BZ #208]
78089 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
78090 in instead of returning them. Return void.
78091 (__libc_mallinfo): Accumulate over all arenas.
78092 (__malloc_stats): Adjust for change in int_mallinfo interface.
78093
78094 2012-05-16 Roland McGrath <roland@hack.frob.com>
78095
78096 [BZ #10375]
78097 * configure.in (NM): Add AC_CHECK_TOOL for it.
78098 (libc_extra_cflags): New substituted variable.
78099 Check for -fstack-protector being used implicitly.
78100 * configure: Regenerated.
78101 * config.make.in (config-extra-cflags): New variable,
78102 gets @libc_extra_cflags@.
78103 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
78104
78105 [BZ #10375]
78106 * configure.in: Check for _FORTIFY_SOURCE being predefined.
78107 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
78108 * configure: Regenerated.
78109 * config.make.in (CPPUNDEFS): New substituted variable.
78110 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
78111 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
78112 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
78113
78114 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
78115
78116 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
78117 (mq_attr): Use __syscall_slong_t.
78118
78119 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
78120
78121 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
78122 Check __x86_64__ instead of __WORDSIZE.
78123 (_STAT_VER_LINUX): Likewise.
78124 (stat): Check __x86_64__ instead of __WORDSIZE. Use
78125 __syscall_ulong_t and __syscall_slong_t.
78126 (stat64): Likewise.
78127
78128 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
78129
78130 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
78131
78132 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
78133
78134 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
78135
78136 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
78137
78138 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
78139 __syscall_ulong_t.
78140
78141 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
78142 include <bits/wordsize.h>. Check __x86_64__ instead of
78143 __WORDSIZE.
78144 (greg_t): Use "__extension__ long long int" if __x86_64__ is
78145 defined.
78146 (mcontext_t): Replace "unsigned long" with "unsigned long long".
78147
78148 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
78149 include <bits/wordsize.h>. Check __x86_64__ instead of
78150 __WORDSIZE.
78151 (user_regs_struct): Use "__extension__ unsigned long long"
78152 instead of "unsigned long" if __x86_64__ is defined.
78153 (user): Likewise. Pad after pointer field if __ILP32__ is
78154 defined.
78155
78156 2012-05-16 Joseph Myers <joseph@codesourcery.com>
78157
78158 * configure.in (makeinfo): Require version 4.5 or later. Allow
78159 versions 5 to 9.
78160 * configure: Regenerated.
78161 * manual/install.texi (texinfo): Increase version requirement to
78162 4.5 or later.
78163 * INSTALL: Regenerated.
78164
78165 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
78166
78167 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
78168
78169 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
78170
78171 * sysdeps/x86_64/x32/ffs.c: New file.
78172
78173 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
78174 __syscall_ulong_t.
78175 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
78176 defined. Use __syscall_ulong_t.
78177 (shminfo): Use __syscall_ulong_t.
78178 (shm_info): Likewise.
78179
78180 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
78181 __syscall_ulong_t.
78182
78183 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
78184 <bits/wordsize.h>.
78185 (msgqnum_t): Use __syscall_ulong_t.
78186 (msglen_t): Likewise.
78187 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
78188 __syscall_ulong_t.
78189
78190 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
78191 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
78192
78193 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
78194
78195 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
78196 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
78197
78198 * sysvipc/sys/msg.h (msgbuf): Replace long int with
78199 __syscall_slong_t.
78200
78201 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
78202 include <bits/wordsize.h>. Check __x86_64__ instead of
78203 __WORDSIZE.
78204
78205 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
78206 "unsigned long long int" if __x86_64__ is defined.
78207 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
78208
78209 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
78210 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
78211 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
78212
78213 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
78214 <stdint.h>.
78215 (GET_PC): Cast to uintptr_t first.
78216 (GET_FRAME): Likewise.
78217 (GET_STACK): Likewise.
78218
78219 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
78220 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
78221 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
78222 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
78223 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
78224 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
78225 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
78226 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
78227 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
78228 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
78229 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
78230 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
78231 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78232 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
78233 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
78234 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
78235 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
78236 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
78237 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
78238 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
78239 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
78240 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
78241 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
78242 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
78243 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
78244 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
78245 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
78246 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
78247 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
78248
78249 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
78250
78251 * Makerules (+depfiles): Also collect depfiles from .oS in
78252 $(extra-objs).
78253 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
78254 .oS, $(libnldbl-routines)).
78255
78256 * Makerules (native-compile-mkdep-flags): Define.
78257 * sunrpc/Makefile (extra-objs): Add $(addprefix
78258 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
78259 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
78260 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
78261 calling $(make-target-directory).
78262
78263 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
78264
78265 * bits/types.h (__snseconds_t): Removed.
78266 * time/time.h (struct timespec): Replace __snseconds_t with
78267 __syscall_slong_t.
78268 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
78269 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
78270 Likewise.
78271 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78272 (__SNSECONDS_T_TYPE): Likewise.
78273 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78274 (__SNSECONDS_T_TYPE): Likewise.
78275 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78276 (__SNSECONDS_T_TYPE): Likewise.
78277
78278 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
78279
78280 * sysdeps/mach/hurd/bits/typesizes.h
78281 (__SYSCALL_SLONG_TYPE): New macro.
78282 (__SYSCALL_ULONG_TYPE): Likewise.
78283
78284 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
78285
78286 * bits/types.h (__syscall_slong_t): New type.
78287 (__syscall_ulong_t): Likewise.
78288
78289 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
78290 (__SYSCALL_ULONG_TYPE): Likewise.
78291 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78292 (__SYSCALL_SLONG_TYPE): Likewise.
78293 (__SYSCALL_ULONG_TYPE): Likewise.
78294 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78295 (__SYSCALL_SLONG_TYPE): Likewise.
78296 (__SYSCALL_ULONG_TYPE): Likewise.
78297 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78298 (__SYSCALL_SLONG_TYPE): Likewise.
78299 (__SYSCALL_ULONG_TYPE): Likewise.
78300
78301 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
78302
78303 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
78304 Add sigaltstack-offsets.sym.
78305 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
78306 <sigaltstack-offsets.h>.
78307 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
78308 longjmp_msg pointer.
78309 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
78310 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
78311 signal stack.
78312 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
78313
78314 2012-05-15 Joseph Myers <joseph@codesourcery.com>
78315
78316 * elf/stackguard-macros.h: Remove file.
78317 * sysdeps/generic/stackguard-macros.h: New file.
78318 * sysdeps/i386/stackguard-macros.h: Likewise.
78319 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
78320 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
78321 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
78322 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
78323 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
78324 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
78325 * sysdeps/x86_64/stackguard-macros.h: Likewise.
78326 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
78327 <elf/stackguard-macros.h>.
78328
78329 [BZ #14109]
78330 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
78331 __aligned__ in attribute.
78332 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
78333 (gregset_t): Likewise.
78334
78335 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
78336
78337 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
78338 * sysdeps/x86_64/64/Implies-after: Here. New file.
78339 * sysdeps/x86_64/x32/Implies-after: New file.
78340
78341 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
78342
78343 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
78344 and access return value for _dl_profile_fixup. Use R10_LP to
78345 load frame size.
78346
78347 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
78348
78349 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
78350
78351 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
78352
78353 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
78354 * sysdeps/x86_64/x32/sysdep.h: New file.
78355
78356 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
78357
78358 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
78359 * sysdeps/x86_64/setjmp.S: Likewise.
78360
78361 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78362
78363 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
78364 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
78365 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
78366 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
78367 remove unused global constant.
78368
78369 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
78370
78371 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
78372 include of <not-cancel.h>.
78373
78374 2012-05-15 Roland McGrath <roland@hack.frob.com>
78375
78376 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
78377
78378 2012-05-15 Jeff Law <law@redhat.com>
78379 Andreas Jaeger <aj@suse.de>
78380
78381 [BZ #13594]
78382 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
78383 out from...
78384 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
78385 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
78386 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
78387 code changing __hst_map_handle.map.
78388
78389 2012-05-15 Roland McGrath <roland@hack.frob.com>
78390
78391 * configure.in (sysnames): Look for Implies-before and Implies-after
78392 files.
78393 * configure: Regenerated.
78394
78395 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
78396
78397 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
78398 8-byte data alignment with LP_SIZE alignment.
78399
78400 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
78401
78402 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
78403 into R10_LP.
78404
78405 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
78406
78407 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
78408
78409 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
78410
78411 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
78412 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
78413 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
78414 Likewise.
78415 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
78416
78417 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
78418
78419 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
78420 (stackinfo_sub_sp): Likewise.
78421
78422 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
78423
78424 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
78425 RAX_LP.
78426
78427 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
78428
78429 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
78430 into R*_LP.
78431
78432 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
78433
78434 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
78435 sizes into R*_LP.
78436
78437 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
78438
78439 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
78440
78441 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
78442
78443 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
78444 into R11_LP and load __x86_64_shared_cache_size_half into
78445 R8_LP.
78446
78447 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
78448
78449 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
78450 R8_LP.
78451
78452 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78453
78454 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
78455 logb for POWER7.
78456 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
78457 logbf for POWER7.
78458 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
78459 logbl for POWER7.
78460 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
78461 powerpc32/power7/fpu/s_logb.c via #include.
78462 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
78463 powerpc32/power7/fpu/s_logbf.c via #include.
78464 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
78465 powerpc32/power7/fpu/s_logbl.c via #include.
78466
78467 2012-05-15 Joseph Myers <joseph@codesourcery.com>
78468
78469 * README.libm: Remove file.
78470
78471 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
78472
78473 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
78474 count for x32. Use R*_LP and omit operand-size suffix.
78475
78476 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
78477
78478 * shlib-versions: Move x86_64-.*-linux.* entries to ...
78479 * sysdeps/x86_64/64/shlib-versions: Here. New file.
78480 * sysdeps/x86_64/x32/shlib-versions: New file.
78481
78482 2012-05-14 Roland McGrath <roland@hack.frob.com>
78483
78484 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
78485 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
78486 Use _dl_fatal_printf instead.
78487
78488 2012-05-14 Joseph Myers <joseph@codesourcery.com>
78489
78490 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
78491 set if not set by the user. Do not allow for being unset.
78492 * sysdeps/unix/sysv/linux/configure: Regenerated.
78493
78494 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
78495
78496 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
78497 the `q' suffix from lea and replace .quad with ASM_ADDR.
78498
78499 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
78500
78501 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
78502 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
78503 instead of $17.
78504 (PTR_DEMANGLE): Likewise.
78505
78506 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
78507
78508 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
78509 (LP_OP): Likewise.
78510 (ASM_ADDR): Likewise.
78511 (RAX_LP): Likewise.
78512 (RBP_LP): Likewise.
78513 (RBX_LP): Likewise.
78514 (RCX_LP): Likewise.
78515 (RDI_LP): Likewise.
78516 (RSI_LP): Likewise.
78517 (RSP_LP): Likewise.
78518 (R8_LP): Likewise.
78519 (R9_LP): Likewise.
78520 (R10_LP): Likewise.
78521 (R10_LP): Likewise.
78522 (R11_LP): Likewise.
78523 (R12_LP): Likewise.
78524 (R13_LP): Likewise.
78525 (R14_LP): Likewise.
78526 (R15_LP): Likewise.
78527
78528 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
78529
78530 * sysdeps/x86_64/x32/dl-machine.h: New file.
78531
78532 2012-05-14 Andreas Jaeger <aj@suse.de>
78533
78534 * manual/Makefile (subdir): Remove export of subdir.
78535 (all): Remove target.
78536 (.PHONY): Remove all from list.
78537 (mkinstalldirs): Remove.
78538 (.PHONY): Remove installdirs from list.
78539 ($(inst_infodir)/libc.info): Use make-target-directory.
78540 (installdirs): Remove.
78541 (subdir_%): Remove.
78542 (glibc-targets): Remove.
78543 (lib): Remove.
78544 (stubs): Remove.
78545 ($(objpfx)stubs ../po/manual.pot): Remove.
78546 ($(objpfx)stamp%): Remove.
78547 (make-target-directory): Remove.
78548 (subdir_install): Remove.
78549 (routines): Remove.
78550 (aux): Remove.
78551 (sources): Remove.
78552 (objects): Remove.
78553 (headers): Remove.
78554
78555 [BZ #13750]
78556 * manual/.gitignore: Remove, it's not needed anymore.
78557 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
78558 all files in it.
78559 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
78560 directory.
78561 (texis): Renamed to $(objpfx)texis.
78562 (texis-path): New, contains path to generated files.
78563 (chapters.%): Use texis-path for complete path, add extra argument
78564 libc-texinfo.sh.
78565 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
78566 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
78567 (summary,texi, stamp-summary): Use complete path of
78568 files. Generate files in build dir.
78569 (dir-add.texi): Build in build dir.
78570 (libm-err.texi,stamp-libm-err): Likewise.
78571 (version.texi, stamp-version): Likewise.
78572 (.%c.texi): Likewise.
78573 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
78574 (mostlyclean): Remove target.
78575 (realclean): Remove target.
78576 (generated): Add new variable with contents from mostlyclean and
78577 realclean, remove entries duplicated in common-mostlyclean, add
78578 stamp-libm-err and stamp-version.
78579 (generated-dirs): Add libc directory.
78580 ($(inst_infodir)/libc.info): Install files from build dir.
78581
78582 * manual/install.texi (Configuring and compiling): Adjust since
78583 the info files are not part of the tar ball anymore.
78584
78585 2012-05-14 Andreas Jaeger <aj@suse.de>
78586
78587 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
78588 variable.
78589
78590 2012-05-14 Joseph Myers <joseph@codesourcery.com>
78591
78592 [BZ #13717]
78593 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
78594 to 2.2.0 where earlier.
78595 * sysdeps/unix/sysv/linux/configure: Regenerated.
78596 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
78597 Remove conditional code.
78598 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
78599 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
78600 Remove conditional code.
78601 [!__NR_lchown]: Likewise.
78602 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78603 [__NR_lchown]: Likewise.
78604 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
78605 comment referencing __ASSUME_LCHOWN_SYSCALL.
78606 * sysdeps/unix/sysv/linux/i386/sigaction.c
78607 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78608 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78609 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
78610 Remove conditional code.
78611 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
78612 (__protocol_available): Remove #if 0 code.
78613 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
78614 conditional code.
78615 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
78616 * sysdeps/unix/sysv/linux/kernel-features.h
78617 (__ASSUME_GETCWD_SYSCALL): Don't define.
78618 (__ASSUME_REALTIME_SIGNALS): Likewise.
78619 (__ASSUME_PREAD_SYSCALL): Likewise.
78620 (__ASSUME_PWRITE_SYSCALL): Likewise.
78621 (__ASSUME_POLL_SYSCALL): Likewise.
78622 (__ASSUME_LCHOWN_SYSCALL): Likewise.
78623 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
78624 non-SPARC.
78625 (__ASSUME_SIOCGIFNAME): Don't define.
78626 (__ASSUME_MSG_NOSIGNAL): Likewise.
78627 (__ASSUME_SENDFILE): Define unconditionally.
78628 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
78629 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
78630 conditional code.
78631 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
78632 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
78633 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
78634 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78635 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
78636 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
78637 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
78639 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78640 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
78642 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78643 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
78645 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78646 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
78648 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78649 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
78651 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78652 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
78654 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78655 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
78657 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78658 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
78660 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78661 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78662 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
78663 Remove conditional code.
78664 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78665 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
78666 Remove conditional code.
78667 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78668 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
78669 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
78670 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
78671 Remove conditional code.
78672 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78673 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
78674 Remove conditional code.
78675 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78676 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
78677 Remove conditional code.
78678 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78679 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
78680 Remove conditional code.
78681 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78682 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
78683 Remove conditional code.
78684 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78685 * sysdeps/unix/sysv/linux/sh/pwrite64.c
78686 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78687 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78688 * sysdeps/unix/sysv/linux/sigaction.c
78689 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78690 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78691 * sysdeps/unix/sysv/linux/sigpending.c
78692 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78693 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78694 * sysdeps/unix/sysv/linux/sigprocmask.c
78695 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78696 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78697 * sysdeps/unix/sysv/linux/sigsuspend.c
78698 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78699 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78700 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
78701 (__libc_missing_rt_sigs): Remove.
78702 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
78703 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
78704 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
78705 Remove conditional code.
78706 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
78707 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
78708 return 1.
78709 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
78710 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
78711 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
78712 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
78713
78714 2012-05-14 Andreas Jaeger <aj@suse.de>
78715
78716 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
78717 it's not used in glibc.
78718 (__coshm1): Likewise.
78719 (__acosh1p): Likewise.
78720 (__sgn): Likewise.
78721
78722 * manual/string.texi (Copying and Concatenation): Add missing
78723 variable in concat example.
78724 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
78725
78726 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
78727
78728 [BZ #14103]
78729 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
78730 __builtin_clzl with __builtin_clzll.
78731
78732 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
78733
78734 [BZ #14104]
78735 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
78736 libc_freeres_ptr.
78737
78738 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78739
78740 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
78741 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
78742 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
78743 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
78744
78745 2012-05-14 Mike Frysinger <vapier@gentoo.org>
78746
78747 * NEWS: Update ia64 info.
78748
78749 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
78750
78751 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
78752 used as bcopy.
78753
78754 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
78755
78756 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
78757 * sysdeps/unix/syscalls.list (dup3): Likewise.
78758 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
78759 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
78760
78761 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
78762
78763 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
78764 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
78765
78766 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
78767
78768 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
78769 thread pointer.
78770 (TLS_IE): Use mov/add instead of movq/addq to load thread
78771 pointer.
78772 (TLS_GD_PREFIX): New.
78773 (TLS_GD): Use it.
78774
78775 2012-05-11 David S. Miller <davem@davemloft.net>
78776
78777 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
78778 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
78779 (_FPU_SETCW): Likewise.
78780
78781 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
78782
78783 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
78784 is 32-byte aligned.
78785
78786 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
78787
78788 [BZ #11837]
78789 * iconvdata/gb18030.c: Update tables.
78790 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
78791 characters specially.
78792 (BODY for TO_LOOP): Add encoding of missing ranges.
78793
78794 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
78795
78796 [BZ #13673]
78797 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
78798 * sysdeps/mach/hurd/dup3.c: Likewise.
78799 * sysdeps/mach/hurd/readlinkat.c: Likewise.
78800 * sysdeps/powerpc/memmove.c:: Likewise.
78801
78802 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
78803
78804 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
78805 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
78806
78807 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
78808
78809 * elf/elf.h (R_X86_64_RELATIVE64): New.
78810 (R_X86_64_NUM): Updated.
78811 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
78812 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
78813 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
78814 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
78815 tst-quad1pie tst-quad2pie
78816 (modules-names): Add tst-quadmod1 tst-quadmod2.
78817 ($(objpfx)tst-quad1): New dependency.
78818 ($(objpfx)tst-quad2): Likewise.
78819 ($(objpfx)tst-quad1pie): Likewise.
78820 ($(objpfx)tst-quad2pie): Likewise.
78821 * sysdeps/x86_64/tst-quad1.c: New file.
78822 * sysdeps/x86_64/tst-quad1pie.c: New file.
78823 * sysdeps/x86_64/tst-quad2.c: Likewise.
78824 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
78825 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
78826 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
78827 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
78828 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
78829
78830 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
78831
78832 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
78833 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
78834 * streams/stropts.h (t_scalar_t): Define type.
78835
78836 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
78837 (_PATH_PRESERVE): Set to "/var/lib".
78838 (_PATH_RWHODIR): Set to "/var/spool/rwho".
78839
78840 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
78841 instead of int.
78842
78843 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
78844 if __dir_mkfile succeeded.
78845
78846 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
78847 checking for _hurd_dtablesize. Unlock it right after having
78848 finished _hurd_dtable allocation.
78849
78850 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
78851
78852 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
78853 * sysdeps/mach/hurd/configure: Regenerated.
78854 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
78855 special-casing to...
78856 * sysdeps/gnu/configure.in: ... this new file.
78857 * sysdeps/unix/sysv/linux/configure: Regenerated.
78858 * sysdeps/gnu/configure: New generated file.
78859
78860 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
78861 for Linux: use nsec instead of usec, as well as:
78862 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
78863 members of type struct timespec.
78864 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
78865 New macros.
78866 (struct stat64): Likewise.
78867 (_STATBUF_ST_NSEC): New macro.
78868 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
78869
78870 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78871 __strtoul_internal rather than strtoul.
78872
78873 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
78874
78875 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
78876 and reject them.
78877
78878 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
78879
78880 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
78881 which preserves existing values.
78882 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
78883
78884 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
78885
78886 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
78887 TIMEOUT values. Return EINVAL for NFDS values either negative or
78888 greater than FD_SETSIZE.
78889
78890 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
78891
78892 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
78893 allocated, call __vm_protect to finish enabling the existing space, and
78894 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
78895 allocate the remainder.
78896
78897 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
78898
78899 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
78900 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
78901
78902 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
78903
78904 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
78905 sysdeps/mach/hurd/readlink.c.
78906
78907 * posix/tst-sysconf.c (posix_options): Only use
78908 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
78909 _POSIX_SYNCHRONIZED_IO when they are defined
78910 * sysdeps/mach/hurd/bits/posix_opt.h:
78911 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
78912 (_XOPEN_REALTIME): Undefine macro.
78913 (_XOPEN_REALTIME_THREADS): Undefine macro.
78914 (_XOPEN_SHM): Undefine macro.
78915 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
78916 macro to -1.
78917 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
78918 macro to -1.
78919 (_POSIX_ASYNC_IO): Undefine macro.
78920 (_POSIX_PRIORITIZED_IO): Undefine macro.
78921 (_POSIX_SPIN_LOCKS): Define macro to -1.
78922
78923 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
78924 SA_NODEFER, SA_RESETHAND.
78925 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
78926 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
78927 F_DUPFD_CLOEXEC.
78928
78929 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
78930
78931 * elf/Makefile (pldd-modules): Define unconditionally.
78932
78933 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
78934
78935 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
78936
78937 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
78938
78939 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
78940 Return ENOENT when name is empty.
78941 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
78942
78943 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
78944
78945 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
78946
78947 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
78948
78949 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
78950
78951 Fix mlock in all cases except non-readable pages.
78952 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
78953 instead of VM_PROT_ALL as parameter to __vm_wire function.
78954
78955 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
78956 (__mkdir): When path is `/', just fail with EEXIST.
78957 * sysdeps/mach/hurd/mkdirat.c: Likewise.
78958
78959 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
78960
78961 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
78962 <sys/uio.h> (for writev).
78963 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
78964 and <sys/param.h> (for MIN).
78965
78966 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
78967
78968 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
78969 REQUESTED_TIME. Properly set the remaining time and return EINTR
78970 if interrupted.
78971
78972 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
78973
78974 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
78975 Depend on against $(link-rpcuserlibs).
78976
78977 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
78978
78979 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
78980 (__libc_stack_end): Do not use attribute_relro.
78981 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
78982 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
78983 to libthread-provided value.
78984 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
78985 attribute_relro.
78986
78987 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
78988
78989 [BZ #3748]
78990 * bits/libc-lock.h (__libc_once_get): New macro.
78991 * sysdeps/mach/bits/libc-lock.h: Likewise.
78992 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
78993 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
78994 instead of using implementation details.
78995
78996 * libio/fileops.c: Unconditionally include <kernel-features.h>.
78997 * libio/freopen.c: Likewise.
78998 * libio/freopen64.c: Likewise.
78999 * misc/syslog.c: Likewise.
79000 * nscd/connections.c: Likewise.
79001 * nscd/netgroupcache.c: Likewise.
79002 * sysdeps/posix/getcwd.c: Likewise.
79003
79004 2012-05-10 Roland McGrath <roland@hack.frob.com>
79005
79006 * math/w_ilogbf.c: Add #include <limits.h>.
79007
79008 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
79009
79010 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
79011 path instead of returning without unlocking.
79012
79013 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
79014 immediate-write ioctls.
79015 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
79016
79017 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
79018
79019 * sysdeps/mach/hurd/i386/init-first.c (init): Use
79020 __builtin_frame_address instead of making assumptions about the
79021 location of the return address relative to DATA. Force early load of
79022 the return address.
79023 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
79024 __builtin_frame_address.
79025
79026 dup3 for GNU Hurd.
79027 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
79028 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
79029 implement dup3 and do some further code clean-ups.
79030 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
79031 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
79032
79033 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
79034
79035 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
79036
79037 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
79038 HURD_CRITICAL_END around holding _hurd_dtable_lock.
79039 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
79040 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
79041 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
79042 d->port.lock.
79043
79044 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
79045 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
79046 when handler == SIG_ERR, not when handler != SIG_ERR.
79047
79048 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
79049
79050 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
79051 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
79052 definitions.
79053
79054 accept4 for GNU Hurd.
79055 * include/sys/socket.h (__libc_accept4): New prototype.
79056 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
79057 to implement __libc_accept4.
79058 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
79059 __libc_accept4.
79060 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
79061
79062 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
79063 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
79064 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
79065 signal-defines.sym.
79066
79067 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
79068
79069 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
79070
79071 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
79072
79073 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
79074 assertion on O_CLOEXEC flag.
79075 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
79076 * hurd/intern-fd.c: Likewise.
79077 * hurd/port2fd.c: Likewise.
79078
79079 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
79080
79081 [BZ #3906]
79082 * bits/in.h (IPV6_PKTINFO): Define new macro.
79083 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
79084
79085 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79086
79087 [BZ #13954]
79088 [BZ #13955]
79089 [BZ #13956]
79090 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
79091 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
79092 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
79093 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
79094 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
79095 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
79096 * math/libm-test.inc (logb_test) : Additional logb tests.
79097
79098 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
79099 Andreas Jaeger <aj@suse.de>
79100
79101 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
79102 * configure: Regenerated.
79103 * config.h.in (LINK_OBSOLETE_RPC): New macro.
79104 * config.make.in (link-obsolete-rpc): New substituted variable.
79105 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
79106 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
79107 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
79108 (shared-only-routines): Don't set it under [link-obsolete-rpc],
79109 so that libc.a contains the symbols.
79110 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
79111 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
79112 * sunrpc/auth_none.c: Likewise.
79113 * sunrpc/auth_unix.c: Likewise.
79114 * sunrpc/authdes_prot.c: Likewise.
79115 * sunrpc/authuxprot.c: Likewise.
79116 * sunrpc/clnt_gen.c: Likewise.
79117 * sunrpc/clnt_perr.c: Likewise.
79118 * sunrpc/clnt_raw.c: Likewise.
79119 * sunrpc/clnt_simp.c: Likewise.
79120 * sunrpc/clnt_tcp.c: Likewise.
79121 * sunrpc/clnt_udp.c: Likewise.
79122 * sunrpc/clnt_unix.c: Likewise.
79123 * sunrpc/des_crypt.c: Likewise.
79124 * sunrpc/des_soft.c: Likewise.
79125 * sunrpc/get_myaddr.c: Likewise.
79126 * sunrpc/key_call.c: Likewise.
79127 * sunrpc/key_prot.c: Likewise.
79128 * sunrpc/netname.c: Likewise.
79129 * sunrpc/pm_getmaps.c: Likewise.
79130 * sunrpc/pm_getport.c: Likewise.
79131 * sunrpc/pmap_clnt.c: Likewise.
79132 * sunrpc/pmap_prot.c: Likewise.
79133 * sunrpc/pmap_prot2.c: Likewise.
79134 * sunrpc/pmap_rmt.c: Likewise.
79135 * sunrpc/publickey.c: Likewise.
79136 * sunrpc/rpc_cmsg.c: Likewise.
79137 * sunrpc/rpc_common.c: Likewise.
79138 * sunrpc/rpc_dtable.c: Likewise.
79139 * sunrpc/rpc_prot.c: Likewise.
79140 * sunrpc/rpc_thread.c: Likewise.
79141 * sunrpc/rtime.c: Likewise.
79142 * sunrpc/svc.c: Likewise.
79143 * sunrpc/svc_auth.c: Likewise.
79144 * sunrpc/svc_raw.c: Likewise.
79145 * sunrpc/svc_run.c: Likewise.
79146 * sunrpc/svc_tcp.c: Likewise.
79147 * sunrpc/svc_udp.c: Likewise.
79148 * sunrpc/svc_unix.c: Likewise.
79149 * sunrpc/svcauth_des.c: Likewise.
79150 * sunrpc/xcrypt.c: Likewise.
79151 * sunrpc/xdr.c: Likewise.
79152 * sunrpc/xdr_array.c: Likewise.
79153 * sunrpc/xdr_float.c: Likewise.
79154 * sunrpc/xdr_intXX_t.c: Likewise.
79155 * sunrpc/xdr_mem.c: Likewise.
79156 * sunrpc/xdr_rec.c: Likewise.
79157 * sunrpc/xdr_ref.c: Likewise.
79158 * sunrpc/xdr_sizeof.c: Likewise.
79159 * sunrpc/xdr_stdio.c: Likewise.
79160
79161 2012-05-10 Roland McGrath <roland@hack.frob.com>
79162
79163 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
79164 change. Update copyright years.
79165
79166 2012-05-10 Joseph Myers <joseph@codesourcery.com>
79167
79168 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
79169
79170 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
79171 Joseph Myers <joseph@codesourcery.com>
79172 Paul Pluzhnikov <ppluzhnikov@google.com>
79173
79174 [BZ #14012]
79175 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
79176 requiring rpcgen.
79177 [cross-compiling] (extra-libs): Likewise.
79178 [cross-compiling] (extra-libs-others): Likewise.
79179 [cross-compiling] (librpcsvc-routines): Likewise.
79180 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
79181 [cross-compiling] (omit-deps): Likewise.
79182 (sunrpc-CPPFLAGS): New variable.
79183 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
79184 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
79185 (cross-rpcgen-objs): New variable.
79186 (extra-objs): Append $(cross-rpcgen-objs).
79187 ($(cross-rpcgen-objs)): New rule.
79188 ($(objpfx)cross-rpcgen): Likewise.
79189 (rpcgen-cmd): Define to use $(built-program-file). Expand
79190 comment.
79191 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
79192 ($(objpfx)x%.stmp): Likewise.
79193 * sunrpc/proto.h [IS_IN_build] (_): Define.
79194 [IS_IN_build] (_libc_intl_domainname): Likewise.
79195
79196 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
79197
79198 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
79199 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
79200 and R_X86_64_TPOFF64.
79201
79202 2012-05-10 Joseph Myers <joseph@codesourcery.com>
79203
79204 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
79205 sysdeps/unix/sysv/syscalls.list.
79206 (stime): Likewise.
79207 (utime): Likewise.
79208 * sysdeps/unix/sysv/syscalls.list: Remove file.
79209
79210 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
79211
79212 [BZ #3440]
79213 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
79214 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
79215 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
79216 (__LC_IDENTIFICATION): Make these macros useful in #if
79217 expressions, as required by C99.
79218
79219 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
79220
79221 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
79222 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
79223 after this.
79224
79225 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
79226
79227 * stdlib/longlong.h: Updated from GCC.
79228
79229 2012-05-09 Andreas Jaeger <aj@suse.de>
79230
79231 * nscd/nscd.c (run_modes): Make named enum, reorder so that
79232 default is first entry.
79233 (run_mode): Set type.
79234 (main): Remove informal message about syslog.
79235 (options): Fix typo.
79236
79237 [BZ #14053]
79238 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
79239 to asm.
79240 (lrint): Likewise.
79241 (llrintf): Likewise.
79242 (llrint): Likewise.
79243 (rint): Likewise.
79244 (rintf): Likewise.
79245 (nearbyint): Likewise.
79246 (nearbyintf): Likewise.
79247
79248 2012-05-09 Andreas Jaeger <aj@suse.de>
79249 Pedro Alves <palves@redhat.com>
79250
79251 * nscd/nscd.c (run_mode): Use enum.
79252 (main): Cleanup coding style issue.
79253
79254 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
79255 Andreas Jaeger <aj@suse.de>
79256
79257 * nscd/nscd.c (go_background): Replaced with...
79258 (run_mode): ... this.
79259 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
79260 (options): Add -F --foreground.
79261 (main): Implement it.
79262 (parse_opt): Parse it.
79263
79264 2012-05-09 Andreas Jaeger <aj@suse.de>
79265
79266 [BZ #14083]
79267 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
79268 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
79269 -Wconversion warning.
79270 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
79271 Likewise.
79272
79273 2012-05-09 Joseph Myers <joseph@codesourcery.com>
79274
79275 * conform/data/locale.h-data (NULL): Use macro-constant. Require
79276 == 0.
79277 (LC_ALL): Use macro-int-constant.
79278 (LC_COLLATE): Likewise.
79279 (LC_CTYPE): Likewise.
79280 (LC_MESSAGES): Likewise.
79281 (LC_MONETARY): Likewise.
79282 (LC_NUMERIC): Likewise.
79283 (LC_TIME): Likewise.
79284 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
79285 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
79286 [ISO || ISO99 || ISO11] (*_t): Do not allow.
79287 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
79288 Specify type.
79289 [C99-based standards] (float_t): Expect type.
79290 [C99-based standards] (double_t): Expect type.
79291 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
79292 type.
79293 [C99-based standards] (HUGE_VALL): Likewise.
79294 [C99-based standards] (INFINITY): Likewise.
79295 [C99-based standards] (NAN): Likewise.
79296 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
79297 [C99-based standards] (FP_NAN): Likewise.
79298 [C99-based standards] (FP_NORMAL): Likewise.
79299 [C99-based standards] (FP_SUBNORMAL): Likewise.
79300 [C99-based standards] (FP_ZERO): Likewise.
79301 [C99-based standards] (FP_FAST_FMA): Use
79302 optional-macro-int-constant. Specify type. Require == 1.
79303 [C99-based standards] (FP_FAST_FMAF): Likewise.
79304 [C99-based standards] (FP_FAST_FMAL): Likewise.
79305 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
79306 [C99-based standards] (FP_ILOGBNAN): Likewise.
79307 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
79308 Specify type.
79309 [C99-based standards] (MATH_ERREXCEPT): Likewise.
79310 [C99-based standards] (math_errhandling): Specify type.
79311 [ISO99 || ISO11] (signgam): Do not allow.
79312 [non-C99-based standards] (copysignf): Do not allow.
79313 [non-C99-based standards] (exp2f): Likewise.
79314 [non-C99-based standards] (log2f): Likewise.
79315 [non-C99-based standards] (modff): Allow.
79316 [non-C99-based standards] (erff): Do not allow.
79317 [non-C99-based standards] (erfcf): Likewise.
79318 [non-C99-based standards] (gammaf): Likewise.
79319 [non-C99-based standards] (hypotf): Likewise.
79320 [non-C99-based standards] (j0f): Likewise.
79321 [non-C99-based standards] (j1f): Likewise.
79322 [non-C99-based standards] (jnf): Likewise.
79323 [non-C99-based standards] (lgammaf): Likewise.
79324 [non-C99-based standards] (tgammaf): Likewise.
79325 [non-C99-based standards] (y0f): Likewise.
79326 [non-C99-based standards] (y1f): Likewise.
79327 [non-C99-based standards] (ynf): Likewise.
79328 [non-C99-based standards] (isnanf): Likewise.
79329 [non-C99-based standards] (acoshf): Likewise.
79330 [non-C99-based standards] (asinhf): Likewise.
79331 [non-C99-based standards] (atanhf): Likewise.
79332 [non-C99-based standards] (cbrtf): Likewise.
79333 [non-C99-based standards] (expm1f): Likewise.
79334 [non-C99-based standards] (ilogbf): Likewise.
79335 [non-C99-based standards] (log1pf): Likewise.
79336 [non-C99-based standards] (logbf): Likewise.
79337 [non-C99-based standards] (nextafterf): Likewise.
79338 [non-C99-based standards] (remainderf): Likewise.
79339 [non-C99-based standards] (rintf): Likewise.
79340 [non-C99-based standards] (scalbf): Likewise.
79341 [non-C99-based standards] (copysignl): Likewise.
79342 [non-C99-based standards] (exp2l): Likewise.
79343 [non-C99-based standards] (log2l): Likewise.
79344 [non-C99-based standards] (modfl): Allow.
79345 [non-C99-based standards] (erfl): Do not allow.
79346 [non-C99-based standards] (erfcl): Likewise.
79347 [non-C99-based standards] (gammal): Likewise.
79348 [non-C99-based standards] (hypotl): Likewise.
79349 [non-C99-based standards] (j0l): Likewise.
79350 [non-C99-based standards] (j1l): Likewise.
79351 [non-C99-based standards] (jnl): Likewise.
79352 [non-C99-based standards] (lgammal): Likewise.
79353 [non-C99-based standards] (tgammal): Likewise.
79354 [non-C99-based standards] (y0l): Likewise.
79355 [non-C99-based standards] (y1l): Likewise.
79356 [non-C99-based standards] (ynl): Likewise.
79357 [non-C99-based standards] (isnanl): Likewise.
79358 [non-C99-based standards] (acoshl): Likewise.
79359 [non-C99-based standards] (asinhl): Likewise.
79360 [non-C99-based standards] (atanhl): Likewise.
79361 [non-C99-based standards] (cbrtl): Likewise.
79362 [non-C99-based standards] (expm1l): Likewise.
79363 [non-C99-based standards] (ilogbl): Likewise.
79364 [non-C99-based standards] (log1pl): Likewise.
79365 [non-C99-based standards] (logbl): Likewise.
79366 [non-C99-based standards] (nextafterl): Likewise.
79367 [non-C99-based standards] (remainderl): Likewise.
79368 [non-C99-based standards] (rintl): Likewise.
79369 [non-C99-based standards] (scalbl): Likewise.
79370 [ISO || ISO99 || ISO11] (*_t): Do not allow.
79371 [non-C99-based standards] (FP_*): Do not allow.
79372 [C99-based standards] (FP_*): Change to
79373 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
79374 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
79375 allow.
79376 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
79377 (SIG_ERR): Likewise.
79378 [X/Open-based standards] (SIG_HOLD): Likewise.
79379 (SIG_IGN): Likewise.
79380 (SIGABRT): Use macro-int-constant. Specify type. Require
79381 positive value.
79382 (SIGFPE): Likewise.
79383 (SIGILL): Likewise.
79384 (SIGINT): Likewise.
79385 (SIGSEGV): Likewise.
79386 (SIGTER): Likewise.
79387 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
79388 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
79389 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
79390 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
79391 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
79392 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
79393 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
79394 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
79395 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
79396 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
79397 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
79398 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
79399 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
79400 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
79401 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
79402 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
79403 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
79404 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
79405 [X/Open-based standards] (SIGTRAP): Likewise.
79406 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
79407 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
79408 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
79409 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
79410 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
79411 allow.
79412
79413 2012-05-08 Ian Wienand <ianw@vmware.com>
79414
79415 [BZ #14080]
79416 * time/tzset.c (__tzset_parse_tz): Update default rules for
79417 daylight time changes in the Energy Policy Act of 2005.
79418
79419 2012-05-09 Andreas Jaeger <aj@suse.de>
79420
79421 [BZ #13983]
79422 * elf/ldconfig.c (parse_conf): Change string to make clear that
79423 ldconfig only issued a warning if ld.so.conf does not exist.
79424
79425 2012-05-08 David S. Miller <davem@davemloft.net>
79426
79427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
79428 movxtod instead of popping the value on the stack.
79429
79430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
79431
79432 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
79433
79434 * config.h.in: Add HAVE_ARM_PCS_VFP.
79435
79436 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
79437
79438 [BZ #13979]
79439 * include/features.h: Warn if user requests __FORTIFY_SOURCE
79440 checking but the checks are disabled for any reason.
79441
79442 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
79443
79444 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
79445 and ELF64_R_TYPE with ELFW(R_TYPE).
79446
79447 2012-05-08 Joseph Myers <joseph@codesourcery.com>
79448
79449 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
79450 (ulimit): Likewise.
79451
79452 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
79453 (settimeofday): Likewise.
79454
79455 2012-05-08 Mike Frysinger <vapier@gentoo.org>
79456
79457 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
79458 a struct th_u2 inside the union, and move tu_block/tu_code into
79459 a new th_u3 union of tu_block/tu_code inside of that. Move
79460 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
79461 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
79462 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
79463 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
79464 (th_stuff): Change to th_u1.tu_stuff.
79465 (th_data): Define.
79466 (th_msg): Change to th_u1.th_u2.tu_data.
79467
79468 2012-05-07 David S. Miller <davem@davemloft.net>
79469
79470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
79471
79472 [BZ #14074]
79473 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
79474 (SETUP_PIC_REG): Use it.
79475 (SETUP_PIC_REG_LEAF): Use it.
79476
79477 2012-05-07 Joseph Myers <joseph@codesourcery.com>
79478
79479 [BZ #13885]
79480 [BZ #13923]
79481 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79482 USE_AS_EXPM1L.
79483 (EXPL_FINITE): Likewise.
79484 (FLDLOG): Likewise.
79485 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
79486 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
79487 e_expl.S.
79488 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79489 USE_AS_EXPM1L.
79490 (EXPL_FINITE): Likewise.
79491 (FLDLOG): Likewise.
79492 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
79493 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
79494 e_expl.S.
79495 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
79496 test of -max_value argument for long double.
79497 * sysdeps/i386/fpu/libm-test-ulps: Update.
79498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79499
79500 2012-05-06 David S. Miller <davem@davemloft.net>
79501
79502 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
79503 quad soft-float symbols whose references which are compiler
79504 generated.
79505 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
79506
79507 2012-05-06 Joseph Myers <joseph@codesourcery.com>
79508
79509 [BZ #13884]
79510 [BZ #13914]
79511 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79512 USE_AS_EXP10L.
79513 (EXPL_FINITE): Likewise.
79514 (FLDLOG): Likewise.
79515 (c0): Likewise.
79516 (c1): Likewise.
79517 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
79518 Adjust comments for base varying.
79519 (__expl_finite): Change alias to EXPL_FINITE.
79520 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
79521 e_expl.S.
79522 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
79523 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
79524 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
79525 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
79526 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79527 USE_AS_EXP10L.
79528 (EXPL_FINITE): Likewise.
79529 (FLDLOG): Likewise.
79530 (c0): Likewise.
79531 (c1): Likewise.
79532 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
79533 Adjust comments for base varying.
79534 (__expl_finite): Change alias to EXPL_FINITE.
79535 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
79536 tests for bugs.
79537 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79538
79539 [BZ #14064]
79540 * math/libm-test.inc (check_float_internal): Correct ulp
79541 calculation for subnormal expected results.
79542
79543 2012-05-06 Andreas Jaeger <aj@suse.de>
79544
79545 * Makeconfig (+math-flags): New, set to -frounding-math.
79546 (+cflags): Add +math-flags so that all of glibc gets compiled with
79547 it.
79548
79549 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
79550
79551 2012-05-05 Joseph Myers <joseph@codesourcery.com>
79552
79553 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
79554 Disable one test.
79555
79556 [BZ #13787]
79557 [BZ #13922]
79558 [BZ #14036]
79559 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
79560 (__ieee754_expl): Allow for and saturate large arguments.
79561 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
79562 (u_threshold): Likewise.
79563 (__exp): Call __ieee754_exp before checking for overflow and
79564 underflow.
79565 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
79566 (u_threshold): Likewise.
79567 (__expf): Call __ieee754_expf before checking for overflow and
79568 underflow.
79569 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
79570 (u_threshold): Likewise.
79571 (__expl): Call __ieee754_expl before checking for overflow and
79572 underflow.
79573 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
79574 (__ieee754_expl): Allow for and saturate large arguments.
79575 * math/libm-test.inc (exp_test): Add another test. Do not allow
79576 missing overflow exception on overflow.
79577 (expm1_test): Do not allow missing overflow exception on overflow.
79578
79579 * sysdeps/i386/fpu/e_expl.c: Move to ...
79580 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
79581 rather than using inline asm.
79582 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
79583 * sysdeps/x86_64/fpu/e_expl.S: Copy from
79584 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
79585
79586 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
79587 (nice): Likewise.
79588 (poll): Likewise.
79589 (signal): Likewise.
79590 (time): Likewise.
79591 (times): Likewise.
79592
79593 2012-05-04 Joseph Myers <joseph@codesourcery.com>
79594
79595 * sysdeps/unix/syscalls.list (adjtime): Add entry from
79596 sysdeps/unix/common/syscalls.list.
79597 (fchmod): Likewise.
79598 (fchown): Likewise.
79599 (ftruncate): Likewise.
79600 (getrusage): Likewise.
79601 (gettimeofday): Likewise.
79602 (setpgid): Likewise.
79603 (setregid): Likewise.
79604 (setreuid): Likewise.
79605 (sigaction): Likewise.
79606 (truncate): Likewise.
79607 (vhangup): Likewise.
79608 * sysdeps/unix/common/syscalls.list: Remove file.
79609 * sysdeps/unix/bsd/Implies: Don't include unix/common.
79610 * sysdeps/unix/sysv/linux/Implies: Likewise.
79611
79612 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
79613
79614 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
79615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
79616 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
79617 Moved to ...
79618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
79619 Here.
79620 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
79621 to ...
79622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
79623 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
79624 to ...
79625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
79626 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
79627 to ...
79628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
79629 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
79630 to ...
79631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
79632 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
79633 to ...
79634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
79635 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
79636 to ...
79637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
79638 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
79639 to ...
79640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
79641 Here.
79642 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
79643 to ...
79644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
79645 Here.
79646 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
79647 to ...
79648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
79649 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
79650 Moved to ...
79651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
79652 Here.
79653 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
79654 to ...
79655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
79656
79657 2012-05-04 Joseph Myers <joseph@codesourcery.com>
79658
79659 * sysdeps/unix/common/bits/dirent.h: Remove file.
79660 * sysdeps/unix/common/bits/fcntl.h: Likewise.
79661
79662 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
79663 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
79664 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
79665 * sysdeps/unix/bsd/isatty.c: Likewise.
79666 * sysdeps/unix/bsd/tcdrain.c: Likewise.
79667 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
79668 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
79669
79670 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79671
79672 [BZ #13563]
79673 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
79674 long double comparison inaccuracies.
79675 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
79676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79677
79678 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
79679
79680 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
79681 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
79682
79683 2012-05-04 Joseph Myers <joseph@codesourcery.com>
79684
79685 [BZ #14049]
79686 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
79687 nonzero digits before rounding a hex value.
79688 * stdlib/tst-strtod.c (tests): Add another test.
79689
79690 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79691
79692 * sysdeps/s390/fpu/libm-test-ulps: Update.
79693
79694 2012-05-03 Andreas Jaeger <aj@suse.de>
79695
79696 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
79697 does not get optimized out.
79698 (malloc_opt_barrier): New.
79699
79700 2012-05-03 Andreas Jaeger <aj@suse.de>
79701 Roland McGrath <roland@hack.frob.com>
79702
79703 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
79704 intermediate file deletion.
79705 (generated): Add .symlist files.
79706
79707 2012-05-03 Joseph Myers <joseph@codesourcery.com>
79708
79709 [BZ #13775]
79710 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
79711 Redirect under this condition.
79712 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
79713 [__USE_GNU] (__dprintf_chk): Not under this condition.
79714 [__USE_GNU] (__vdprintf_chk): Likewise.
79715 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
79716 under this condition.
79717 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
79718 [__USE_XOPEN2K8] (dprintf): Define under this condition.
79719 [__USE_XOPEN2K8] (vdprintf): Likewise.
79720 [__USE_GNU] (__dprintf_chk): Not under this condition.
79721 [__USE_GNU] (__vdprintf_chk): Likewise.
79722 [__USE_GNU] (dprintf): Likewise.
79723 [__USE_GNU] (vdprintf): Likewise.
79724
79725 2012-05-03 Roland McGrath <roland@hack.frob.com>
79726
79727 * elf/Makefile (common-generated): Set this instead of generated for
79728 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
79729 $(all-built-dso)-derived lists.
79730
79731 2012-05-03 Andreas Jaeger <aj@suse.de>
79732
79733 * sysdeps/i386/fpu/libm-test-ulps: Update.
79734
79735 * FAQ: Removed.
79736 * FAQ.in: Likewise.
79737 * scripts/gen-FAQ.pl: Likewise.
79738 * manual/install.texi (Installation): Point to online location of
79739 FAQ.
79740 * Makefile (files-for-dist): Remove FAQ.
79741 (FAQ): Remove.
79742
79743 2012-05-02 Allan McRae <allan@archlinux.org>
79744
79745 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
79746 (LDFLAGS-reldepmod5.so): Likewise.
79747 (LDFLAGS-reldep6mod1.so): Likewise.
79748 (LDFLAGS-reldep6mod4.so): Likewise.
79749 (LDFLAGS-reldep8mod3.so): Likewise.
79750 (LDFLAGS-unload4mod1.so): Likewise.
79751 (LDFLAGS-unload4mod2.so): Likewise.
79752 (LDFLAGS-tst-initorder): Likewise.
79753 (LDFLAGS-tst-initordera2.so): Likewise.
79754 (LDFLAGS-tst-initordera3.so): Likewise.
79755 (LDFLAGS-tst-initordera4.so): Likewise.
79756 (LDFLAGS-tst-initorderb2.so): Likewise.
79757 (LDFLAGS-noload): Likewise.
79758 (LDFLAGS-next): Likewise.
79759 (LDFLAGS-order2mod1.so): Likewise.
79760 (LDFLAGS-order2mod2.so): Likewise.
79761 (LDFLAGS-tst-initorder2): Likewise.
79762 (LDFLAGS-tst-initorder2a.so): Likewise.
79763 (LDFLAGS-tst-initorder2b.so): Likewise.
79764 (LDFLAGS-tst-initorder2c.so): Likewise.
79765 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
79766
79767 2012-05-02 David S. Miller <davem@davemloft.net>
79768
79769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
79770
79771 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
79772
79773 [BZ #14055]
79774 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
79775
79776 2012-05-02 Andreas Jaeger <aj@suse.de>
79777
79778 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
79779 since we manipulate rounding mode.
79780 (CPPFLAGS-test-idouble.c): Likewise.
79781 (CPPFLAGS-test-ifloat.c): Likewise.
79782 (CFLAGS-test-ldouble.c): Likewise.
79783 (CFLAGS-test-double.c): Likewise.
79784 (CFLAGS-test-float.c): Likewise.
79785 (CFLAGS-test-misc.c): Likewise.
79786 (CFLAGS-test-test-fenv.c): Likewise.
79787
79788 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79789
79790 [BZ #2550]
79791 [BZ #2570]
79792 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
79793 comparisons to determine direction to adjust input.
79794
79795 2012-05-01 Roland McGrath <roland@hack.frob.com>
79796
79797 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
79798 output to the target.
79799
79800 * scripts/localplt.awk: New file.
79801 * elf/Makefile ($(objpfx)check-localplt): Target removed.
79802 (check-localplt-CFLAGS): Variable removed.
79803 ($(all-built-dso:=.jmprel)): New static pattern rule.
79804 (generated): Add those targets.
79805 (localplt-built-dso): New variable.
79806 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
79807
79808 * elf/check-localplt.c: File removed.
79809
79810 * scripts/check-execstack.awk: New file.
79811 * elf/Makefile ($(objpfx)check-execstack): Target removed.
79812 (check-execstack-CFLAGS): Variable removed.
79813 ($(objpfx)check-execstack.h): Target removed.
79814 ($(objpfx)execstack-default): New target.
79815 (generated): Add that instead of check-execstack.h.
79816 ($(all-built-dso:=.phdr)): New static pattern rule.
79817 (generated): Add those targets.
79818 * elf/check-execstack.c: File removed.
79819
79820 * scripts/check-textrel.awk: New file.
79821 * elf/Makefile ($(objpfx)check-textrel): Target removed.
79822 (check-textrel-CFLAGS): Variable removed.
79823 (all-built-dso): Use := to define.o
79824 ($(all-built-dso:=.dyn)): New static pattern rule.
79825 (generated): Add those targets.
79826 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
79827 * config.make.in (READELF): New substituted variable.
79828 * elf/check-textrel.c: File removed.
79829
79830 2012-05-01 Joseph Myers <joseph@codesourcery.com>
79831
79832 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
79833 allow.
79834 * conform/data/ctype.h-data [C99-based standards] (isblank):
79835 Expect function.
79836 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
79837 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
79838 [ISO || ISO99 || ISO11] (*_t): Do not allow.
79839 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
79840 Specify type. Require positive value.
79841 (EILSEQ): Likewise.
79842 (ERANGE): Likewise.
79843 [ISO || POSIX] (EILSEQ): Do not expect.
79844 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
79845 Specify type. Require positive value.
79846 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
79847 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
79848 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
79849 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
79850 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
79851 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
79852 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
79853 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
79854 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
79855 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
79856 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
79857 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
79858 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
79859 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
79860 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
79861 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
79862 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
79863 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
79864 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
79865 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
79866 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
79867 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
79868 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
79869 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
79870 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
79871 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
79872 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
79873 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
79874 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
79875 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
79876 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
79877 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
79878 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
79879 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
79880 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
79881 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
79882 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
79883 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
79884 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
79885 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
79886 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
79887 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
79888 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
79889 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
79890 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
79891 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
79892 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
79893 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
79894 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
79895 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
79896 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
79897 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
79898 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
79899 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
79900 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
79901 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
79902 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
79903 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
79904 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
79905 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
79906 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
79907 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
79908 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
79909 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
79910 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
79911 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
79912 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
79913 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
79914 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
79915 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
79916 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
79917 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
79918 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
79919 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
79920 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
79921 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
79922 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
79923 Require >= 2.
79924 (FLT_ROUNDS): Expect as macro, not constant.
79925 (FLT_MANT_DIG): Use macro-int-constant.
79926 (DBL_MANT_DIG): Likewise.
79927 (LDBL_MANT_DIG): Likewise.
79928 (FLT_DIG): Likewise.
79929 (DBL_DIG): Likewise.
79930 (LDBL_DIG): Likewise.
79931 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
79932 (DBL_MIN_EXP): Likewise.
79933 (LDBL_MIN_EXP): Likewise.
79934 (FLT_MAX_EXP): Use macro-int-constant.
79935 (DBL_MAX_EXP): Likewise.
79936 (LDBL_MAX_EXP): Likewise.
79937 (FLT_MAX_10_EXP): Likewise.
79938 (DBL_MAX_10_EXP): Likewise.
79939 (LDBL_MAX_10_EXP): Likewise.
79940 (FLT_MAX): Use macro-constant.
79941 (DBL_MAX): Likewise.
79942 (LDBL_MAX): Likewise.
79943 (FLT_EPSILON): Use macro-constant. Give upper bound.
79944 (DBL_EPSILON): Likewise.
79945 (LDBL_EPSILON): Likewise.
79946 (FLT_MIN): Likewise.
79947 (DBL_MIN): Likewise.
79948 (LDBL_MIN): Likewise.
79949 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
79950 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
79951 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
79952 [ISO11] (FLT_HAS_SUBNORM): Likewise.
79953 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
79954 [ISO11] (DBL_DECIMAL_DIG): Likewise.
79955 [ISO11] (FLT_DECIMAL_DIG): Likewise.
79956 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
79957 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
79958 [ISO11] (FLT_TRUE_MIN): Likewise.
79959 [ISO11] (LDBL_TRUE_MIN): Likewise.
79960 [ISO || ISO99 || ISO11] (*_t): Do not allow.
79961 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
79962 (SCHAR_MIN): Use macro-int-constant. Specify type.
79963 (SCHAR_MAX): Likewise.
79964 (UCHAR_MAX): Likewise.
79965 (CHAR_MIN): Likewise.
79966 (CHAR_MAX): Likewise.
79967 (MB_LEN_MAX): Use macro-int-constant.
79968 (SHRT_MIN): Use macro-int-constant. Specify type.
79969 (SHRT_MAX): Likewise.
79970 (USHRT_MAX): Likewise.
79971 (INT_MAX): Likewise.
79972 (INT_MIN): Use macro-int-constant. Specify type. Make upper
79973 bound negative.
79974 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
79975 bound with "U".
79976 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
79977 bound with "L".
79978 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
79979 bound negative. Suffix upper bound with "L".
79980 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
79981 bound with "UL".
79982 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
79983 Specify type.
79984 [C99-based standards] (LLONG_MAX): Likewise.
79985 [C99-based standards] (ULLONG_MAX): Likewise.
79986 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
79987 == 0.
79988 [ISO11] (max_align_t): Require type.
79989 [ISO || ISO99 || ISO11] (*_t): Do not allow.
79990
79991 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
79992 from $CFLAGS, without defining away __attribute__ calls.
79993 (checknamespace): Use $CFLAGS_namespace.
79994
79995 * conform/conformtest.pl (@keywords): Only include C99 keywords
79996 for standards based on C99 or C11.
79997
79998 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
79999 Disable tests.
80000 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
80001 UNIX98]: Likewise.
80002
80003 * conform/conformtest.pl: Handle "macro-int-constant" and test for
80004 usability of symbols in #if.
80005
80006 * conform/conformtest.pl: If macro or constant types start
80007 "promoted:", expect the symbol to be of the following type
80008 promoted by the integer promotions.
80009
80010 * conform/conformtest.pl: Parse all "constant" and "macro" lines
80011 in one place. Also handle "macro-constant".
80012
80013 * conform/conformtest.pl: Only accept expected macro values with
80014 "==". Parse all "macro" lines in one place.
80015 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
80016
80017 * conform/conformtest.pl: Handle braced types on "constant" lines
80018 instead of handling "typed-constant".
80019 * conform/data/signal.h-data: Use "constant" instead of
80020 "typed-constant".
80021
80022 * conform/conformtest.pl: Handle "optional-" at start of lines in
80023 one place rather than duplicating several cases. Handle each
80024 format of "macro" line with initial "optional-".
80025
80026 * conform/conformtest.pl: Only accept expected constant or
80027 optional-constant values with "==". Parse all "constant" lines in
80028 one place. Parse all "optional-constant" lines in one place.
80029 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
80030 * conform/data/fmtmsg.h-data: Likewise.
80031 * conform/data/netinet/in.h-data: Likewise.
80032 * conform/data/tar.h-data: Likewise.
80033 * conform/data/limits.h-data: Use "==" form on "constant" and
80034 "optional-constant" lines.
80035
80036 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
80037 Use -std=c99 for XOPEN2K.
80038 (@knownproblems): Remove.
80039 (newtoken): Don't check %isknown.
80040
80041 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
80042 Do not expect macro.
80043 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
80044 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
80045 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
80046 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
80047 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
80048 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
80049 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
80050 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
80051 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
80052 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
80053 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
80054 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
80055 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
80056 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
80057 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
80058 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
80059 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
80060 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
80061 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
80062 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
80063 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
80064 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
80065 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
80066 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
80067 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
80068 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
80069 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
80070 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
80071 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
80072 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
80073 [XPG3] (acosh): Likewise.
80074 [XPG3] (asinh): Likewise.
80075 [XPG3] (atanh): Likewise.
80076 [XPG3] (cbrt): Likewise.
80077 [XPG3] (expm1): Likewise.
80078 [XPG3] (ilogb): Likewise.
80079 [XPG3] (log1p): Likewise.
80080 [XPG3] (logb): Likewise.
80081 [XPG3] (nextafter): Likewise.
80082 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
80083 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
80084 [XPG3] (remainder): Likewise.
80085 [XPG3] (rint): Likewise.
80086 [XPG3 || XPG4 || UNIX98] (round): Likewise.
80087 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
80088 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
80089 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
80090 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
80091 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
80092 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
80093 [UNIX98 || XOPEN2K] (scalb): Expect.
80094 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
80095 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
80096 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
80097 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
80098 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
80099 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
80100 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
80101 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
80102 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
80103 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
80104 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
80105 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
80106 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
80107 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
80108 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
80109 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
80110 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
80111 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
80112 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
80113 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
80114 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
80115 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
80116 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
80117 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
80118 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
80119 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
80120 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
80121 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
80122 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
80123 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
80124 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
80125 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
80126 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
80127 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
80128 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
80129 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
80130 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
80131 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
80132 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
80133 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
80134 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
80135 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
80136 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
80137 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
80138 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
80139 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
80140 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
80141 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
80142 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
80143 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
80144 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
80145 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
80146 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
80147 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
80148 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
80149 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
80150 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
80151 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
80152 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
80153 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
80154 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
80155 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
80156 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
80157 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
80158 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
80159 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
80160 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
80161 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
80162 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
80163 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
80164 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
80165 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
80166 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
80167 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
80168 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
80169 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
80170 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
80171 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
80172 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
80173 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
80174 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
80175 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
80176 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
80177 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
80178 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
80179 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
80180 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
80181 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
80182 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
80183 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
80184 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
80185 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
80186 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
80187 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
80188 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
80189 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
80190 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
80191 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
80192 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
80193 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
80194 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
80195 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
80196 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
80197 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
80198 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
80199 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
80200 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
80201 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
80202 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
80203 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
80204 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
80205 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
80206 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
80207 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
80208 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
80209 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
80210 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
80211 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
80212 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
80213 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
80214 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
80215 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
80216 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
80217 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
80218 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
80219 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
80220 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
80221 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
80222 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
80223 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
80224 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
80225 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
80226 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
80227 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
80228 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
80229 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
80230 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
80231
80232 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
80233 _XOPEN_SOURCE_EXTENDED for XPG4.
80234
80235 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
80236
80237 * Makeconfig (localtime): Remove variable.
80238 (inst_localtime-file): Likewise.
80239
80240 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
80241
80242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
80243 Update.
80244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
80245 Update.
80246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
80247 Update.
80248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
80249 Update.
80250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
80251 Update.
80252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
80253 Update.
80254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
80255 Update.
80256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
80257 Update.
80258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
80259 Update.
80260
80261 2012-05-01 Joseph Myers <joseph@codesourcery.com>
80262
80263 [BZ #2550]
80264 [BZ #2570]
80265 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
80266 comparisons to determine direction to adjust input.
80267 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
80268 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
80269 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
80270 Likewise.
80271 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
80272 Likewise.
80273 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
80274 Likewise.
80275 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
80276 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
80277 Likewise.
80278 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
80279 Likewise.
80280 * math/libm-test.inc (nexttoward_test): Add more tests.
80281
80282 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
80283
80284 [BZ #14040]
80285 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
80286 in version GLIBC_2.1, not GLIBC_2.0.
80287 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
80288 Likewise.
80289
80290 2012-04-30 Joseph Myers <joseph@codesourcery.com>
80291
80292 [BZ #13942]
80293 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
80294 (1 - x) * (1 + x).
80295 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
80296 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
80297 * math/libm-test.inc (acos_test): Add more tests.
80298 (asin_test): Likewise.
80299 * sysdeps/i386/fpu/libm-test-ulps: Update.
80300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80301
80302 [BZ #14034]
80303 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
80304 of square root.
80305 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
80306 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
80307 * math/libm-test.inc (acos_test_tonearest): New function.
80308 (acos_test_towardzero): Likewise.
80309 (acos_test_downward): Likewise.
80310 (acos_test_upward): Likewise.
80311 (asin_test_tonearest): Likewise.
80312 (asin_test_towardzero): Likewise.
80313 (asin_test_downward): Likewise.
80314 (asin_test_upward): Likewise.
80315 (main): Call the new functions.
80316 * sysdeps/i386/fpu/libm-test-ulps: Update.
80317 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80318
80319 [BZ #13884]
80320 [BZ #13924]
80321 * math/e_exp10.c: Include <float.h>.
80322 (__ieee754_exp10): Handle underflow here rather than multiplying
80323 large negative argument by M_LN10.
80324 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
80325 of __ieee754_expf.
80326 * math/e_exp10l.c: Include <float.h>.
80327 (__ieee754_exp10l): Handle underflow here rather than multiplying
80328 large negative argument by M_LN10l.
80329 * math/libm-test.inc (exp10_test): Add another test. Do not allow
80330 spurious overflow exception on underflow.
80331
80332 2012-04-29 Marek Polacek <polacek@redhat.com>
80333
80334 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
80335 (__fortify_function): New macro.
80336 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
80337 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
80338 __extern_always_inline.
80339 * libio/bits/stdio2.h: Likewise.
80340 * libio/bits/stdio.h: Likewise.
80341 * string/string.h: Likewise.
80342 * string/bits/string3.h: Likewise.
80343 * include/stdio.h: Likewise.
80344 * stdlib/bits/stdlib.h: Likewise.
80345 * stdlib/stdlib.h: Likewise.
80346 * rt/bits/mqueue2.h: Likewise.
80347 * rt/mqueue.h: Likewise.
80348 * posix/bits/unistd.h: Likewise.
80349 * posix/unistd.h: Likewise.
80350 * io/bits/poll2.h: Likewise.
80351 * io/bits/fcntl2.h: Likewise.
80352 * io/fcntl.h: Likewise.
80353 * io/sys/poll.h: Likewise.
80354 * misc/bits/syslog.h: Likewise.
80355 * misc/bits/syslog-ldbl.h: Likewise.
80356 * misc/sys/syslog.h: Likewise.
80357 * socket/bits/socket2.h: Likewise.
80358 * socket/sys/socket.h: Likewise.
80359 * debug/tst-chk1.c: Likewise.
80360 * wcsmbs/bits/wchar2.h: Likewise.
80361 * wcsmbs/bits/wchar-ldbl.h: Likewise.
80362 * wcsmbs/wchar.h: Likewise.
80363
80364 2012-04-29 Andreas Jaeger <aj@suse.de>
80365
80366 * Makerules (tests): Remove enable-check-abi protection.
80367 (check-abi-warn): Remove.
80368 (check-abi-%): Remove check-abi-warn usage.
80369
80370 * configure.in: Remove check-abi configure option.
80371 * configure: Regenerated.
80372 * config.make.in (enable-check-abi): Remove.
80373
80374 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
80375
80376 [BZ #14033]
80377 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
80378 double functions to double *_finite functions.
80379
80380 [BZ #13941]
80381 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
80382 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
80383 LDBL_MIN_EXP.
80384 * stdio-common/Makefile (tests): Add tst-sprintf3.
80385 * stdio-common/tst-sprintf3.c: New file.
80386
80387 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
80388 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
80389
80390 2012-04-28 Joseph Myers <joseph@codesourcery.com>
80391
80392 * conform/conformtest.pl: Remove duplicate typed-constant
80393 handling.
80394
80395 2012-04-28 David S. Miller <davem@davemloft.net>
80396
80397 * Makerules (%.abilist): Add vpath on sysdep_dirs.
80398 (check-abi-%): Remove AWK script prerequisite and explicit
80399 abilist directory.
80400 (check-abi): Rewrite to just diff the symlist with the abilist.
80401 (config-tls, config-abi-config): Delete, no longer used.
80402 (update-abi-%): Remove AWK script and explicit abilist directory.
80403 (update-abi): Rewrite to simply compare and conditionally copy the
80404 symlist and the sysdep abilist file. Remove update-abi-config
80405 checks.
80406 * abilist/ld.abilist: Remove.
80407 * abilist/libBrokenLocale.abilist: Remove.
80408 * abilist/libanl.abilist: Remove.
80409 * abilist/libcrypt.abilist: Remove.
80410 * abilist/libdl.abilist: Remove.
80411 * abilist/librt.abilist: Remove.
80412 * abilist/libthread_db.abilist: Remove.
80413 * abilist/libutil.abilist: Remove.
80414 * scripts/extract-abilist.awk: Remove.
80415 * scripts/merge-abilist.awk: Remove.
80416 * sysdeps/generic/libcidn.abilist: New file.
80417 * sysdeps/generic/libnss_compat.abilist: New file.
80418 * sysdeps/generic/libnss_db.abilist: New file.
80419 * sysdeps/generic/libnss_dns.abilist: New file.
80420 * sysdeps/generic/libnss_files.abilist: New file.
80421 * sysdeps/generic/libnss_hesiod.abilist: New file.
80422 * sysdeps/generic/libnss_nis.abilist: New file.
80423 * sysdeps/generic/libnss_nisplus.abilist: New file.
80424 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
80425 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
80426 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
80427 file.
80428 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
80429 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
80430 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
80431 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
80432 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
80433 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
80434 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
80435 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
80436 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
80437 file.
80438 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
80439 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
80440 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
80441 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
80442 file.
80443 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
80444 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
80445 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
80446 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
80447 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
80448 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
80449 file.
80450 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
80451 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
80452 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
80453 file.
80454 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
80455 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
80456 New file.
80457 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
80458 New file.
80459 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
80460 New file.
80461 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
80462 New file.
80463 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
80464 New file.
80465 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
80466 New file.
80467 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
80468 New file.
80469 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
80470 New file.
80471 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
80472 New file.
80473 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
80474 New file.
80475 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
80476 New file.
80477 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
80478 New file.
80479 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
80480 New file.
80481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
80482 file.
80483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
80484 New file.
80485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
80486 New file.
80487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
80488 file.
80489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
80490 New file.
80491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
80492 New file.
80493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
80494 file.
80495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
80496 New file.
80497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
80498 New file.
80499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
80500 New file.
80501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
80502 New file.
80503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
80504 New file.
80505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
80506 New file.
80507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
80508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
80509 file.
80510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
80511 New file.
80512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
80513 file.
80514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
80515 file.
80516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
80517 file.
80518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
80519 file.
80520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
80521 file.
80522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80523 New file.
80524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
80525 file.
80526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
80527 file.
80528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
80529 New file.
80530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
80531 file.
80532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
80533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
80534 file.
80535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
80536 New file.
80537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
80538 file.
80539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
80540 file.
80541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
80542 file.
80543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
80544 file.
80545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
80546 file.
80547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80548 New file.
80549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
80550 file.
80551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
80552 file.
80553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
80554 New file.
80555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
80556 file.
80557 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
80558 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
80559 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
80560 file.
80561 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
80562 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
80563 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
80564 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
80565 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
80566 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
80567 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
80568 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
80569 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
80570 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
80571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
80572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
80573 file.
80574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
80575 New file.
80576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
80577 file.
80578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
80579 file.
80580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
80581 file.
80582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
80583 file.
80584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
80585 file.
80586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
80587 New file.
80588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
80589 New file.
80590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
80591 file.
80592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
80593 New file.
80594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
80595 file.
80596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
80597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
80598 file.
80599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
80600 New file.
80601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
80602 file.
80603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
80604 file.
80605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
80606 file.
80607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
80608 file.
80609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
80610 file.
80611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
80612 New file.
80613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
80614 New file.
80615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
80616 file.
80617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
80618 New file.
80619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
80620 file.
80621
80622 2012-04-28 Joseph Myers <joseph@codesourcery.com>
80623
80624 * conform/conformtest.pl: Fix typo in handling typed-constant from
80625 allow-header.
80626
80627 2012-04-27 Joseph Myers <joseph@codesourcery.com>
80628
80629 * README: Cut down references to pre-2.6 Linux kernels and
80630 Linuxthreads. Update lists of configurations in libc and ports
80631 and sort alphabetically. Say "or newer" with Linux kernel version
80632 requirements.
80633
80634 * config.h.in [IS_IN_build]: Allow compiling without optimization.
80635
80636 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
80637
80638 [BZ #887]
80639 * math/libm-test.inc (logb_test_downward): New test to expose
80640 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
80641 rounding mode.
80642
80643 2012-04-27 Joseph Myers <joseph@codesourcery.com>
80644
80645 [BZ #14027]
80646 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
80647 to be done.
80648 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
80649 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
80650
80651 2012-04-26 Joseph Myers <joseph@codesourcery.com>
80652
80653 * sysdeps/unix/i386/brk.S: Remove file.
80654 * sysdeps/unix/i386/dl-brk.S: Likewise.
80655 * sysdeps/unix/i386/pipe.S: Likewise.
80656 * sysdeps/unix/i386/sigreturn.S: Likewise.
80657 * sysdeps/unix/i386/syscall.S: Likewise.
80658 * sysdeps/unix/i386/vfork.S: Likewise.
80659 * sysdeps/unix/i386/wait.S: Likewise.
80660
80661 * sysdeps/unix/common/tcsendbrk.c: Move to ...
80662 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
80663
80664 * configure.in (arm*-none*): Do not allow without
80665 --enable-hacker-mode.
80666 (netbsd*): Remove case setting base_os.
80667 (386bsd*): Likewise.
80668 (freebsd*): Likewise.
80669 (bsdi*): Likewise.
80670 (osf*): Likewise.
80671 (sunos*): Likewise.
80672 (ultrix*): Likewise.
80673 (newsos*): Likewise.
80674 (dynix*): Likewise.
80675 (*bsd*): Likewise.
80676 (sysv*): Likewise.
80677 (isc*): Likewise.
80678 (esix*): Likewise.
80679 (sco*): Likewise.
80680 (minix*): Likewise.
80681 (irix4*): Likewise.
80682 (irix6*): Likewise.
80683 (solaris[2-9]*): Likewise.
80684 (none): Likewise.
80685 * configure: Regenerated.
80686
80687 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80688
80689 [BZ #11521]
80690 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
80691 overflow or cancellation in calculating denominator.
80692 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
80693 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
80694 down expression to avoid unexpected rounding in newer GCCs.
80695 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
80696
80697 2012-04-26 David S. Miller <davem@davemloft.net>
80698
80699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
80700 long-double compat symbols.
80701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
80702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
80703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
80704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
80705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
80706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
80707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
80708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
80709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
80710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
80711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
80712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
80713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
80714
80715 2012-04-25 David S. Miller <davem@davemloft.net>
80716
80717 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
80718 HWCAP_* values only after the memory barriers have been defined.
80719 (atomic_full_barrier): Define.
80720 (atomic_read_barrier): Define.
80721 (atomic_write_barrier): Define.
80722
80723 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
80724
80725 * shlib-versions: Add libgcc_s version information.
80726 * sysdeps/generic/libgcc_s.h: Remove.
80727 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
80728 libgcc_s.h.
80729 * sysdeps/gnu/unwind-resume.c: Likewise.
80730 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
80731
80732 2012-04-25 David S. Miller <davem@davemloft.net>
80733
80734 * sysdeps/unix/sparc/brk.S: Delete.
80735 * sysdeps/unix/sparc/dl-brk.S: Delete.
80736 * sysdeps/unix/sparc/pipe.S: Delete.
80737 * sysdeps/unix/sparc/sysdep.S: Delete.
80738 * sysdeps/unix/sparc/sysdep.h: Delete.
80739 * sysdeps/unix/sparc/vfork.S: Delete.
80740 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
80741 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
80742 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
80743 (ret_ERRVAL, r0, r1, MOVE): Define.
80744 (JUMPTARGET): Remove.
80745 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
80746 sysdeps/unix/sparc/sysdep.h
80747 (ENTRY, END): Remove.
80748 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80749
80750 2012-04-25 Joseph Myers <joseph@codesourcery.com>
80751
80752 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
80753 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
80754 -DIS_IN_build.
80755
80756 * timezone/README: Update upstream location and email address for
80757 tzcode and tzdata.
80758 * timezone/zdump.c: Update from tzcode 2012b.
80759 * timezone/zic.c: Likewise.
80760
80761 * configure.in (libc_cv_as_needed): Remove test.
80762 * configure: Regenerated.
80763 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
80764 conditional definition.
80765 [$(have-as-needed) != yes] (no-as-needed): Likewise.
80766 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
80767 * config.make.in (have-as-needed): Remove variable.
80768
80769 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
80770 Paul Pluzhnikov <ppluzhnikov@google.com>
80771
80772 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
80773 strings correctly.
80774
80775 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
80776
80777 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
80778 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
80779 * sysdeps/sh/strlen.S: Likewise.
80780
80781 2012-04-24 Joseph Myers <joseph@codesourcery.com>
80782
80783 * sysdeps/unix/fork.S: Remove file.
80784 * sysdeps/unix/i386/fork.S: Likewise.
80785 * sysdeps/unix/sparc/fork.S: Likewise.
80786
80787 * sysdeps/unix/system.c: Remove file.
80788 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
80789
80790 * sysdeps/unix/getegid.S: Remove file.
80791 * sysdeps/unix/geteuid.S: Likewise.
80792
80793 2012-04-24 Roland McGrath <roland@hack.frob.com>
80794
80795 * scripts/check-localplt.awk: New file.
80796 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
80797 of diff.
80798 * scripts/data/localplt-generic.data: Add a comment.
80799
80800 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
80801 NODE when __dir_mkfile failed.
80802 * sysdeps/mach/hurd/symlinkat.c: Likewise.
80803 Reported by Ludovic Courtès <ludo@gnu.org>.
80804
80805 2012-04-24 Andreas Jaeger <aj@suse.de>
80806
80807 * Makerules (common-clean): Also remove gen-as-const-headers
80808 files.
80809
80810 2012-04-24 Joseph Myers <joseph@codesourcery.com>
80811
80812 * Makerules (native-compile): Do not change working directory for
80813 build. Use $(OUTPUT_OPTION) in command.
80814 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
80815
80816 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80817
80818 [BZ #13886]
80819 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
80820 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
80821 * math/libm-test.inc (floor_test): Add more tests.
80822 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
80823
80824 2012-04-24 Joseph Myers <joseph@codesourcery.com>
80825
80826 * sysdeps/unix/getdents.c: Remove file.
80827 * sysdeps/unix/sysv/getdents.c: Likewise.
80828 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
80829
80830 * sysdeps/unix/syscalls.list (madvise): Add syscall from
80831 sysdeps/unix/mman/syscalls.list.
80832 (mmap): Likewise.
80833 (mprotect): Likewise.
80834 (msync): Likewise.
80835 (munmap): Likewise.
80836 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
80837 * sysdeps/unix/mman/syscalls.list: Remove.
80838 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
80839
80840 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
80841 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
80842 * configure: Regenerated.
80843 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
80844 $(libgcc_s_suffix).
80845 * config.make.in (libgcc_s_suffix): Remove variable.
80846
80847 2012-04-23 Joseph Myers <joseph@codesourcery.com>
80848
80849 * sysdeps/unix/sysv/gethostname.c: Move to ...
80850 * sysdeps/posix/gethostname.c: ... here.
80851
80852 * sysdeps/unix/execve.S: Remove file.
80853
80854 * sysdeps/unix/_exit.S: Remove file.
80855
80856 2012-04-23 Andreas Jaeger <aj@suse.de>
80857
80858 [BZ #13739]
80859 * manual/Makefile: Remove make dist support, there's no
80860 need for a stand-alone documentation tar ball.
80861 (TEXI2DVI): Define always, it's not in Makeconfig.
80862 (dist): Removed.
80863 (tar-it): Removed.
80864 (edition): Removed.
80865 (glibc-doc-$(edition).tar): Removed
80866 (%.Z): Removed.
80867 (%.gz): Removed.
80868 (%.uu): Removed.
80869 (ETAGS): Remove, it's in Makeconfig.
80870 (move-if-change): Remove, it's in Makeconfig.
80871
80872 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
80873
80874 [BZ #13970]
80875 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
80876 (strtod, strtof, strtold, strtol, strtoul, strtoq)
80877 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
80878 (strtod_l, strtof_l, strtold_l): Remove __wur.
80879 It is not necessarily an error to ignore strtol's return value.
80880 One can reliably look at the stored endptr to decide whether
80881 the number had valid syntax.
80882
80883 2012-04-21 Andreas Jaeger <aj@suse.de>
80884
80885 [BZ #13739]
80886 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
80887
80888 2012-04-21 Joseph Myers <joseph@codesourcery.com>
80889
80890 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
80891 * sysdeps/unix/sysv/Versions: Remove file.
80892
80893 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
80894
80895 [BZ #13927]
80896 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80897
80898 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
80899
80900 [BZ #7064]
80901 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
80902 version from __vm86.
80903
80904 2012-04-20 Joseph Myers <joseph@codesourcery.com>
80905
80906 * sysdeps/unix/common/lxstat.c: Remove file.
80907 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
80908
80909 * sysdeps/unix/sysv/Makefile: Remove file.
80910
80911 * sysdeps/unix/sysv/direct.h: Remove file.
80912
80913 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
80914 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
80915 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
80916 * sysdeps/unix/sysv/bits/signum.h: Likewise.
80917 * sysdeps/unix/sysv/bits/stat.h: Likewise.
80918 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
80919 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
80920
80921 * sysdeps/unix/sysv/setrlimit.c: Remove file.
80922
80923 * sysdeps/unix/xmknod.c: Remove file.
80924 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
80925
80926 * sysdeps/unix/sysv/settimeofday.c: Remove file.
80927
80928 * sysdeps/unix/sysv/i386/time.S: Remove file.
80929
80930 * sysdeps/unix/fxstat.c: Remove file.
80931 * sysdeps/unix/xstat.c: Likewise.
80932 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
80933
80934 * sysdeps/unix/sysv/sigaction.c: Remove file.
80935
80936 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
80937 (sysdep_headers): Remove variable.
80938 [termio.h not in sysdep_headers] (generated): Likewise.
80939 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
80940 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
80941 * sysdeps/unix/sysv/tcdrain.c: Likewise.
80942 * sysdeps/unix/sysv/tcflow.c: Likewise.
80943 * sysdeps/unix/sysv/tcflush.c: Likewise.
80944 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
80945 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
80946 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
80947 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
80948 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
80949
80950 * sysdeps/unix/siglist.c: Remove file.
80951
80952 * sysdeps/unix/getppid.S: Remove file.
80953
80954 * sysdeps/unix/mkdir.c: Remove file.
80955 * sysdeps/unix/rmdir.c: Likewise.
80956
80957 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
80958
80959 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
80960 ERR_MAX value.
80961 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
80962 errlist-compat value.
80963
80964 2012-04-18 David S. Miller <davem@davemloft.net>
80965
80966 * sysdeps/generic/memcopy.h (reg_char): Delete.
80967 * debug/strcat_chk.c: Use char, not reg_char.
80968 * debug/strcpy_chk.c: Likewise.
80969 * debug/strncat_chk.c: Likewise.
80970 * debug/strncpy_chk.c: Likewise.
80971 * string/memchr.c: Likewise.
80972 * string/memrchr.c: Likewise.
80973 * string/rawmemchr.c: Likewise.
80974 * string/strcat.c: Likewise.
80975 * string/strchr.c: Likewise.
80976 * string/strchrnul.c: Likewise.
80977 * string/strcmp.c: Likewise.
80978 * string/strcpy.c: Likewise.
80979 * string/strncat.c: Likewise.
80980 * string/strncmp.c: Likewise.
80981 * string/strncpy.c: Likewise.
80982
80983 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
80984
80985 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
80986 __builtin_memcopy is called when src and dest ranges are known to not
80987 overlap.
80988
80989 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
80990
80991 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
80992 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
80993 fwd_align_merge macro call.
80994 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
80995 bwd_align_merge macro call.
80996 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
80997
80998 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
80999
81000 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
81001 bwd_align_merge macros.
81002 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
81003 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
81004 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
81005
81006 2012-04-18 David S. Miller <davem@davemloft.net>
81007
81008 * sysdeps/sparc/sparc64/memcopy.h: Delete.
81009
81010 2012-04-18 Andreas Jaeger <aj@suse.de>
81011
81012 [BZ #6794]
81013 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
81014 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
81015 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81016
81017 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
81018 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
81019 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81020
81021 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
81022 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
81023 Adjust for changed ldbl-128 files.
81024
81025 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
81026 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
81027 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81028
81029 2012-04-17 David S. Miller <davem@davemloft.net>
81030
81031 * sysdeps/sparc/sparc32/memcopy.h: Delete.
81032
81033 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
81034
81035 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
81036 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
81037 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
81038 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
81039 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
81040 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
81041
81042 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81043
81044 [BZ #6794]
81045 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
81046 * math/libm-test.inc: Add ilogb errno and exception tests.
81047 * math/w_ilogb.c: New file: ilogb wrapper.
81048 * math/w_ilogbf.c: New file: ilogbf wrapper.
81049 * math/w_ilogbl.c: New file: ilogbl wrapper.
81050 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
81051 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
81052 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
81053 exception being thrown with 0.0 as argument.
81054 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
81055 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
81056 exception being thrown with 0.0 as argument.
81057 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
81058 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
81059 exception being thrown with 0.0 as argument.
81060 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
81061 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
81062 exception being thrown with 0.0 as argument.
81063 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
81064 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
81065 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
81066 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
81067 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
81068 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
81069 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
81070 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
81071 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
81072
81073 2012-04-17 Petr Baudis <pasky@ucw.cz>
81074
81075 * include/sys/uio.h: Change __vector to __iovec to avoid clash
81076 with altivec.
81077
81078 2012-04-16 Marek Polacek <polacek@redhat.com>
81079
81080 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
81081
81082 2012-04-16 Marek Polacek <polacek@redhat.com>
81083
81084 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
81085 operands of fdivp instruction.
81086
81087 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
81088
81089 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
81090 * elf/tst-auditmod3b.c: Likewise.
81091 * elf/tst-auditmod4b.c: Likewise.
81092 * elf/tst-auditmod5b.c: Likewise.
81093 * elf/tst-auditmod6b.c: Likewise.
81094 * elf/tst-auditmod6c.c: Likewise.
81095 * elf/tst-auditmod7b.c: Likewise.
81096 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
81097 * sysdeps/x86_64/preconfigure.in: Likewise.
81098 * sysdeps/x86_64/preconfigure: Regenerated.
81099
81100 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
81101
81102 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
81103 __ILP32__.
81104
81105 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
81106
81107 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
81108 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
81109
81110 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
81111
81112 [BZ #13973]
81113 * locale/iso-639.def: Fix gl language name. Spotted by
81114 Yaron Shahrabani.
81115
81116 2012-04-12 Roland McGrath <roland@hack.frob.com>
81117
81118 [BZ #2074]
81119 * libio/libio.h (__io_write_fn): Update comment.
81120
81121 2012-04-12 Petr Baudis <pasky@ucw.cz>
81122
81123 [BZ #2074]
81124 * stdio.texi (Hook Functions): The user provided writer function
81125 is not allowed to return -1.
81126
81127 2012-04-11 David S. Miller <davem@davemloft.net>
81128
81129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
81130
81131 2012-04-11 Mike Frysinger <vapier@gentoo.org>
81132
81133 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
81134 Add a leading slash to rtkaio.
81135
81136 2012-04-11 Jim Meyering <meyering@redhat.com>
81137
81138 [BZ #11959]
81139 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
81140 It is not necessarily an error to ignore fwrite's return
81141 value. One can reliably use ferror to test for errors after
81142 the fact.
81143
81144 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
81145
81146 * bits/types.h (__snseconds_t): New type.
81147 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
81148
81149 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
81150 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81151 (__SNSECONDS_T_TYPE): Likewise.
81152 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81153 (__SNSECONDS_T_TYPE): Likewise.
81154 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81155 (__SNSECONDS_T_TYPE): Likewise.
81156
81157 2012-04-10 Andreas Jaeger <aj@suse.de>
81158
81159 [BZ #2636]
81160 * manual/time.texi (Processor Time): Return type of times is
81161 elapsed real time since an arbitrary point in the past.
81162 (CPU Time): Move CLK_TCK from here...
81163 (Processor Time): ...to here. Correct description.
81164 * manual/conf.texi (Constants for Sysconf): Correct description of
81165 _SC_CLK_TCK.
81166
81167 2012-04-10 David S. Miller <davem@davemloft.net>
81168
81169 [BZ #13967]
81170 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
81171 where the is a gap between DT_REL(A) and DT_JMPREL.
81172
81173 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
81174
81175 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
81176 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
81177 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
81178
81179 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
81180
81181 * elf/dl-support.c (_dl_inhibit_cache): New variable.
81182 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
81183 (dl_main): Handle --inhibit-cache.
81184 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
81185 _dl_inhibit_cache.
81186 * elf/dl-load.c (_dl_map_object): Use it.
81187 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
81188
81189 2012-04-09 Joseph Myers <joseph@codesourcery.com>
81190
81191 [BZ #13872]
81192 * sysdeps/i386/fpu/e_powl.S (p78): New object.
81193 (__ieee754_powl): Saturate large exponents rather than testing for
81194 overflow of y*log2(x).
81195 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81196 * math/libm-test.inc (pow_test): Do not permit spurious overflow
81197 exceptions.
81198
81199 [BZ #11521]
81200 * math/s_ctan.c: Include <float.h>.
81201 (__ctan): Avoid internal overflow or cancellation in calculating
81202 denominator.
81203 * math/s_ctanf.c: Likewise.
81204 * math/s_ctanl.c: Likewise.
81205 * math/s_ctanh.c: Likewise.
81206 * math/s_ctanhf.c: Likewise.
81207 * math/s_ctanhl.c: Likewise.
81208 * math/libm-test.inc (ctan_test): Add more tests.
81209 (ctanh_test): Likewise.
81210 * sysdeps/i386/fpu/libm-test-ulps: Update.
81211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81212
81213 2012-04-09 Andreas Jaeger <aj@suse.de>
81214
81215 [BZ #6894]
81216 * manual/filesys.texi (Directory Entries): Mention that d_namlen
81217 is an optional BSD extension.
81218
81219 [BZ #10254]
81220 * manual/stdio.texi (Opening Streams): Document additional fopen
81221 parameters.
81222
81223 2012-04-09 Roland McGrath <roland@hack.frob.com>
81224
81225 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
81226 %eax without telling the compiler.
81227
81228 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
81229
81230 [BZ # 13963]
81231 * manual/install.texi: Use sourceware.org.
81232
81233 2012-04-09 Joseph Myers <joseph@codesourcery.com>
81234
81235 [BZ #13873]
81236 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
81237 (__ieee754_pow): Generate overflow and underflow using huge*huge
81238 and tiny*tiny rather than just returning constant infinity or zero
81239 for large exponents.
81240 * math/libm-test.inc (pow_test): Require overflow exceptions for
81241 applicable cases of large exponents.
81242
81243 [BZ #706]
81244 * sysdeps/i386/fpu/e_pow.S (p10): New object.
81245 (__ieee754_pow): Use iterative multiplication algorithm only for
81246 integer exponents with absolute value below 1024. Check for odd
81247 integer exponents when using algorithm for real exponents.
81248 * math/libm-test.inc (pow_test): Add more tests.
81249 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81250
81251 2012-04-08 Joseph Myers <joseph@codesourcery.com>
81252
81253 [BZ #13705]
81254 * math/libm-test.inc (exp_test): Do not allow overflow exception
81255 on underflow test.
81256
81257 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
81258
81259 [BZ #13705]
81260 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
81261 instead of __kernel_standard_f.
81262
81263 2012-04-08 Mike Frysinger <vapier@gentoo.org>
81264
81265 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
81266 * sysdeps/x86_64/memset_chk.S: Likewise.
81267
81268 2012-04-08 Andreas Jaeger <aj@suse.de>
81269
81270 [BZ #10153]
81271 * manual/startup.texi (Environment Access): Describe return value
81272 for putenv and setenv.
81273
81274 [BZ #6895]
81275 * manual/filesys.texi (Directory Entries): Add description for
81276 DT_LNK.
81277
81278 [BZ #6890]
81279 * manual/filesys.texi (Directory Entries): Clarify that it's file
81280 system not operating system in the description of DT_UNKNOWN.
81281
81282 [BZ #6578]
81283 * manual/syslog.texi (closelog): Fix reference, it's openlog.
81284
81285 2012-04-08 Stephen Compall <s11@member.fsf.org>
81286
81287 [BZ #6649]
81288 * manual/llio.texi (Opening and Closing Files): Add cross
81289 reference to explain mode argument.
81290
81291 2012-04-07 Mike Frysinger <vapier@gentoo.org>
81292
81293 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
81294 * sysdeps/x86_64/memset_chk.S: Likewise.
81295
81296 2012-04-07 David S. Miller <davem@davemloft.net>
81297
81298 * elf/elf.h (R_SPARC_WDISP10): Define.
81299 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
81300 R_SPARC_SIZE32.
81301 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
81302 R_SPARC_SIZE64 and R_SPARC_H34.
81303
81304 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
81305
81306 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
81307 conditions and remove no longer applicable assertion.
81308
81309 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
81310
81311 * bits/byteswap.h: Include <features.h>.
81312 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
81313 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
81314
81315 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
81316
81317 * bits/byteswap.h (__bswap_16): Removed.
81318 Include <bits/byteswap-16.h> to get __bswap_16.
81319 * sysdeps/i386/bits/byteswap.h: Likewise.
81320 * sysdeps/s390/bits/byteswap.h: Likewise.
81321 * sysdeps/x86_64/bits/byteswap.h: Likewise.
81322 * bits/byteswap-16.h: New file.
81323 * sysdeps/i386/bits/byteswap-16.h: Likewise.
81324 * sysdeps/s390/bits/byteswap-16.h: Likewise.
81325 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
81326 * string/Makefile (headers): Add bits/byteswap-16.h.
81327
81328 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
81329
81330 [BZ #13895]
81331 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
81332 extra indirection.
81333 * nss/Makefile (tests-static, tests): Add tst-nss-static.
81334 * nss/tst-nss-static.c: New.
81335
81336 2012-04-06 Robert Millan <rmh@gnu.org>
81337
81338 [BZ #6486]
81339 * manual/llio.texi (File Position Primitive): lseek
81340 refers to WHENCE when it really means OFFSET.
81341
81342 2012-04-06 Andreas Jaeger <aj@suse.de>
81343
81344 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
81345 strncmp declarations.
81346
81347 * abilist/libc.abilist: Add __poll and __ppoll.
81348
81349 2012-04-05 David S. Miller <davem@davemloft.net>
81350
81351 * scripts/check-local-headers.sh: Accept a host triplet in the
81352 path matched by the exclude regexp.
81353
81354 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
81355 definition.
81356 * sysdeps/powerpc/powerpc32/dl-machine.h
81357 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
81358 * sysdeps/s390/s390-32/dl-machine.h
81359 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
81360 * sysdeps/sparc/sparc32/dl-machine.h
81361 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
81362 * sysdeps/sparc/sparc64/dl-machine.h
81363 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
81364
81365 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
81366 lazy binding.
81367 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
81368 undefined symbol errors.
81369
81370 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
81371 DT_NEEDED entries.
81372
81373 2012-04-05 Michael Matz <matz@suse.de>
81374
81375 [BZ #13592]
81376 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
81377
81378 2012-04-05 Andreas Jaeger <aj@suse.de>
81379
81380 [BZ #13908]
81381 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
81382 comment.
81383
81384 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
81385
81386 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
81387 which ROUND is no valid rounding mode.
81388
81389 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
81390
81391 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
81392 read again.
81393 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
81394
81395 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
81396
81397 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
81398 an exception using FPU order intentionally.
81399
81400 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
81401
81402 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
81403 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
81404 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
81405 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
81406
81407 2012-04-05 Simon Josefsson <simon@josefsson.org>
81408
81409 [BZ #12340]
81410 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
81411 EINVAL when BUFLEN is too smal.
81412
81413 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
81414
81415 [BZ #13553]
81416 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
81417 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
81418
81419 2012-04-03 Andreas Jaeger <aj@suse.de>
81420
81421 [BZ #13938]
81422 * manual/setjmp.texi (System V contexts): Fix sentence.
81423
81424 [BZ #13926]
81425 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
81426 New macro for this case.
81427 [!__GNUC__] (__bswap_64): New inline function for this case.
81428 * sysdeps/x86_64/bits/byteswap.h: Likewise.
81429 * bits/byteswap.h: Likewise.
81430 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
81431 ull, guard with __GLIBC_HAVE_LONG_LONG.
81432
81433 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
81434 __GLIBC_HAVE_LONG_LONG.
81435
81436 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
81437 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
81438
81439 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
81440
81441 [BZ #13691]
81442 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
81443 inptr and inend, rather than using last_ch.
81444
81445 2012-04-02 David S. Miller <davem@davemloft.net>
81446
81447 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
81448 * stdio-common/printf-parse.h (read_int): Change return type to
81449 'int', return -1 on INT_MAX overflow.
81450 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
81451 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
81452 overflows INT_MAX. Check for overflow of in-format-string precision
81453 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
81454 SIZE_MAX not INT_MAX for integer overflow test.
81455 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
81456 skip the construct in the format string but do not record anything.
81457 * stdio-common/bug22.c: Adjust to test both width/prevision
81458 INT_MAX overflow as well as total length INT_MAX overflow. Check
81459 explicitly for proper errno values.
81460
81461 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
81462
81463 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
81464 CHAR_MAX.
81465 * string/test-strcmp.c [! WIDE]: Likewise.
81466 * time/tst-mktime2.c: Likewise for INT_MAX.
81467 * string/test-string.h: #include <sys/param.h> for MIN.
81468
81469 * csu/init-first.c (__libc_init_first): Call __ctype_init.
81470 * sysdeps/i386/init-first.c (init): Likewise.
81471 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
81472 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
81473 * sysdeps/sh/init-first.c (init): Likewise.
81474
81475 2012-04-01 Ulrich Drepper <drepper@gmail.com>
81476
81477 * po/ru.po: Update from translation team.
81478 * po/vi.po: Likewise.
81479
81480 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
81481
81482 * resolv/nss_dns/dns-host.c: Merge copyright years.
81483
81484 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81485
81486 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
81487 Optimize memcpy with prefetch if
81488 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
81489 src, dst pointers have unequal 16 byte alignments.
81490
81491 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
81492
81493 [BZ #13928]
81494 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
81495 from a CNAME entry and return the minimum ttl for the query.
81496 (gaih_getanswer_slice): Likewise.
81497
81498 2012-03-30 Jeff Law <law@redhat.com>
81499
81500 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
81501 due to long keys.
81502 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
81503 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
81504
81505 * resolv/nss_dns/dns-host.c: Update copyright year.
81506
81507 2012-03-30 Ulrich Drepper <drepper@gmail.com>
81508
81509 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
81510 requests to save a system call. Fix check that all bytes are sent.
81511
81512 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
81513 comments for sendmmsg.
81514
81515 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
81516
81517 [BZ #13691]
81518 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
81519 with only 1 character between 0x0041 and 0x01b0.
81520 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
81521 * wcsmbs/tst-mbsnrtowcs.c: New file.
81522
81523 2012-03-29 David S. Miller <davem@davemloft.net>
81524
81525 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
81526 small copies by hand.
81527
81528 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
81529
81530 [BZ #13761]
81531 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
81532 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
81533 group memberships.
81534
81535 2012-03-28 David S. Miller <davem@davemloft.net>
81536
81537 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
81538 that branches into memcpy.
81539 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
81540 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
81541 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
81542 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
81543 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
81544 bits.
81545 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
81546 implementation too.
81547 * sysdeps/sparc/mempcpy.S: New file.
81548
81549 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
81550 the IFUNC routine in the libc case.
81551 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
81552
81553 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
81554 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
81555 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
81556 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
81557 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
81558 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
81559 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
81560 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
81561
81562 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
81563 loop to 256 bytes instead of 64 bytes and fix test signedness.
81564
81565 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
81566 * sysdeps/sparc/sparc32/Makefile: rather than here...
81567 * sysdeps/sparc/sparc64/Makefile: and here.
81568
81569 2012-03-28 Ulrich Drepper <drepper@gmail.com>
81570
81571 * malloc/mallocbug.c: Avoid warnings about unused variables.
81572
81573 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
81574
81575 [BZ #13760]
81576 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
81577 in the right place. Discard and retry query if response is
81578 larger than input buffer size.
81579
81580 2012-03-28 Joseph Myers <joseph@codesourcery.com>
81581
81582 [BZ #369]
81583 [BZ #2678]
81584 [BZ #3866]
81585 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
81586 x for large integer exponent.
81587 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
81588 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
81589 sign of result as needed afterwards.
81590 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
81591 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
81592 result for underflowing pow the same as for overflow.
81593 (__kernel_standard_l): Handle powl overflow and underflow here
81594 rather than calling __kernel_standard.
81595 * math/libm-test.inc (pow_test): Add more tests.
81596
81597 [BZ #3868]
81598 [BZ #13879]
81599 [BZ #13910]
81600 [BZ #13911]
81601 [BZ #13912]
81602 [BZ #13913]
81603 [BZ #13915]
81604 [BZ #13916]
81605 [BZ #13917]
81606 [BZ #13918]
81607 [BZ #13919]
81608 [BZ #13920]
81609 [BZ #13921]
81610 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
81611 * sysdeps/ieee754/k_standard.c: Include <float.h>.
81612 (__kernel_standard_l): New function.
81613 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
81614 __kernel_standard.
81615 * math/w_acosl.c (__acosl): Likewise.
81616 * math/w_asinl.c (__asinl): Likewise.
81617 * math/w_atan2l.c (__atan2l): Likewise.
81618 * math/w_atanhl.c (__atanhl): Likewise.
81619 * math/w_coshl.c (__coshl): Likewise.
81620 * math/w_exp10l.c (__exp10l): Likewise.
81621 * math/w_exp2l.c (__exp2l): Likewise.
81622 * math/w_fmodl.c (__fmodl): Likewise.
81623 * math/w_hypotl.c (__hypotl): Likewise.
81624 * math/w_j0l.c (__j0l, __y0l): Likewise.
81625 * math/w_j1l.c (__j1l, __y1l): Likewise.
81626 * math/w_jnl.c (__jnl, __ynl): Likewise.
81627 * math/w_lgammal.c (__lgammal): Likewise.
81628 * math/w_log10l.c (__log10l): Likewise.
81629 * math/w_log2l.c (__log2l): Likewise.
81630 * math/w_logl.c (__logl): Likewise.
81631 * math/w_powl.c (__powl): Likewise.
81632 * math/w_remainderl.c (__remainderl): Likewise.
81633 * math/w_scalbl.c (sysv_scalbl): Likewise.
81634 * math/w_sinhl.c (__sinhl): Likewise.
81635 * math/w_sqrtl.c (__sqrtl): Likewise.
81636 * math/w_tgammal.c (__tgammal): Likewise.
81637 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
81638 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
81639 * math/libm-test.inc (acos_test): Add more tests.
81640 (acosh_test): Likewise.
81641 (asin_test): Likewise.
81642 (atanh_test): Likewise.
81643 (exp_test): Likewise.
81644 (exp10_test): Likewise.
81645 (exp2_test): Likewise.
81646 (expm1_test): Likewise.
81647 (lgamma_test): Likewise.
81648 (log_test): Likewise.
81649 (log10_test): Likewise.
81650 (log1p_test): Likewise.
81651 (log2_test): Likewise.
81652 (pow_test): Do not allow some spurious overflow exceptions.
81653 (sqrt_test): Add more tests.
81654 (tgamma_test): Likewise.
81655 (y0_test): Likewise.
81656 (y1_test): Likewise.
81657 (yn_test): Likewise.
81658
81659 2012-03-27 Anton Blanchard <anton@samba.org>
81660
81661 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
81662 MAP_HUGETLB.
81663 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
81664 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
81665 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
81666
81667 2012-03-27 David S. Miller <davem@davemloft.net>
81668
81669 * conform/Makefile: Run run-conformtest.sh using $(BASH).
81670
81671 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
81672 have-as-vis3 check.
81673
81674 2012-03-27 Andreas Jaeger <aj@suse.de>
81675
81676 * sysdeps/x86_64/elf/configure.in: Moved to ...
81677 * sysdeps/x86_64/configure.in: ... here.
81678 * sysdeps/x86_64/elf/start.S: Moved to ...
81679 * sysdeps/x86_64/start.S: ... here.
81680 * sysdeps/x86_64/elf/configure: Delete.
81681
81682 * sysdeps/x86_64/configure.in: Merge contents from
81683 sysdeps/i386/configure.in (without i686 check).
81684
81685 * sysdeps/i386/elf/Versions: Merge into ...
81686 * sysdeps/i386/Versions: ... this.
81687 * sysdeps/i386/elf/Versions: Delete file.
81688 * sysdeps/i386/elf/start.S: Moved to ...
81689 * sysdeps/i386/start.S: ...here.
81690 * sysdeps/i386/elf/configure.in: Merge into...
81691 * sysdeps/i386/configure.in: ...here.
81692 * sysdeps/i386/elf/configure.in: Delete file.
81693 * sysdeps/i386/elf/configure: Delete file.
81694
81695 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
81696 * debug/backtracesyms.c: ... here.
81697 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
81698 * debug/backtracesymsfd.c: ... here.
81699 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
81700 * sysdeps/generic/ifunc-sel.h: ... here.
81701
81702 * sysdeps/unix/i386/start.c: Delete file.
81703 * sysdeps/unix/sparc/start.c: Delete file.
81704 * sysdeps/unix/start.c: Delete file.
81705
81706 * sysdeps/sh/elf/configure.in: Moved to ...
81707 * sysdeps/sh/configure.in: ... here.
81708 * sysdeps/sh/elf/start.S: Moved to ...
81709 * sysdeps/sh/start.S: ... here.
81710 * sysdeps/sh/elf/configure: Delete file.
81711
81712 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
81713 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
81714 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
81715 * sysdeps/powerpc/powerpc64/entry.h: ... here.
81716 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
81717 * sysdeps/powerpc/powerpc64/start.S: here.
81718 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
81719 * sysdeps/powerpc/powerpc64/Makefile: ... this.
81720 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
81721 * sysdeps/powerpc/powerpc64/configure.in: ... this.
81722 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
81723
81724 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
81725 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
81726 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
81727 * sysdeps/powerpc/powerpc32/start.S: ... here.
81728 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
81729 * sysdeps/powerpc/powerpc32/configure.in: ... this.
81730 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
81731
81732 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
81733 * sysdeps/powerpc/ifunc-sel.h: ... here.
81734 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
81735 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
81736
81737 * sysdeps/sparc/elf/configure.in: Moved to ...
81738 * sysdeps/sparc/configure.in: ... here.
81739 * sysdeps/sparc/elf/configure: Delete file.
81740 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
81741 * sysdeps/sparc/sparc32/start.S: ... here.
81742 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
81743 * sysdeps/sparc/sparc64/start.S: ... here.
81744 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
81745 * sysdeps/sparc/sparc32/Makefile: ... this.
81746 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
81747 * sysdeps/sparc/sparc64/Makefile: ... this.
81748
81749 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
81750 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
81751 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
81752 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
81753 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
81754 * sysdeps/s390/s390-32/setjmp.S: ... here.
81755 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
81756 * sysdeps/s390/s390-32/configure.in: ... here.
81757 * sysdeps/s390/s390-32/elf/configure: Delete file.
81758 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
81759 * sysdeps/s390/s390-32/start.S: ... here.
81760
81761 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
81762 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
81763 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
81764 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
81765 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
81766 * sysdeps/s390/s390-64/setjmp.S: ... here.
81767 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
81768 * sysdeps/s390/s390-64/configure.in: ... here
81769 * sysdeps/s390/s390-64/elf/configure: Delete file.
81770 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
81771 * sysdeps/s390/s390-64/start.S: ... here.
81772 * sysdeps/s390/s390-64/elf/configure: Delete.
81773
81774 * configure.in: Remove support for elf directories in sysdeps.
81775
81776 * configure: Regenerated.
81777 * sysdeps/i386/configure: Regenerated.
81778 * sysdeps/powerpc/powerpc32/configure: Regenerated.
81779 * sysdeps/powerpc/powerpc64/configure: Regenerated.
81780 * sysdeps/s390/s390-32/configure: Regenerated.
81781 * sysdeps/s390/s390-64/configure: Regenerated.
81782 * sysdeps/sh/configure: Regenerated.
81783 * sysdeps/sparc/configure: Regenerated.
81784 * sysdeps/x86_64/configure: Regenerated.
81785
81786 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
81787
81788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81789
81790 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
81791 denormal result into account.
81792
81793 2012-03-25 Roland McGrath <roland@hack.frob.com>
81794
81795 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
81796 Reported by Allan McRae <allan@archlinux.org>.
81797
81798 2012-03-23 Jeff Law <law@redhat.com>
81799
81800 * nss/getnssent.c (__nss_getent): Fix typo.
81801
81802 2012-03-23 David S. Miller <davem@davemloft.net>
81803
81804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
81805
81806 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
81807
81808 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
81809 to pad to uint64_t for each field.
81810 (dl_tls_index): Replace unsigned long with uint64_t.
81811
81812 2012-03-23 Daniel Jacobowitz <dmj@google.com>
81813 Paul Pluzhnikov <ppluzhnikov@google.com>
81814
81815 [BZ #6528]
81816 * grp/Makefile (otherlibs): Don't set it.
81817 * inet/Makefile (otherlibs): Likewise.
81818 * login/Makefile (otherlibs): Likewise.
81819 * nscd/Makefile (otherlibs): Likewise.
81820 * posix/Makefile (otherlibs): Likewise.
81821 * pwd/Makefile (otherlibs): Likewise.
81822 * rt/Makefile (otherlibs): Likewise.
81823 * sunrpc/Makefile (otherlibs): Likewise.
81824 * nss/Makefile (otherlibs): Likewise.
81825 Add libnss_files to routines and static-only-routines.
81826 ($(objpfx)getent): Remove rule.
81827 * resolv/Makefile: Add libnss_dns and libresolv to routines and
81828 static-only-routines.
81829
81830 2012-03-22 Joseph Myers <joseph@codesourcery.com>
81831
81832 [BZ #13892]
81833 * math/s_cexp.c: Include <float.h>.
81834 (__cexp): Handle exp result overflowing not necessarily
81835 overflowing both real and imaginary parts of result.
81836 * math/s_cexpf.c: Likewise.
81837 * math/s_cexpl.c: Likewise.
81838 * math/libm-test.inc (cexp_test): Add more tests.
81839 * sysdeps/i386/fpu/libm-test-ulps: Update.
81840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81841
81842 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
81843
81844 * include/link.h (ELFW): New macro.
81845 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
81846 Replace ELF64_R_TYPE with ELFW(R_TYPE).
81847
81848 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
81849
81850 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
81851 with uint64_t.
81852
81853 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
81854
81855 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
81856 declaration.
81857 (struct La_x32_retval): Likewise.
81858
81859 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
81860
81861 * sysdeps/x86_64/preconfigure.in: New file.
81862 * sysdeps/x86_64/preconfigure: New generated file.
81863
81864 2012-03-22 Joseph Myers <joseph@codesourcery.com>
81865
81866 [BZ #13824]
81867 * math/e_exp2l.c: Include <float.h>.
81868 (__ieee754_exp2l): Handle overflow and underflow cases
81869 separately. Only pass fractional part of argument to
81870 __ieee754_expl.
81871 * math/libm-test.inc (exp2_test): Add more tests.
81872
81873 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
81874 negating x to take absolute value.
81875 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
81876 Likewise.
81877 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
81878 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
81879 Likewise.
81880 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
81881 computing low part if x was negated.
81882 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
81883
81884 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
81885
81886 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
81887 la_x32_gnu_pltexit.
81888 (pltexit): Cast int_retval to ptrdiff_t.
81889 * elf/tst-auditmod3b.c: Likewise.
81890 * elf/tst-auditmod4b.c: Likewise.
81891 * elf/tst-auditmod5b.c: Likewise.
81892 * elf/tst-auditmod6b.c: Likewise.
81893 * elf/tst-auditmod6c.c: Likewise.
81894 * elf/tst-auditmod7b.c: Likewise.
81895
81896 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
81897 and x32_gnu_pltexit.
81898
81899 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
81900 __ELF_NATIVE_CLASS.
81901 (La_x32_regs): New macro.
81902 (La_x32_retval): Likewise.
81903 (la_x32_gnu_pltenter): New function prototype.
81904 (la_x32_gnu_pltexit): Likewise.
81905
81906 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
81907
81908 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
81909 exponent.
81910
81911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81912
81913 * configure.in (libc_cv_cc_nofma): Check for option to disable
81914 generation of FMA instructions.
81915 * configure: Regenerate.
81916 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
81917 * sysdeps/ieee754/dbl-64/Makefile: New file.
81918 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
81919 Remove brandred-fma4.
81920 (CFLAGS-brandred-fma4.c): Remove.
81921 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
81922 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
81923 define.
81924 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
81925 define.
81926
81927 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
81928
81929 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81930 LLONG_MAX != LONG_MAX.
81931 (_itoa_word): Use _ITOA_WORD_TYPE on value.
81932 (_fitoa_word): Likewise.
81933 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
81934 LLONG_MAX != LONG_MAX.
81935 * stdio-common/_itowa.h: Include <_itoa.h>.
81936 (_itowa_word): Use _ITOA_WORD_TYPE on value.
81937 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
81938 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
81939 only if not defined.
81940 (_ITOA_WORD_TYPE): Likewise.
81941 (_itoa_word): Use _ITOA_WORD_TYPE on value.
81942 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
81943
81944 2012-03-21 David S. Miller <davem@davemloft.net>
81945
81946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
81947
81948 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
81949
81950 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
81951 of x86_64 when setting libc_cv_slibdir, libdir and
81952 libc_cv_localedir.
81953 * sysdeps/unix/sysv/linux/configure: Regenerated.
81954
81955 2012-03-21 Joseph Myers <joseph@codesourcery.com>
81956
81957 * manual/lang.texi (Old Varargs): Remove section.
81958 (How Variadic): Update menu.
81959 (va_start): Do not mention varargs.h.
81960
81961 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
81962 Joseph Myers <joseph@codesourcery.com>
81963
81964 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
81965 link test.
81966 * configure: Regenerated.
81967
81968 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
81969
81970 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
81971 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
81972 conformtest.pl
81973
81974 2012-03-21 Joseph Myers <joseph@codesourcery.com>
81975
81976 * NOTES: Remove.
81977 * Makefile (files-for-dist): Remove NOTES.
81978 (NOTES): Remove rule.
81979 * README: Don't refer to NOTES.
81980 * manual/creature.texi: Don't include macros.texi.
81981 * manual/intro.texi (creature.texi): Remove comment referring to
81982 NOTES.
81983
81984 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
81985 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
81986 * configure: Regenerated.
81987 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
81988 LIBC_TRY_CC_OPTION.
81989 (libc_cv_as_i686): Likewise.
81990 (libc_cv_cc_avx): Likewise.
81991 (libc_cv_cc_sse2avx): Likewise.
81992 (libc_cv_cc_fma4): Likewise.
81993 (libc_cv_cc_novzeroupper): Likewise.
81994 * sysdeps/i386/configure: Regenerated.
81995
81996 [BZ #13883]
81997 * sysdeps/i386/fpu/s_cexp.S: Remove.
81998 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
81999 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
82000 * math/libm-test.inc (cexp_test): Add more tests.
82001 * sysdeps/i386/fpu/libm-test-ulps: Update.
82002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82003
82004 2012-03-21 Allan McRae <allan@archlinux.org>
82005
82006 * timezone/Makefile: Do not install iso3166.tab and zone.tab
82007
82008 2012-03-21 Joseph Myers <joseph@codesourcery.com>
82009
82010 [BZ #13871]
82011 * math/w_exp2.c: Do not include <float.h>.
82012 (o_threshold, u_threshold): Remove.
82013 (__exp2): Calculate result before checking finiteness and calling
82014 __kernel_standard.
82015 * math/w_exp2f.c: Likewise.
82016 * math/w_exp2l.c: Likewise.
82017 * math/libm-test.inc (exp2_test): Require overflow exception for
82018 1e6 input.
82019
82020 [BZ #3866]
82021 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
82022 range of signed 64-bit integers before using fistpll. Remove
82023 checks for whether integers fit in mantissa bits.
82024 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
82025 the range of signed 32-bit integers before using fistpl. Remove
82026 checks for whether integers fit in mantissa bits.
82027 * sysdeps/i386/fpu/e_powl.S (p64): New object.
82028 (__ieee754_powl): Test for y outside the range of signed 64-bit
82029 integers before using fistpll. Reduce 64-bit values to 63-bit
82030 ones as needed.
82031 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
82032 divide-by-zero is raised for zero to large negative powers.
82033 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
82034 (__ieee754_powl): Test for y outside the range of signed 64-bit
82035 integers before using fistpll. Reduce 64-bit values to 63-bit
82036 ones as needed.
82037 * math/libm-test.inc (pow_test): Add more tests.
82038
82039 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
82040
82041 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
82042 <stdio-common/_itoa.h>.
82043 * debug/segfault.c: Likewise.
82044 * elf/dl-cache.c: Likewise.
82045 * elf/dl-minimal.c: Likewise.
82046 * elf/dl-misc.c: Likewise.
82047 * elf/dl-sysdep.c: Likewise.
82048 * elf/dl-version.c: Likewise.
82049 * elf/rtld.c: Likewise.
82050 * hurd/hurdsock.c: Likewise.
82051 * hurd/lookup-retry.c: Likewise.
82052 * malloc/malloc.c: Likewise.
82053 * malloc/mtrace.c: Likewise.
82054 * nscd/nscd_getgr_r.c: Likewise.
82055 * nscd/nscd_getpw_r.c: Likewise.
82056 * nscd/nscd_getserv_r.c: Likewise.
82057 * posix/getopt_init.c: Likewise.
82058 * posix/wordexp.c: Likewise.
82059 * stdio-common/_itoa.c: Likewise.
82060 * stdio-common/printf_fphex.c: Likewise.
82061 * stdio-common/vfprintf.c: Likewise.
82062 * string/_strerror.c: Likewise.
82063 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
82064 * sysdeps/i386/i686/hp-timing.h: Likewise.
82065 * sysdeps/mach/_strerror.c: Likewise.
82066 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
82067 * sysdeps/mach/hurd/sethostid.c: Likewise.
82068 * sysdeps/mach/hurd/xmknodat.c: Likewise.
82069 * sysdeps/mach/xpg-strerror.c: Likewise.
82070 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
82071 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
82072 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
82073 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
82074 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
82075 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
82076 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
82077 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
82078 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
82079 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
82080 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
82081 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
82082 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
82083 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
82084 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
82085 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
82086 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
82087 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
82088 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
82089 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
82090 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
82091
82092 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
82093
82094 * stdio-common/_itoa.h: Moved to ...
82095 * sysdeps/generic/_itoa.h: Here.
82096
82097 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
82098
82099 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
82100 instead of "_itoa.h" and "_itowa.h".
82101 * stdio-common/vfprintf.: Likewise.
82102
82103 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
82104
82105 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
82106 <bits/wordsize.h>.
82107 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
82108 (__signbit): Likewise.
82109 (llrintf): Likewise.
82110 (llrint): Likewise.
82111
82112 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
82113
82114 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
82115 __WORDSIZE != 64.
82116
82117 2012-03-20 Joseph Myers <joseph@codesourcery.com>
82118
82119 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
82120 OVERFLOW_EXCEPTION_OK.
82121 * math/libm-test.inc ("Philosophy"): Update comment about
82122 exception testing.
82123 (OVERFLOW_EXCEPTION): Define.
82124 (OVERFLOW_EXCEPTION_OK): Likewise.
82125 (INVALID_EXCEPTION_OK): Renumber.
82126 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
82127 (IGNORE_ZERO_INF_SIGN): Likewise.
82128 (test_exceptions): Handle FE_OVERFLOW.
82129 (exp10_test): Expect overflow exceptions.
82130 (exp2_test): Likewise.
82131 (expm1_test): Likewise.
82132 (nextafter_test): Likewise.
82133 (pow_test): Likewise.
82134 (scalbn_test): Likewise.
82135 (scalbln_test): Likewise.
82136
82137 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
82138
82139 * sysdeps/x86_64/bits/atomic.h
82140 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
82141 64bit integer.
82142 (atomic_exchange_acq): Likewise.
82143 (__arch_exchange_and_add_body): Likewise.
82144 (__arch_add_body): Likewise.
82145 (atomic_add_negative): Likewise.
82146 (atomic_add_zero): Likewise.
82147
82148 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
82149
82150 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
82151 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
82152
82153 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
82154
82155 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
82156 Check __x86_64__ instead of __WORDSIZE.
82157
82158 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
82159
82160 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
82161
82162 2012-03-19 David S. Miller <davem@davemloft.net>
82163
82164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
82165
82166 * sysdeps/sparc/fpu/fenv_private.h: New file.
82167 * sysdeps/sparc/fpu/math_private.h: Use it.
82168 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
82169 Remove.
82170 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
82171 (libc_feholdexcept_setroundl): Remove.
82172 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
82173 Remove.
82174 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
82175 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
82176
82177 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
82178
82179 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
82180 int64_t instead of long int.
82181 (INSERT_WORDS64): Likewise.
82182
82183 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
82184
82185 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
82186 _Unwind_GetCFA return to _Unwind_Ptr first.
82187
82188 2012-03-19 Joseph Myers <joseph@codesourcery.com>
82189
82190 [BZ #13629]
82191 * math/s_clog.c: Include <float.h>.
82192 (__clog): Scale large or subnormal inputs.
82193 * math/s_clogf.c: Likewise.
82194 * math/s_clogl.c: Likewise.
82195 * math/s_clog10.c: Include <float.h>.
82196 (M_LOG10_2): Define.
82197 (__clog10): Scale large or subnormal inputs.
82198 * math/s_clog10f.c: Likewise.
82199 * math/s_clog10l.c: Likewise.
82200 * math/libm-test.inc (clog_test): Add more tests.
82201 (clog10_test): Likewise.
82202 * sysdeps/i386/fpu/libm-test-ulps: Update.
82203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82204
82205 [BZ #11451]
82206 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
82207 x and y.
82208 * math/libm-test.inc (atan2_test): Add another test.
82209
82210 * Makerules (common-objdir-compile): Remove.
82211 * sysdeps/unix/Makefile (config-generated): Do not add
82212 $(unix-generated) to variable.
82213 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
82214 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
82215 Remove rule.
82216 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
82217 Likewise.
82218 [generic bits/local_lim.h] (before-compile): Do not append to
82219 variable.
82220 [generic bits/local_lim.h] (common-generated): Likewise.
82221 [generic sys/param.h] (before-compile): Do not append to variable.
82222 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
82223 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
82224 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
82225 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
82226 include.
82227 [generic sys/param.h] (sys/param.h-includes): Remove variable.
82228 [generic sys/param.h] (sys/param.h-includes): Remove rule.
82229 [generic sys/param.h] ($(addprefix
82230 $(common-objpfx),$(sys/param.h-includes))): Likewise.
82231 [generic sys/param.h] (common-generated): Do not append to
82232 variable.
82233 [generic sys/param.h] (sysdep_headers): Likewise.
82234 [generic bits/errno.h] (before-compile): Do not append to
82235 variable.
82236 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
82237 rule.
82238 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
82239 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
82240 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
82241 [generic bits/errno.h] (common-generated): Do not append to
82242 variable.
82243 [generic bits/ioctls.h] (before-compile): Do not append to
82244 variable.
82245 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
82246 rule.
82247 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
82248 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
82249 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
82250 rule.
82251 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
82252 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
82253 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
82254 [generic bits/ioctls.h] (common-generated): Do not append to
82255 variable.
82256 [generic sys/syscall.h] (syscall.h): Remove variable.
82257 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
82258 rule.
82259 [generic sys/syscall.h] (before-compile): Do not append to
82260 variable.
82261 [generic sys/syscall.h] (common-generated): Likewise.
82262 * sysdeps/unix/errnos-tmpl.c: Remove file.
82263 * sysdeps/unix/errnos.awk: Likewise.
82264 * sysdeps/unix/ioctls-tmpl.c: Likewise.
82265 * sysdeps/unix/ioctls.awk: Likewise.
82266 * sysdeps/unix/mk-local_lim.c: Likewise.
82267 * sysdeps/unix/snarf-ioctls: Likewise.
82268
82269 2012-03-19 Richard Henderson <rth@twiddle.net>
82270
82271 * sysdeps/i386/fpu/fenv_private.h: New file.
82272 * sysdeps/i386/fpu/math_private.h: Use it.
82273 (math_opt_barrier, math_force_eval): Remove.
82274 (libc_feholdexcept_setround_53bit): Remove.
82275 (libc_feupdateenv_53bit): Remove.
82276 * sysdeps/x86_64/fpu/math_private.h: Likewise.
82277 (math_opt_barrier, math_force_eval): Remove.
82278 (libc_feholdexcept): Remove.
82279 (libc_feholdexcept_setround): Remove.
82280 (libc_fetestexcept, libc_fesetenv): Remove.
82281 (libc_feupdateenv_test): Remove.
82282 (libc_feupdateenv, libc_feholdsetround): Remove.
82283 (libc_feresetround): Remove.
82284
82285 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
82286 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
82287
82288 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
82289 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
82290 (libc_feupdateenv_testl): New.
82291 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
82292 (libc_feupdateenv_testf): New.
82293 (libc_feupdateenv): Use libc_feupdateenv_test.
82294 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
82295 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
82296
82297 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
82298 (libc_feholdsetroundf, libc_feholdsetroundl): New.
82299 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
82300 (libc_feresetround_noex): New.
82301 (libc_feresetround_noexf): New.
82302 (libc_feresetround_noexl): New.
82303 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
82304 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
82305 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
82306 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
82307 SET_RESTORE_ROUND.
82308 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
82309 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
82310 (__cos): Likewise.
82311 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
82312 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
82313 SET_RESTORE_ROUND_NOEX.
82314 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
82315 SET_RESTORE_ROUND_NOEXF.
82316 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
82317 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
82318 (libc_feholdsetroundf): New.
82319 (libc_feresetround, libc_feresetroundf): New.
82320
82321 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
82322 (libc_feholdexcept_setround_53bit): Convert from macro to function.
82323 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
82324
82325 * sysdeps/generic/math_private.h: Include <fenv.h>.
82326 (default_libc_feholdexcept): New.
82327 (default_libc_feholdexcept_setround): New.
82328 (default_libc_fesetenv, default_libc_feupdateenv): New.
82329 (libc_feholdexcept): Only define if undefined.
82330 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
82331 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
82332 (libc_feholdexcept_setroundl): Likewise.
82333 (libc_feholdexcept_setround_53bit): Likewise.
82334 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
82335 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
82336 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
82337 (libc_feupdateenv_53bit): Likewise.
82338 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
82339 (libc_feholdexcept): Convert from macro to inline function.
82340 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
82341 (libc_fesetenv, libc_feupdateenv): Likewise.
82342
82343 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
82344 not previously defined.
82345 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
82346 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
82347 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
82348 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
82349 * sysdeps/ieee754/flt-32/math_private.h: New file.
82350 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
82351 math_private.h below SET_FLOAT_WORD.
82352 (__isnan, __isinf_ns, __finite): Remove.
82353 (__isnanf, __isinf_nsf, __finitef): Remove.
82354
82355 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
82356
82357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82358
82359 2012-03-17 David S. Miller <davem@davemloft.net>
82360
82361 [BZ #6471]
82362 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
82363 for 2.16.
82364
82365 2012-03-16 David S. Miller <davem@davemloft.net>
82366
82367 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
82368 warnings.
82369
82370 [BZ #6471]
82371 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
82372 properly.
82373 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
82374 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
82375 sysdep_routines when subdir is sysvipc.
82376 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
82377 __getshmlba helper.
82378
82379 * sysdeps/sparc/fpu/libm-test/ulps: Update.
82380
82381 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
82382
82383 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
82384 [__LP64__].
82385
82386 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
82387
82388 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
82389 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
82390 (__lround): Renamed to ...
82391 (__llround): This. Replace long int with long long int.
82392 Define lround functions as aliases of llround functions.
82393 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
82394
82395 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
82396
82397 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
82398 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
82399 adresses to uintptr_t. Replace "long int" and "unsigned long
82400 int" with "greg_t" on va_arg.
82401
82402 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
82403
82404 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
82405 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
82406
82407 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
82408 Move e_machine check before EI_CLASS check. Handle x32
82409 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
82410 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
82411 SKIP_EM_IA_64 and include
82412 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
82413
82414 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
82415 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
82416 (add_system_dir): New macro.
82417
82418 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
82419 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
82420
82421 2012-03-16 Joseph Myers <joseph@codesourcery.com>
82422
82423 [BZ #2551]
82424 [BZ #2552]
82425 [BZ #2553]
82426 [BZ #2554]
82427 [BZ #2562]
82428 [BZ #2563]
82429 [BZ #2565]
82430 [BZ #2566]
82431 [BZ #2576]
82432 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
82433 (y0): Likewise.
82434 * math/w_j0f.c (j0f): Likewise.
82435 (y0f): Likewise.
82436 * math/w_j0l.c (__j0l): Likewise.
82437 (__y0l): Likewise.
82438 * math/w_j1.c (j1): Likewise.
82439 (y1): Likewise.
82440 * math/w_j1f.c (j1f): Likewise.
82441 (y1f): Likewise.
82442 * math/w_j1l.c (__j1l): Likewise.
82443 (__y1l): Likewise.
82444 * math/w_jn.c (jn): Likewise.
82445 (yn): Likewise.
82446 * math/w_jnf.c (jnf): Likewise.
82447 (ynf): Likewise.
82448 * math/w_jnl.c (__jnl): Likewise.
82449 (__ynl): Likewise.
82450 * math/libm-test.inc (j0_test): Add more tests.
82451 (j1_test): Likewise.
82452 (jn_test): Likewise. Add trailing semicolon to existing test.
82453 (y0_test): Likewise.
82454 (y1_test): Likewise.
82455 * sysdeps/i386/fpu/libm-test-ulps: Update.
82456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82457
82458 [BZ #13851]
82459 [BZ #13854]
82460 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
82461 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
82462 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
82463 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
82464 (__tanl): Set errno for infinite argument.
82465 * sysdeps/i386/fpu/mptan.c: Remove.
82466 * sysdeps/i386/fpu/s_tan.S: Likewise.
82467 * sysdeps/i386/fpu/s_tanl.S: Likewise.
82468 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
82469 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
82470 * math/libm-test.inc (tan_test): Add more tests and enable more
82471 tests for double and long double.
82472 * sysdeps/i386/fpu/libm-test-ulps: Update.
82473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82474
82475 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
82476
82477 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
82478 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
82479
82480 2012-03-16 Roland McGrath <roland@hack.frob.com>
82481
82482 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
82483 * configure.in: Use it for both main tree and add-ons.
82484 * configure: Regenerated.
82485
82486 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
82487
82488 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
82489
82490 2012-03-16 Joseph Myers <joseph@codesourcery.com>
82491
82492 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
82493 in comment.
82494
82495 [BZ #13851]
82496 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
82497 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
82498 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
82499 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
82500 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
82501 infinite argument.
82502 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
82503 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
82504 != 0 for prec == 2.
82505 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
82506 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
82507 * sysdeps/i386/fpu/s_cosl.S: Likewise.
82508 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
82509 * sysdeps/i386/fpu/s_sinl.S: Likewise.
82510 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
82511 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
82512 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
82513 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
82514 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
82515 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
82516 * math/libm-test.inc (cos_test): Add more tests and enable more
82517 tests for long double.
82518 (sin_test): Likewise.
82519 (sincos_test): Likewise.
82520 * sysdeps/i386/fpu/libm-test-ulps: Update.
82521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82522
82523 2012-03-16 David S. Miller <davem@davemloft.net>
82524
82525 * sysdeps/sparc/fpu/math_private.h: New file.
82526
82527 2012-03-15 David S. Miller <davem@davemloft.net>
82528
82529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
82530 file.
82531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
82532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
82533 file.
82534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
82535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
82536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
82537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
82538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
82539 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
82540 sysdep routines.
82541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
82542
82543 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
82544 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
82545
82546 * sysdeps/sparc/sparc-ifunc.h: New file.
82547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
82548 sparc-ifunc.h
82549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
82550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
82551 Likewise.
82552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
82553 Likewise.
82554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
82555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
82556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
82557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
82558 Likewise.
82559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
82560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
82561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
82562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
82563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
82564 Likewise.
82565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
82566 Likewise.
82567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
82568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
82569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
82570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
82571 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
82572 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
82573 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
82574 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
82575 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
82576 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
82577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
82578 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
82579 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
82580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
82581 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
82582 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
82583 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
82584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
82585 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
82586 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
82587 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
82588 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
82589 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
82590 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
82591
82592 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
82593
82594 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
82595 scaling.
82596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82597
82598 2012-03-15 Andreas Jaeger <aj@suse.de>
82599
82600 [BZ #13852]
82601 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
82602 ieee754/flt-32 implementation for sin, cos and sincos.
82603 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
82604 * sysdeps/i386/fpu/s_cosf.S: Likewise.
82605 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
82606 * sysdeps/i386/fpu/s_sinf.S: Likewise.
82607 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
82608 ieee754/flt-32 implementation for tan.
82609
82610 * math/libm-test.inc (cos_test): Enable some large input tests for
82611 float as well
82612 (sin_test): Likewise.
82613 (sincos_test): Likewise.
82614 (tan_test): Add tests for large input.
82615
82616 * sysdeps/i386/fpu/libm-test-ulps: Update.
82617
82618 2012-03-15 Andreas Jaeger <aj@suse.de>
82619
82620 [BZ #13658]
82621 * math/libm-test.inc (cos_test): Add more test cases.
82622 (sin_test): Likewise.
82623 (sincos_test): Likewise.
82624
82625 2012-03-15 Andreas Jaeger <aj@suse.de>
82626
82627 [BZ #13837]
82628 * math/libm-test.inc (cos_test): Add a test case for large input
82629 value.
82630 (sin_test): Likewise.
82631 (sincos_test): Likewise.
82632
82633 2012-03-15 Andreas Jaeger <aj@suse.de>
82634 Joseph Myers <joseph@codesourcery.com>
82635
82636 [BZ #13658]
82637 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
82638 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
82639 * sysdeps/i386/fpu/branred.c: Likewise.
82640 * sysdeps/i386/fpu/dosincos.c: Likewise.
82641 * sysdeps/i386/fpu/mpa.c: Likewise.
82642 * sysdeps/i386/fpu/s_cos.S: Likewise.
82643 * sysdeps/i386/fpu/s_sin.S: Likewise.
82644 * sysdeps/i386/fpu/s_sincos.S: Likewise.
82645 * sysdeps/i386/fpu/sincos32.c: Likewise.
82646
82647 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
82648 Define.
82649 (libc_feupdateenv_53bit): Define.
82650 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
82651 Define.
82652 (libc_feupdateenv_53bit): Define.
82653
82654 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
82655 53 bit (without extend i386 double precision).
82656
82657 * math/libm-test.inc (sincos_test): Add tests for large input.
82658 (sin): Likewise.
82659 (cos): Likewise.
82660
82661 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
82662
82663 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
82664
82665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82666
82667 2012-03-15 David S. Miller <davem@davemloft.net>
82668
82669 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
82670 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
82671 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
82672 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
82673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
82674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
82675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
82676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
82677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
82678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
82679 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
82680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
82681 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
82682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
82683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
82684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
82685 file.
82686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
82687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
82688 file.
82689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
82690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
82691 file.
82692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
82693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
82694 file.
82695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
82696 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
82697 fmin/fmax sysdep routines.
82698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
82699
82700 2012-03-14 David S. Miller <davem@davemloft.net>
82701
82702 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
82703 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
82704 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
82705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
82706 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
82707 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
82708 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
82709 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
82710 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
82711 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
82712 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
82713 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
82714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
82715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
82716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
82717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
82718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
82719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
82720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
82721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
82722 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
82723 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
82724 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
82725 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
82726 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
82727 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
82728 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
82729 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
82730 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
82731 routines.
82732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
82733 file.
82734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
82735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
82736 file.
82737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
82738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
82739 file.
82740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
82741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
82742 file.
82743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
82744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
82745 file.
82746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
82747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
82748 file.
82749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
82750 file.
82751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
82752 file.
82753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
82754 file.
82755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
82756 New file.
82757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
82758 file.
82759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
82760 file.
82761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
82762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
82763 file.
82764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
82765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
82766 file.
82767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
82768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
82769 file.
82770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
82771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
82772 VIS3 routines.
82773
82774 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
82775 New file.
82776
82777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
82778
82779 * sysdeps/sparc/configure.in: New file.
82780 * sysdeps/sparc/configure: Generate.
82781 * configure.in (libc_cv_sparc_as_vis3): Substitute.
82782 * configure: Regenerate.
82783 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
82784 * config.make.in (have-as-vis3): New.
82785 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
82786 available use -Av9d instead of -Av9a.
82787 * sysdeps/sparc/sparc64/Makefile: Likewise.
82788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
82789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
82790 New file.
82791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
82792 file.
82793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
82794 New file.
82795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
82796 file.
82797 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
82798 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
82799 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
82800 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
82801 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
82802
82803 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
82804 fzeros/fnegs to load 0x80000000 into a float register instead of
82805 using the stack.
82806 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
82807
82808 2012-03-14 Joseph Myers <joseph@codesourcery.com>
82809
82810 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82811 bits/syscall.h.
82812 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
82813 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
82814 ($(inst_includedir)/bits/syscall.h): Remove rule.
82815 ($(objpfx)bits/syscall.d): Include instead of
82816 $(objpfx)syscall-list.d.
82817 (generated): Change syscall-list.h and syscall-list.d to
82818 bits/syscall.h and bits/syscall.d.
82819
82820 2012-03-14 Roland McGrath <roland@hack.frob.com>
82821
82822 [BZ #13846]
82823 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
82824
82825 2012-03-14 Joseph Myers <joseph@codesourcery.com>
82826
82827 [BZ #13841]
82828 * math/s_csqrt.c: Include <float.h>.
82829 (__csqrt): Scale large or subnormal inputs.
82830 * math/s_csqrtf.c: Likewise.
82831 * math/s_csqrtl.c: Likewise.
82832 * math/libm-test.inc (csqrt_test): Add more tests.
82833 * sysdeps/i386/fpu/libm-test-ulps: Update.
82834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82835
82836 [BZ #13840]
82837 * math/libm-test.inc (hypot_test): Add more tests.
82838
82839 2012-03-13 David S. Miller <davem@davemloft.net>
82840
82841 [BZ #13840]
82842 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
82843 double-precision for the calculation instead of scaling.
82844
82845 2012-03-13 Joseph Myers <joseph@codesourcery.com>
82846
82847 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
82848 manipulate bits before adding and subtracting TWO52[sx].
82849 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
82850 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
82851 Likewise.
82852 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
82853
82854 2012-03-13 David S. Miller <davem@davemloft.net>
82855
82856 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
82857 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
82858 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
82859 rtld-global-offsets.h
82860 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82861
82862 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
82863 large parameters.
82864
82865 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
82866
82867 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
82868 'err' in the ifdef scope in which it is actually used.
82869
82870 * nss/nss_db/db-init.c: Include string.h
82871
82872 2012-03-12 David S. Miller <davem@davemloft.net>
82873
82874 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
82875 masking out of the most significant byte of random value used.
82876 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82877 Fix coding style in previous change.
82878
82879 * sysdeps/unix/sysv/linux/kernel-features.h
82880 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
82881 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
82882 expression.
82883 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
82884 later.
82885
82886 2012-03-11 David S. Miller <davem@davemloft.net>
82887
82888 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
82889 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
82890 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
82891 for 'resultvar' otherwise things get truncated on 64-bit.
82892
82893 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82894 Fix masking out of the most significant byte of random value used.
82895
82896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
82897
82898 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
82899
82900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82901
82902 2012-03-09 David S. Miller <davem@davemloft.net>
82903
82904 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
82905 variables with appropriate CPP guards.
82906 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
82907 from the frame pointer, not the stack pointer. Correct layout
82908 comments. Fix test on resulting framesize and the management of
82909 the outregs buffer for pltexit. Preserve floating point return
82910 values across _dl_call_pltexit call.
82911 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
82912 framesize and the management of the outregs buffer for pltexit.
82913 Preserve floating point return values across _dl_call_pltexit
82914 call.
82915 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
82916 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
82917 (la_sparc64_gnu_pltexit): New functions.
82918 (print_exit): Fix format string for return register value.
82919
82920 2012-03-10 Joseph Myers <joseph@codesourcery.com>
82921
82922 * sunrpc/Makefile (others): Add rpcgen.
82923 ($(objpfx)rpcgen): Remove special build rule and dependency on
82924 libc.
82925 * sunrpc/rpcgen.c: New file.
82926
82927 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
82928
82929 [BZ #13673]
82930 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
82931 * stdio-common/bug-vfprintf-nargs.c: Likewise.
82932 * sysdeps/i386/crti.S: Likewise.
82933 * sysdeps/i386/crtn.S: Likewise.
82934 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
82935 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
82936 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
82937 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
82938 * sysdeps/sh/crti.S: Likewise.
82939 * sysdeps/sh/crtn.S: Likewise.
82940 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
82941
82942 [BZ #13673]
82943 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
82944 with URL.
82945 * locale/programs/locfile-kw.gperf: Likewise.
82946 * locale/programs/charmap-kw.h: Regenerated.
82947 * locale/programs/locfile-kw.h: Likewise.
82948
82949 [BZ #13673]
82950 * intl/plural.y: Replace FSF snail mail address with URL.
82951 * intl/plural.c: Regenerated.
82952
82953 2012-03-09 Richard Henderson <rth@twiddle.net>
82954
82955 * include/math_private.h: Remove file.
82956 * math/math_private.h: Move file ...
82957 * sysdeps/generic/math_private.h: ... here.
82958
82959 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
82960 * sysdeps/powerpc/fpu/math_private.h: Likewise.
82961 * sysdeps/x86_64/fpu/math_private.h: Likewise.
82962
82963 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
82964 and <math_private.h>.
82965 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
82966 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
82967 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
82968 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
82969 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
82970 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
82971 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
82972 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82973 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
82974 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
82975 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82976 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82977 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
82978 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82979 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
82980 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
82981 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
82982 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
82983 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
82984 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
82985 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82986 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
82987 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
82988 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82989 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
82990 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
82991 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
82992 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82993 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82994 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
82995 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
82996 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82997 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
82998 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
82999 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
83000 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
83001 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
83002 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
83003 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
83004 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83005 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
83006 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
83007 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
83008 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
83009 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
83010 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
83011 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
83012 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
83013 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
83014 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
83015 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
83016 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
83017 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
83018 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
83019 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
83020 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
83021 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83022 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
83023 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
83024 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
83025 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
83026 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
83027 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83028 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
83029 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
83030 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
83031 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
83032 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
83033 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
83034 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
83035 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
83036 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83037 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
83038 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83039 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
83040 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
83041 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
83042 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
83043 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
83044 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
83045 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
83046 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
83047 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
83048 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
83049 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
83050 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
83051 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
83052 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
83053 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
83054 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
83055 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
83056 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
83057 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83058 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
83059 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
83060 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
83061 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83062 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
83063 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
83064 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
83065 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
83066 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
83067 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
83068 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
83069 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
83070 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
83071 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
83072 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
83073 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
83074 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
83075 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
83076 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
83077 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
83078 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
83079 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
83080 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83081 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
83082 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
83083 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
83084 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
83085 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
83086 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
83087 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83088 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
83089 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
83090 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
83091 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
83092 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
83093 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
83094 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
83095 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
83096 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
83097 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
83098 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
83099 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
83100 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
83101 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
83102 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
83103 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
83104 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
83105 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83106 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
83107 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
83108 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
83109 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
83110 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
83111 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
83112 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
83113 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
83114 * sysdeps/ieee754/k_standard.c: Likewise.
83115 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
83116 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
83117 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
83118 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
83119 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
83120 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
83121 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
83122 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
83123 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
83124 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
83125 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
83126 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
83127 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
83128 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
83129 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
83130 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
83131 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
83132 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
83133 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
83134 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
83135 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
83136 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
83137 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
83138 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
83139 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
83140 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
83141 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
83142 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
83143 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
83144 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
83145 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
83146 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
83147 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
83148 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
83149 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
83150 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
83151 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
83152 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
83153 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
83154 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
83155 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
83156 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
83157 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
83158 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
83159 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
83160 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
83161 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
83162 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
83163 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
83164 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
83165 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
83166 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
83167 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
83168 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
83169 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
83170 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
83171 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
83172 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
83173 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
83174 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
83175 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
83176 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
83177 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
83178 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
83179 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
83180 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
83181 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
83182 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
83183 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
83184 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
83185 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
83186 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
83187 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
83188 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
83189 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
83190 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
83191 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
83192 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
83193 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
83194 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
83195 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
83196 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
83197 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
83198 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
83199 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
83200 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
83201 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
83202 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
83203 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
83204 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
83205 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
83206 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
83207 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
83208 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
83209 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
83210 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
83211 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
83212 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
83213 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
83214 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
83215 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
83216 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
83217 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
83218 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
83219 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
83220 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
83221 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
83222 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
83223 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
83224 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
83225 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
83226 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
83227 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
83228 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
83229 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
83230 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
83231 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
83232 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
83233 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
83234 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
83235 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
83236 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
83237 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
83238 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
83239 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
83240 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
83241 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
83242 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
83243 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
83244 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
83245 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
83246 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
83247 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
83248 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
83249 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
83250 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
83251 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
83252 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
83253 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
83254 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
83255 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
83256 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
83257 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
83258 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
83259 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
83260 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
83261 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
83262 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
83263 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
83264 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
83265 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
83266 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
83267 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
83268 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
83269 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
83270 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
83271 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
83272 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
83273 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
83274 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
83275 * sysdeps/ieee754/s_lib_version.c: Likewise.
83276 * sysdeps/ieee754/s_matherr.c: Likewise.
83277 * sysdeps/ieee754/s_signgam.c: Likewise.
83278 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
83279 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
83280 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
83281 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
83282 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
83283 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
83284 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
83285 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
83286 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
83287 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
83288 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
83289 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
83290 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
83291 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
83292 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
83293 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
83294 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
83295 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
83296 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
83297 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
83298 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
83299
83300 2012-03-09 Joseph Myers <joseph@codesourcery.com>
83301
83302 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
83303 * sunrpc/rpc_main.c: Likewise.
83304 * sunrpc/rpc_svcout.c: Likewise.
83305
83306 2012-03-09 David S. Miller <davem@davemloft.net>
83307
83308 * include/math_private.h: New file.
83309
83310 2012-03-09 Joseph Myers <joseph@codesourcery.com>
83311
83312 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
83313 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
83314 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
83315 from <bits/socket_type.h>.
83316 (enum __socket_type): Don't define here.
83317 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
83318 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83319 bits/socket_type.h.
83320
83321 [BZ #13566]
83322 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
83323 checking __USE_GNU.
83324
83325 * Makerules ($(inst_includedir)/%.h): New rule.
83326 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
83327 (install-others): Remove variable setting.
83328 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
83329
83330 2012-03-08 Richard Henderson <rth@twiddle.net>
83331
83332 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
83333 from macro to inline function; merge with the
83334 !__LIBC_INTERNAL_MATH_INLINES version.
83335 (__ieee754_sqrtf): Likewise.
83336
83337 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
83338 to inline function.
83339 (__rintf, __floor, __floorf): Likewise.
83340
83341 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
83342 macro to inline function.
83343 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
83344
83345 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
83346 not <math/math_private.h>.
83347
83348 2012-03-08 David S. Miller <davem@davemloft.net>
83349
83350 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
83351 copyright year.
83352 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
83353
83354 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
83355
83356 * resolv/gai_misc.c (handle_requests): Fix struct timespec
83357 normalization.
83358 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
83359 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
83360
83361 2012-03-08 Ulrich Drepper <drepper@gmail.com>
83362
83363 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
83364 be defined individually, they must be defined as a block. Define
83365 S for printing a string instead of hidint the different by using a
83366 macro for adding the 'l'.
83367 * stdio-common/tst-fphex-wide.c: Adjust.
83368
83369 2012-03-07 Marek Polacek <polacek@redhat.com>
83370
83371 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
83372
83373 2012-03-08 Marek Polacek <polacek@redhat.com>
83374
83375 [BZ #13806]
83376 * stdio-common/Makefile (tests): Add tst-fphex-wide.
83377 * stdio-common/tst-fphex.c: Define a few macros to make the
83378 test reusable. Use them.
83379 * stdio-common/tst-fphex-wide.c: New file.
83380
83381 2012-03-08 Joseph Myers <joseph@codesourcery.com>
83382
83383 [BZ #6911]
83384 * manual/macros.texi (gnusystems): New macro.
83385 (nongnusystems): Likewise.
83386 (gnulinuxhurdsystems): Likewise.
83387 (gnuhurdsystems): Likewise..
83388 (gnulinuxsystems): Likewise.
83389 * manual/charset.texi: Use new macros or @theglibc{} to refer to
83390 variants of the GNU system, not "GNU system".
83391 * manual/conf.texi: Likewise.
83392 * manual/errno.texi: Likewise. Update example of errno macro
83393 expansion.
83394 * manual/filesys.texi: Likewise.
83395 (getumask): Document as specific to GNU/Hurd.
83396 * manual/install.texi: Likewise. Reword some references to
83397 GNU/Linux.
83398 * manual/intro.texi: Likewise.
83399 * manual/io.texi: Likewise.
83400 (File Name Portability): Detail which constraints are inapplicable
83401 to all GNU systems and which are only inapplicable to GNU/Hurd.
83402 * manual/job.texi: Likewise.
83403 * manual/llio.texi: Likewise.
83404 (O_NOCTTY): Document as present on GNU/Linux.
83405 * manual/maint.texi: Likewise.
83406 * manual/memory.texi: Likewise.
83407 * manual/pattern.texi: Likewise.
83408 * manual/pipe.texi: Likewise.
83409 * manual/process.texi: Likewise.
83410 * manual/resource.texi: Likewise.
83411 (RUSAGE_CHILDREN): Remove statement about specifying a particular
83412 child on GNU/Hurd.
83413 * manual/setjmp.texi: Likewise.
83414 * manual/signal.texi: Likewise.
83415 * manual/startup.texi: Likewise.
83416 * manual/stdio.texi: Likewise.
83417 * manual/terminal.texi: Likewise.
83418 (ONLCR): Document as POSIX.
83419 (OXTABS): Document availability on GNU/Linux as XTABS.
83420 (ONOEOT): Document availability separately from other bits.
83421 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
83422 * manual/time.texi: Likewise.
83423 * manual/users.texi: Likewise.
83424 * INSTALL: Regenerated.
83425 * sysdeps/gnu/errlist.c: Regenerated.
83426
83427 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
83428 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
83429 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
83430 puts.
83431 * configure: Regenerated.
83432
83433 2012-03-07 Joseph Myers <joseph@codesourcery.com>
83434
83435 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
83436 default includes instead of AC_HEADER_CHECK.
83437 * sysdeps/i386/configure: Regenerated.
83438
83439 [BZ #10716]
83440 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
83441 * math/s_cacoshf.c (__cacoshf): Likewise.
83442 * math/s_cacoshl.c (__cacoshl): Likewise.
83443 * math/s_casinh.c (__casinh): Set signs of result from argument.
83444 * math/s_casinhf.c (__casinhf): Likewise.
83445 * math/s_casinhl.c (__casinhl): Likewise.
83446 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
83447 (casinh_test): Add more tests.
83448 * sysdeps/i386/fpu/libm-test-ulps: Update.
83449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83450
83451 2012-03-07 Ulrich Drepper <drepper@gmail.com>
83452
83453 * po/zh_TW.po: Update from translation team.
83454
83455 * login/Makefile (distribute): Remove variable.
83456 * catgets/Makefile: Likewise.
83457 * mach/Makefile: Likewise.
83458 * malloc/Makefile: Likewise.
83459 * misc/Makefile: Likewise.
83460 * iconv/Makefile: Likewise.
83461 * nscd/Makefile: Likewise.
83462 * hurd/Makefile: Likewise.
83463 * manual/Makefile: Likewise.
83464 * locale/Makefile: Likewise.
83465 * intl/Makefile: Likewise.
83466 * conform/Makefile: Likewise.
83467 * nss/Makefile: Likewise.
83468 * time/Makefile: Likewise.
83469 * soft-fp/Makefile: Likewise.
83470 * dirent/Makefile: Likewise.
83471 * gmon/Makefile: Likewise.
83472 * po/Makefile: Likewise.
83473 * rt/Makefile: Likewise.
83474 * socket/Makefile: Likewise.
83475 * math/Makefile: Likewise.
83476 * signal/Makefile: Likewise.
83477 * debug/Makefile: Likewise.
83478 * elf/Makefile: Likewise.
83479 * timezone/Makefile: Likewise.
83480 * stdlib/Makefile: Likewise.
83481 * iconvdata/Makefile: Likewise.
83482 * sunrpc/Makefile: Likewise.
83483 * io/Makefile: Likewise.
83484 * argp/Makefile: Likewise.
83485 * inet/Makefile: Likewise.
83486 * hesiod/Makefile: Likewise.
83487 * grp/Makefile: Likewise.
83488 * csu/Makefile: Likewise.
83489 * wctype/Makefile: Likewise.
83490 * crypt/Makefile: Likewise.
83491 * libio/Makefile: Likewise.
83492 * string/Makefile: Likewise.
83493 * nis/Makefile: Likewise.
83494 * resolv/Makefile: Likewise.
83495 * stdio-common/Makefile: Likewise.
83496 * wcsmbs/Makefile: Likewise.
83497 * dlfcn/Makefile: Likewise.
83498 * posix/Makefile: Likewise.
83499
83500 [BZ #6959]
83501 * timezone/Makefile: Don't install timezone files, just the programs
83502 and scripts.
83503
83504 2012-03-06 Ulrich Drepper <drepper@gmail.com>
83505
83506 * nss/databases.def: Add missing gshadow entry.
83507
83508 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
83509
83510 2012-03-06 Marek Polacek <polacek@redhat.com>
83511
83512 [BZ #13726]
83513 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
83514 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
83515 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
83516 * stdio-common/tst-long-dbl-fphex.c: New file.
83517
83518 2012-03-06 David S. Miller <davem@davemloft.net>
83519
83520 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
83521 (set_obp_int): New function.
83522 (get_obp_int): New function.
83523 (__get_clockfreq_via_dev_openprom): Likewise.
83524 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
83525 Avoid unused variable warnings on 'val' and use builtin_expect.
83526 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
83527 __builtin_expect.
83528 (INLINE_CLONE_SYSCALL): Likewise.
83529
83530 2012-03-05 David S. Miller <davem@davemloft.net>
83531
83532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83533
83534 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
83535
83536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83537
83538 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
83539 only for |x| >= 40.
83540 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
83541
83542 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
83543
83544 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
83545 Replace gettimeofday with __vdso_gettimeofday.
83546
83547 * sysdeps/unix/sysv/linux/x86_64/init-first.c
83548 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
83549 __vdso_clock_gettime and __vdso_getcpu.
83550
83551 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
83552 time with __vdso_time.
83553
83554 2012-03-05 Joseph Myers <joseph@codesourcery.com>
83555
83556 * manual/lang.texi (size_t): Note types to which size_t may be
83557 equivalent with the GNU C Library, but do not describe when
83558 differences between them are significant.
83559
83560 2012-03-05 Andreas Jaeger <aj@suse.de>
83561
83562 * sysdeps/i386/fpu/libm-test-ulps: Update.
83563
83564 2012-03-05 Joseph Myers <joseph@codesourcery.com>
83565
83566 [BZ #3976]
83567 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
83568 (__ieee754_pow): Save and restore rounding mode and use
83569 round-to-nearest for main computations.
83570 * math/libm-test.inc (pow_test_tonearest): New function.
83571 (pow_test_towardzero): Likewise.
83572 (pow_test_downward): Likewise.
83573 (pow_test_upward): Likewise.
83574 (main): Call the new functions.
83575 * sysdeps/i386/fpu/libm-test-ulps: Update.
83576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83577
83578 [BZ #3976]
83579 * math/libm-test.inc (cosh_test_tonearest): New function.
83580 (cosh_test_towardzero): Likewise.
83581 (cosh_test_downward): Likewise.
83582 (cosh_test_upward): Likewise.
83583 (sinh_test_tonearest): Likewise.
83584 (sinh_test_towardzero): Likewise.
83585 (sinh_test_downward): Likewise.
83586 (sinh_test_upward): Likewise.
83587 (main): Call the new functions.
83588 * sysdeps/i386/fpu/libm-test-ulps: Update.
83589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83590
83591 2012-03-05 Tom de Vries <tom@codesourcery.com>
83592
83593 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
83594 default stack guard is set in last bytes.
83595 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
83596
83597 2012-03-05 Kees Cook <keescook@chromium.org>
83598
83599 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
83600
83601 [BZ #13656]
83602 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
83603 possibly allocate from heap instead of stack.
83604 * stdio-common/bug-vfprintf-nargs.c: New file.
83605 * stdio-common/Makefile (tests): Add nargs overflow test.
83606
83607 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
83608
83609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83610
83611 2012-03-03 Marek Polacek <polacek@redhat.com>
83612
83613 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
83614 * math/math_private.h: Likewise.
83615 * stdlib/tst-strtod.c: Likewise.
83616 * sysdeps/i386/i486/bits/atomic.h: Likewise.
83617 * sysdeps/x86_64/bits/atomic.h: Likewise.
83618
83619 2012-03-02 David S. Miller <davem@davemloft.net>
83620
83621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
83622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
83623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
83624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
83625 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
83626 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
83627 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
83628 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
83629
83630 2012-03-02 Roland McGrath <roland@hack.frob.com>
83631
83632 [BZ #13792]
83633 * manual/examples/README: New file, says the example source files
83634 can be used under GPL>=2.
83635 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
83636 line containing just "*/".
83637 * manual/examples/add.c: Add copyright header (GPL>=2).
83638 * manual/examples/argp-ex1.c: Likewise.
83639 * manual/examples/argp-ex2.c: Likewise.
83640 * manual/examples/argp-ex3.c: Likewise.
83641 * manual/examples/argp-ex4.c: Likewise.
83642 * manual/examples/atexit.c: Likewise.
83643 * manual/examples/db.c: Likewise.
83644 * manual/examples/dir.c: Likewise.
83645 * manual/examples/dir2.c: Likewise.
83646 * manual/examples/execinfo.c: Likewise.
83647 * manual/examples/filecli.c: Likewise.
83648 * manual/examples/filesrv.c: Likewise.
83649 * manual/examples/fmtmsgexpl.c: Likewise.
83650 * manual/examples/genpass.c: Likewise.
83651 * manual/examples/inetcli.c: Likewise.
83652 * manual/examples/inetsrv.c: Likewise.
83653 * manual/examples/isockad.c: Likewise.
83654 * manual/examples/longopt.c: Likewise.
83655 * manual/examples/memopen.c: Likewise.
83656 * manual/examples/memstrm.c: Likewise.
83657 * manual/examples/mkfsock.c: Likewise.
83658 * manual/examples/mkisock.c: Likewise.
83659 * manual/examples/mygetpass.c: Likewise.
83660 * manual/examples/pipe.c: Likewise.
83661 * manual/examples/popen.c: Likewise.
83662 * manual/examples/rprintf.c: Likewise.
83663 * manual/examples/search.c: Likewise.
83664 * manual/examples/select.c: Likewise.
83665 * manual/examples/setjmp.c: Likewise.
83666 * manual/examples/sigh1.c: Likewise.
83667 * manual/examples/sigusr.c: Likewise.
83668 * manual/examples/stpcpy.c: Likewise.
83669 * manual/examples/strdupa.c: Likewise.
83670 * manual/examples/strftim.c: Likewise.
83671 * manual/examples/strncat.c: Likewise.
83672 * manual/examples/subopt.c: Likewise.
83673 * manual/examples/swapcontext.c: Likewise.
83674 * manual/examples/termios.c: Likewise.
83675 * manual/examples/testopt.c: Likewise.
83676 * manual/examples/testpass.c: Likewise.
83677 * manual/examples/timeval_subtract.c: Likewise.
83678
83679 [BZ #13792]
83680 * manual/time.texi (Elapsed Time): Move timeval_subtract example
83681 function to ...
83682 * manual/timeval_subtract.c.texi: ... here, new file.
83683
83684 2012-03-02 David S. Miller <davem@davemloft.net>
83685
83686 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
83687
83688 2012-03-02 Joseph Myers <joseph@codesourcery.com>
83689
83690 [BZ #3976]
83691 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
83692 (__sin): Save and restore rounding mode and use round-to-nearest
83693 for all computations.
83694 (__cos): Save and restore rounding mode and use round-to-nearest
83695 for all computations.
83696 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
83697 <fenv.h>.
83698 (tan): Save and restore rounding mode and use round-to-nearest for
83699 all computations.
83700 * math/libm-test.inc (cos_test_tonearest): New function.
83701 (cos_test_towardzero): Likewise.
83702 (cos_test_downward): Likewise.
83703 (cos_test_upward): Likewise.
83704 (sin_test_tonearest): Likewise.
83705 (sin_test_towardzero): Likewise.
83706 (sin_test_downward): Likewise.
83707 (sin_test_upward): Likewise.
83708 (tan_test_tonearest): Likewise.
83709 (tan_test_towardzero): Likewise.
83710 (tan_test_downward): Likewise.
83711 (tan_test_upward): Likewise.
83712 (main): Call the new functions.
83713 * sysdeps/i386/fpu/libm-test-ulps: Update.
83714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83715
83716 [BZ #10135]
83717 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
83718 small n, then large n, before computing and testing k+n.
83719 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
83720 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
83721 Likewise.
83722 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
83723 Likewise.
83724 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
83725 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
83726 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
83727 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
83728 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
83729 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
83730 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
83731 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
83732 * math/libm-test.inc (scalbn_test): Add more tests.
83733 (scalbln_test): Likewise.
83734
83735 * manual/filesys.texi (mode_t): Describe constraints on size and
83736 signedness, not exact equivalence to a particular type.
83737 (ino_t): Likewise.
83738 (ino64_t): Likewise.
83739 (dev_t): Likewise.
83740 (nlink_t): Likewise.
83741 (blkcnt_t): Likewise.
83742 (blkcnt64_t): Likewise.
83743 * manual/llio.texi (off_t): Likewise.
83744
83745 [BZ #3976]
83746 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
83747 (__ieee754_exp): Save and restore rounding mode and use
83748 round-to-nearest for all computations.
83749 * math/libm-test.inc (exp_test_tonearest): New function.
83750 (exp_test_towardzero): Likewise.
83751 (exp_test_downward): Likewise.
83752 (exp_test_upward): Likewise.
83753 (main): Call the new functions.
83754 * sysdeps/i386/fpu/libm-test-ulps: Update.
83755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83756
83757 2012-03-01 Chris Demetriou <cgd@google.com>
83758
83759 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
83760 have predictable order.
83761
83762 2012-03-01 David S. Miller <davem@davemloft.net>
83763
83764 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
83765
83766 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
83767 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
83768 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
83769 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
83770
83771 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
83772 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
83773 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
83774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
83775 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
83776 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
83777 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
83778 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
83779 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
83780
83781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83782
83783 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
83784 * sysdeps/sparc/fpu/libm-test-ulps: to here.
83785 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
83786
83787 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
83788 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
83789 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
83790 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
83791 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
83792 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
83793 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
83794 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
83795 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
83796 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
83797 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
83798 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
83799 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
83800 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
83801 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
83802 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83803 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
83804 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
83805 * sysdeps/sparc/elf/configure: Regenerated.
83806
83807 2012-03-01 Joseph Myers <joseph@codesourcery.com>
83808
83809 * configure.in (AS, LD): Require binutils 2.20 or later.
83810 * configure: Regenerated.
83811 * manual/install.texi (Tools for Compilation): Give binutils 2.20
83812 as required minimum version.
83813 * INSTALL: Regenerated.
83814
83815 [BZ #2541]
83816 [BZ #4108]
83817 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
83818 before squaring exponent.
83819 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
83820 bottom long double and 27 bits of top long double before squaring
83821 exponent.
83822 * math/libm-test.inc (erfc_test): Add more tests.
83823 * sysdeps/i386/fpu/libm-test-ulps: Update.
83824 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
83825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83826
83827 2012-03-01 Kai Tietz <ktietz@redhat.com>
83828
83829 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
83830 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
83831 containing bit-fields.
83832 * soft-fp/extended.h (_FP_UNION_E): Likewise.
83833 * soft-fp/single.h (_FP_UNION_S): Likewise.
83834 * soft-fp/double.h (_FP_UNION_D): Likewise.
83835
83836 2012-02-29 Joseph Myers <joseph@codesourcery.com>
83837
83838 [BZ #13786]
83839 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
83840 not include ../strcmp.S.
83841 [USE_AS_STRNCASECMP_L]: Likewise.
83842 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
83843 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
83844 * sysdeps/i386/i686/multiarch/strncase_l-c.c
83845 (__strncasecmp_l_ia32): Define as alias to
83846 __strncasecmp_l_nonascii.
83847
83848 [BZ #5794]
83849 * math/libm-test.inc (expm1_test): Add test for bug 5794.
83850 * sysdeps/i386/fpu/libm-test-ulps: Update.
83851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83852
83853 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
83854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83855
83856 2012-02-29 Jeff Law <law@redhat.com>
83857
83858 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
83859 out of bounds read.
83860
83861 2012-02-29 Marek Polacek <polacek@redhat.com>
83862
83863 [BZ #13706]
83864 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
83865 * elf/Makefile: Add rules to run tst-unused-dep.out.
83866
83867 2012-02-28 David S. Miller <davem@davemloft.net>
83868
83869 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
83870 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
83871 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
83872 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
83873 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
83874 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
83875
83876 2012-02-29 Joseph Myers <joseph@codesourcery.com>
83877
83878 * math/libm-test.inc (llround_test): Move one test from
83879 lround_test. Use TEST_f_L in moved test.
83880 (lround_test): Move misplaced test to llround_test. Add testcase
83881 from bug 2561.
83882
83883 2012-02-28 Ulrich Drepper <drepper@gmail.com>
83884
83885 * sysdeps/x86_64/fpu/e_expf.S: New file.
83886 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
83887
83888 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
83889
83890 [BZ #13637]
83891 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
83892 of remain_len that may cause incomplete multi-byte character and
83893 false match.
83894 * posix/bug-regex33.c: New file.
83895 * posix/Makefile (tests): Add bug-regex33.
83896
83897 2012-02-28 Joseph Myers <joseph@codesourcery.com>
83898
83899 * manual/macros.texi: New file.
83900 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
83901 * manual/libc.texinfo: Include macros.texi.
83902 * manual/creatute.texi: Likewise.
83903 * manual/install.texi: Likewise.
83904 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
83905 @glibcadj{} in references to the GNU C Library.
83906 * manual/charset.texi: Likewise.
83907 * manual/conf.texi: Likewise.
83908 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
83909 when not using those macros.
83910 * manual/creature.texi: Likewise.
83911 * manual/crypt.texi: Likewise.
83912 * manual/errno.texi: Likewise.
83913 * manual/filesys.texi: Likewise.
83914 * manual/header.texi: Likewise.
83915 * manual/install.texi: Likewise.
83916 * manual/intro.texi: Likewise.
83917 * manual/io.texi: Likewise.
83918 * manual/job.texi: Likewise.
83919 * manual/lang.texi: Likewise.
83920 * manual/libc.texiinfo: Likewise.
83921 * manual/llio.texi: Likewise.
83922 * manual/locale.texi: Likewise.
83923 * manual/maint.texi: Likewise.
83924 * manual/math.texi: Likewise.
83925 * manual/memory.texi: Likewise.
83926 * manual/message.texi: Likewise.
83927 * manual/nss.texi: Likewise.
83928 * manual/pattern.texi: Likewise.
83929 * manual/process.texi: Likewise.
83930 * manual/resource.texi: Likewise.
83931 * manual/search.texi: Likewise.
83932 * manual/setjmp.texi: Likewise.
83933 * manual/signal.texi: Likewise.
83934 * manual/socket.texi: Likewise.
83935 * manual/startup.texi: Likewise.
83936 * manual/stdio.texi: Likewise.
83937 * manual/string.texi: Likewise.
83938 * manual/sysinfo.texi: Likewise.
83939 * manual/syslog.texi: Likewise.
83940 * manual/terminal.texi: Likewise.
83941 * manual/time.texi: Likewise.
83942 * manual/users.texi: Likewise.
83943 * INSTALL: Regenerated.
83944 * NOTES: Regenerated.
83945 * sysdeps/gnu/errlist.c: Regenerated.
83946
83947 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
83948
83949 * include/dirent.h: Include <dirstream.h> before
83950 <dirent/dirent.h>.
83951
83952 2012-02-28 David S. Miller <davem@davemloft.net>
83953
83954 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
83955 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
83956 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
83957 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
83958
83959 2012-02-27 David S. Miller <davem@davemloft.net>
83960
83961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
83962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
83963 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
83964 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
83965
83966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
83967 frame pointer instead of stack pointer relative arg slot.
83968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
83969 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
83970 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
83971
83972 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
83973
83974 [BZ #3992]
83975 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
83976
83977 2012-02-27 David S. Miller <davem@davemloft.net>
83978
83979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
83980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
83981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
83982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
83983 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
83984 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
83985 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
83986 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
83987
83988 2012-02-27 Joseph Myers <joseph@codesourcery.com>
83989
83990 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
83991 later. Allow versions 5-9.
83992 * configure: Regenerated.
83993 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
83994 required minimum version and 4.6 as recommended version. Do not
83995 mention bugs in GCC 2.7 and 2.8.
83996 * INSTALL: Regenerated.
83997
83998 2012-02-27 David S. Miller <davem@davemloft.net>
83999
84000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
84001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
84002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
84003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
84004 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
84005 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
84006 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
84007 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
84008
84009 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
84010 manipulate bits before adding and subtracting TWO112[sx].
84011 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
84012
84013 2012-02-27 Roland McGrath <roland@hack.frob.com>
84014
84015 [BZ #13775]
84016 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
84017 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
84018 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
84019 being in POSIX, because they are in 1003.1-2008.
84020
84021 * rt/tst-aio.c: Include <fcntl.h>.
84022 * rt/tst-aio7.c: Likewise.
84023 * rt/tst-aio64.c: Likewise.
84024
84025 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
84026
84027 2012-02-27 Joseph Myers <joseph@codesourcery.com>
84028
84029 * manual/install.texi (--with-headers): Describe headers as
84030 interface headers, not private headers.
84031 (Specific advice for GNU/Linux systems): Describe use of headers
84032 from "make headers_install", not private headers from older
84033 kernels.
84034 * INSTALL: Regenerated.
84035 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
84036 Change to 2.6.19.
84037 * sysdeps/unix/sysv/linux/configure: Regenerated.
84038
84039 * manual/llio.texi (fclean): Remove documentation.
84040
84041 * manual/Makefile (libc-texi-generated): New variable. Include
84042 version.texi.
84043 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
84044 $(libc-texi-generated), not duplicated list of files.
84045 (version.texi, stamp-version): New rules.
84046 (realclean): Remove $(libc-texi-generated), not individual files
84047 from that list. Do not remove dir-add.texinfo.
84048 * manual/libc.texinfo: Comment out uses of edition numbers and
84049 references to printed manual. Remove last-updated dates.
84050 (EDITION): Comment out.
84051 (ISBN): Likewise.
84052 (VERSION, UPDATED): Remove.
84053 (version.texi): Include.
84054
84055 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
84056
84057 * sysdeps/posix/spawni.c: Include <signal.h>.
84058 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
84059 * sysdeps/pthread/aio_fsync.c: Likewise.
84060
84061 2012-02-26 Ulrich Drepper <drepper@gmail.com>
84062
84063 * conform/Makefile (tests): Run only when not cross-compiling and
84064 when fast-check is not defined.
84065
84066 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
84067 * conform/data/limits.h-data: Fixes for POSIX2008.
84068 * conform/run-conformtest.sh: Run all tests.
84069 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
84070 headers.
84071 * include/bits/dlfcn.h: Likewise.
84072 * include/langinfo.h: Likewise.
84073 * include/monetary.h: Likewise.
84074 * include/sys/poll.h: Likewise.
84075
84076 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
84077 for __USE_GNU.
84078 * posix/spawn.h: Define __need_sigset_t.
84079 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
84080 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
84081 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
84082 to get sigevent_t only.
84083 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
84084 only for __USE_GNU.
84085 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84086 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
84087 process_vm_writev only for __USE_GNU.
84088 * termios/termios.h: Declare tcgetsid also for POSIX2008.
84089
84090 * conform/Makefile: For now ignore errors from run-conformtest.
84091 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
84092 POSIX to avoid namespace pollution. Don't prepend headers.
84093 * conform/data/aio.h-data: Fixes for POSIX testing.
84094 * conform/data/fcntl.h-data: Likewise.
84095 * conform/data/glob.h-data: Likewise.
84096 * conform/data/grp.h-data: Likewise.
84097 * conform/data/pthread.h-data: Likewise.
84098 * conform/data/pwd.h-data: Likewise.
84099 * conform/data/signal.h-data: Likewise.
84100 * conform/data/spawn.h-data: Likewise.
84101 * conform/data/stdio.h-data: Likewise.
84102 * conform/data/stdlib.h-data: Likewise.
84103 * conform/data/stropts.h-data: Likewise.
84104 * conform/data/sys/mman.h-data: Likewise.
84105 * conform/data/sys/stat.h-data: Likewise.
84106 * conform/data/sys/types.h-data: Likewise.
84107 * conform/data/sys/wait.h-data: Likewise.
84108 * conform/data/time.h-data: Likewise.
84109 * conform/data/unistd.h-data: Likewise.
84110 * conform/data/utime.h-data: Likewise.
84111
84112 * io/sys/stat.h: fchmod was always in POSIX.
84113 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
84114 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
84115 * rt/aio.h: Define __need_timespec before including <time.h>.
84116 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
84117 struct. Add forward declaration of pthread_attr_t and use it in
84118 sigevent.
84119 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
84120 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
84121 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
84122 always remove CLK_TCK definition.
84123
84124 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
84125
84126 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
84127
84128 2012-02-25 Ulrich Drepper <drepper@gmail.com>
84129
84130 * conform/run-conformtest.sh: New file.
84131 * conform/Makefile: Run run-conformtest for tests.
84132 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
84133 support.
84134
84135 * conform/data/uchar.h-data: New file.
84136 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
84137 * conform/data/arpa/inet.h-data: Likewise.
84138 * conform/data/assert.h-data: Likewise.
84139 * conform/data/complex.h-data: Likewise.
84140 * conform/data/cpio.h-data: Likewise.
84141 * conform/data/ctype.h-data: Likewise.
84142 * conform/data/dirent.h-data: Likewise.
84143 * conform/data/dlfcn.h-data: Likewise.
84144 * conform/data/errno.h-data: Likewise.
84145 * conform/data/fcntl.h-data: Likewise.
84146 * conform/data/float.h-data: Likewise.
84147 * conform/data/fmtmsg.h-data: Likewise.
84148 * conform/data/fnmatch.h-data: Likewise.
84149 * conform/data/ftw.h-data: Likewise.
84150 * conform/data/glob.h-data: Likewise.
84151 * conform/data/grp.h-data: Likewise.
84152 * conform/data/iconv.h-data: Likewise.
84153 * conform/data/inttypes.h-data: Likewise.
84154 * conform/data/langinfo.h-data: Likewise.
84155 * conform/data/libgen.h-data: Likewise.
84156 * conform/data/limits.h-data: Likewise.
84157 * conform/data/locale.h-data: Likewise.
84158 * conform/data/math.h-data: Likewise.
84159 * conform/data/monetary.h-data: Likewise.
84160 * conform/data/mqueue.h-data: Likewise.
84161 * conform/data/ndbm.h-data: Likewise.
84162 * conform/data/net/if.h-data: Likewise.
84163 * conform/data/netdb.h-data: Likewise.
84164 * conform/data/netinet/in.h-data: Likewise.
84165 * conform/data/nl_types.h-data: Likewise.
84166 * conform/data/poll.h-data: Likewise.
84167 * conform/data/pthread.h-data: Likewise.
84168 * conform/data/pwd.h-data: Likewise.
84169 * conform/data/regex.h-data: Likewise.
84170 * conform/data/sched.h-data: Likewise.
84171 * conform/data/search.h-data: Likewise.
84172 * conform/data/semaphore.h-data: Likewise.
84173 * conform/data/setjmp.h-data: Likewise.
84174 * conform/data/signal.h-data: Likewise.
84175 * conform/data/spawn.h-data: Likewise.
84176 * conform/data/stdarg.h-data: Likewise.
84177 * conform/data/stdio.h-data: Likewise.
84178 * conform/data/stdlib.h-data: Likewise.
84179 * conform/data/string.h-data: Likewise.
84180 * conform/data/strings.h-data: Likewise.
84181 * conform/data/stropts.h-data: Likewise.
84182 * conform/data/sys/ipc.h-data: Likewise.
84183 * conform/data/sys/mman.h-data: Likewise.
84184 * conform/data/sys/msg.h-data: Likewise.
84185 * conform/data/sys/resource.h-data: Likewise.
84186 * conform/data/sys/select.h-data: Likewise.
84187 * conform/data/sys/sem.h-data: Likewise.
84188 * conform/data/sys/shm.h-data: Likewise.
84189 * conform/data/sys/socket.h-data: Likewise.
84190 * conform/data/sys/stat.h-data: Likewise.
84191 * conform/data/sys/statvfs.h-data: Likewise.
84192 * conform/data/sys/time.h-data: Likewise.
84193 * conform/data/sys/timeb.h-data: Likewise.
84194 * conform/data/sys/times.h-data: Likewise.
84195 * conform/data/sys/types.h-data: Likewise.
84196 * conform/data/sys/uio.h-data: Likewise.
84197 * conform/data/sys/un.h-data: Likewise.
84198 * conform/data/sys/utsname.h-data: Likewise.
84199 * conform/data/sys/wait.h-data: Likewise.
84200 * conform/data/syslog.h-data: Likewise.
84201 * conform/data/tar.h-data: Likewise.
84202 * conform/data/termios.h-data: Likewise.
84203 * conform/data/utime.h-data: Likewise.
84204 * conform/data/utmpx.h-data: Likewise.
84205 * conform/data/varargs.h-data: Likewise.
84206 * conform/data/wchar.h-data: Likewise.
84207 * conform/data/wctype.h-data: Likewise.
84208 * conform/data/wordexp.h-data: Likewise.
84209
84210 * include/stropts.h: New file.
84211 * include/uchar.h: New file.
84212 * include/aio.h: Changes to allow conformtest.pl to use the headers.
84213 * include/assert.h: Likewise.
84214 * include/ctype.h: Likewise.
84215 * include/dirent.h: Likewise.
84216 * include/dlfcn.h: Likewise.
84217 * include/fcntl.h: Likewise.
84218 * include/fnmatch.h: Likewise.
84219 * include/glob.h: Likewise.
84220 * include/grp.h: Likewise.
84221 * include/libio.h: Likewise.
84222 * include/locale.h: Likewise.
84223 * include/math.h: Likewise.
84224 * include/net/if.h: Likewise.
84225 * include/netdb.h: Likewise.
84226 * include/netinet/in.h: Likewise.
84227 * include/pthread.h: Likewise.
84228 * include/pwd.h: Likewise.
84229 * include/regex.h: Likewise.
84230 * include/sched.h: Likewise.
84231 * include/search.h: Likewise.
84232 * include/setjmp.h: Likewise.
84233 * include/signal.h: Likewise.
84234 * include/stdio.h: Likewise.
84235 * include/stdlib.h: Likewise.
84236 * include/string.h: Likewise.
84237 * include/sys/cdefs.h: Likewise.
84238 * include/sys/mman.h: Likewise.
84239 * include/sys/msg.h: Likewise.
84240 * include/sys/resource.h: Likewise.
84241 * include/sys/select.h: Likewise.
84242 * include/sys/socket.h: Likewise.
84243 * include/sys/stat.h: Likewise.
84244 * include/sys/statvfs.h: Likewise.
84245 * include/sys/time.h: Likewise.
84246 * include/sys/times.h: Likewise.
84247 * include/sys/uio.h: Likewise.
84248 * include/sys/utsname.h: Likewise.
84249 * include/sys/wait.h: Likewise.
84250 * include/termios.h: Likewise.
84251 * include/time.h: Likewise.
84252 * include/ulimit.h: Likewise.
84253 * include/unistd.h: Likewise.
84254 * include/utime.h: Likewise.
84255 * include/wchar.h: Likewise.
84256 * include/wctype.h: Likewise.
84257 * include/wordexp.h: Likewise.
84258
84259 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
84260
84261 * time/time.h: TIME_UTC must be a macro.
84262 Make timespec_get available for ISO C11 only as well.
84263
84264 2012-02-24 Ulrich Drepper <drepper@gmail.com>
84265
84266 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
84267 Reported by Peng Haitao <penght@cn.fujitsu.com>.
84268
84269 2012-02-24 Joseph Myers <joseph@codesourcery.com>
84270
84271 * configure.in: Use -o not -a in test for unsupported multi-arch.
84272
84273 2012-02-24 Joseph Myers <joseph@codesourcery.com>
84274
84275 * manual/texinfo.tex: Update to version 2012-01-19.16.
84276
84277 2012-02-24 Joseph Myers <joseph@codesourcery.com>
84278
84279 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
84280
84281 2012-02-24 Roland McGrath <roland@hack.frob.com>
84282
84283 [BZ #13738]
84284 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
84285 * manual/fdl-1.3.texi: New file.
84286 * manual/fdl-1.1.texi: File removed.
84287
84288 [BZ #13738]
84289 * manual/libc.texinfo (FDL_VERSION): New @set.
84290 Use it for mention of FDL in cover text.
84291 (Documentation License): Use it in @include file name.
84292
84293 2012-02-22 Joseph Myers <joseph@codesourcery.com>
84294 Roland McGrath <roland@hack.frob.com>
84295
84296 [BZ #5461]
84297 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
84298 (not LONG_LONG_MAX and LONG_LONG_MIN.
84299 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
84300 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
84301 name.
84302 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
84303
84304 2012-02-22 Joseph Myers <joseph@codesourcery.com>
84305
84306 [BZ #2547]
84307 [BZ #11365]
84308 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
84309 manipulate bits before adding and subtracting TWO23[sx].
84310 * math/libm-test.inc (nearbyint_test): Add more tests.
84311
84312 2012-02-22 Joseph Myers <joseph@codesourcery.com>
84313
84314 [BZ #2548]
84315 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
84316 bits before adding and subtracting TWO23[sx].
84317 * math/libm-test.inc (rint_test): Add more tests.
84318 (rint_test_tonearest): Likewise.
84319 (rint_test_towardzero): Likewise.
84320 (rint_test_downward): Likewise.
84321 (rint_test_upward: Likewise.
84322
84323 2012-02-22 Joseph Myers <joseph@codesourcery.com>
84324
84325 [BZ #10110]
84326 * include/stdc-predef.h: New file. Extracted from features.h.
84327 * include/features.h: Include stdc-predef.h.
84328 * Makefile (headers): Add stdc-predef.h.
84329 * CONFORMANCE (Compiler limitations): Update.
84330
84331 2012-02-22 Joseph Myers <joseph@codesourcery.com>
84332
84333 * manual/libc.texinfo (VERSION, UPDATED): Revert.
84334
84335 2012-02-21 David S. Miller <davem@davemloft.net>
84336
84337 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
84338 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
84339
84340 2012-02-20 David S. Miller <davem@davemloft.net>
84341
84342 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
84343 using a normal save/restore sequence, rather than allocating a
84344 dummy stack frame just to store a frame pointer and restore.
84345 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
84346
84347 2012-02-21 Joseph Myers <joseph@codesourcery.com>
84348
84349 * manual/install.texi: Fix stray word in line-wrapped comment.
84350
84351 2012-02-20 David S. Miller <davem@davemloft.net>
84352
84353 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
84354 both binutils and gcc support GOTDATA.
84355
84356 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
84357 "rd %pc" in the PIC register setup sequences.
84358
84359 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
84360 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
84361 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
84362 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
84363 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
84364 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
84365 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
84366 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
84367 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
84368 (SYSCALL_ERROR_HANDLER): Likewise.
84369 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
84370 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
84371 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
84372 (SYSCALL_ERROR_HANDLER): Likewise.
84373
84374 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
84375 (HAVE_GCC_GOTDATA): New.
84376 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
84377 relocation support in both binutils and gcc.
84378 * sysdeps/sparc/elf/configure: Regenerate.
84379
84380 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
84381 * sysdeps/sparc/sparc32/elf/configure: Delete.
84382 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
84383 * sysdeps/sparc/sparc64/elf/configure: Delete.
84384 * sysdeps/sparc/elf/configure.in: New file.
84385 * sysdeps/sparc/elf/configure: Generate.
84386
84387 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
84388 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
84389 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
84390 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
84391 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
84392
84393 2012-02-21 Joseph Myers <joseph@codesourcery.com>
84394
84395 * manual/install.texi: Do not mention specific glibc version
84396 numbers.
84397 * manual/libc.texinfo (VERSION, UPDATED): Update.
84398 (@copying): Use @copyright{} and range of years.
84399
84400 2012-02-21 Joseph Myers <joseph@codesourcery.com>
84401
84402 [BZ #13695]
84403 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
84404 [crti.S not in sysdirs] (generated): Do not append.
84405 [crti.S not in sysdirs] (omit-deps): Likewise.
84406 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
84407 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
84408 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
84409 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
84410 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
84411 Likewise.
84412 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
84413 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
84414 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
84415 * csu/defs.awk: Remove file.
84416 * sysdeps/generic/initfini.c: Likewise.
84417 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
84418 variable.
84419 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
84420 Likewise.
84421
84422 2012-02-20 Joseph Myers <joseph@codesourcery.com>
84423
84424 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
84425 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
84426 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
84427 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
84428 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
84429 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
84430 <bits/epoll.h>.
84431 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
84432 (__EPOLL_PACKED): Define to empty if not defined by
84433 <bits/epoll.h>.
84434 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
84435 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84436 bits/epoll.h.
84437
84438 2012-02-20 Joseph Myers <joseph@codesourcery.com>
84439
84440 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
84441 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
84442 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
84443 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
84444 <bits/timerfd.h>.
84445 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
84446 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84447 bits/timerfd.h.
84448
84449 2012-02-20 Joseph Myers <joseph@codesourcery.com>
84450
84451 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
84452 in C locale.
84453 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
84454 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
84455 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
84456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84457
84458 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
84459
84460 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84461 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
84462
84463 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
84464
84465 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
84466 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
84467 defined.
84468 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
84469 Likewise.
84470 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
84471 entry for 2.16.
84472
84473 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
84474
84475 * math/w_acos.c: Use non-signaling floating-point comparisons.
84476 * math/w_acosf.c: Likewise.
84477 * math/w_acosh.c: Likewise.
84478 * math/w_acoshf.c: Likewise.
84479 * math/w_acoshl.c: Likewise.
84480 * math/w_acosl.c: Likewise.
84481 * math/w_asin.c: Likewise.
84482 * math/w_asinf.c: Likewise.
84483 * math/w_asinl.c: Likewise.
84484 * math/w_atanh.c: Likewise.
84485 * math/w_atanhf.c: Likewise.
84486 * math/w_atanhl.c: Likewise.
84487 * math/w_exp2.c: Likewise.
84488 * math/w_exp2f.c: Likewise.
84489 * math/w_exp2l.c: Likewise.
84490 * math/w_j0.c: Likewise.
84491 * math/w_j0f.c: Likewise.
84492 * math/w_j0l.c: Likewise.
84493 * math/w_j1.c: Likewise.
84494 * math/w_j1f.c: Likewise.
84495 * math/w_j1l.c: Likewise.
84496 * math/w_jn.c: Likewise.
84497 * math/w_jnf.c: Likewise.
84498 * math/w_log.c: Likewise.
84499 * math/w_log10.c: Likewise.
84500 * math/w_log10f.c: Likewise.
84501 * math/w_log10l.c: Likewise.
84502 * math/w_log2.c: Likewise.
84503 * math/w_log2f.c: Likewise.
84504 * math/w_log2l.c: Likewise.
84505 * math/w_logf.c: Likewise.
84506 * math/w_logl.c: Likewise.
84507 * math/w_sqrt.c: Likewise.
84508 * math/w_sqrtf.c: Likewise.
84509 * math/w_sqrtl.c: Likewise.
84510 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
84511 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
84512 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84513 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
84514 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
84515
84516 2012-02-19 Joseph Myers <joseph@codesourcery.com>
84517
84518 [BZ #9739]
84519 * manual/string.texi (strnlen): Use correct parameter name in
84520 equivalent expression.
84521
84522 2012-02-19 Joseph Myers <joseph@codesourcery.com>
84523
84524 [BZ #11174]
84525 * manual/users.texi (seteuid): Consistently use neweuid for
84526 argument name.
84527
84528 2012-02-19 Joseph Myers <joseph@codesourcery.com>
84529
84530 [BZ #13704]
84531 * manual/nss.texi (Services in the NSS configuration): Correct
84532 list of services in example configuration file.
84533
84534 2012-02-19 Nick Bowler <nbowler@draconx.ca>
84535
84536 [BZ #11322]
84537 * manual/arith.texi: Remove statements about negative zero
84538 behaving identically to zero.
84539
84540 2012-02-18 Joseph Myers <joseph@codesourcery.com>
84541
84542 [BZ #5993]
84543 * manual/install.texi: Do not document upgrading from libc5.
84544
84545 2012-02-18 Joseph Myers <joseph@codesourcery.com>
84546
84547 [BZ #4596]
84548 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
84549
84550 2012-02-18 David S. Miller <davem@davemloft.net>
84551
84552 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
84553 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
84554 %o7 across the call.
84555 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
84556 instead.
84557 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
84558 SETUP_PIC_REG_LEAF.
84559 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84560 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
84561 * sysdeps/sparc/crtn.S: Likewise.
84562
84563 2012-02-17 Ulrich Drepper <drepper@gmail.com>
84564
84565 * aout/Makefile: Remove.
84566
84567 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
84568
84569 [BZ #13058]
84570 * manual/examples/argp-ex1.c (main): Format definition in GNU
84571 style.
84572 * manual/examples/argp-ex2.c (main): Likewise.
84573 * manual/examples/argp-ex3.c (main): Likewise.
84574 * manual/examples/argp-ex4.c (main): Likewise.
84575 * manual/examples/longopt.c (main): Use new-style prototype
84576 definition.
84577 * manual/examples/strncat.c (main): Specify return type and use
84578 (void) for arguments.
84579 * manual/examples/subopt.c (main): Use char **argv argument.
84580
84581 2012-02-17 Joseph Myers <joseph@codesourcery.com>
84582
84583 [BZ #5077]
84584 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
84585 rounding modes.
84586
84587 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
84588
84589 [BZ #6907]
84590 * manual/string.texi (strchr): Change when strchrnul is
84591 recommended.
84592
84593 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
84594
84595 [BZ #174]
84596 * manual/locale.texi (setlocale): Document LOCPATH.
84597
84598 2012-02-17 Joseph Myers <joseph@codesourcery.com>
84599
84600 [BZ #10210]
84601 * manual/process.texi (execle): Move @dots{} before last argument.
84602
84603 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
84604
84605 [BZ #12047]
84606 * manual/charset.texi (Generic Charset Conversion): Fix typo
84607 (LC_TYPE -> LC_CTYPE).
84608
84609 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
84610
84611 [BZ #5805]
84612 * manual/arith.texi (scalbn): Use @var{} on parameter names.
84613 (scalbnf): Likewise.
84614 (scalbnl): Likewise.
84615 (scalbln): Likewise.
84616 (scalblnf): Likewise.
84617 (scalblnl): Likewise.
84618 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
84619 (vwarnx): Likewise.
84620 (verr): Likewise.
84621 (verrx): Likewise.
84622 * manual/filesys.texi (telldir): Use braces around return type.
84623 * manual/llio.texi (mmap): Add space after comma.
84624 (mmap64): Likewise.
84625 * manual/math.texi (jn): Use @var{} on parameter names.
84626 (jnf): Likewise.
84627 (jnl): Likewise.
84628 (yn): Likewise.
84629 (ynf): Likewise.
84630 (ynl): Likewise.
84631 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
84632 line.
84633 * manual/resource.texi (ulimit): Use @dots{} instead of literal
84634 "...".
84635 (sched_get_priority_min): Remove semicolon on @deftypefun line.
84636 (sched_get_priority_max): Likewise.
84637 * manual/signal.texi (sigvec): Add space after comma.
84638 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
84639 names.
84640 (if_indextoname): Likewise.
84641 (if_freenameindex): Likewise.
84642 (sendto): Use ',' instead of '.' in prototype.
84643 * manual/startup.texi (syscall): Use @dots{} instead of literal
84644 "...".
84645 * manual/stdio.texi (__fpending): Separate initial words of
84646 paragraph from @deftypefun line.
84647 * manual/syslog.texi (syslog): Use @dots{} instead of literal
84648 "...".
84649 (vsyslog): Use @var{} on parameter names.
84650 * manual/terminal.texi (stty): Use @var{} on parameter names.
84651 * manual/users.texi (getutmp): Use @var{} on parameter names.
84652 (getutmpx): Likewise.
84653
84654 2012-02-17 Joseph Myers <joseph@codesourcery.com>
84655
84656 [BZ #6884]
84657 * manual/stdio.texi (fopen): Fix typos in description of
84658 ",ccs=STRING".
84659
84660 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
84661
84662 [BZ #4026]
84663 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
84664 get clock_id definition.
84665
84666 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
84667
84668 [BZ #4822]
84669 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
84670 (madvise): Cast every argument to void on its own.
84671
84672 2012-02-17 Joseph Myers <joseph@codesourcery.com>
84673
84674 [BZ #9902]
84675 * manual/startup.texi (Exit Status): Fix typo.
84676
84677 2012-02-17 Joseph Myers <joseph@codesourcery.com>
84678
84679 [BZ #10140]
84680 * manual/examples/argp-ex1.c: Include <stdlib.h>.
84681 * manual/examples/argp-ex2.c: Likewise.
84682 * manual/examples/argp-ex3.c: Likewise.
84683
84684 2012-02-16 Richard Henderson <rth@redhat.com>
84685
84686 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
84687 * sysdeps/s390/s390-32/initfini.c: Remove.
84688 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
84689 * sysdeps/s390/s390-64/initfini.c: Remove.
84690
84691 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
84692
84693 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
84694 compiler output for sysdeps/generic/initfini.c.
84695 * sysdeps/sh/elf/initfini.c: Remove file.
84696
84697 2012-02-16 David S. Miller <davem@davemloft.net>
84698
84699 [BZ #11494]
84700 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
84701
84702 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
84703 * sysdeps/sparc/crti.S: New file.
84704 * sysdeps/sparc/crtn.S: New file.
84705 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
84706 * sysdeps/sparc/sparc64/Makefile: Likewise.
84707
84708 2012-02-15 Mike Frysinger <vapier@gentoo.org>
84709
84710 [BZ #3335]
84711 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
84712
84713 2012-02-15 Roland McGrath <roland@hack.frob.com>
84714
84715 [BZ #4822]
84716 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
84717
84718 * mach/devstream.c (cookie_io_functions_t): Macro removed.
84719 (write, read, close): Likewise.
84720 Patch by Aurelien Jarno <aurelien@aurel32.net>.
84721
84722 2012-02-15 Joseph Myers <joseph@codesourcery.com>
84723
84724 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
84725 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
84726 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
84727 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
84728 <bits/signalfd.h>.
84729 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
84730 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84731 bits/signalfd.h.
84732
84733 2012-02-14 Marek Polacek <polacek@redhat.com>
84734
84735 * sysdeps/x86_64/crti.S: New file.
84736 * sysdeps/x86_64/crtn.S: New file.
84737 * sysdeps/x86_64/elf/initfini.c: Remove file.
84738
84739 2012-02-13 Joseph Myers <joseph@codesourcery.com>
84740
84741 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
84742 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
84743 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
84744 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
84745 <bits/inotify.h>.
84746 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
84747 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84748 bits/inotify.h.
84749
84750 2012-02-13 Joseph Myers <joseph@codesourcery.com>
84751
84752 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
84753 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
84754 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
84755 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
84756 <bits/eventfd.h>.
84757 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
84758 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84759 bits/eventfd.h.
84760
84761 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
84762
84763 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
84764 __feraiseexcept instead of feraiseexcept.
84765
84766 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
84767 nanosleep invocations.
84768 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
84769 strings, and add error checking for a nanosleep invocations.
84770
84771 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
84772
84773 Replace FSF snail mail address with URLs, as per GNU coding standards.
84774 Most of the snail mail addresses were wrong anyway, and omitting
84775 them makes the source code easier to maintain. Almost all of the
84776 changes are to license notices and to locale LC_IDENTIFICATION
84777 addresses, except for this one:
84778 * manual/libc.texinfo: In "Published by", give the FSF's URL,
84779 not its snail mail address.
84780
84781 2012-02-09 Richard Henderson <rth@twiddle.net>
84782
84783 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
84784 of kernel-features.h.
84785
84786 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
84787
84788 2012-02-08 Marek Polacek <polacek@redhat.com>
84789
84790 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
84791 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
84792 * sysdeps/gnu/_G_config.h: Likewise.
84793 * sysdeps/generic/_G_config.h: Likewise.
84794
84795 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
84796
84797 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
84798 tests.
84799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84800
84801 * sysdeps/powerpc/powerpc32/crti.S: New file.
84802 * sysdeps/powerpc/powerpc32/crtn.S: New file.
84803 * sysdeps/powerpc/powerpc64/crti.S: New file.
84804 * sysdeps/powerpc/powerpc64/crtn.S: New file.
84805
84806 * Makeconfig (have-initfini): Don't set.
84807 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
84808 * configure.in (nopic_initfini): Don't substitute.
84809 * config.h.in (HAVE_INITFINI): Don't #undef.
84810 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
84811 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
84812
84813 2012-02-08 Joseph Myers <joseph@codesourcery.com>
84814
84815 Support crti.S and crtn.S provided directly by architectures.
84816 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
84817 [crti.S in sysdirs] (omit-deps): Likewise.
84818 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
84819 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
84820 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
84821 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
84822 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
84823 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
84824 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
84825 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
84826 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
84827 compiler output for sysdeps/generic/initfini.c.
84828 * sysdeps/i386/elf/Makefile: Remove file.
84829 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
84830
84831 2012-02-07 Marek Polacek <polacek@redhat.com>
84832
84833 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
84834 * sysdeps/gnu/_G_config.h: Likewise.
84835 * sysdeps/mach/hurd/_G_config.h: Likewise.
84836
84837 2012-02-07 Marek Polacek <polacek@redhat.com>
84838
84839 * math/Makefile (tests): Add tst-CMPLX2.
84840 * math/tst-CMPLX2.c: New file.
84841
84842 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
84843
84844 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84845
84846 * math/libm-test.inc (jn_test): Add missing L suffix.
84847
84848 2012-02-06 Marek Polacek <polacek@redhat.com>
84849
84850 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
84851 * sysdeps/i386/fpu/e_powf.S: Likewise.
84852 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
84853 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
84854 * sysdeps/i386/fpu/e_acosh.S: Likewise.
84855 * sysdeps/i386/fpu/e_pow.S: Likewise.
84856 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
84857 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
84858 * sysdeps/i386/fpu/s_expm1.S: Likewise.
84859 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
84860 * sysdeps/i386/fpu/e_log2.S: Likewise.
84861 * sysdeps/i386/fpu/e_log2l.S: Likewise.
84862 * sysdeps/i386/fpu/e_scalb.S: Likewise.
84863 * sysdeps/i386/fpu/e_powl.S: Likewise.
84864 * sysdeps/i386/fpu/s_log1p.S: Likewise.
84865 * sysdeps/i386/fpu/e_log10f.S: Likewise.
84866 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
84867 * sysdeps/i386/fpu/e_logl.S: Likewise.
84868 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
84869 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
84870 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
84871 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
84872 * sysdeps/i386/fpu/e_log2f.S: Likewise.
84873 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
84874 * sysdeps/i386/fpu/e_log.S: Likewise.
84875 * sysdeps/i386/fpu/s_cexp.S: Likewise.
84876 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
84877 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
84878 * sysdeps/i386/fpu/e_logf.S: Likewise.
84879 * sysdeps/i386/fpu/e_log10l.S: Likewise.
84880 * sysdeps/i386/fpu/e_atanh.S: Likewise.
84881 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
84882 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
84883 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
84884 * sysdeps/i386/fpu/e_log10.S: Likewise.
84885 * sysdeps/i386/fpu/s_frexp.S: Likewise.
84886 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
84887 * sysdeps/i386/fpu/s_asinh.S: Likewise.
84888 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
84889 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
84890 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
84891 * sysdeps/i386/asm-syntax.h: Likewise.
84892 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
84893 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84894 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
84895 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
84896 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
84897 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
84898 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
84899 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
84900 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
84901 * sysdeps/powerpc/sysdep.h: Likewise.
84902 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
84903 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
84904
84905 2012-02-06 Joseph Myers <joseph@codesourcery.com>
84906
84907 [BZ #411]
84908 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
84909
84910 2012-02-06 Joseph Myers <joseph@codesourcery.com>
84911
84912 * sysdeps/i386/sysdep.h: Include <features.h>.
84913 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
84914 version.
84915
84916 2012-02-05 Joseph Myers <joseph@codesourcery.com>
84917
84918 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
84919 Define.
84920 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
84921 LOAD_PIC_REG_STR.
84922
84923 2012-02-03 Joseph Myers <joseph@codesourcery.com>
84924
84925 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
84926 (SETUP_PIC_REG): Use GET_PC_THUNK.
84927 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
84928 macro.
84929
84930 2012-02-03 Joseph Myers <joseph@codesourcery.com>
84931
84932 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
84933 for non-PIC compilation.
84934 (SETUP_PIC_REG): Add .p2align directive.
84935 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
84936 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
84937 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
84938 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
84939 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
84940 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
84941 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
84942 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
84943 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
84944 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
84945 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
84946 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
84947 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
84948 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
84949 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
84950 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
84951 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
84952 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
84953 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
84954 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
84955 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
84956 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
84957 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
84958 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
84959 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
84960 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
84961 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
84962 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
84963 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
84964 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
84965 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
84966 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
84967 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
84968 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
84969 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
84970 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
84971 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
84972 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
84973 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
84974 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
84975 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
84976
84977 2012-02-03 Joseph Myers <joseph@codesourcery.com>
84978
84979 * math/tst-CMPLX.c: Include <stdio.h>.
84980
84981 2012-01-31 Joseph Myers <joseph@codesourcery.com>
84982
84983 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
84984 float.
84985 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
84986 * sysdeps/sparc/bits/mathdef.h: Likewise.
84987
84988 2012-01-31 Marek Polacek <polacek@redhat.com>
84989
84990 * libio/libio.h: Don't define _PARAMS.
84991 * locale/programs/config.h: Don't define PARAMS.
84992 * stdlib/strtol_l.c: Likewise.
84993 (__strtol_l): Remove PARAMS from the prototype.
84994
84995 2012-01-31 Ulrich Drepper <drepper@gmail.com>
84996
84997 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
84998 names. Just use the correct names. Remove unnecessary wrapper
84999 functions.
85000 * malloc/arena.c: Likewise.
85001 * malloc/hooks.c: Likewise.
85002
85003 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
85004 ARENA_TEST says not to. Simplify test for creation of a new arena.
85005 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
85006
85007 2012-01-30 Ulrich Drepper <drepper@gmail.com>
85008
85009 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
85010 into tail calls.
85011 (update_get_addr): New function.
85012 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
85013 GET_ADDR_MODULE parameter.
85014
85015 2012-01-30 Joseph Myers <joseph@codesourcery.com>
85016
85017 * crypt/cert.c: Remove __STDC__ conditionals.
85018 * crypt/crypt-entry.c: Likewise.
85019 * crypt/crypt_util.c: Likewise.
85020 * libio/filedoalloc.c: Likewise.
85021 * libio/fileops.c: Likewise.
85022 * libio/genops.c: Likewise.
85023 * libio/iofclose.c: Likewise.
85024 * libio/iofdopen.c: Likewise.
85025 * libio/iofopen.c: Likewise.
85026 * libio/iofopen64.c: Likewise.
85027 * libio/iogetdelim.c: Likewise.
85028 * libio/iopopen.c: Likewise.
85029 * libio/obprintf.c: Likewise.
85030 * libio/oldfileops.c: Likewise.
85031 * libio/oldiofclose.c: Likewise.
85032 * libio/oldiofdopen.c: Likewise.
85033 * libio/oldiofopen.c: Likewise.
85034 * libio/oldiopopen.c: Likewise.
85035 * libio/wfiledoalloc.c: Likewise.
85036 * libio/wgenops.c: Likewise.
85037 * locale/programs/xmalloc.c: Likewise.
85038 * misc/syslog.c: Likewise.
85039 * stdio-common/xbug.c: Likewise.
85040 * string/memchr.c: Likewise.
85041 * string/memcmp.c: Likewise.
85042 * string/memrchr.c: Likewise.
85043 * string/rawmemchr.c: Likewise.
85044 * sysdeps/posix/getcwd.c: Likewise.
85045 * time/strftime_l.c: Likewise.
85046
85047 2012-01-30 Joseph Myers <joseph@codesourcery.com>
85048
85049 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
85050 * config.make.in (config-cflags-sse2avx): Define.
85051 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
85052 Fix typo.
85053
85054 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
85055
85056 * scripts/config.guess: Update from upstream config git repository.
85057 * scripts/config.sub: Likewise.
85058
85059 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
85060
85061 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
85062 (EM_NUM): Update.
85063 (R_TILEPRO_*, R_TILEGX_*): New macros.
85064
85065 * scripts/firstversions.awk: Fix bug in version range handling.
85066
85067 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
85068
85069 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
85070
85071 * include/sys/epoll.h: New file.
85072 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
85073 libc_hidden_def.
85074
85075 2012-01-28 Ulrich Drepper <drepper@gmail.com>
85076
85077 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
85078 Avoid unnecessary __WORDSIZE == 64 test.
85079 (fmaxf): Use VEX format if possible.
85080 (fmax): Likewise.
85081 (fminf): Likewise.
85082 (fmin): Likewise.
85083
85084 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
85085 * math/math_private.h: Remove libc_fegetround* and
85086 libc_fesetround*.
85087 * sysdeps/i386/configure.in: Check for -msse2avx.
85088 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
85089 also if SSE2AVX is defined.
85090 Remove libc_fegetround* and libc_fesetround*.
85091 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
85092 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
85093 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
85094 of HAS_YMM_USABLE.
85095 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
85096 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
85097 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
85098 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
85099 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
85100
85101 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
85102
85103 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
85104
85105 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
85106 size is not set.
85107 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
85108
85109 2012-01-27 Ulrich Drepper <drepper@gmail.com>
85110
85111 [BZ #13618]
85112 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
85113 relocation.
85114 * Makeconfig (libm): Define.
85115 * elf/Makefile: Add rules to build and run tst-relsort1.
85116 * elf/tst-relsort1.c: New file.
85117 * elf/tst-relsort1mod1.c: New file.
85118 * elf/tst-relsort1mod2.c: New file.
85119
85120 2012-01-27 Joseph Myers <joseph@codesourcery.com>
85121
85122 * math/s_ldexp.c: Remove __STDC__ conditionals.
85123 * math/s_ldexpf.c: Likewise.
85124 * math/s_ldexpl.c: Likewise.
85125 * math/s_nextafter.c: Likewise.
85126 * math/s_nexttowardf.c: Likewise.
85127 * math/s_significand.c: Likewise.
85128 * math/s_significandf.c: Likewise.
85129 * math/s_significandl.c: Likewise.
85130 * math/w_jnl.c: Likewise.
85131 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
85132 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
85133 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
85134 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
85135 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
85136 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
85137 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
85138 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
85139 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
85140 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
85141 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
85142 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85143 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
85144 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
85145 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
85146 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
85147 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
85148 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
85149 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
85150 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85151 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85152 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
85153 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
85154 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
85155 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
85156 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
85157 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
85158 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
85159 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
85160 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
85161 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
85162 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
85163 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
85164 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
85165 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
85166 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
85167 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
85168 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
85169 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
85170 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
85171 * sysdeps/ieee754/k_standard.c: Likewise.
85172 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85173 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
85174 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
85175 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
85176 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
85177 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
85178 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
85179 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
85180 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
85181 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
85182 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
85183 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
85184 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
85185 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
85186 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
85187 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
85188 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
85189 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
85190 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
85191 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
85192 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
85193 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
85194 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
85195 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
85196 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
85197 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
85198 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85199 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85200 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
85201 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
85202 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
85203 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
85204 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
85205 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
85206 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
85207 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
85208 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
85209 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
85210 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
85211 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
85212 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
85213 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
85214 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
85215 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
85216 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
85217 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
85218 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
85219 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
85220 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
85221 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
85222 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
85223 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
85224 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
85225 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
85226 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
85227 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
85228 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
85229 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85230 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85231 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85232 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
85233 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
85234 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
85235 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
85236 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
85237 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
85238 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
85239 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
85240 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
85241 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
85242 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
85243 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
85244 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
85245 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
85246 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
85247 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
85248 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
85249 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
85250 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
85251 * sysdeps/ieee754/s_matherr.c: Likewise.
85252 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
85253 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
85254 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
85255 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
85256
85257 2012-01-26 Joseph Myers <joseph@codesourcery.com>
85258
85259 * crypt/md5.h: Remove __STDC__ conditionals.
85260 * libio/libioP.h: Likewise.
85261 * locale/programs/config.h: Likewise.
85262 * sysdeps/generic/sysdep.h: Likewise.
85263 * sysdeps/i386/asm-syntax.h: Likewise.
85264 * sysdeps/s390/asm-syntax.h: Likewise.
85265 * sysdeps/unix/sysdep.h: Likewise.
85266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
85267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
85268
85269 2012-01-26 Joseph Myers <joseph@codesourcery.com>
85270
85271 * libio/libio.h: Remove __STDC__ conditionals.
85272 * malloc/obstack.h: Likewise.
85273 * math/complex.h: Likewise.
85274 * math/math.h: Likewise.
85275 * sysdeps/generic/_G_config.h: Likewise.
85276 * sysdeps/gnu/_G_config.h: Likewise.
85277 * sysdeps/mach/hurd/_G_config.h: Likewise.
85278 * sysdeps/powerpc/bits/mathdef.h: Likewise.
85279 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
85280 * sysdeps/sparc/bits/mathdef.h: Likewise.
85281
85282 2012-01-26 Ulrich Drepper <drepper@gmail.com>
85283
85284 [BZ #13583]
85285 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
85286 Clean up HAS_* macros.
85287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
85288 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
85289 possible.
85290 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
85291 HAS_AVX.
85292 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
85293 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
85294 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
85295 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
85296 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
85297
85298 2012-01-25 Joseph Myers <joseph@codesourcery.com>
85299
85300 * elf/tst-unique3.cc (gets): Remove declaration.
85301 * elf/tst-unique3lib.cc (gets): Likewise.
85302 * elf/tst-unique3lib2.cc (gets): Likewise.
85303 * elf/tst-unique4.cc (gets): Likewise.
85304
85305 2012-01-24 Ulrich Drepper <drepper@gmail.com>
85306
85307 * include/stdio.h: Add C++ protection. Add gets declarations and
85308 definitions.
85309 * debug/tst-chk1.c: Don't declare gets here.
85310 * stdio-common/tst-gets.c: Likewise.
85311
85312 2012-01-24 Joseph Myers <joseph@codesourcery.com>
85313
85314 * posix/glob: Remove directory.
85315
85316 2012-01-24 Joseph Myers <joseph@codesourcery.com>
85317
85318 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
85319
85320 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
85321
85322 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
85323 of the non-standard EPFNOSUPPORT.
85324
85325 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
85326
85327 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
85328 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
85329 ANYWHERE set to 1 only on KERN_NO_SPACE error.
85330
85331 2012-01-21 Ulrich Drepper <drepper@gmail.com>
85332
85333 * wcsmbs/uchar.h: Test __STDC_VERSION__.
85334
85335 2012-01-20 Ulrich Drepper <drepper@gmail.com>
85336
85337 * nscd/aicache.c (addhstaiX): Do not cache negative results of
85338 transient errors.
85339 * nscd/grpcache.c (cache_addgr): Likewise.
85340 * nscd/hstcache.c (cache_addhst): Likewise.
85341 * nscd/initgrcache.c (addinitgroupsX): Likewise.
85342 * nscd/pwdcache.c (cache_addpw): Likewise.
85343 * nscd/servicescache.c (cache_addserv): Likewise.
85344
85345 2012-01-16 Ulrich Drepper <drepper@gmail.com>
85346
85347 * malloc/malloc.c: Various cleanups.
85348 * malloc/hooks.c: Likewise.
85349
85350 * stdlib/Makefile (tests): Add bug-fmtmsg1.
85351 * stdlib/bug-fmtmsg1.c: New file.
85352
85353 * stdlib/fmtmsg.c (init): Add missing unlock.
85354 Patch by Peng Haitao <penght@cn.fujitsu.com>.
85355
85356 2012-01-12 Marek Polacek <polacek@redhat.com>
85357
85358 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
85359 and _GNU_SOURCE.
85360
85361 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
85362
85363 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
85364 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
85365 macro to ensure uniqueness of label name.
85366 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
85367 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
85368
85369 2012-01-11 Ulrich Drepper <drepper@gmail.com>
85370
85371 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
85372
85373 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
85374 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
85375 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
85376 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
85377
85378 2012-01-10 Ulrich Drepper <drepper@gmail.com>
85379
85380 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
85381
85382 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
85383 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
85384 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
85385
85386 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
85387
85388 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
85389 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
85390 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
85391 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
85392
85393 * math/bits/math-finite.h: Add ldexp support.
85394
85395 2012-01-10 Marek Polacek <polacek@redhat.com>
85396
85397 * locale/programs/localedef.h (show_archive_content): Add noreturn
85398 attribute.
85399
85400 2012-01-09 Ulrich Drepper <drepper@gmail.com>
85401
85402 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
85403
85404 2012-01-08 Ulrich Drepper <drepper@gmail.com>
85405
85406 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
85407
85408 * io/Makefile (headers): Add bits/poll2.h.
85409
85410 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
85411
85412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
85413 typo #include statement.
85414
85415 2012-01-08 Ulrich Drepper <drepper@gmail.com>
85416
85417 * include/sys/cdefs.h: Define __attribute_alloc_size.
85418 * catgets/gencat.c: Add alloc_size attribute and apply consistently
85419 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
85420 * elf/pldd.c: Likewise.
85421 * iconv/iconv_charmap.c: Likewise.
85422 * iconv/iconvconfig.c: Likewise.
85423 * iconv/strtab.c: Likewise.
85424 * locale/programs/locale.c: Likewise.
85425 * locale/programs/localedef.h: Likewise.
85426 * locale/programs/simple-hash.c: Likewise.
85427 * nscd/nscd.h: Likewise.
85428 * nss/makedb.c: Likewise.
85429 * sysdeps/generic/ldconfig.h: Likewise.
85430 * locale/programs/localedef.c: Remove xmalloc prototype.
85431 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
85432
85433 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
85434
85435 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
85436 appropriate.
85437
85438 2012-01-08 Ulrich Drepper <drepper@gmail.com>
85439
85440 * math/Makefile (tests): Add tst-CMPLX.
85441 * math/tst-CMPLX.c: New file.
85442
85443 * math/complex.h (CMPLXL): Fix typo.
85444
85445 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
85446 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
85447 GLIBC_2.16.
85448 * debug/tst-chk1.c: Add poll and ppoll tests.
85449 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
85450 * include/sys/poll.h: Add hidden proto for ppoll.
85451 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
85452 * sysdeps/mach/hurd/ppoll.c: Likewise.
85453 * io/ppoll.c: Likewise.
85454 * debug/poll_chk.c: New file.
85455 * debug/ppoll_chk.c: New file.
85456 * include/bits/poll2.h: New file.
85457 * io/bits/poll2.h: New file.
85458
85459 [BZ #1350]
85460 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
85461
85462 * configure.in: static is always set to yes. Remove.
85463 * config.make.in: Don't set build-static.
85464 * Makeconfig: Remove use of build-static.
85465 * dlfcn/Makefile: Likewise.
85466 * elf/Makefile: Likewise.
85467 * math/Makefile: Likewise.
85468 * misc/Makefile: Likewise.
85469 * nptl/Makefile: Likewise.
85470 * sysdeps/mach/hurd/Makefile: Likewise.
85471
85472 * configure.in: PWD_P is not used anymore.
85473 * config.make.in: Remove PWD_P entry.
85474
85475 * configure.in: Remove last remnants of RANLIB.
85476 No need to check for signed size_t anymore.
85477 Don't set libc_commonpagesize and libc_relro_required here for Alpha
85478 and IA-64.
85479 Remove __builtin_expect test because we require at least gcc 3.4.
85480 * aclocal.m4: Likewise.
85481
85482 * wcsmbs/mbrtoc16.c: Implement using towc function.
85483 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
85484 * wcsmbs/wcsmbsload.c: Likewise.
85485 * iconv/gconv_simple.c: Likewise.
85486 * iconv/gconv_int.h: Likewise.
85487 * iconv/gconv_builtin.h: Likewise.
85488 * iconv/iconv_prog.c: Remove CHAR16 handling.
85489
85490 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
85491
85492 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
85493
85494 * configure.in: Remove --with-elf and --enable-bounded options.
85495 Dont set base_machine for ia64. More non-ELF conditions removed.
85496 Remove testing and setting of leading underscore information.
85497 * config.make.in (build-bounded): Set to no.
85498 * config.h.in: Remove NO_UNDERSCORES entry.
85499 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
85500 them.
85501 * csu/start.c: Remove !NO_UNDERSCORE code.
85502 * locale/localeinfo.h: Likewise.
85503 * sysdeps/generic/machine-gmon.h: Likewise.
85504 * sysdeps/generic/sysdep.h: Likewise.
85505 * sysdeps/i386/sysdep.h: Likewise.
85506 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
85507 * sysdeps/mach/sysdep.h: Likewise.
85508 * sysdeps/s390/s390-32/sysdep.h: Likewise.
85509 * sysdeps/s390/s390-64/sysdep.h: Likewise.
85510 * sysdeps/sh/sysdep.h: Likewise.
85511 * sysdeps/sparc/sparc32/alloca.S: Likewise.
85512 * sysdeps/unix/i386/sysdep.S: Likewise.
85513 * sysdeps/unix/sparc/start.c: Likewise.
85514 * sysdeps/unix/sparc/sysdep.S: Likewise.
85515 * sysdeps/unix/sparc/sysdep.h: Likewise.
85516 * sysdeps/unix/start.c: Likewise.
85517 * sysdeps/unix/x86_64/sysdep.S: Likewise.
85518 * sysdeps/x86_64/sysdep.h: Likewise.
85519
85520 2012-01-07 Ulrich Drepper <drepper@gmail.com>
85521
85522 [BZ #13553]
85523 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
85524 for non-gcc.
85525 * argp/argp-fmtstream.h: Use const instead __const.
85526 * argp/argp.h: Likewise.
85527 * assert/assert.h: Likewise.
85528 * bits/fenv.h: Likewise.
85529 * bits/sched.h: Likewise.
85530 * bits/sigset.h: Likewise.
85531 * bits/sigthread.h: Likewise.
85532 * catgets/nl_types.h: Likewise.
85533 * conform/data/pthread.h-data: Likewise.
85534 * crypt/crypt-private.h: Likewise.
85535 * crypt/crypt.h: Likewise.
85536 * crypt/crypt_util.c: Likewise.
85537 * ctype/ctype.h: Likewise.
85538 * debug/execinfo.h: Likewise.
85539 * debug/mbsnrtowcs_chk.c: Likewise.
85540 * debug/mbsrtowcs_chk.c: Likewise.
85541 * debug/wcsnrtombs_chk.c: Likewise.
85542 * debug/wcsrtombs_chk.c: Likewise.
85543 * debug/wcstombs_chk.c: Likewise.
85544 * dirent/dirent.h: Likewise.
85545 * dlfcn/dlfcn.h: Likewise.
85546 * elf/neededtest4.c: Likewise.
85547 * grp/grp.h: Likewise.
85548 * gshadow/gshadow.h: Likewise.
85549 * iconv/gconv.h: Likewise.
85550 * iconv/gconv_int.h: Likewise.
85551 * iconv/gconv_simple.c: Likewise.
85552 * iconv/iconv.h: Likewise.
85553 * iconv/loop.c: Likewise.
85554 * iconv/skeleton.c: Likewise.
85555 * include/aio.h: Likewise.
85556 * include/aliases.h: Likewise.
85557 * include/argz.h: Likewise.
85558 * include/arpa/inet.h: Likewise.
85559 * include/assert.h: Likewise.
85560 * include/dirent.h: Likewise.
85561 * include/dlfcn.h: Likewise.
85562 * include/execinfo.h: Likewise.
85563 * include/fcntl.h: Likewise.
85564 * include/fenv.h: Likewise.
85565 * include/glob.h: Likewise.
85566 * include/grp.h: Likewise.
85567 * include/libintl.h: Likewise.
85568 * include/mntent.h: Likewise.
85569 * include/netdb.h: Likewise.
85570 * include/pwd.h: Likewise.
85571 * include/rpc/netdb.h: Likewise.
85572 * include/sched.h: Likewise.
85573 * include/search.h: Likewise.
85574 * include/shadow.h: Likewise.
85575 * include/signal.h: Likewise.
85576 * include/stdio.h: Likewise.
85577 * include/stdlib.h: Likewise.
85578 * include/string.h: Likewise.
85579 * include/sys/socket.h: Likewise.
85580 * include/sys/stat.h: Likewise.
85581 * include/sys/statfs.h: Likewise.
85582 * include/sys/statvfs.h: Likewise.
85583 * include/sys/syslog.h: Likewise.
85584 * include/sys/time.h: Likewise.
85585 * include/sys/uio.h: Likewise.
85586 * include/time.h: Likewise.
85587 * include/unistd.h: Likewise.
85588 * include/utmp.h: Likewise.
85589 * include/wchar.h: Likewise.
85590 * include/wctype.h: Likewise.
85591 * inet/aliases.h: Likewise.
85592 * inet/arpa/inet.h: Likewise.
85593 * inet/netinet/ether.h: Likewise.
85594 * inet/netinet/in.h: Likewise.
85595 * intl/libintl.h: Likewise.
85596 * io/bits/fcntl2.h: Likewise.
85597 * io/fcntl.h: Likewise.
85598 * io/ftw.h: Likewise.
85599 * io/sys/poll.h: Likewise.
85600 * io/sys/stat.h: Likewise.
85601 * io/sys/statfs.h: Likewise.
85602 * io/sys/statvfs.h: Likewise.
85603 * io/utime.h: Likewise.
85604 * libio/bits/stdio.h: Likewise.
85605 * libio/bits/stdio2.h: Likewise.
85606 * libio/libio.h: Likewise.
85607 * libio/libioP.h: Likewise.
85608 * libio/stdio.h: Likewise.
85609 * locale/lc-ctype.c: Likewise.
85610 * locale/locale.h: Likewise.
85611 * login/utmp.h: Likewise.
85612 * malloc/arena.c: Likewise.
85613 * malloc/malloc.c: Likewise.
85614 * malloc/malloc.h: Likewise.
85615 * malloc/mcheck.c: Likewise.
85616 * malloc/mtrace.c: Likewise.
85617 * math/bits/mathcalls.h: Likewise.
85618 * math/fenv.h: Likewise.
85619 * math/math_private.h: Likewise.
85620 * misc/bits/error.h: Likewise.
85621 * misc/bits/syslog.h: Likewise.
85622 * misc/err.h: Likewise.
85623 * misc/error.h: Likewise.
85624 * misc/fstab.h: Likewise.
85625 * misc/mntent.h: Likewise.
85626 * misc/regexp.h: Likewise.
85627 * misc/search.h: Likewise.
85628 * misc/sgtty.h: Likewise.
85629 * misc/sys/mman.h: Likewise.
85630 * misc/sys/syslog.h: Likewise.
85631 * misc/sys/uio.h: Likewise.
85632 * misc/sys/xattr.h: Likewise.
85633 * misc/ttyent.h: Likewise.
85634 * nis/rpcsvc/ypclnt.h: Likewise.
85635 * nss/nss.h: Likewise.
85636 * posix/bits/unistd.h: Likewise.
85637 * posix/fnmatch.h: Likewise.
85638 * posix/glob.h: Likewise.
85639 * posix/sched.h: Likewise.
85640 * posix/spawn.h: Likewise.
85641 * posix/sys/wait.h: Likewise.
85642 * posix/unistd.h: Likewise.
85643 * posix/wordexp.h: Likewise.
85644 * pwd/pwd.h: Likewise.
85645 * resolv/netdb.h: Likewise.
85646 * resource/sys/resource.h: Likewise.
85647 * rt/aio.h: Likewise.
85648 * rt/bits/mqueue2.h: Likewise.
85649 * rt/mqueue.h: Likewise.
85650 * shadow/shadow.h: Likewise.
85651 * signal/signal.h: Likewise.
85652 * socket/send.c: Likewise.
85653 * socket/sendto.c: Likewise.
85654 * socket/sys/socket.h: Likewise.
85655 * stdio-common/printf.h: Likewise.
85656 * stdlib/bits/stdlib.h: Likewise.
85657 * stdlib/fmtmsg.h: Likewise.
85658 * stdlib/monetary.h: Likewise.
85659 * stdlib/stdlib.h: Likewise.
85660 * stdlib/ucontext.h: Likewise.
85661 * streams/stropts.h: Likewise.
85662 * string/argz.h: Likewise.
85663 * string/bits/string2.h: Likewise.
85664 * string/string.h: Likewise.
85665 * string/strings.h: Likewise.
85666 * sunrpc/rpc/auth.h: Likewise.
85667 * sunrpc/rpc/auth_des.h: Likewise.
85668 * sunrpc/rpc/clnt.h: Likewise.
85669 * sunrpc/rpc/netdb.h: Likewise.
85670 * sunrpc/rpc/pmap_clnt.h: Likewise.
85671 * sunrpc/rpc/xdr.h: Likewise.
85672 * sysdeps/generic/inttypes.h: Likewise.
85673 * sysdeps/generic/net/if.h: Likewise.
85674 * sysdeps/generic/sys/swap.h: Likewise.
85675 * sysdeps/gnu/net/if.h: Likewise.
85676 * sysdeps/gnu/utmpx.h: Likewise.
85677 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
85678 * sysdeps/i386/i486/bits/string.h: Likewise.
85679 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
85680 * sysdeps/s390/bits/string.h: Likewise.
85681 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
85682 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
85683 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
85684 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
85685 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
85686 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
85687 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
85688 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
85689 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
85690 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
85691 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
85692 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
85693 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
85694 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
85695 * sysdeps/unix/sysv/linux/readv.c: Likewise.
85696 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
85697 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
85698 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85699 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
85700 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
85701 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
85702 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
85703 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
85704 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
85705 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
85706 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
85707 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
85708 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
85709 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
85710 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
85711 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
85712 * sysvipc/sys/ipc.h: Likewise.
85713 * sysvipc/sys/msg.h: Likewise.
85714 * sysvipc/sys/sem.h: Likewise.
85715 * sysvipc/sys/shm.h: Likewise.
85716 * termios/termios.h: Likewise.
85717 * time/sys/time.h: Likewise.
85718 * time/time.h: Likewise.
85719 * wcsmbs/bits/wchar2.h: Likewise.
85720 * wcsmbs/uchar.h: Likewise.
85721 * wcsmbs/wchar.h: Likewise.
85722 * wctype/wctype.h: Likewise.
85723
85724 [BZ #13551]
85725 * Makeconfig: Remove all but ELF support including AIX support.
85726 * Makerules: Likewise.
85727 * config.h.in: Likewise.
85728 * config.make.in: Likewise.
85729 * configure: Likewise.
85730 * configure.in: Likewise.
85731 * csu/Makefile: Likewise.
85732 * csu/version.c: Likewise.
85733 * debug/Makefile: Likewise.
85734 * dlfcn/Makefile: Likewise.
85735 * elf/Makefile: Likewise.
85736 * extra-lib.mk: Likewise.
85737 * iconv/Makefile: Likewise.
85738 * include/libc-symbols.h: Likewise.
85739 * include/shlib-compat.h: Likewise.
85740 * resolv/Makefile: Likewise.
85741 * resolv/res_libc.c: Likewise.
85742 * rt/Makefile: Likewise.
85743 * sysdeps/i386/asm-syntax.h: Likewise.
85744 * sysdeps/i386/sysdep.h: Likewise.
85745 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
85746 * sysdeps/mach/sysdep.h: Likewise.
85747 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
85748 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
85749 * sysdeps/s390/asm-syntax.h: Likewise.
85750 * sysdeps/s390/s390-32/sysdep.h: Likewise.
85751 * sysdeps/s390/s390-64/sysdep.h: Likewise.
85752 * sysdeps/sh/sysdep.h: Likewise.
85753 * sysdeps/unix/sparc/sysdep.h: Likewise.
85754 * sysdeps/wordsize-32/divdi3.c: Likewise.
85755 * sysdeps/x86_64/sysdep.h: Likewise.
85756
85757 * argp/Versions: Remove _argp_unlock_xxx.
85758
85759 [BZ #13559]
85760 * abilist/ld.abilist: Update. Adjust for removal of tls option.
85761 * abilist/libBrokenLocale.abilist: Likewise.
85762 * abilist/libanl.abilist: Likewise.
85763 * abilist/libc.abilist: Likewise.
85764 * abilist/libcrypt.abilist: Likewise.
85765 * abilist/libdl.abilist: Likewise.
85766 * abilist/libm.abilist: Likewise.
85767 * abilist/libnsl.abilist: Likewise.
85768 * abilist/libpthread.abilist: Likewise.
85769 * abilist/libresolv.abilist: Likewise.
85770 * abilist/librt.abilist: Likewise.
85771 * abilist/libthread_db.abilist: Likewise.
85772 * abilist/libutil.abilist: Likewise.
85773 * abilist/libnss_db.abilist: New file.
85774
85775 * scripts/abilist.awk: Add support for indirect functions.
85776
85777 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
85778
85779 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
85780
85781 * shlib-versions: Remove entries for ports architectures.
85782
85783 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
85784 files in ports.
85785 * elf/stackguard-macros.h: Remove support for IA-64.
85786 * elf/tst-auditmod1.c: Likewise.
85787 * sysdeps/generic/ldsodefs.h: Likewise.
85788
85789 * sysdeps/unix/sysv/linux/configure.in: Ports should define
85790 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
85791 configure files.
85792
85793 [BZ #13552]
85794 * configure.in: Remove --enable-omitfp support.
85795 * FAQ.in: Adjust.
85796 * config.make.in: Likewise.
85797 * Makeconfig: Likewise.
85798 * manual/install.texi: Likewise.
85799
85800 In case anyone cares, the IA-64 architecture could move to ports.
85801 * sysdeps/ia64/*: Removed.
85802 * sysdeps/unix/sysv/linux/ia64/*: Removed.
85803 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
85804
85805 [BZ #13555]
85806 * configure.in: Remove entries for unsupported architectures.
85807
85808 [BZ #13533]
85809 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
85810 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
85811 routines.
85812 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
85813 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
85814 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
85815 fall back to using wcrtomb.
85816 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
85817 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
85818 renaming.
85819 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
85820 * wcsmbs/tst-c16c32-1.c: New file.
85821
85822 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
85823 local variable.
85824
85825 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
85826
85827 * elf/tst-unique3.cc: Add explicit declaration of gets.
85828 * elf/tst-unique3lib.cc: Likewise.
85829 * elf/tst-unique3lib2.cc: Likewise.
85830 * elf/tst-unique4.cc: Likewise.
85831
85832 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
85833
85834 2012-01-06 Joseph Myers <joseph@codesourcery.com>
85835
85836 [BZ #13566]
85837 * assert/assert.h (static_assert): Don't define for C++.
85838 * libio/stdio.h (gets): Do declare for C++ <= C++11.
85839 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
85840
85841 2012-01-03 Ulrich Drepper <drepper@gmail.com>
85842
85843 * iconv/loop.c (single loop): Fix assertion in storing of
85844 remaining bytes.
85845
85846 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
85847
85848 2012-01-01 Ulrich Drepper <drepper@gmail.com>
85849
85850 * posix/getconf.c: Update copyright year.
85851 * nss/getent.c: Likewise.
85852 * nss/makedb.c: Likewise.
85853 * iconv/iconvconfig.c: Likewise.
85854 * iconv/iconv_prog.c: Likewise.
85855 * elf/ldconfig.c: Likewise.
85856 * elf/pldd.c: Likewise.
85857 * elf/sotruss.ksh: Likewise.
85858 * catgets/gencat.c: Likewise.
85859 * csu/version.c: Likewise.
85860 * elf/ldd.bash.in: Likewise.
85861 * elf/sprof.c (print_version): Likewise.
85862 * locale/programs/locale.c: Likewise.
85863 * locale/programs/localedef.c: Likewise.
85864 * login/programs/pt_chown.c: Likewise.
85865 * nscd/nscd.c (print_version): Likewise.
85866 * debug/xtrace.sh: Likewise.
85867 * malloc/memusage.sh: Likewise.
85868 * malloc/mtrace.pl: Likewise.
85869 * debug/catchsegv.sh: Likewise.
85870
85871 2011-12-30 Jakub Jelinek <jakub@redhat.com>
85872
85873 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
85874 pure attribute.
85875
85876 2011-12-24 Ulrich Drepper <drepper@gmail.com>
85877
85878 [BZ #13533]
85879 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
85880 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
85881 transformations.
85882 * iconv/gconv_int.h: Likewise.
85883 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
85884 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
85885 from libc for GLIBC_2.16.
85886 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
85887 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
85888 * wcsmbs/uchar.h: Really define mbstate_t.
85889 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
85890 * wcsmbs/c16rtomb.c: New file.
85891 * wcsmbs/mbrtoc16.c: New file.
85892 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
85893 for C/POSIX locale.
85894 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
85895 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
85896
85897 * wcsmbs/wchar.h: Add missing __restrict.
85898
85899 2011-12-23 Ulrich Drepper <drepper@gmail.com>
85900
85901 [BZ #13532]
85902 * time/Makefile (routines): Add timespec_get.
85903 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
85904 * time/time.h: Define TIME_UTC and declare timespec_get. Define
85905 timespec for ISO C11.
85906 * time/timespec_get.c: New file.
85907 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
85908 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
85909
85910 [BZ #13531]
85911 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
85912 * stdlib/stdlib.h: Declare aligned_alloc.
85913 * Versions.def: Add GLIBC_2.16 for libc.
85914 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
85915
85916 [BZ 13527]
85917 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
85918 ISO C11.
85919
85920 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
85921 code.
85922
85923 [BZ #13528]
85924 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
85925
85926 [BZ #13529]
85927 * assert/assert.h (static_assert): Define.
85928
85929 * version.h: Update for 2.16 development version.
85930
85931 [BZ #13526]
85932 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
85933 _ISOC11_SOURCE.
85934
85935 * version.h (RELEASE): Bump for 2.15 release.
85936 * include/features.h (__GLIBC_MINOR__): Bump to 15.
85937
85938 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
85939 Patch by Marek Polacek <mpolacek@redhat.com>.
85940
85941 * bits/byteswap.h: Protect long long constants with __extension__.
85942 * sysdeps/i386/bits/byteswap.h: Likewise.
85943 * sysdeps/ia64/bits/byteswap.h: Likewise.
85944 * sysdeps/s390/bits/byteswap.h: Likewise.
85945 * sysdeps/x86_64/bits/byteswap.h: Likewise.
85946
85947 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
85948
85949 [BZ #13540]
85950 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
85951 destination buffer.
85952 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
85953
85954 2011-12-23 Marek Polacek <polacek@redhat.com>
85955
85956 * elf/dl-addr.c (determine_info): Add inline keyword.
85957 * elf/tst-auditmod4b.c (check_avx): Likewise.
85958 * elf/tst-auditmod6b.c (check_avx): Likewise.
85959 * elf/tst-auditmod6c.c (check_avx): Likewise.
85960 * elf/tst-auditmod7b.c (check_avx): Likewise.
85961
85962 2011-12-23 Ulrich Drepper <drepper@gmail.com>
85963
85964 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
85965 !__SSE_MATH__.
85966
85967 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
85968
85969 [BZ #13540]
85970 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
85971 processing for last bytes.
85972
85973 2011-08-06 Bruno Haible <bruno@clisp.org>
85974
85975 [BZ #13061]
85976 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
85977 U+0385, not to U+1FEE.
85978
85979 [BZ #13062]
85980 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
85981 entry for U+00A5 U+0301.
85982
85983 2011-12-22 Ulrich Drepper <drepper@gmail.com>
85984
85985 [BZ #13166]
85986 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
85987 buffer for the output is too small.
85988
85989 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
85990 optimization.
85991
85992 [BZ #13185]
85993 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
85994 SSE flags if possible.
85995
85996 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
85997
85998 [BZ #13540]
85999 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
86000 processing for last bytes.
86001
86002 2011-12-22 Joseph Myers <joseph@codesourcery.com>
86003
86004 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
86005 (syscall-list-default-options, syscall-list-default-condition)
86006 (syscall-list-includes): Define.
86007 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
86008 list of ABIs and options and #if conditions for each ABI. Do not
86009 handle common syscalls between ABIs specially.
86010 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
86011 Remove.
86012 (syscall-list-variants, syscall-list-32bit-options)
86013 (syscall-list-32bit-condition, syscall-list-64bit-options)
86014 (syscall-list-64bit-condition): Define.
86015 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
86016 (syscall-list-variants, syscall-list-32bit-options)
86017 (syscall-list-32bit-condition, syscall-list-64bit-options)
86018 (syscall-list-64bit-condition): Define.
86019 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
86020 Remove.
86021 (syscall-list-variants, syscall-list-32bit-options)
86022 (syscall-list-32bit-condition, syscall-list-64bit-options)
86023 (syscall-list-64bit-condition): Define.
86024 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
86025 Remove.
86026 (syscall-list-variants, syscall-list-32bit-options)
86027 (syscall-list-32bit-condition, syscall-list-64bit-options)
86028 (syscall-list-64bit-condition): Define.
86029
86030 2011-12-22 Ulrich Drepper <drepper@gmail.com>
86031
86032 * locale/iso-639.def: Add brx entry.
86033
86034 [BZ #13328]
86035 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
86036 Proposed by Mariusz_Cukr <marcukr@op.pl>.
86037
86038 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
86039 __feraiseexcept_renamed.
86040
86041 2011-12-21 Ulrich Drepper <drepper@gmail.com>
86042
86043 [BZ #13538]
86044 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
86045 EPOLLET with unsigned values.
86046 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86047 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
86048
86049 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
86050 to large cancellation.
86051 * math/s_cacoshf.c: Likewise.
86052 * math/s_cacoshl.c: Likewise.
86053
86054 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
86055
86056 [BZ #13305]
86057 [BZ #12786]
86058 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
86059 * math/s_cacoshf.c: Likewise.
86060 * math/s_cacoshl.c: Likewise.
86061
86062 2011-12-21 Ulrich Drepper <drepper@gmail.com>
86063
86064 [BZ #13439]
86065 * iconv/gconv.h: Define __GCONV_SWAP.
86066 * iconvdata/unicode.c: The swap bit must be stored in __flags.
86067 * iconvdata/utf-16.c: Likewise.
86068 * iconvdata/utf-32.c: Likewise.
86069
86070 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
86071
86072 [BZ #13524]
86073 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
86074 numerator after shifting it by one limb.
86075
86076 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
86077
86078 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
86079 under [__USE_EXTERN_INLINES].
86080
86081 2011-12-17 Ulrich Drepper <drepper@gmail.com>
86082
86083 [BZ #13446]
86084 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
86085
86086 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
86087
86088 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
86089 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
86090 optimized code.
86091 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
86092 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
86093 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
86094 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
86095 for strncasecmp/strncasecmp_l compilation.
86096 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
86097 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
86098
86099 2011-12-08 Marek Polacek <mpolacek@redhat.com>
86100
86101 [BZ #13484]
86102 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
86103 of __asm__.
86104
86105 2011-12-17 Ulrich Drepper <drepper@gmail.com>
86106
86107 [BZ #13506]
86108 * time/tzfile.c (__tzfile_read): Check values from file header.
86109
86110 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
86111
86112 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
86113 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
86114 * powerpc/powerpc32/dl-start.S: Likewise.
86115 * powerpc/powerpc32/elf/start.S: Likewise.
86116 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
86117 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
86118 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
86119 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
86120 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
86121 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
86122 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
86123 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
86124 * powerpc/powerpc32/fpu/s_round.S: Likewise.
86125 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
86126 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
86127 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
86128 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
86129 * powerpc/powerpc32/memset.S: Likewise.
86130 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
86131 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
86132 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
86133 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
86134 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
86135 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
86136 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
86137 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
86138 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
86139 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
86140 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
86141 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
86142 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
86143
86144 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
86145
86146 * math/libm-test.inc: Added more nearbyint tests.
86147 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
86148 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
86149 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
86150 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
86151
86152 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
86153
86154 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
86155 FD_CLOEXEC.
86156
86157 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
86158
86159 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
86160 Add wcscpy-ssse3 wcscpy-c.
86161 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
86162 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
86163 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
86164 * sysdeps/x86_64/wcschr.S: New file.
86165 * sysdeps/x86_64/wcsrchr.S: New file.
86166 * string/test-strcmp.c: Remove checking of wcscmp function for
86167 wrong alignments.
86168 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
86169 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
86170 wcsrchr-sse2 wcsrchr-c.
86171 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
86172 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
86173 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
86174 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
86175 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
86176 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
86177 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
86178 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
86179 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
86180 * wcsmbc/wcschr.c (WCSCHR): New macro.
86181
86182 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
86183
86184 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
86185 * wcsmbs/test-wcsrchr.c: New file.
86186 * string/test-strrchr.c: Add wcsrchr support.
86187 (WIDE): New macro.
86188 * wcsmbs/test-wcscpy.c: New file.
86189 * string/test-strcpy.c: Add wcscpy support.
86190 (WIDE): New macro.
86191
86192 2011-12-10 Ulrich Drepper <drepper@gmail.com>
86193
86194 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
86195 the inner loop.
86196
86197 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
86198
86199 [BZ #13472]
86200 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
86201
86202 2011-12-04 Ulrich Drepper <drepper@gmail.com>
86203
86204 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
86205 Minor optimizations.
86206
86207 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
86208 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
86209 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
86210
86211 2011-12-03 Ulrich Drepper <drepper@gmail.com>
86212
86213 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
86214 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
86215 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
86216 for gcc to avoid warnings.
86217 * inet/Makefile (tests): Add tst-checks.
86218 * inet/tst-checks.c: New file.
86219
86220 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
86221 warning.
86222
86223 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
86224 __wmemcmp_sse2.
86225
86226 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
86227 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
86228
86229 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
86230
86231 2011-12-02 Ulrich Drepper <drepper@gmail.com>
86232
86233 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
86234 problem.
86235
86236 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
86237
86238 2011-11-29 Joseph Myers <joseph@codesourcery.com>
86239
86240 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
86241 conditional on GCC version.
86242 (__arch_compare_and_exchange_val_8_acq)
86243 (__arch_compare_and_exchange_val_16_acq)
86244 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
86245 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
86246 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
86247
86248 2011-12-02 Joseph Myers <joseph@codesourcery.com>
86249
86250 * sysdeps/sh/backtrace.c: New file.
86251
86252 2011-12-02 Andreas Schwab <schwab@redhat.com>
86253
86254 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
86255 parenthesis.
86256
86257 2011-12-01 Andreas Schwab <schwab@redhat.com>
86258
86259 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
86260 falling back to utime.
86261
86262 2011-11-30 Andreas Schwab <schwab@redhat.com>
86263
86264 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
86265 expectations for float.
86266
86267 2011-11-29 Andreas Schwab <schwab@redhat.com>
86268
86269 * locale/weight.h (findidx): Add parameter len.
86270 * locale/weightwc.h (findidx): Likewise.
86271 * posix/fnmatch_loop.c (FCT): Adjust caller.
86272 * posix/regcomp.c (build_equiv_class): Likewise.
86273 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
86274 * posix/regexec.c (check_node_accept_bytes): Likewise.
86275 * string/strcoll_l.c (STRCOLL): Likewise.
86276 * string/strxfrm_l.c (STRXFRM): Likewise.
86277
86278 2011-11-17 Ulrich Drepper <drepper@gmail.com>
86279
86280 * Makefile.in: Remove CVSOPT handling.
86281 * configure.in: Remove use of AC_REVISION.
86282 * iconvdata/Makefile (distribute): No need to filter out CVS.
86283 * scripts/list-sources.sh: Remove CVS, subversion and monotone
86284 handling.
86285
86286 2011-11-16 Andreas Schwab <schwab@redhat.com>
86287
86288 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
86289 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
86290 [USE_AS_STRNCASECMP_L]: Likewise.
86291 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
86292 NO_TLS_DIRECT_SEG_REFS.
86293 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
86294 Fix argument offsets for non-PIC.
86295 [USE_AS_STRNCASECMP_L]: Likewise.
86296 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
86297 NO_TLS_DIRECT_SEG_REFS.
86298
86299 2011-11-15 Ulrich Drepper <drepper@gmail.com>
86300
86301 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
86302 O_CLOEXEC.
86303 * locale/loadlocale.c (_nl_load_locale): Likewise.
86304
86305 2011-11-15 Andreas Schwab <schwab@redhat.com>
86306
86307 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
86308 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
86309 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
86310 (SYSCALL_GETTIME): Set errno on error.
86311
86312 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
86313 count references to noai6ai_cached.
86314
86315 2011-11-15 Ulrich Drepper <drepper@gmail.com>
86316
86317 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
86318
86319 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
86320 FD_CLOEXEC for /proc/self/maps.
86321
86322 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
86323 FD_CLOEXEC for /proc/meminfo.
86324
86325 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
86326 gai.conf.
86327
86328 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
86329 FD_CLOEXEC for given file.
86330
86331 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
86332
86333 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
86334 FD_CLOEXEC for /etc/hosts.
86335 (_gethtent): Likewise.
86336
86337 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
86338
86339 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
86340 cancellation and set FD_CLOEXEC for /etc/netgroup.
86341
86342 * nss/nss_files/files-key.c (search): Don't allow cancellation when
86343 reading /etc/publickey.
86344
86345 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
86346 allow cancellation when reading /etc/group.
86347
86348 * nss/nss_files/files-alias.c (internal_setent): Don't allow
86349 cancellation.
86350 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
86351
86352 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
86353 when using data file.
86354
86355 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
86356
86357 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
86358 (write_nis_obj): Use "c" and "e" in fopen.
86359
86360 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
86361
86362 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
86363
86364 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
86365
86366 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
86367
86368 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
86369 locale.alias.
86370
86371 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
86372
86373 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
86374
86375 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
86376
86377 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
86378 file parsing and set FD_CLOEXEC.
86379
86380 2011-11-14 Ulrich Drepper <drepper@gmail.com>
86381
86382 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
86383
86384 2011-11-14 Andreas Schwab <schwab@redhat.com>
86385
86386 * malloc/arena.c (arena_get2): Don't call reused_arena when
86387 _int_new_arena failed.
86388
86389 2011-11-14 Ulrich Drepper <drepper@gmail.com>
86390
86391 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
86392 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
86393 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
86394 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
86395 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
86396 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
86397 to compile strcasecmp and strncasecmp.
86398 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
86399 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
86400
86401 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
86402
86403 2011-11-13 Ulrich Drepper <drepper@gmail.com>
86404
86405 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
86406 locale-defines.sym to gen-as-const-headers.
86407 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
86408 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
86409 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
86410 to compile strcasecmp and strncasecmp.
86411 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
86412 strcasecmp_l and strncasecmp_l.
86413 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
86414 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
86415 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
86416 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
86417 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
86418 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
86419 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
86420 * sysdeps/i386/i686/multiarch/strncase.S: New file.
86421 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
86422 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
86423 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
86424
86425 2011-11-12 Ulrich Drepper <drepper@gmail.com>
86426
86427 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
86428 result of SYSDEP_GETTIME_CPU to retval.
86429 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
86430 parameter list to macro. Remove trailing semicolon. Adjust users.
86431
86432 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
86433 variable.
86434
86435 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
86436 mantissa words.
86437 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
86438
86439 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
86440 from unused variable.
86441
86442 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
86443 DWARF definitions.
86444 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
86445 for assembling.
86446
86447 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
86448 over namespaces.
86449
86450 * sunrpc/rpc_prot.c (rejected): Fix case value.
86451
86452 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
86453 unsigned long long int to avoid warnings in shift.
86454
86455 * posix/regex_internal.c (re_string_reconstruct): Actually use result
86456 of use of trans.
86457 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
86458 variable tmp.
86459
86460 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
86461 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
86462 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
86463
86464 * nis/nis_table.c (nis_list): Use variable of correct type for
86465 result of __follow_path call.
86466
86467 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
86468
86469 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
86470 of math functions ceil, trunc, floor, round, and sqrt, when
86471 avaliable on the platform.
86472 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
86473 name clash.
86474 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
86475 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
86476 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
86477
86478 2011-10-30 Marek Polacek <mpolacek@redhat.com>
86479
86480 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
86481 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
86482
86483 2011-11-11 Roland McGrath <roland@hack.frob.com>
86484
86485 * include/unistd.h: Fix __readlink return type.
86486 Reported by Chris Metcalf <cmetcalf@tilera.com>.
86487
86488 2011-11-11 Ulrich Drepper <drepper@gmail.com>
86489
86490 * stdlib/ucontext.h: Undo last change for makecontext.
86491
86492 2011-11-11 Andreas Schwab <schwab@redhat.com>
86493
86494 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
86495
86496 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
86497 * setjmp/setjmp.h: Mark functions as non-leaf.
86498 * setjmp/bits/setjmp2.h: Likewise.
86499 * stdlib/ucontext.h: Likewise.
86500
86501 2011-11-10 Andreas Schwab <schwab@redhat.com>
86502
86503 * malloc/arena.c (_int_new_arena): Don't increment narenas.
86504 (reused_arena): Don't check arena limit.
86505 (arena_get2): Atomically check arena limit.
86506
86507 2011-11-08 Ulrich Drepper <drepper@gmail.com>
86508
86509 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
86510 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
86511
86512 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
86513 instructions.
86514
86515 2011-11-07 Andreas Schwab <schwab@redhat.com>
86516
86517 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
86518 handler when locking.
86519
86520 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
86521 Fix size of allocated buffer.
86522
86523 2011-11-04 Andreas Schwab <schwab@redhat.com>
86524
86525 [BZ #10103]
86526 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
86527 declarations for long double functions.
86528 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
86529
86530 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
86531
86532 2011-11-03 Andreas Schwab <schwab@redhat.com>
86533
86534 * nscd/nscd.c (main): Don't start AVC thread until credentials are
86535 installed.
86536
86537 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
86538 is disabled.
86539
86540 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
86541
86542 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
86543
86544 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
86545
86546 * include/alloca.h (stackinfo_alloca_round): Define.
86547 (extend_alloca): Use it.
86548 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
86549 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
86550 here.
86551
86552 * scripts/check-local-headers.sh: Ignore libaudit.h.
86553
86554 * nscd/Makefile (extra-objs): Make recursively expanded.
86555
86556 2011-11-01 Ulrich Drepper <drepper@gmail.com>
86557
86558 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
86559 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
86560
86561 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
86562 * posix/tst-rfc3484-2.c: Likewise.
86563 * posix/tst-rfc3484-3.c: Likewise.
86564
86565 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
86566 process_vm_writev.
86567 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
86568 process_vm_writev.
86569 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
86570 process_vm_writev from libc using GLIBC_2.15 version.
86571
86572 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
86573
86574 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
86575
86576 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
86577 stack usage.
86578
86579 2011-10-31 Ulrich Drepper <drepper@gmail.com>
86580
86581 [BZ #13367]
86582 * nss/getent.c (initgroups_keys): Show error message in case no group
86583 names are given.
86584
86585 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
86586 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
86587 __bump_nl_timestamp.
86588 * nscd/connections (nscd_init): When host database is served open
86589 netlink socket and request notification about configuration changes.
86590 (main_loop_poll): Track netlink file descriptor and bump timestamp
86591 in case data becomes available.
86592 (main_loop_epoll): Likewise.
86593 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
86594 (database_pers_head): Add extra_data fileds.
86595 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
86596 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
86597 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
86598 Adjust caller.
86599 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
86600 in6ai data, call __free_in6ai.
86601 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
86602 Add -DHAVE_NETLINK.
86603 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
86604 interface information. Reuse previous data if netlink timestamp
86605 is not changed.
86606 (__bump_nl_timestamp): New function.
86607 (__free_in6ai): New function.
86608
86609 2011-10-30 Ulrich Drepper <drepper@gmail.com>
86610
86611 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
86612 close_not_cancel_no_status here.
86613 (__check_pf): Reorganize code a bit to not call close twice if OOM.
86614
86615 2011-10-29 Ulrich Drepper <drepper@gmail.com>
86616
86617 [BZ #13276]
86618 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
86619 return value.
86620
86621 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
86622 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
86623 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
86624
86625 2011-07-03 Andreas Jaeger <aj@suse.de>
86626
86627 [BZ #10709]
86628 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
86629 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
86630 * math/libm-test.inc (sin_test): Add test case.
86631
86632 2011-10-29 Ulrich Drepper <drepper@gmail.com>
86633
86634 [BZ #13337]
86635 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
86636 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
86637
86638 * elf/chroot_canon.c (chroot_canon): Cleanups.
86639
86640 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
86641
86642 [BZ #13335]
86643 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
86644 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
86645
86646 * string/test-strchr.c: Make usable for strchrnul testing.
86647 * string/test-strchrnul.c: New file.
86648 * string/Makefile (strop-tests): Add strchrnul.
86649
86650 * po/it.po: Update from translation team.
86651 * po/es.po: Likewise.
86652
86653 2011-10-28 Ulrich Drepper <drepper@gmail.com>
86654
86655 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
86656 the three constants needed as parameters. Drop the others.
86657 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
86658 __m128i_strloadu_tolower.
86659 Create and initialize variable zero and use it in all the places
86660 where _mm_setzero_si128 was used.
86661
86662 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
86663 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
86664 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
86665 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
86666 anymore.
86667 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
86668 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
86669 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
86670 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
86671 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
86672 __mpranred, __mptan.
86673 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
86674 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
86675 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
86676 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
86677 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
86678 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
86679 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
86680 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
86681 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
86682
86683 2011-10-28 Andreas Schwab <schwab@redhat.com>
86684
86685 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
86686 redefine if SHARED.
86687 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
86688
86689 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
86690 wide char related routines to wcsmbs subdir.
86691
86692 2011-10-27 Andreas Schwab <schwab@redhat.com>
86693
86694 [BZ #13344]
86695 * misc/sys/cdefs.h (__THROWNL): Define.
86696 * posix/unistd.h: Use __THREADNL instead of __THREAD
86697 for memory synchronization functions.
86698
86699 2011-10-26 Roland McGrath <roland@hack.frob.com>
86700
86701 [BZ #13349]
86702 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
86703 doesn't exist.
86704 * manual/stdio.texi (Obstack Streams): Node removed.
86705
86706 2011-10-26 Andreas Schwab <schwab@redhat.com>
86707
86708 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
86709 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86710 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86711
86712 * math/math_private.h (math_force_eval): Allow non-addressable
86713 arguments.
86714 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
86715
86716 2011-10-25 Ulrich Drepper <drepper@gmail.com>
86717
86718 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
86719 file is not needed.
86720
86721 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
86722 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
86723 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
86724 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
86725 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
86726 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
86727 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
86728 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
86729 Add AVX variants.
86730 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
86731 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
86732 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
86733 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
86734 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
86735 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
86736 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
86737 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
86738 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
86739 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
86740 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
86741 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
86742 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
86743 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
86744 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
86745 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
86746 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
86747 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
86748 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
86749
86750 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
86751 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
86752
86753 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
86754 place. Use VEX encoding when compiling for AVX.
86755
86756 2011-10-25 Andreas Schwab <schwab@redhat.com>
86757
86758 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
86759 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
86760
86761 * string/test-strchr.c (do_test): Don't generate NUL bytes.
86762
86763 2011-10-25 Ulrich Drepper <drepper@gmail.com>
86764
86765 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
86766 useless if() expression.
86767 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86768 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86769 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86770 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86771 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86772 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86773 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86774 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86775 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86776 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86777 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86778 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86779 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86780 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86781 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86782 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86783 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
86784 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
86785 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
86786
86787 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
86788
86789 2011-10-25 Andreas Schwab <schwab@redhat.com>
86790
86791 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
86792 condition.
86793 * elf/dl-fini.c (_dl_sort_fini): Likewise.
86794
86795 2011-10-25 Ulrich Drepper <drepper@gmail.com>
86796
86797 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
86798 .text section. Avoid duplicate constants.
86799 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86800 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86801 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86802 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86803 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86804 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86805 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86806 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86807 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
86808 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
86809 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
86810 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
86811 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
86812 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
86813 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
86814 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
86815 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
86816 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
86817 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86818 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86819 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86820 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86821 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86822 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
86823 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
86824 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
86825 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
86826 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
86827 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
86828 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
86829 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
86830 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
86831 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
86832 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
86833 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
86834 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
86835 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
86836 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
86837 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
86838 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
86839 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
86840 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
86841 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
86842 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
86843 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
86844
86845 2011-10-24 Ulrich Drepper <drepper@gmail.com>
86846
86847 * sysdeps/x86_64/dla.h: Move to ...
86848 * sysdeps/x86_64/fpu/dla.h: ...here.
86849 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
86850 situations. Use __builtin_fma only for gcc 4.6 and up.
86851
86852 * config.make.in: Add have-mfma4 entry.
86853 * configure.in: Substitute libc_cv_cc_fma4.
86854 * math/Makefile (dbl-only-routines): Add sincostab.
86855 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
86856 Use __sincostab not sincos.
86857 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
86858 name is a macro.
86859 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86860 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86861 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86862 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
86863 using __copysign.
86864 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
86865 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
86866 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
86867 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
86868 and __inv.
86869 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
86870 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
86871 __copysign.
86872 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
86873 define aliases when function name is a macro.
86874 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
86875 sysdeps/ieee754/dbl-64/sincos.tbl.
86876 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
86877 fma4-enabled routines.
86878 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
86879 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
86880 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
86881 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
86882 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
86883 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
86884 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
86885 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
86886 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
86887 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
86888 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
86889 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
86890 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
86891 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
86892 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
86893 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
86894 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
86895 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
86896 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
86897 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
86898 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
86899 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
86900 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
86901 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
86902 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
86903 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
86904 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
86905 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
86906 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
86907 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
86908
86909 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
86910 rename.
86911 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86912 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86913 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86914 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86915 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86916 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86917 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86918 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86919
86920 2011-10-24 Andreas Schwab <schwab@redhat.com>
86921
86922 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
86923
86924 2011-10-23 Ulrich Drepper <drepper@gmail.com>
86925
86926 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
86927
86928 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
86929 prediction.
86930 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
86931
86932 * string/strnlen.c: Don't define STRNLEN, reverse logic.
86933 Remove unused variable magic_bits.
86934 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
86935
86936 * string/strnlen.c: Define and use STRNLEN macro.
86937 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
86938 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
86939 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
86940 * wcsmbs/wcslen.c: Define and use WCSLEN.
86941 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
86942 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
86943 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
86944 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
86945 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
86946 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
86947 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
86948
86949 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
86950
86951 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86952 strnlen-sse2-no-bsf.
86953 Rename strlen-no-bsf to strlen-sse2-no-bsf.
86954 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
86955 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
86956 Add strnlen support.
86957 (USE_AS_STRNLEN): New macro.
86958 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
86959 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
86960 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
86961 * sysdeps/x86_64/wcslen.S: New file.
86962
86963 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
86964
86965 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
86966 XMM-moves are used for copying on small sizes.
86967
86968 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
86969
86970 * wcsmbs/Makefile (strop-tests): Add wcschr.
86971 * wcsmbs/test-wcschr.c: New file.
86972 * string/test-strchr.c: Update.
86973 Add wcschr support.
86974 (WIDE): New macro.
86975
86976 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
86977
86978 * wcsmbs/Makefile (strop-tests): Add wcslen.
86979 * wcsmbs/test-wcslen.c: New file.
86980 * string/test-strlen.c: Update.
86981 Add wcslen support.
86982 (WIDE): New macro.
86983
86984 2011-10-23 Ulrich Drepper <drepper@gmail.com>
86985
86986 * po/it.po: Update from translation team.
86987
86988 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
86989
86990 * sysdeps/x86_64/wcscmp.S: Update.
86991 Fix wrong comparison semantics.
86992 wcscmp shall use signed comparison not unsigned.
86993 Don't use substraction to avoid overflow bug.
86994 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
86995 * wcsmbc/wcscmp.c: Likewise.
86996 * string/test-strcmp.c: Likewise.
86997 Add new tests to check cases with negative values.
86998
86999 2011-10-23 Ulrich Drepper <drepper@gmail.com>
87000
87001 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
87002 * sysdeps/x86_64/dla.h: ...here. New file.
87003 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
87004 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87005 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87006 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87007 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87008 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
87009 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87010 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87011 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87012
87013 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
87014
87015 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
87016 __ynl_finite aliases.
87017
87018 2011-10-22 Ulrich Drepper <drepper@gmail.com>
87019
87020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
87021
87022 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
87023 define DLA_FMA.
87024 [DLA_FMA] (EMULV): Use DLA_FMA.
87025 [DLA_FMA] (MUL12): Use EMULV.
87026 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
87027 that are not needed.
87028 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87029 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87030 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87031 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87032 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87033 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87034 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87035
87036 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
87037
87038 * math/s_nan.c: Undef __nan.
87039 * math/s_nanf.c: Undef __nanf.
87040 * math/s_nanl.c: Undef __nanl.
87041 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
87042 "math_private.h".
87043
87044 2011-10-22 Ulrich Drepper <drepper@gmail.com>
87045
87046 * math/s_catan.c: Add branch predictions.
87047 * math/s_catanf.c: Likewise.
87048 * math/s_catanh.c: Likewise.
87049 * math/s_catanhf.c: Likewise.
87050 * math/s_catanhl.c: Likewise.
87051 * math/s_catanl.c: Likewise.
87052 * math/s_cexp.c: Likewise.
87053 * math/s_cexpf.c: Likewise.
87054 * math/s_cexpl.c: Likewise.
87055 * math/s_clog.c: Likewise.
87056 * math/s_clog10.c: Likewise.
87057 * math/s_clog10f.c: Likewise.
87058 * math/s_clog10l.c: Likewise.
87059 * math/s_clogf.c: Likewise.
87060 * math/s_clogl.c: Likewise.
87061 * math/s_csqrt.c: Likewise.
87062 * math/s_csqrtf.c: Likewise.
87063 * math/s_csqrtl.c: Likewise.
87064 * math/s_ctanf.c: Likewise.
87065 * math/s_ctanh.c: Likewise.
87066 * math/s_ctanhf.c: Likewise.
87067 * math/s_ctanhl.c: Likewise.
87068 * math/s_ctanl.c: Likewise.
87069
87070 * math/math_private.h: Define __nan, __nanf, __nanl.
87071 * math/s_cacosh.c: Include <math_private.h>.
87072 * math/s_cacoshl.c: Likewise.
87073 * math/s_casinh.c: Likewise.
87074 * math/s_casinhf.c: Likewise.
87075 * math/s_casinhl.c: Likewise.
87076 * math/s_ccos.c: Rely entire on ccosh.
87077 * math/s_ccosf.c: Rely entire on ccoshf.
87078 * math/s_ccosl.c: Rely entirely on ccoshl.
87079 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
87080 Remove tests for FE_INVALID.
87081 * math/s_ccoshf.c: Likewise.
87082 * math/s_ccoshl.c: Likewise.
87083 * math/s_csin.c: Likewise.
87084 * math/s_csinf.c: Likewise.
87085 * math/s_csinh.c Likewise.
87086 * math/s_csinhf.c: Likewise.
87087 * math/s_csinhl.c: Likewise.
87088 * math/s_csinl.c: Likewise.
87089 * math/s_ctan.c: Likewise.
87090 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
87091 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
87092 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
87093
87094 2011-10-21 Ulrich Drepper <drepper@gmail.com>
87095
87096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
87097 compilation problems.
87098
87099 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
87100 __builtin_expect.
87101
87102 2011-10-20 Ulrich Drepper <drepper@gmail.com>
87103
87104 * sysdeps/i386/configure.in: Test for -mfma4 option.
87105 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
87106 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
87107 COMMON_CPUID_INDEX_80000001.
87108 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
87109 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
87110 use it if FMA3 is not supported.
87111 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
87112
87113 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
87114 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
87115
87116 2011-10-20 Andreas Schwab <schwab@redhat.com>
87117
87118 [BZ #12892]
87119 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
87120 it would create a cycle with a link time dependency.
87121
87122 2011-10-19 Ulrich Drepper <drepper@gmail.com>
87123
87124 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
87125 instruction.
87126 * string/Makefile (strop-tests): Add rawmemchr.
87127 * string/test-rawmemchr.c: New file.
87128
87129 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
87130 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
87131 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
87132 when compiling str{,n}casecmp and when AVX is available. Hook up
87133 new optimized code in initializers.
87134
87135 2011-10-19 Andreas Schwab <schwab@redhat.com>
87136
87137 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
87138 __feraiseexcept instead of feraiseexcept.
87139
87140 2011-10-18 Ulrich Drepper <drepper@gmail.com>
87141
87142 * math/math_private.h: Define defaults for libc_fetestexcept and
87143 libc_feupdateenv.
87144 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
87145 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
87146 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
87147 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
87148 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
87149 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
87150 libc_fetestexcept and libc_feupdateenv.
87151
87152 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
87153 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
87154 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
87155 * sysdeps/x86_64/fpu/math_private.h: Define special version of
87156 libc_feholdexcept_setround.
87157
87158 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
87159 Add s_nearbyint-c and s_nearbyintf-c.
87160 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
87161 nearbyintf inlines.
87162 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
87163 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
87164 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
87165 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
87166
87167 * math/math_private.h: Define defaults for libc_fegetround,
87168 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
87169 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
87170 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
87171 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
87172 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
87173 standard functions.
87174 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
87175 Remove comments and hacks for old compiler versions.
87176 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
87177 libc_fegetround, libc_fesetround, libc_feholdexcept, and
87178 libc_feholdexceptl.
87179
87180 2011-10-18 Andreas Schwab <schwab@redhat.com>
87181
87182 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
87183 (__feraiseexcept_renamed): Add __NTH.
87184 (feraiseexcept): Add __NTH. Rename local variables to fix
87185 namespace violations.
87186
87187 2011-10-17 Ulrich Drepper <drepper@gmail.com>
87188
87189 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
87190
87191 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
87192
87193 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
87194 recently added interfaces.
87195 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
87196
87197 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
87198 about macro parameter expansion.
87199
87200 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
87201 __NO_MATH_INLINES is defined. Cleanups.
87202
87203 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
87204 and __floorf is target has SSE4.1.
87205 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
87206 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
87207 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
87208 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
87209
87210 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
87211 name.
87212 (floorf): Likewise.
87213
87214 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
87215
87216 2011-10-17 Andreas Schwab <schwab@redhat.com>
87217
87218 * misc/sys/cdefs.h: Fix last change.
87219
87220 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
87221 database lookup.
87222
87223 2011-10-16 Ulrich Drepper <drepper@gmail.com>
87224
87225 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
87226
87227 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
87228 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87229 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
87230 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
87231 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
87232 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
87233 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
87234 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
87235 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
87236 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
87237 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
87238 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
87239 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
87240 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
87241 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
87242 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
87243 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
87244 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
87245 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
87246 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
87247 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
87248 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
87249
87250 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
87251 ceil, ceilf, floor, floorf.
87252
87253 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
87254 Perform IRELATIVE relocations last.
87255
87256 * elf/do-rel.h: Add another parameter nrelative, replacing the
87257 local variable with the same name. Change name of the function
87258 to end in Rel or Rela (uppercase).
87259 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
87260 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
87261 elf_dynamic_do_##reloc function.
87262
87263 2011-10-15 Ulrich Drepper <drepper@gmail.com>
87264
87265 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
87266 is sufficient, at least on modern CPUs.
87267
87268 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
87269
87270 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
87271 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
87272
87273 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
87274 __expl_finite.
87275 * math/bits/math-finite.h: Add entries for exp.
87276 * math/e_expl.c: Add __*_finite alias.
87277 * sysdeps/i386/fpu/e_exp.S: Likewise.
87278 * sysdeps/i386/fpu/e_expf.S: Likewise.
87279 * sysdeps/i386/fpu/e_expl.c: Likewise.
87280 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87281 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
87282 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
87283 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
87284 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
87285 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
87286 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
87287
87288 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
87289 is sufficient, at least on modern CPUs.
87290
87291 * ctype/ctype-info.c (__ctype_init): Define.
87292 * include/ctype.h (__ctype_init): Declare.
87293 (__ctype_b_loc): The variable is always initialized.
87294 (__ctype_toupper_loc): Likewise.
87295 (__ctype_tolower_loc): Likewise.
87296 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
87297 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
87298
87299 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
87300
87301 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
87302
87303 * configure.in: Also look in $cxxmachine/include for C++ system
87304 headers.
87305
87306 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
87307
87308 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
87309 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
87310 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
87311 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
87312 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
87313 (USE_AS_WMEMCMP): New macro.
87314 Fixing indents.
87315 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
87316 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
87317 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
87318 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
87319 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87320 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
87321 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
87322 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
87323 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
87324 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
87325 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
87326 (USE_AS_WMEMCMP): New macro.
87327 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
87328 * sysdeps/string/test-memcmp.c: Update.
87329 Fix simple_wmemcmp.
87330 Add new tests.
87331 * wcsmbs/wmemcmp.c: Update.
87332 (WMEMCMP): New macro.
87333 Fix overflow bug.
87334
87335 2011-10-12 Andreas Jaeger <aj@suse.de>
87336
87337 [BZ #13268]
87338 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
87339
87340 2011-10-15 Ulrich Drepper <drepper@gmail.com>
87341
87342 * libio/iofwide.c (do_length): Avoid warning.
87343
87344 * ctype/ctype.h (__isctype_f): Add missing __THROW.
87345
87346 2011-10-14 Ulrich Drepper <drepper@gmail.com>
87347
87348 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
87349
87350 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
87351 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
87352 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
87353 * sysdeps/i386/i686/fpu/e_log.S: New file.
87354 * sysdeps/i386/i686/fpu/e_logf.S: New file.
87355 * sysdeps/i386/i686/fpu/e_logl.S: New file.
87356
87357 * ctype/ctype.h: Add support for inlined isXXX functions when
87358 compiling C++ code.
87359
87360 2011-10-14 Andreas Schwab <schwab@redhat.com>
87361
87362 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87363
87364 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
87365
87366 2011-10-13 Roland McGrath <roland@hack.frob.com>
87367
87368 [BZ #13291]
87369 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
87370
87371 2011-10-13 Andreas Schwab <schwab@redhat.com>
87372
87373 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
87374 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
87375 feraiseexcept.
87376
87377 * sysdeps/x86_64/memrchr.S: Check for zero size.
87378
87379 * string/stratcliff.c: Add memrchr tests.
87380
87381 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
87382
87383 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87384 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
87385 rawmemchr-sse2 rawmemchr-sse2-bsf.
87386 * sysdeps/i386/i686/multiarch/memchr.S: New file.
87387 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
87388 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
87389 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
87390 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
87391 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
87392 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
87393 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
87394 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
87395 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
87396 * string/memrchr.c (MEMRCHR): New macro.
87397
87398 2011-10-12 Ulrich Drepper <drepper@gmail.com>
87399
87400 Add integration with gcc's -ffinite-math-only and optimize wrapper
87401 functions in libm.
87402 * Versions.def: Define GLIBC_2.15 version for libm.
87403 * math/Makefile (headers): Add bits/math-finite.h.
87404 * math/bits/math-finite.h: New file.
87405 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
87406 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
87407 * math/e_acoshl.c: Add __*_finite alias.
87408 * math/e_acosl.c: Likewise.
87409 * math/e_asinl.c: Likewise.
87410 * math/e_atan2l.c: Likewise.
87411 * math/e_atanhl.c: Likewise.
87412 * math/e_coshl.c: Likewise.
87413 * math/e_exp10.c: Likewise.
87414 * math/e_exp10f.c: Likewise.
87415 * math/e_exp10l.c: Likewise.
87416 * math/e_exp2l.c: Likewise.
87417 * math/e_fmodl.c: Likewise.
87418 * math/e_gammal_r.c: Likewise.
87419 * math/e_hypotl.c: Likewise.
87420 * math/e_j0l.c: Likewise.
87421 * math/e_j1l.c: Likewise.
87422 * math/e_jnl.c: Likewise.
87423 * math/e_lgammal_r.c: Likewise.
87424 * math/e_log10l.c: Likewise.
87425 * math/e_log2l.c: Likewise.
87426 * math/e_logl.c: Likewise.
87427 * math/e_powl.c: Likewise.
87428 * math/e_sinhl.c: Likewise.
87429 * math/e_sqrtl.c: Likewise.
87430 * math/e_scalb.c: Completely rewritten and optimized.
87431 * math/e_scalbf.c: Likewise.
87432 * math/e_scalbl.c: Likewise.
87433 * math/w_acos.c: Likewise.
87434 * math/w_acosf.c: Likewise.
87435 * math/w_acosl.c: Likewise.
87436 * math/w_acosh.c: Likewise.
87437 * math/w_acoshf.c: Likewise.
87438 * math/w_acoshl.c: Likewise.
87439 * math/w_asin.c: Likewise.
87440 * math/w_asinf.c: Likewise.
87441 * math/w_asinl.c: Likewise.
87442 * math/w_atan2.c: Likewise.
87443 * math/w_atan2f.c: Likewise.
87444 * math/w_atan2l.c: Likewise.
87445 * math/w_atanh.c: Likewise.
87446 * math/w_atanhf.c: Likewise.
87447 * math/w_atanhl.c: Likewise.
87448 * math/w_exp10.c: Likewise.
87449 * math/w_exp10f.c: Likewise.
87450 * math/w_exp10l.c: Likewise.
87451 * math/w_fmod.c: Likewise.
87452 * math/w_fmodf.c: Likewise.
87453 * math/w_fmodl.c: Likewise.
87454 * math/w_j0.c: Likewise.
87455 * math/w_j0f.c: Likewise.
87456 * math/w_j0l.c: Likewise.
87457 * math/w_j1.c: Likewise.
87458 * math/w_j1f.c: Likewise.
87459 * math/w_j1l.c: Likewise.
87460 * math/w_jn.c: Likewise.
87461 * math/w_jnf.c: Likewise.
87462 * math/w_log.c: Likewise.
87463 * math/w_logf.c: Likewise.
87464 * math/w_logl.c: Likewise.
87465 * math/w_log10.c: Likewise.
87466 * math/w_log10f.c: Likewise.
87467 * math/w_log10l.c: Likewise.
87468 * math/w_log2.c: Likewise.
87469 * math/w_log2f.c: Likewise.
87470 * math/w_log2l.c: Likewise.
87471 * math/w_pow.c: Likewise.
87472 * math/w_powf.c: Likewise.
87473 * math/w_powl.c: Likewise.
87474 * math/w_remainder.c: Likewise.
87475 * math/w_remainderf.c: Likewise.
87476 * math/w_remainderl.c: Likewise.
87477 * math/w_scalb.c: Likewise.
87478 * math/w_scalbf.c: Likewise.
87479 * math/w_scalbl.c: Likewise.
87480 * math/w_sqrt.c: Likewise.
87481 * math/w_sqrtf.c: Likewise.
87482 * math/w_sqrtl.c: Likewise.
87483 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
87484 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
87485 used.
87486 * math/math_private.h: Declare __kernel_standard_f.
87487 * math/w_cosh.c: Remove cruft and optimize a bit.
87488 * math/w_coshf.c: Likewise.
87489 * math/w_coshl.c: Likewise.
87490 * math/w_exp2.c: Likewise.
87491 * math/w_exp2f.c: Likewise.
87492 * math/w_exp2l.c: Likewise.
87493 * math/w_hypot.c: Likewise.
87494 * math/w_hypotf.c: Likewise.
87495 * math/w_hypotl.c: Likewise.
87496 * math/w_lgamma.c: Likewise.
87497 * math/w_lgamma_r.c: Likewise.
87498 * math/w_lgammaf.c: Likewise.
87499 * math/w_lgammaf_r.c: Likewise.
87500 * math/w_lgammal.c: Likewise.
87501 * math/w_lgammal_r.c: Likewise.
87502 * math/w_sinh.c: Likewise.
87503 * math/w_sinhf.c: Likewise.
87504 * math/w_sinhl.c: Likewise.
87505 * math/w_tgamma.c: Likewise.
87506 * math/w_tgammaf.c: Likewise.
87507 * math/w_tgammal.c: Likewise.
87508 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
87509 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87510 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
87511 Minor optimizations. Pretty printing. Remove cruft.
87512 * sysdeps/i386/fpu/e_acosf.S: Likewise.
87513 * sysdeps/i386/fpu/e_acosh.S: Likewise.
87514 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
87515 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
87516 * sysdeps/i386/fpu/e_acosl.c: Likewise.
87517 * sysdeps/i386/fpu/e_asin.S: Likewise.
87518 * sysdeps/i386/fpu/e_asinf.S: Likewise.
87519 * sysdeps/i386/fpu/e_atan2.S: Likewise.
87520 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
87521 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
87522 * sysdeps/i386/fpu/e_atanh.S: Likewise.
87523 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
87524 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
87525 * sysdeps/i386/fpu/e_exp10.S: Likewise.
87526 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
87527 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
87528 * sysdeps/i386/fpu/e_exp2.S: Likewise.
87529 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
87530 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
87531 * sysdeps/i386/fpu/e_fmod.S: Likewise.
87532 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
87533 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
87534 * sysdeps/i386/fpu/e_hypot.S: Likewise.
87535 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
87536 * sysdeps/i386/fpu/e_log.S: Likewise.
87537 * sysdeps/i386/fpu/e_log10.S: Likewise.
87538 * sysdeps/i386/fpu/e_log10f.S: Likewise.
87539 * sysdeps/i386/fpu/e_log10l.S: Likewise.
87540 * sysdeps/i386/fpu/e_log2.S: Likewise.
87541 * sysdeps/i386/fpu/e_log2f.S: Likewise.
87542 * sysdeps/i386/fpu/e_log2l.S: Likewise.
87543 * sysdeps/i386/fpu/e_logf.S: Likewise.
87544 * sysdeps/i386/fpu/e_logl.S: Likewise.
87545 * sysdeps/i386/fpu/e_pow.S: Likewise.
87546 * sysdeps/i386/fpu/e_powf.S: Likewise.
87547 * sysdeps/i386/fpu/e_powl.S: Likewise.
87548 * sysdeps/i386/fpu/e_remainder.S: Likewise.
87549 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
87550 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
87551 * sysdeps/i386/fpu/e_scalb.S: Likewise.
87552 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
87553 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
87554 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
87555 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
87556 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
87557 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
87558 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
87559 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87560 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
87561 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
87562 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
87563 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
87564 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
87565 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
87566 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
87567 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
87568 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
87569 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87570 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
87571 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
87572 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87573 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
87574 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
87575 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
87576 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87577 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
87578 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
87579 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
87580 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
87581 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
87582 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
87583 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
87584 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
87585 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
87586 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
87587 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
87588 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
87589 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
87590 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
87591 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
87592 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
87593 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
87594 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
87595 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
87596 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
87597 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
87598 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
87599 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
87600 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
87601 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87602 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
87603 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
87604 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
87605 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
87606 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
87607 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
87608 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
87609 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
87610 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
87611 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
87612 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
87613 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
87614 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
87615 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
87616 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
87617 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
87618 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
87619 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87620 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87621 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
87622 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
87623 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
87624 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
87625 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
87626 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
87627 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
87628 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
87629 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
87630 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
87631 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
87632 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87633 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
87634 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
87635 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87636 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
87637 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87638 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
87639 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
87640 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87641 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87642 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
87643 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87644 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
87645 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
87646 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
87647 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87648 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
87649 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
87650 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
87651 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
87652 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
87653 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
87654 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
87655 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
87656 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
87657 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
87658 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
87659 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
87660 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
87661 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
87662 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
87663 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
87664 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
87665 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
87666 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
87667 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
87668 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
87669 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
87670 (__isnanf): Likewise.
87671 (__isinf_ns): Likewise.
87672 (__isinf_nsf): Likewise.
87673 (__finite): Likewise.
87674 (__finitef): Likewise.
87675 (__ieee754_sqrt): Define as macro.
87676 (__ieee754_sqrtf): Define as macro.
87677 (__ieee754_sqrtl): Define as macro.
87678 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
87679 inlined copy.
87680 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
87681 __FINITE_MATH_ONLY__ consistent.
87682 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
87683
87684 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
87685
87686 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
87687 of rawmemchr.
87688
87689 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
87690
87691 2011-10-09 Ulrich Drepper <drepper@gmail.com>
87692
87693 * po/ja.po: Update from translation team.
87694
87695 2011-10-08 Roland McGrath <roland@hack.frob.com>
87696
87697 * locale/programs/locarchive.c (prepare_address_space): New function.
87698 (create_archive, enlarge_archive, open_archive): Use it.
87699
87700 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
87701 inside [SHARED], where it is used.
87702
87703 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
87704
87705 * nss/getent.c (netgroup_keys): Remove unused variable.
87706 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
87707
87708 2011-10-08 Ulrich Drepper <drepper@gmail.com>
87709
87710 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
87711 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
87712 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
87713 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
87714 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
87715 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
87716 * math/Makefile (libm-calls): Add s_isinf_ns.
87717 * math/divtc3.c: Use __isinf_nsl instead of isinf.
87718 * math/multc3.c: Likewise.
87719 * math/s_casin.c: Likewise.
87720 * math/s_casinf.c: Likewise.
87721 * math/s_casinl.c: Likewise.
87722 * math/s_ccos.c: Likewise.
87723 * math/s_ccosf.c: Likewise.
87724 * math/s_ccosl.c: Likewise.
87725 * math/s_ctan.c: Likewise.
87726 * math/s_ctanf.c: Likewise.
87727 * math/s_ctanh.c: Likewise.
87728 * math/s_ctanhf.c: Likewise.
87729 * math/s_ctanhl.c: Likewise.
87730 * math/s_ctanl.c: Likewise.
87731 * math/w_fmod.c: Likewise.
87732 * math/w_fmodf.c: Likewise.
87733 * math/w_fmodl.c: Likewise.
87734 * math/w_remainder.c: Likewise.
87735 * math/w_remainderf.c: Likewise.
87736 * math/w_remainderl.c: Likewise.
87737 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
87738 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
87739 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
87740 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
87741 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
87742 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
87743 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
87744 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
87745
87746 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
87747 of the number.
87748 * stdio-common/printf_fphex.c: Likewise.
87749 * stdio-common/printf_size.c: Likewise.
87750
87751 * math/e_exp10.c: Include math_private.h using <...> not "...".
87752 * math/e_exp10f.c: Likewise.
87753 * math/e_exp10l.c: Likewise.
87754 * math/e_exp2l.c: Likewise.
87755 * math/e_j0l.c: Likewise.
87756 * math/e_j1l.c: Likewise.
87757 * math/e_jnl.c: Likewise.
87758 * math/e_lgammal_r.c: Likewise.
87759 * math/e_rem_pio2l.c: Likewise.
87760 * math/e_scalb.c: Likewise.
87761 * math/e_scalbf.c: Likewise.
87762 * math/e_scalbl.c: Likewise.
87763 * math/k_cosl.c: Likewise.
87764 * math/k_sinl.c: Likewise.
87765 * math/k_tanl.c: Likewise.
87766 * math/s_cacoshf.c: Likewise.
87767 * math/s_catan.c: Likewise.
87768 * math/s_catanf.c: Likewise.
87769 * math/s_catanh.c: Likewise.
87770 * math/s_catanhf.c: Likewise.
87771 * math/s_catanhl.c: Likewise.
87772 * math/s_catanl.c: Likewise.
87773 * math/s_ccosh.c: Likewise.
87774 * math/s_ccoshf.c: Likewise.
87775 * math/s_ccoshl.c: Likewise.
87776 * math/s_cexp.c: Likewise.
87777 * math/s_cexpf.c: Likewise.
87778 * math/s_cexpl.c: Likewise.
87779 * math/s_clog.c: Likewise.
87780 * math/s_clog10.c: Likewise.
87781 * math/s_clog10f.c: Likewise.
87782 * math/s_clog10l.c: Likewise.
87783 * math/s_clogf.c: Likewise.
87784 * math/s_clogl.c: Likewise.
87785 * math/s_csin.c: Likewise.
87786 * math/s_csinf.c: Likewise.
87787 * math/s_csinh.c: Likewise.
87788 * math/s_csinhf.c: Likewise.
87789 * math/s_csinhl.c: Likewise.
87790 * math/s_csinl.c: Likewise.
87791 * math/s_csqrt.c: Likewise.
87792 * math/s_csqrtf.c: Likewise.
87793 * math/s_csqrtl.c: Likewise.
87794 * math/s_ctan.c: Likewise.
87795 * math/s_ctanf.c: Likewise.
87796 * math/s_ctanh.c: Likewise.
87797 * math/s_ctanhf.c: Likewise.
87798 * math/s_ctanhl.c: Likewise.
87799 * math/s_ctanl.c: Likewise.
87800 * math/s_ldexp.c: Likewise.
87801 * math/s_ldexpf.c: Likewise.
87802 * math/s_ldexpl.c: Likewise.
87803 * math/s_significand.c: Likewise.
87804 * math/s_significandf.c: Likewise.
87805 * math/s_significandl.c: Likewise.
87806 * math/w_acos.c: Likewise.
87807 * math/w_acosf.c: Likewise.
87808 * math/w_acosh.c: Likewise.
87809 * math/w_acoshf.c: Likewise.
87810 * math/w_acoshl.c: Likewise.
87811 * math/w_acosl.c: Likewise.
87812 * math/w_asin.c: Likewise.
87813 * math/w_asinf.c: Likewise.
87814 * math/w_asinl.c: Likewise.
87815 * math/w_atan2.c: Likewise.
87816 * math/w_atan2f.c: Likewise.
87817 * math/w_atan2l.c: Likewise.
87818 * math/w_atanh.c: Likewise.
87819 * math/w_atanhf.c: Likewise.
87820 * math/w_atanhl.c: Likewise.
87821 * math/w_cosh.c: Likewise.
87822 * math/w_coshf.c: Likewise.
87823 * math/w_coshl.c: Likewise.
87824 * math/w_dremf.c: Likewise.
87825 * math/w_exp10.c: Likewise.
87826 * math/w_exp10f.c: Likewise.
87827 * math/w_exp10l.c: Likewise.
87828 * math/w_exp2.c: Likewise.
87829 * math/w_exp2f.c: Likewise.
87830 * math/w_fmod.c: Likewise.
87831 * math/w_fmodf.c: Likewise.
87832 * math/w_fmodl.c: Likewise.
87833 * math/w_hypot.c: Likewise.
87834 * math/w_hypotf.c: Likewise.
87835 * math/w_hypotl.c: Likewise.
87836 * math/w_j0.c: Likewise.
87837 * math/w_j0f.c: Likewise.
87838 * math/w_j0l.c: Likewise.
87839 * math/w_j1.c: Likewise.
87840 * math/w_j1f.c: Likewise.
87841 * math/w_j1l.c: Likewise.
87842 * math/w_jn.c: Likewise.
87843 * math/w_jnf.c: Likewise.
87844 * math/w_jnl.c: Likewise.
87845 * math/w_lgamma.c: Likewise.
87846 * math/w_lgamma_r.c: Likewise.
87847 * math/w_lgammaf.c: Likewise.
87848 * math/w_lgammaf_r.c: Likewise.
87849 * math/w_lgammal.c: Likewise.
87850 * math/w_lgammal_r.c: Likewise.
87851 * math/w_log.c: Likewise.
87852 * math/w_log10.c: Likewise.
87853 * math/w_log10f.c: Likewise.
87854 * math/w_log10l.c: Likewise.
87855 * math/w_log2.c: Likewise.
87856 * math/w_log2f.c: Likewise.
87857 * math/w_log2l.c: Likewise.
87858 * math/w_logf.c: Likewise.
87859 * math/w_logl.c: Likewise.
87860 * math/w_pow.c: Likewise.
87861 * math/w_powf.c: Likewise.
87862 * math/w_powl.c: Likewise.
87863 * math/w_remainder.c: Likewise.
87864 * math/w_remainderf.c: Likewise.
87865 * math/w_remainderl.c: Likewise.
87866 * math/w_scalb.c: Likewise.
87867 * math/w_scalbf.c: Likewise.
87868 * math/w_scalbl.c: Likewise.
87869 * math/w_sinh.c: Likewise.
87870 * math/w_sinhf.c: Likewise.
87871 * math/w_sinhl.c: Likewise.
87872 * math/w_sqrt.c: Likewise.
87873 * math/w_sqrtf.c: Likewise.
87874 * math/w_sqrtl.c: Likewise.
87875 * math/w_tgamma.c: Likewise.
87876 * math/w_tgammaf.c: Likewise.
87877 * math/w_tgammal.c: Likewise.
87878
87879 * po/ja.po: Update from translation team.
87880
87881 2011-09-29 Andreas Jaeger <aj@suse.de>
87882
87883 [BZ #13179]
87884 * sunrpc/netname.c (netname2host): Fix logic.
87885
87886 [BZ #6779]
87887 [BZ #6783]
87888 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
87889 correctly.
87890 * math/w_remainder.c (__remainder): Likewise.
87891 * math/w_remainderf.c (__remainderf): Likewise.
87892 * math/libm-test.inc (remainder_test): Add test cases.
87893
87894 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
87895
87896 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
87897 sdiv_qrnnd.
87898
87899 2011-10-07 Ulrich Drepper <drepper@gmail.com>
87900
87901 * string/test-memcmp.c: Avoid unncessary #defines.
87902 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
87903
87904 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
87905
87906 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
87907 Use new sse2 version for core i3 - i7 as it's faster
87908 than sse42 version.
87909 (bit_Prefer_PMINUB_for_stringop): New.
87910 * sysdeps/x86_64/rawmemchr.S: Update.
87911 Replace with faster SSE2 version.
87912 * sysdeps/x86_64/memrchr.S: New file.
87913 * sysdeps/x86_64/memchr.S: Update.
87914 Replace with faster SSE2 version.
87915
87916 2011-09-12 Marek Polacek <mpolacek@redhat.com>
87917
87918 * elf/dl-load.c (lose): Add cast to avoid warning.
87919
87920 2011-10-07 Ulrich Drepper <drepper@gmail.com>
87921
87922 * po/ca.po: Update from translation team.
87923
87924 * inet/getnetgrent_r.c: Hook up nscd.
87925 * nscd/Makefile (routines): Add nscd_netgroup.
87926 (nscd-modules): Add netgroupcache.
87927 (CFLAGS-netgroupcache.c): Define.
87928 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
87929 (cache_search): Add const to second parameter.
87930 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
87931 INNETGR.
87932 (dbs): Add netgrdb entry.
87933 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
87934 (verify_persistent_db): Handle netgrdb.
87935 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
87936 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
87937 GETFDNETGR.
87938 (netgroup_response_header): Define.
87939 (innetgroup_response_header): Define.
87940 (datahead): Add netgroup_response_header and innetgroup_response_header
87941 elements.
87942 * nscd/nscd.conf: Add entries for netgroup cache.
87943 * nscd/nscd.h (dbtype): Add netgrdb.
87944 (_PATH_NSCD_NETGROUP_DB): Define.
87945 (netgroup_iov_disabled): Declare.
87946 (xmalloc, xcalloc, xrealloc): Move declarations here.
87947 (cache_search): Adjust prototype.
87948 Add netgroup-related prototypes.
87949 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
87950 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
87951 (__nscd_innetgr): Declare.
87952 * nscd/selinux.c (perms): Use access_vector_t as element type and
87953 add netgroup-related initializers.
87954 * nscd/netgroupcache.c: New file.
87955 * nscd/nscd_netgroup.c: New file.
87956 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
87957 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
87958 For four parameters use innetgr.
87959 * nss/nss_files/files-init.c: Add definition and callback for netgr.
87960 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
87961 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
87962 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
87963
87964 * nscd/connections.c (register_traced_file): Don't register file
87965 for disabled databases.
87966
87967 2011-10-06 Ulrich Drepper <drepper@gmail.com>
87968
87969 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
87970
87971 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
87972 from tree and freeing node.
87973
87974 2011-09-25 Jiri Olsa <jolsa@redhat.com>
87975
87976 * nss/nsswitch.c (__nss_database_lookup): Handle
87977 nss_parse_service_list out of memory case.
87978
87979 2011-09-15 Jiri Olsa <jolsa@redhat.com>
87980
87981 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
87982 out of memory case.
87983
87984 2011-10-04 Andreas Schwab <schwab@redhat.com>
87985
87986 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
87987 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
87988 pass it down.
87989 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
87990 elf_machine_rela, elf_machine_lazy_rel.
87991 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
87992 (ELF_DYNAMIC_DO_REL): Likewise.
87993 (ELF_DYNAMIC_DO_RELA): Likewise.
87994 (ELF_DYNAMIC_RELOCATE): Likewise.
87995 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
87996 to ELF_DYNAMIC_DO_REL.
87997 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
87998 (dl_main): In trace mode always set __RTLD_NOIFUNC.
87999 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
88000 elf_machine_rela.
88001 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
88002 skip_ifunc, don't call ifunc function if non-zero.
88003 (elf_machine_rela): Likewise.
88004 (elf_machine_lazy_rel): Likewise.
88005 (elf_machine_lazy_rela): Likewise.
88006 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
88007 (elf_machine_lazy_rel): Likewise.
88008 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
88009 Likewise.
88010 (elf_machine_lazy_rel): Likewise.
88011 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88012 Likewise.
88013 (elf_machine_lazy_rel): Likewise.
88014 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
88015 (elf_machine_lazy_rel): Likewise.
88016 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
88017 (elf_machine_lazy_rel): Likewise.
88018 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
88019 (elf_machine_lazy_rel): Likewise.
88020 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
88021 (elf_machine_lazy_rel): Likewise.
88022 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
88023 (elf_machine_lazy_rel): Likewise.
88024 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
88025 (elf_machine_lazy_rel): Likewise.
88026
88027 2011-09-28 Ulrich Drepper <drepper@gmail.com>
88028
88029 * nss/nss_files/files-init.c (_nss_files_init): Use static
88030 initialization for all the *_traced_file variables.
88031
88032 2011-09-28 Andreas Schwab <schwab@redhat.com>
88033
88034 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88035
88036 2011-09-27 Roland McGrath <roland@hack.frob.com>
88037
88038 [BZ #13226]
88039 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
88040
88041 2011-09-27 Andreas Schwab <schwab@redhat.com>
88042
88043 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
88044 Reread the line before reparsing it.
88045
88046 2011-09-26 Andreas Schwab <schwab@redhat.com>
88047
88048 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
88049
88050 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
88051 Maxim Kuvyrkov <maxim@codesourcery.com>
88052 Joseph Myers <joseph@codesourcery.com>
88053
88054 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
88055 if needed for __stack_chk_guard.
88056
88057 2011-09-19 Roland McGrath <roland@hack.frob.com>
88058
88059 * sysdeps/posix/spawni.c (script_execute): Always define it.
88060 It will be optimized away if unused.
88061 (maybe_script_execute): New function.
88062 (__spawni): Call it.
88063
88064 * Makerules: Don't include tls.make.
88065 (config-tls): Always set to thread.
88066 * tls.make.c: File removed.
88067
88068 2011-09-19 Mike Frysinger <vapier@gentoo.org>
88069
88070 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
88071 * config.make.in (CPPFLAGS-config): New substituted variable.
88072
88073 2011-09-15 Ulrich Drepper <drepper@gmail.com>
88074
88075 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
88076
88077 [BZ #13192]
88078 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
88079 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
88080
88081 2011-09-15 Roland McGrath <roland@hack.frob.com>
88082
88083 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
88084 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
88085 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
88086 (CALL_FAIL): Likewise.
88087 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
88088 (CALL_FAIL): Macro removed.
88089 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
88090
88091 2011-09-15 Ulrich Drepper <drepper@gmail.com>
88092
88093 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
88094 for __FINITE_MATH_ONLY__ == 1.
88095
88096 2011-09-15 Andreas Schwab <schwab@redhat.com>
88097
88098 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
88099 __ieee754_sqrt instead of sqrt.
88100 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
88101 __ieee754_sqrtf instead of sqrtf.
88102 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
88103 __floorf instead of floorf.
88104 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
88105 __floorf, __truncf instead of floorf, truncf.
88106
88107 2011-09-14 Ulrich Drepper <drepper@gmail.com>
88108
88109 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
88110
88111 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
88112 __extern_always_inline.
88113 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
88114 32-bit.
88115
88116 2011-09-14 Andreas Schwab <schwab@redhat.com>
88117
88118 * elf/rtld.c (dl_main): Also relocate in dependency order when
88119 doing symbol dependency testing.
88120
88121 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
88122
88123 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88124 Always define `refsym'.
88125
88126 2011-09-13 Andreas Schwab <schwab@redhat.com>
88127
88128 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
88129 (__FD_ELT): Renamed from __FDELT.
88130 * misc/bits/select2.h (__FD_ELT): Likewise.
88131 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
88132 __FD_MASK instead of __FDELT, __FDMASK.
88133 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
88134 Likewise.
88135 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
88136 Likewise.
88137
88138 * elf/Makefile (gen-ldd): Fix pattern.
88139
88140 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
88141 (init_tls): Likewise.
88142
88143 2011-09-12 Ulrich Drepper <drepper@gmail.com>
88144
88145 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
88146
88147 2011-09-12 Andreas Schwab <schwab@redhat.com>
88148
88149 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
88150 `struct cmsghdr *' instead of `void *'.
88151 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
88152 Likewise.
88153
88154 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
88155
88156 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
88157 if non-absolute.
88158 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
88159 ldd_rewrite_script.
88160
88161 2011-09-11 Ulrich Drepper <drepper@gmail.com>
88162
88163 * configure.in: Remove --with-tls option.
88164 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
88165 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
88166 out in case it is missing.
88167 * sysdeps/ia64/elf/configure.in: Likewise.
88168 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
88169 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
88170 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
88171 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
88172 * sysdeps/sh/elf/configure.in: Likewise.
88173 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
88174 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
88175 * sysdeps/x86_64/elf/configure.in: Likewise.
88176 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
88177 * sysdeps/mach/hurd/tls.h: Likewise.
88178
88179 [BZ #13067]
88180 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
88181
88182 [BZ #13090]
88183 * configure.in: Fix use of AC_INIT.
88184
88185 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
88186
88187 2011-09-10 Ulrich Drepper <drepper@gmail.com>
88188
88189 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
88190 __set_errno.
88191 * malloc/hooks.c: Likewise.
88192
88193 [BZ #11929]
88194 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
88195 variables statically.
88196 (narenas): Initialize.
88197 (list_lock): Initialize.
88198 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
88199 initializtion of main_arena and list_lock. Small cleanups.
88200 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
88201 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
88202 Add initializers to main_arena and mp_.
88203 (malloc_state): Remove pagesize member. Change all users to use
88204 GLRO(dl_pagesize).
88205
88206 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
88207 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
88208 is always initialized.
88209
88210 * malloc/malloc.c: Removed unused configurations and dead code.
88211 * malloc/arena.c: Likewise.
88212 * malloc/hooks.c: Likewise.
88213 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
88214
88215 * include/tls.h: Removed. USE___THREAD must always be defined.
88216 * bits/libc-tsd.h: Don't handle !USE___THREAD.
88217 * elf/dl-libc.c: Likewise.
88218 * elf/dl-tsd.c: Likewise.
88219 * include/errno.h: Likewise.
88220 * include/netdb.h: Likewise.
88221 * include/resolv.h: Likewise.
88222 * inet/herrno-loc.c: Likewise.
88223 * inet/herrno.c: Likewise.
88224 * malloc/arena.c: Likewise.
88225 * malloc/hooks.c: Likewise.
88226 * malloc/malloc.c: Likewise.
88227 * resolv/res-state.c: Likewise.
88228 * resolv/res_libc.c: Likewise.
88229 * sysdeps/i386/dl-machine.h: Likewise.
88230 * sysdeps/ia64/dl-machine.h: Likewise.
88231 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
88232 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
88233 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
88234 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
88235 * sysdeps/sh/dl-machine.h: Likewise.
88236 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
88237 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
88238 * sysdeps/unix/i386/sysdep.S: Likewise.
88239 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
88240 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
88241 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
88242 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
88243 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
88244 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
88245 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
88246 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
88247 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88248 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
88249 * sysdeps/unix/x86_64/sysdep.S: Likewise.
88250 * sysdeps/x86_64/dl-machine.h: Likewise.
88251 * tls.make.c: Likewise.
88252
88253 * configure.in: Remove --with-__thread option. Make tests for
88254 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
88255 tls_model attribute fail if no support is available. Remove
88256 USE_IN_LIBIO.
88257 * Makeconfig: Adjust for dropped configure option. All features are
88258 now mandatory.
88259 * Makerules: Likewise.
88260 * Versions.def: Likewise.
88261 * argp/argp-fmtstream.c: Likewise.
88262 * argp/argp-fmtstream.h: Likewise.
88263 * argp/argp-help.c: Likewise.
88264 * assert/assert.c: Likewise.
88265 * config.h.in: Likewise.
88266 * config.make.in: Likewise.
88267 * configure: Likewise.
88268 * configure.in: Likewise.
88269 * csu/Versions: Likewise.
88270 * csu/init.c: Likewise.
88271 * elf/tst-audit2.c: Likewise.
88272 * elf/tst-tls10.c: Likewise.
88273 * elf/tst-tls10.h: Likewise.
88274 * elf/tst-tls11.c: Likewise.
88275 * elf/tst-tls12.c: Likewise.
88276 * elf/tst-tls14.c: Likewise.
88277 * elf/tst-tlsmod11.c: Likewise.
88278 * elf/tst-tlsmod12.c: Likewise.
88279 * elf/tst-tlsmod13.c: Likewise.
88280 * elf/tst-tlsmod13a.c: Likewise.
88281 * elf/tst-tlsmod14a.c: Likewise.
88282 * elf/tst-tlsmod15b.c: Likewise.
88283 * elf/tst-tlsmod16a.c: Likewise.
88284 * elf/tst-tlsmod16b.c: Likewise.
88285 * elf/tst-tlsmod7.c: Likewise.
88286 * elf/tst-tlsmod8.c: Likewise.
88287 * elf/tst-tlsmod9.c: Likewise.
88288 * gmon/gmon.c: Likewise.
88289 * grp/fgetgrent_r.c: Likewise.
88290 * grp/putgrent.c: Likewise.
88291 * hurd/fopenport.c: Likewise.
88292 * include/libc-symbols.h: Likewise.
88293 * include/tls.h: Likewise.
88294 * intl/gettextP.h: Likewise.
88295 * intl/loadinfo.h: Likewise.
88296 * locale/global-locale.c: Likewise.
88297 * locale/localeinfo.h: Likewise.
88298 * mach/devstream.c: Likewise.
88299 * malloc/arena.c: Likewise.
88300 * malloc/set-freeres.c: Likewise.
88301 * misc/err.c: Likewise.
88302 * misc/getttyent.c: Likewise.
88303 * misc/mntent_r.c: Likewise.
88304 * posix/getopt.c: Likewise.
88305 * posix/wordexp.c: Likewise.
88306 * pwd/fgetpwent_r.c: Likewise.
88307 * resolv/Versions: Likewise.
88308 * resolv/res_hconf.c: Likewise.
88309 * shadow/fgetspent_r.c: Likewise.
88310 * shadow/putspent.c: Likewise.
88311 * stdio-common/printf_fphex.c: Likewise.
88312 * stdio-common/tmpfile.c: Likewise.
88313 * stdlib/abort.c: Likewise.
88314 * stdlib/fmtmsg.c: Likewise.
88315 * sunrpc/auth_unix.c: Likewise.
88316 * sunrpc/clnt_perr.c: Likewise.
88317 * sunrpc/clnt_tcp.c: Likewise.
88318 * sunrpc/clnt_udp.c: Likewise.
88319 * sunrpc/clnt_unix.c: Likewise.
88320 * sunrpc/openchild.c: Likewise.
88321 * sunrpc/svc_simple.c: Likewise.
88322 * sunrpc/svc_tcp.c: Likewise.
88323 * sunrpc/svc_udp.c: Likewise.
88324 * sunrpc/svc_unix.c: Likewise.
88325 * sunrpc/xdr.c: Likewise.
88326 * sunrpc/xdr_array.c: Likewise.
88327 * sunrpc/xdr_rec.c: Likewise.
88328 * sunrpc/xdr_ref.c: Likewise.
88329 * sunrpc/xdr_stdio.c: Likewise.
88330
88331 2011-09-09 Ulrich Drepper <drepper@gmail.com>
88332
88333 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88334
88335 2011-07-03 Andreas Jaeger <aj@suse.de>
88336
88337 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
88338 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
88339 regenerate with gen-libm-tests.pl.
88340
88341 2010-05-12 Petr Baudis <pasky@suse.cz>
88342
88343 [BZ #11589]
88344 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
88345 around j0() zero points by switching to j1().
88346 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
88347 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
88348 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
88349 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
88350
88351 2011-09-09 Ulrich Drepper <drepper@gmail.com>
88352
88353 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
88354 instead of 0.
88355 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
88356 instead of 0.
88357 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88358 Patch in part by Pavel Roskin <proski@gnu.org>.
88359
88360 [BZ #13138]
88361 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
88362 realloc.
88363 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
88364 Free memory block if necessary.
88365
88366 [BZ #12847]
88367 * libio/genops.c (INTDEF): For string streams the _lock pointer can
88368 be NULL. Don't lock in this case.
88369
88370 2011-09-09 Roland McGrath <roland@hack.frob.com>
88371
88372 * elf/elf.h (ELFOSABI_GNU): New macro.
88373 (ELFOSABI_LINUX): Define to that.
88374
88375 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
88376
88377 * string/strncat.c (strncat): Undef the symbol in case it has been
88378 defined in bits/string.h.
88379
88380 2011-09-09 Ulrich Drepper <drepper@gmail.com>
88381
88382 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
88383
88384 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
88385 link map.
88386
88387 2011-08-17 Andreas Jaeger <aj@suse.de>
88388
88389 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
88390
88391 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
88392 Ian Lance Taylor <iant@google.com>
88393
88394 * math/libm-test.inc (lround_test): New testcase.
88395 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
88396
88397 2011-09-08 Ulrich Drepper <drepper@gmail.com>
88398
88399 * Makefile: Remove support for automatic cvs check-ins.
88400 * Makerules: Likewise.
88401 * config.make.in: Likewise.
88402 * configure.in: Likewise.
88403 * intl/Makefile: Likewise.
88404 * locale/Makefile: Likewise.
88405 * po/Makefile: Likewise.
88406 * posix/Makefile: Likewise.
88407 * sysdeps/gnu/Makefile: Likewise.
88408 * sysdeps/mach/hurd/Makefile: Likewise.
88409 * sysdeps/sparc/sparc32/Makefile: Likewise.
88410
88411 [BZ #13118]
88412 * posix/Makefile (bug-regex32-ENV): Define.
88413 Patch by John Stanley <jpsinthemix@verizon.net>.
88414
88415 * misc/Makefile (headers): Add bits/select2.h.
88416 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
88417 * misc/bits/select2.h: New file.
88418 * include/bits/select2.h: New file.
88419 * debug/Makefile (routines): Add fdelt_chk.
88420 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
88421 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
88422 FD_ISSET.
88423 * debug/fdelt_chk.c: New file.
88424
88425 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
88426 * wcsmbs/test-wmemcmp.c: Likewise.
88427 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
88428 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
88429
88430 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
88431
88432 * string/Makefile (strop-tests): Add memcmp.
88433 * string/test-wmemcmp.c: New file.
88434 * string/test-memcmp.c: Add wmemcmp support.
88435
88436 2011-09-08 Roland McGrath <roland@hack.frob.com>
88437
88438 [BZ #13153]
88439 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
88440 2011-07-19 change.
88441
88442 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
88443 garbage value in a __mach_port_mod_refs call in the cases of the
88444 task-self and thread-self ports.
88445
88446 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
88447
88448 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
88449
88450 2011-09-08 Andreas Schwab <schwab@redhat.com>
88451
88452 * elf/dl-load.c (lose): Check for non-null L.
88453
88454 2011-09-07 Ulrich Drepper <drepper@gmail.com>
88455
88456 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
88457
88458 * elf/dl-libc.c (dlerror_run): Pass back error code from
88459 dl_catch_error.
88460
88461 [BZ #13123]
88462 * elf/dl-load.c (lose): Free l_origin if it is valid.
88463
88464 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
88465 names.
88466 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
88467 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
88468 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
88469 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
88470 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
88471 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
88472
88473 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
88474
88475 * sysdeps/powerpc/fpu/e_hypot.c: New file.
88476 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
88477 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
88478 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
88479 * sysdeps/powerpc/fpu/k_cosf.c: New file.
88480 * sysdeps/powerpc/fpu/k_sinf.c: New file.
88481 * sysdeps/powerpc/fpu/s_cosf.c: New file.
88482 * sysdeps/powerpc/fpu/s_sinf.c: New file.
88483 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
88484 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
88485
88486 2011-08-15 Alan Modra <amodra@gmail.com>
88487
88488 [BZ #13092]
88489 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
88490 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
88491 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
88492 ppc_mcount to static-only-routines.
88493 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
88494 __mcount_internal.
88495 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
88496 __mcount_internal with usual JUMPTARGET. Remove useless nop.
88497
88498 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
88499
88500 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
88501 for finite and infinity parameters.
88502
88503 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
88504
88505 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
88506 and add nop instructions for throughput optimization.
88507 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
88508
88509 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
88510
88511 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
88512 aligned copy for power7 with vector-scalar instructions.
88513 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
88514
88515 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
88516
88517 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
88518 AVX check.
88519
88520 2011-09-07 Andreas Schwab <schwab@redhat.com>
88521
88522 [BZ #13144]
88523 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
88524 last change.
88525
88526 2011-09-07 Ulrich Drepper <drepper@gmail.com>
88527
88528 * sysdeps/unix/sysv/linux/x86_64/init-first.c
88529 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
88530 syscall wrapper around clock_gettime in __vdso_clock_gettime.
88531 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
88532 clock_gettime.
88533
88534 2011-09-06 Ulrich Drepper <drepper@gmail.com>
88535
88536 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
88537 Forgot to demangle the pointer.
88538
88539 * sysdeps/i386/sysdep.h: Define atom_text_section.
88540 * sysdeps/x86_64/sysdep.h: Likewise.
88541 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
88542 section with atom_text_section.
88543 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
88544 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
88545 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
88546 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
88547 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
88548
88549 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
88550 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
88551 already be defined. Change to take two parameters and don't assign
88552 result to variable. Adjust all users.
88553 Define INTERNAL_GETTIME if not already defined.
88554 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
88555 call.
88556 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
88557 HAVE_CLOCK_GETTIME_VSYSCALL.
88558 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
88559
88560 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
88561 gettimeofday vsyscall, just use time.
88562
88563 2011-09-06 Andreas Schwab <schwab@redhat.com>
88564
88565 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
88566 <errno.h>.
88567
88568 2011-09-06 Ulrich Drepper <drepper@gmail.com>
88569
88570 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
88571 syscall on x86-64.
88572 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
88573 syscall.
88574 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
88575 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
88576 syscall if possible.
88577
88578 2011-09-05 Ulrich Drepper <drepper@gmail.com>
88579
88580 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
88581 e_ident. Don't pass to find_mapsXX.
88582 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
88583
88584 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
88585
88586 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88587 strchr-sse2-no-bsf strrchr-sse2-no-bsf
88588 * sysdeps/x86_64/multiarch/strchr.S: Update.
88589 Check bit_slow_BSF bit.
88590 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
88591 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
88592 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
88593
88594 2011-09-05 Ulrich Drepper <drepper@gmail.com>
88595
88596 [BZ #13134]
88597 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
88598 before glibc 2.15.
88599 (tryshell): Define.
88600 (__spawni): Change last parameter to be flag. Test
88601 SPAWN_XFLAGS_USE_PATH flag to use path or not.
88602 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
88603 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
88604 * posix/spawni.c: Likewise.
88605 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
88606 * posix/spawnp.c: Likewise. Change normal version to use
88607 SPAWN_XFLAGS_USE_PATH.
88608 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
88609 SPAWN_XFLAGS_TRY_SHELL.
88610
88611 [BZ #13150]
88612 * posix/glob.h: Remove gcc 1.x support.
88613
88614 [BZ #13068]
88615 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
88616
88617 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
88618
88619 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88620 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
88621 strrchr-sse2-bsf
88622 * sysdeps/i386/i686/multiarch/strchr.S: New file.
88623 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
88624 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
88625 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
88626 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
88627 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
88628
88629 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
88630
88631 * sysdeps/x86_64/wcscmp.S: New file.
88632
88633 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
88634 wcscmp-c wcscmp-sse2
88635 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
88636 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
88637 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
88638 * wcsmbs/wcscmp.c: Allow renaming.
88639
88640 2011-09-05 David S. Miller <davem@davemloft.net>
88641
88642 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
88643 stack slot, rather than the struct return pointer slot.
88644 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
88645 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
88646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
88647 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
88648
88649 2011-09-05 Ulrich Drepper <drepper@gmail.com>
88650
88651 * po/ja.po: Update from translation team.
88652
88653 [BZ #13144]
88654 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
88655 kernel in 64-bit binaries.
88656
88657 2011-09-01 David S. Miller <davem@davemloft.net>
88658
88659 * elf/elf.h (HWCAP_SPARC_*): Move to..
88660 * sysdeps/sparc/sysdep.h: this new file and add new values.
88661 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
88662 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
88663 _DL_HWCAP_COUNT to 24.
88664 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
88665 entries.
88666 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
88667 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
88668 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
88669 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
88670 instead of magic constants.
88671 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
88672
88673 2011-08-31 David S. Miller <davem@davemloft.net>
88674
88675 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
88676 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
88677 Reimplement to do errno handling inline.
88678 (SYSCALL_ERROR_HANDLER): New macro.
88679 (__SYSCALL_STRING): Do not do errno handling in asm.
88680 (__CLONE_SYSCALL_STRING): Delete.
88681 (__INTERNAL_SYSCALL_STRING): Delete.
88682 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
88683 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
88684 (PSEUDO): Reimplement to do errno handling inline.
88685 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
88686 (SYSCALL_ERROR_HANDLER): New macro.
88687 (__SYSCALL_STRING): Do not do errno handling in asm.
88688 (__CLONE_SYSCALL_STRING): Delete.
88689 (__INTERNAL_SYSCALL_STRING): Delete.
88690 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
88691 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
88692 i386.
88693 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
88694 (inline_syscall*): Add 'err' argument.
88695 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
88696 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
88697 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
88698 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
88699
88700 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
88701 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
88702
88703 2011-08-30 Andreas Schwab <schwab@redhat.com>
88704
88705 * elf/rtld.c (dl_main): Relocate objects in dependency order.
88706
88707 2011-08-29 Jiri Olsa <jolsa@redhat.com>
88708
88709 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
88710 directive.
88711
88712 2011-08-24 David S. Miller <davem@davemloft.net>
88713
88714 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
88715
88716 2011-08-24 Andreas Schwab <schwab@redhat.com>
88717
88718 * elf/Makefile: Add rules to build and run unload8 test.
88719 * elf/unload8.c: New file.
88720 * elf/unload8mod1.c: New file.
88721 * elf/unload8mod1x.c: New file.
88722 * elf/unload8mod2.c: New file.
88723 * elf/unload8mod3.c: New file.
88724
88725 * elf/dl-close.c (_dl_close_worker): Reset private search list if
88726 it wasn't used.
88727
88728 2011-08-23 David S. Miller <davem@davemloft.net>
88729
88730 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
88731 subtract stack bias.
88732 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
88733 %sp not %fp in calculations.
88734 (_JMPBUF_UNWINDS_ADJ): Likewise.
88735
88736 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
88737 (aio_suspend): Call it to force an exception region around the
88738 AIO_MISC_WAIT() invocation.
88739
88740 2011-08-23 Andreas Schwab <schwab@redhat.com>
88741
88742 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
88743 backslash.
88744
88745 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
88746
88747 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
88748 protection macro.
88749 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
88750 and <dl-machine.h>.
88751 (Elf64_FuncDesc): Remove.
88752
88753 2011-08-22 David S. Miller <davem@davemloft.net>
88754
88755 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
88756 sigaltstack check, add missing cfi directives.
88757 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
88758 missing cfi directives, and sigaltstack handling.
88759
88760 2011-08-16 Andreas Schwab <schwab@redhat.com>
88761
88762 [BZ #11724]
88763 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
88764 object is seen twice.
88765 * elf/dl-fini.c (_dl_sort_fini): Likewise.
88766
88767 * elf/Makefile (distribute): Add tst-initorder2.c.
88768 (tests): Add tst-initorder2.
88769 (modules-names): Add tst-initorder2a tst-initorder2b
88770 tst-initorder2c tst-initorder2d. Add rules to build them.
88771 ($(objpfx)tst-initorder2.out): New rule.
88772 * elf/tst-initorder2.c: New file.
88773 * elf/tst-initorder2.exp: New file.
88774
88775 2011-08-22 Andreas Schwab <schwab@redhat.com>
88776
88777 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
88778
88779 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
88780 dependencies back to end of function.
88781
88782 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
88783 $(elfobjdir)/ld.so.
88784
88785 2011-08-21 Ulrich Drepper <drepper@gmail.com>
88786
88787 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
88788 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
88789 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
88790 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
88791 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
88792 of __vdso_gettimeofday.
88793 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
88794 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
88795 attribute_hidden.
88796 (_libc_vdso_platform_setup): Remove initialization of
88797 __vdso_gettimeofday and __vdso_time.
88798
88799 2011-08-20 Ulrich Drepper <drepper@gmail.com>
88800
88801 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
88802 and fgetc_unlocked.
88803 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
88804 getc_unlocked.
88805
88806 * elf/dl-open.c (add_to_global): Report additions to the global scope
88807 for LD_DEBUG=scopes.
88808 (dl_open_worker): Also print scope of newly loaded dependencies.
88809 (_dl_show_scope): Indicate if there is no scope.
88810
88811 [BZ #13114]
88812 * stdio-common/Makefile (tests): Add bug24.
88813 * stdio-common/bug24.c: New file.
88814
88815 2011-08-19 Andreas Jaeger <aj@suse.de>
88816
88817 [BZ #13114]
88818 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
88819 non-existant file when using close-on-exec mode.
88820
88821 2011-08-20 Ulrich Drepper <drepper@gmail.com>
88822
88823 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
88824 the very first instruction.
88825
88826 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
88827 the CFI state in the end.
88828 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
88829 inclusion of dl-trampoline.h.
88830 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
88831
88832 2011-08-19 Andreas Schwab <schwab@redhat.com>
88833
88834 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
88835 expectations for long double.
88836
88837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
88838 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
88839
88840 2011-08-14 David S. Miller <davem@davemloft.net>
88841
88842 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
88843 artificual limit depends upon the system page size.
88844
88845 2011-08-17 Ulrich Drepper <drepper@gmail.com>
88846
88847 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
88848 * resolv/Makefile: Define CFLAGS-libresolv.
88849
88850 2011-08-17 Andreas Schwab <schwab@redhat.com>
88851
88852 * nss/makedb.c (compute_tables): Make variables used in nested
88853 function static.
88854
88855 2011-08-17 Ulrich Drepper <drepper@gmail.com>
88856
88857 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
88858 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
88859 if buffer was too small.
88860
88861 * elf/pldd.c (main): Attach to all threads in the process.
88862 Rewrite /proc handling to use *at functions.
88863
88864 2011-08-16 Ulrich Drepper <drepper@gmail.com>
88865
88866 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
88867 specifies first scope to show.
88868 (dl_open_worker): Update callers. Move printing scope of new
88869 object to before the relocation.
88870 * elf/rtld.c (dl_main): Update _dl_show_scope call.
88871 * sysdeps/generic/ldsodefs.h: Update declaration.
88872
88873 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
88874 string for the scope number.
88875
88876 2011-08-14 Ulrich Drepper <drepper@gmail.com>
88877
88878 * nscd/servicescache.c (cache_addserv): Make sure written is always
88879 initialized.
88880
88881 2011-08-14 Roland McGrath <roland@hack.frob.com>
88882
88883 * sysdeps/i386/i486/bits/atomic.h
88884 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
88885 statement expression, so as to suppress "set but not used" warning.
88886 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
88887
88888 * string/strncat.c (STRNCAT): Use prototype definition.
88889
88890 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
88891 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
88892 -Iprograms here.
88893 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
88894 (localedef-modules): Add localedef.
88895 (locale-modules): Add locale.
88896
88897 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
88898 * elf/rtld.c (dl_main): Invert order of assignment in last change,
88899 to avoid a warning.
88900
88901 2011-08-14 David S. Miller <davem@davemloft.net>
88902
88903 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
88904 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
88905
88906 2011-08-13 Ulrich Drepper <drepper@gmail.com>
88907
88908 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
88909 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
88910 * elf/rtld.c (dl_main): Set l_name of vDSO.
88911 Call _dl_show_scope when DL_DEBUG_SCOPES.
88912 (process_dl_debug): Recognize scopes flag and also set it for all.
88913 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
88914 Declare _dl_show_scope.
88915
88916 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
88917 (do_dlopen): Pass caller_dlopen to dl_open.
88918 (__libc_dlopen_mode): Initialize caller_dlopen.
88919
88920 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
88921 of libc. Make tolower call locale-independent. Optimize a bit by
88922 using isdigit instead of isalnum.
88923 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
88924
88925 2011-08-12 Ulrich Drepper <drepper@gmail.com>
88926
88927 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
88928 was a dependency or dynamically loaded.
88929
88930 2011-08-11 Ulrich Drepper <drepper@gmail.com>
88931
88932 * intl/l10nflist.c: Allow architecture-specific pop function.
88933 * sysdeps/x86_64/l10nflist.c: New file.
88934
88935 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
88936 classification.
88937
88938 2011-08-10 Andreas Schwab <schwab@redhat.com>
88939
88940 * include/dirent.h: Add libc_hidden_proto for scandirat and
88941 scandirat64. Don't declare __scandirat64.
88942 * dirent/scandirat.c: Add libc_hidden_def.
88943 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
88944 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
88945
88946 2011-08-10 David S. Miller <davem@davemloft.net>
88947
88948 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
88949 enum.
88950 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
88951 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
88952 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
88953
88954 2011-08-09 Ulrich Drepper <drepper@gmail.com>
88955
88956 * Versions.def [libc]: Add GLIBC_2.15.
88957 * dirent/Makefile (routines): Add scandirat and scandirat64.
88958 * dirent/Versions [libc]: Export scandirat and scandirat64 for
88959 GLIBC_2.15.
88960 * dirent/dirent.h: Declare scandirat and scandirat64.
88961 * dirent/scandirat.c: New file.
88962 * dirent/scandirat64.c: New file.
88963 * sysdeps/wordsize-64/scandirat.c: New file.
88964 * sysdeps/wordsize-64/scandirat64.c: New file.
88965 * dirent/opendir.c: Define opendirat.
88966 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
88967 using scandirat.
88968 * dirent/scandir64.c: Adjust for scandir.c change.
88969 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
88970 __scandirat64, and __scandir_cancel_handler.
88971 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
88972 additional parameter and use openat instead of open (outside of ld.so).
88973 Add new __opendir as wrapper around __opendirat.
88974 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
88975 here without requiring old scandirat implementation.
88976
88977 2011-08-08 Ulrich Drepper <drepper@gmail.com>
88978
88979 * dirent/scandir.c (cancel_handler): Renamed to
88980 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
88981 defined. Adjust users.
88982 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
88983 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
88984
88985 2011-08-04 Ulrich Drepper <drepper@gmail.com>
88986
88987 * string/test-string.h (IMPL): Use __STRING to expand name and then
88988 stringify it.
88989
88990 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
88991 of cleanups.
88992
88993 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
88994
88995 * string/Makefile: Update.
88996 (strop-tests): Append strncat.
88997 * string/test-wcscmp.c: New file.
88998 New comprehensive test for wcscmp.
88999 * string/test-strcmp.c: Update.
89000 (WIDE): New define.
89001
89002 2011-07-22 Andreas Schwab <schwab@redhat.com>
89003
89004 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
89005 line.
89006
89007 2011-07-26 Andreas Schwab <schwab@redhat.com>
89008
89009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
89010 encoding to ACE if AI_IDN.
89011
89012 2011-08-01 Jakub Jelinek <jakub@redhat.com>
89013
89014 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
89015 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
89016
89017 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
89018
89019 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
89020 Fix overflow bug in strncat.
89021 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
89022
89023 * string/test-strncat.c: Update.
89024 Add new tests for checking overflow bugs.
89025
89026 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
89027
89028 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89029 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
89030 * sysdeps/i386/i686/multiarch/strcat.S: New file.
89031 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
89032 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
89033 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
89034 * sysdeps/i386/i686/multiarch/strncat.S: New file.
89035 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
89036 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
89037
89038 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
89039 (USE_AS_STRCAT): Define.
89040 Add strcat and strncat support.
89041 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
89042
89043 2011-07-25 Andreas Schwab <schwab@redhat.com>
89044
89045 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
89046 __n bigger than INT_MAX+1.
89047 (__strncmp_g): Likewise.
89048
89049 2011-07-23 Ulrich Drepper <drepper@gmail.com>
89050
89051 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
89052 * libio/stido.h: Likewise.
89053
89054 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
89055 (AF_NFC): Define.
89056 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
89057 (AF_NFC): Define.
89058
89059 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
89060 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
89061 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
89062 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
89063 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
89064
89065 [BZ #13021]
89066 * scripts/test-installation.pl: Don't expect libnss_test1 to be
89067 installed.
89068
89069 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
89070 typo.
89071 (_dl_x86_64_save_sse): Likewise.
89072
89073 2011-07-22 Ulrich Drepper <drepper@gmail.com>
89074
89075 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
89076 OSXSAVE.
89077 (_dl_x86_64_save_sse): Likewise.
89078
89079 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
89080
89081 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
89082
89083 2011-07-21 Andreas Schwab <schwab@redhat.com>
89084
89085 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
89086 change.
89087 (_dl_x86_64_save_sse): Use correct AVX check.
89088
89089 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89090
89091 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
89092 bug in strncpy/strncat.
89093 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
89094
89095 2011-07-21 Ulrich Drepper <drepper@gmail.com>
89096
89097 * string/tester.c (test_strcat): Add tests for different alignments
89098 of source and destination.
89099 (test_strncat): Likewise.
89100
89101 2011-07-20 Ulrich Drepper <drepper@gmail.com>
89102
89103 [BZ #12852]
89104 * posix/glob.c (glob): Check passed in values before using them in
89105 expressions to avoid some overflows.
89106 (glob_in_dir): Likewise.
89107
89108 [BZ #13007]
89109 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
89110 check for AVX enablement so that we don't crash with old kernels and
89111 new hardware.
89112 * elf/tst-audit4.c: Add same checks here.
89113 * elf/tst-audit6.c: Likewise.
89114
89115 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
89116
89117 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
89118
89119 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
89120
89121 2011-07-20 Ulrich Drepper <drepper@gmail.com>
89122
89123 * po/cs.po: Update from translation team.
89124 * po/bg.po: Likewise.
89125
89126 2011-07-12 Marek Polacek <mpolacek@redhat.com>
89127
89128 * misc/sys/cdefs.h: Add support for const attribute.
89129 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
89130 to gnu_dev_{major,minor,makedev} functions.
89131
89132 2011-07-20 Marek Polacek <mpolacek@redhat.com>
89133
89134 * intl/dcigettext.c (get_output_charset): Add missing bracket.
89135
89136 2011-07-20 Andreas Schwab <schwab@redhat.com>
89137
89138 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
89139 strlen results.
89140
89141 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
89142
89143 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
89144 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
89145 register in order to avoid conflicts with the soft frame pointer
89146 being held in r11 when necessary.
89147 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
89148 (INTERNAL_VSYSCALL_NCS): Likewise.
89149
89150 2011-07-14 Marek Polacek <mpolacek@redhat.com>
89151
89152 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
89153 * elf/dl-fini.c (_dl_fini): Adjust caller.
89154 * elf/dl-close.c (_dl_close_worker): Likewise.
89155 * sysdeps/generic/ldsodefs.h: Adjust declaration.
89156
89157 2011-07-15 Marek Polacek <mpolacek@redhat.com>
89158
89159 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
89160 "aux_cache->nlibs < 0".
89161
89162 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
89163 in the reload-count case.
89164
89165 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
89166
89167 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89168 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
89169 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
89170 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
89171 * sysdeps/x86_64/multiarch/strcat.S: New file.
89172 * sysdeps/x86_64/multiarch/strncat.S: New file.
89173 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
89174 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
89175 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
89176 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
89177 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
89178 (USE_AS_STRCAT): Define.
89179 Add strcat and strncat support.
89180 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
89181 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
89182 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
89183 * string/strncat.c: Update.
89184 (USE_AS_STRNCAT): Define.
89185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89186 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
89187 and i7.
89188 * sysdeps/x86_64/multiarch/init-arch.h
89189 (bit_Prefer_PMINUB_for_stringop): New.
89190 (index_Prefer_PMINUB_for_stringop): Likewise.
89191 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
89192 bit_Prefer_PMINUB_for_stringop.
89193
89194 2011-07-19 Ulrich Drepper <drepper@gmail.com>
89195
89196 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
89197 buffer64.
89198 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
89199 of casting of buffer.
89200 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
89201 buffer32 and buffer64.
89202 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
89203 writes instead of casting of buffer.
89204 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
89205 buffer32.
89206 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
89207 casting of buffer.
89208
89209 2011-07-19 Andreas Schwab <schwab@redhat.com>
89210
89211 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
89212
89213 2011-07-19 Ulrich Drepper <drepper@gmail.com>
89214
89215 * nscd/nscd.c (termination_handler): Don't do anything for a database
89216 if it has not yet been initialized.
89217
89218 2011-07-18 Ulrich Drepper <drepper@gmail.com>
89219
89220 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
89221
89222 2011-07-15 Marek Polacek <mpolacek@redhat.com>
89223
89224 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
89225
89226 2011-07-18 Ulrich Drepper <drepper@gmail.com>
89227
89228 * po/nl.po: Update from translation team.
89229 * po/sv.po: Likewise.
89230
89231 2011-07-16 Roland McGrath <roland@hack.frob.com>
89232
89233 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
89234 now disallowed by GCC.
89235
89236 * configure.in (use-default-link): Default to yes if a test -shared
89237 link meets our qualifications.
89238 * configure: Regenerated.
89239
89240 * config.make.in (output-format): New variable.
89241 * configure.in: Check for ld --print-output-format support.
89242 * configure: Regenerated.
89243 * Makerules ($(common-objpfx)format.lds)
89244 [$(output-format) != unknown]: Just use $(output-format),
89245 instead of the linker-script munging.
89246
89247 2011-07-14 Roland McGrath <roland@hack.frob.com>
89248
89249 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
89250 of $(common-objpfx)shlib.lds.
89251 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
89252
89253 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
89254 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
89255
89256 * configure.in (-z relro check): Adjust test code to add a large
89257 writable data section after it.
89258 * configure: Regenerated.
89259
89260 2011-07-11 Roland McGrath <roland@hack.frob.com>
89261
89262 * configure.in (-z relro check): Fix test code to make the variable
89263 truly const.
89264 * configure: Regenerated.
89265
89266 2011-07-11 Ulrich Drepper <drepper@gmail.com>
89267
89268 * nscd/nscd.h (struct traced_file): Define.
89269 (struct database_dyn): Remove inotify_descr, reset_res, and filename
89270 elements. Add traced_files.
89271 (inotify_fd): Declare.
89272 (register_traced_file): Declare.
89273 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
89274 (inotify_fd): Export.
89275 (resolv_conf_descr): Remove.
89276 (nscd_init): Move inotify descriptor creation to main.
89277 Don't register files for notification here.
89278 (register_traced_file): New function.
89279 (invalidate_cache): Don't use reset_res to determine whether to call
89280 res_init, go through the list of registered files.
89281 (main_loop_poll): The inotify descriptors are now stored in the
89282 structures for the traced files.
89283 (main_loop_epoll): Likewise.
89284 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
89285 to __nss_disable_nscd.
89286 * nscd/cache.c (prune_cache): There is no single inotify descriptor
89287 for a database anymore. Check the records for all the registered
89288 files instead.
89289 * nss/Makefile (libnss_files-routines): Add files-init.
89290 (libnss_db-routines): Add db-init.
89291 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
89292 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
89293 * nss/nss_db/db-init.c: New file.
89294 * nss/nss_files/files-init.c: New file.
89295 * nss/nsswitch.c (nss_load_library): New function. Broken out of
89296 __nss_lookup_function.
89297 (__nss_lookup_function): Call nss_load_library.
89298 (nss_load_all_libraries): New function.
89299 (__nss_disable_nscd): Take parameter with callback function for files
89300 to register. Set is_nscd. Load all the DSOs for the NSS modules
89301 used for the cached services.
89302 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
89303 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
89304 options for features to all the files in nscd.
89305
89306 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
89307
89308 2011-07-10 Roland McGrath <roland@hack.frob.com>
89309
89310 * csu/elf-init.c (__libc_csu_init): Comment typo.
89311
89312 2011-07-09 Ulrich Drepper <drepper@gmail.com>
89313
89314 * po/pl.po: Update from translation team.
89315 * po/ja.po: Likewise.
89316 * po/ru.po: Likewise.
89317 * po/ko.po: Likewise.
89318 * po/fr.po: Likewise.
89319
89320 2011-07-09 Roland McGrath <roland@hack.frob.com>
89321
89322 * configure.in (.ctors/.dtors header and trailer check):
89323 Use an empirical test on a built program.
89324 * configure: Regenerated.
89325
89326 * configure.in (-z relro check): Use an empirical test on a built DSO.
89327 Detect, but do not require, on ia64.
89328 * configure: Regenerated.
89329
89330 * configure.in (READELF): Find it with AC_CHECK_TOOL.
89331 Update tests that use readelf to use $READELF instead.
89332 * configure: Regenerated.
89333
89334 2011-07-08 Ulrich Drepper <drepper@gmail.com>
89335
89336 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
89337 if the result is not used.
89338
89339 2011-07-05 Andreas Jaeger <aj@suse.de>
89340
89341 [BZ #9696]
89342 * stdlib/tst-strtod.c: Add testcase.
89343
89344 2011-07-07 Ulrich Drepper <drepper@gmail.com>
89345
89346 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
89347 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
89348 The latter has a higher limit. Take additional parameter to pass to
89349 the new function.
89350 (__pathconf): Pass file to __statfs_link_max.
89351 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
89352 __statfs_link_max.
89353 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
89354 __statfs_link_max.
89355
89356 [BZ #12868]
89357 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
89358 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89359 Handle Lustre.
89360 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
89361 (__statfs_filesize_max): Likewise.
89362 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
89363
89364 2011-07-05 Andreas Jaeger <aj@suse.de>
89365
89366 * resolv/res_comp.c (dn_skipname): Remove unused variable.
89367
89368 2011-07-06 Marek Polacek <mpolacek@redhat.com>
89369
89370 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
89371 `status' variable.
89372 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
89373 Likewise.
89374
89375 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
89376
89377 * Makefile (strop-tests): Add strncat.
89378 * string/test-strncat.c: New file.
89379
89380 2011-06-30 Marek Polacek <mpolacek@redhat.com>
89381
89382 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
89383
89384 2011-06-21 Andreas Jaeger <aj@suse.de>
89385
89386 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
89387 Copy rule from iconvdata/Makefile.
89388
89389 2011-07-06 Ulrich Drepper <drepper@gmail.com>
89390
89391 [BZ #12922]
89392 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
89393 but no long options are defined, just return 'W'.
89394
89395 2011-06-22 Marek Polacek <mpolacek@redhat.com>
89396
89397 [BZ #9696]
89398 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
89399
89400 2011-07-06 Ulrich Drepper <drepper@gmail.com>
89401
89402 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
89403 netgroups to read.
89404 (innetgr): Likewise.
89405
89406 2011-07-05 Roland McGrath <roland@hack.frob.com>
89407
89408 * config.make.in (install_root): Default to $(DESTDIR).
89409
89410 2011-07-05 Ulrich Drepper <drepper@gmail.com>
89411
89412 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
89413
89414 2011-07-02 Roland McGrath <roland@hack.frob.com>
89415
89416 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
89417
89418 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
89419 containing directory rather than embedding absolute directory names.
89420
89421 * scripts/check-local-headers.sh: Rewritten using awk.
89422 Match by word, not by line. Print error messages for matches.
89423 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
89424
89425 * Makerules [shlib-lds-flags empty]:
89426 ($(common-objpfx)libc_pic.opts): New target.
89427 ($(common-objpfx)libc_pic.os.clean): New target.
89428 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
89429
89430 * config.make.in (OBJCOPY): New variable.
89431 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
89432 * configure: Regenerated.
89433
89434 * config.make.in (use-default-link): New variable.
89435 * configure.in (use_default_link): Grok --with-default-link to set it.
89436 * configure: Regenerated.
89437 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
89438 (shlib-lds, shlib-lds-flags): Define to empty.
89439
89440 * Makerules (shlib-lds): New variable.
89441 (shlib-lds-flags): New variable.
89442 (build-shlib, build-moduile, build-module-asneeded): Use it.
89443 ($(common-objpfx)libc.so): Use $(shlib-lds).
89444 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
89445 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
89446
89447 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
89448 DT_FLAGS/DT_FLAGS_1 with zero flags.
89449
89450 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
89451 linker script munging.
89452
89453 2011-07-02 Ulrich Drepper <drepper@gmail.com>
89454
89455 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
89456 as 128-bit value.
89457 * crypt/sha512.c (sha512_process_block): Perform total addition using
89458 128-bit if possible.
89459 (__sha512_finish_ctx): Likewise.
89460 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
89461 as 64-bit value.
89462 * crypt/sha256.c (SWAP64): Define.
89463 (sha256_process_block): Perform total addition using 64-bit if
89464 possible.
89465 (__sha256_finish_ctx): Likewise.
89466
89467 2011-07-01 Ulrich Drepper <drepper@gmail.com>
89468
89469 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
89470 * nscd/initgrcache.c (addinitgroupsX): Likewise.
89471 * nscd/hstcache.c (cache_addhst): Likewise.
89472 * nscd/grpcache.c (cache_addgr): Likewise.
89473 * nscd/aicache.c (addhstaiX): Likewise.
89474 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
89475
89476 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
89477
89478 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
89479 * nscd/initgrcache.c (addinitgroupsX): Likewise.
89480 * nscd/hstcache.c (cache_addhst): Likewise.
89481 * nscd/grpcache.c (cache_addgr): Likewise.
89482 * nscd/aicache.c (addhstaiX): Likewise.
89483
89484 2011-07-01 Andreas Schwab <schwab@redhat.com>
89485
89486 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
89487 domain only when needed.
89488
89489 2011-06-30 Andreas Schwab <schwab@redhat.com>
89490
89491 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
89492 is always restored.
89493
89494 2011-06-29 Ulrich Drepper <drepper@gmail.com>
89495
89496 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
89497 are re-adding the entry.
89498 * nscd/servicescache.c (cache_addserv): Likewise.
89499
89500 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
89501
89502 * sysdeps/generic/dl-irel.h: fix protection against multiple
89503 inclusions.
89504 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
89505
89506 2011-06-28 Ulrich Drepper <drepper@gmail.com>
89507
89508 [BZ #12935]
89509 * malloc/memusage.sh: Fix quoting in message.
89510 * debug/xtrace.sh: Likewise.
89511
89512 * configure.in: Remove support for --experimental-malloc option, make
89513 it the default.
89514 * config.make.in: Likewise.
89515 * malloc/Makefile: Likewise.
89516
89517 2011-06-27 Andreas Schwab <schwab@redhat.com>
89518
89519 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
89520 two-byte characters.
89521
89522 2011-06-27 Roland McGrath <roland@hack.frob.com>
89523
89524 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
89525 AC_CACHE_CHECK invocation.
89526 * configure: Regenerated.
89527
89528 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
89529
89530 2011-06-27 Ulrich Drepper <drepper@gmail.com>
89531
89532 [BZ #12350]
89533 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
89534 bit from old_res_options.
89535
89536 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
89537
89538 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
89539 value type for setfct.
89540
89541 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
89542
89543 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
89544 __gettimeofday instead of gettimeofday.
89545
89546 2011-06-26 Ulrich Drepper <drepper@gmail.com>
89547
89548 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
89549
89550 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
89551
89552 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
89553
89554 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
89555 info.
89556
89557 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
89558
89559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89560 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
89561 strcpy-sse2-unaligned strncpy-sse2-unaligned
89562 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
89563 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
89564 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
89565 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
89566 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
89567 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
89568 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
89569 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
89570 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
89571 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
89572 (STRCPY): Support SSE2 and SSSE3 versions.
89573
89574 2011-06-24 Ulrich Drepper <drepper@gmail.com>
89575
89576 [BZ #12874]
89577 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
89578 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
89579 kernels which artificially limit size of requests.
89580
89581 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
89582
89583 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89584 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
89585 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
89586 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
89587 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
89588 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
89589 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
89590 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
89591 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
89592 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
89593 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
89594 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
89595 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
89596 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
89597 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
89598 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89599 Enable unaligned load optimization for Intel Core i3, i5 and i7
89600 processors.
89601 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
89602 Define.
89603 (index_Fast_Unaligned_Load): Define.
89604 (HAS_FAST_UNALIGNED_LOAD): Define.
89605
89606 2011-06-23 Marek Polacek <mpolacek@redhat.com>
89607
89608 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
89609
89610 2011-06-22 Ulrich Drepper <drepper@gmail.com>
89611
89612 [BZ #12907]
89613 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
89614 until it is clear that the information is realy needed.
89615 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
89616
89617 2011-06-22 Andreas Schwab <schwab@redhat.com>
89618
89619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
89620
89621 2011-06-22 Ulrich Drepper <drepper@gmail.com>
89622
89623 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
89624 /sys/devices/system/cpu/online if it is usable.
89625
89626 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
89627 reading the information from the /proc filesystem to once a second.
89628
89629 2011-06-21 Andreas Jaeger <aj@suse.de>
89630
89631 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
89632 NULL after inclusion of kernel headers.
89633
89634 2011-06-21 Ulrich Drepper <drepper@gmail.com>
89635
89636 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
89637 calls to internal_setent.
89638
89639 [BZ #12885]
89640 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
89641 addresses using gethostbyname4_r ignore IPv4 addresses.
89642
89643 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
89644 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
89645
89646 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
89647
89648 2011-06-20 David S. Miller <davem@davemloft.net>
89649
89650 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
89651 inclusions.
89652 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
89653
89654 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
89655 (elf_irel): Use it.
89656 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
89657 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
89658 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
89659 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
89660 * sysdeps/x86_64/dl-irel.h: Likewise.
89661
89662 * elf/dl-runtime.c: Use elf_ifunc_invoke.
89663 * elf/dl-sym.c: Likewise.
89664
89665 2011-06-15 Ulrich Drepper <drepper@gmail.com>
89666
89667 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
89668 need to dereference resplen2.
89669
89670 2011-06-14 Andreas Schwab <schwab@redhat.com>
89671
89672 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
89673
89674 2011-06-15 Ulrich Drepper <drepper@gmail.com>
89675
89676 * Makeconfig: Define vardbdir and inst_vardbdir.
89677 * nss/Makefile: Add rules to install db-Makefile.
89678
89679 * nss/nss_db/db-XXX.c: Cleanup.
89680
89681 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
89682 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
89683 GLIBC_PRIVATE.
89684 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
89685 * nss/makedb.c: Implement -g option to specify that value strings
89686 are generated and should not be added to table iterated over for
89687 get*ent calls.
89688 * nss/nss_db/db-initgroups.c: New file.
89689
89690 * nss/getent.c: Add support for initgroups lookups through getgrouplist
89691 interface.
89692
89693 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
89694 (internal_getgrouplist): Adjust to name change.
89695 Update use_initgroups_entry if this is not the first call.
89696 * nss/databases.def: Add initgroups entry.
89697
89698 * nss/makedb.c (compute_tables): Check result of multiple hash table
89699 sizes to minimize maximum chain length.
89700
89701 2011-06-14 Ulrich Drepper <drepper@gmail.com>
89702
89703 * Versions.def: Add entry for libnss_db.
89704 * shlib-versions: Likewise.
89705 * nss/Makefile: Add rules to build libnss_db.
89706 * nss/Versions: Add libnss_db information. Organize libnss_files
89707 entries better.
89708 * nss/db-Makefile: Add gshadow support. Change rules for the new
89709 makedb progra. Some minor improvements to generate smaller files.
89710 * nss/nss_db/nss_db.h: Move NSS database header data structures to
89711 here from...
89712 * nss/makedb.c: ...here.
89713 Improve database format to be smaller and require less memory at
89714 runtime.
89715 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
89716 db anymore.
89717 * nss/nss_db/db-netgrp.c: Likewise.
89718 * nss/nss_db/db-open.c: Likewise.
89719 * nss/nss_files/flies-XXX.x: Adjust comments.
89720 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
89721 * nss/nss_files/files-grp.c: Likewise.
89722 * nss/nss_files/files-hosts.c: Likewise.
89723 * nss/nss_files/files-network.c: Likewise.
89724 * nss/nss_files/files-proto.c: Likewise.
89725 * nss/nss_files/files-pwd.c: Likewise.
89726 * nss/nss_files/files-rpc.c: Likewise.
89727 * nss/nss_files/files-service.c: Likewise.
89728 * nss/nss_files/files-sgrp.c: Likewise.
89729 * nss/nss_files/files-spwd.c: Likewise.
89730 * nss/nss_db/db-alias.c: Removed.
89731 * nss/nss_db/dummy-db.h: Removed.
89732
89733 2011-06-02 Ulrich Drepper <drepper@gmail.com>
89734
89735 * nss/makedb.c: Rewritten to not use database library.
89736 * nss/Makefile: Update to build new makedb program.
89737
89738 2011-06-14 Andreas Jaeger <aj@suse.de>
89739
89740 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
89741 memset declaration.
89742
89743 2011-06-10 Andreas Schwab <schwab@redhat.com>
89744
89745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
89746 tmpbuf.
89747
89748 2011-06-10 Roland McGrath <roland@hack.frob.com>
89749
89750 * Makerules (shlib.lds): Fail if the linker script comes out empty.
89751 * elf/Makefile ($(objpfx)ld.so): Likewise.
89752
89753 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
89754 Don't list ld.so twice in dependencies.
89755
89756 * posix/bug-regex31.c: Include <stdlib.h>.
89757
89758 * nscd/hstcache.c (cache_addhst): Remove unused variable.
89759
89760 * nis/nss_compat/compat-spwd.c
89761 (getspent_next_nss_netgr): Remove unused variable.
89762 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
89763
89764 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
89765 nonmembers" output to use the right array.
89766
89767 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
89768
89769 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
89770
89771 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
89772 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
89773 * catgets/gencat.c (read_input_file): Likewise.
89774 * locale/programs/locarchive.c (enlarge_archive): Likewise.
89775
89776 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
89777 variable definition inside #if's controlling its use.
89778
89779 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
89780
89781 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
89782
89783 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
89784
89785 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
89786 unreachable code.
89787
89788 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
89789
89790 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
89791 * configure: Regenerated.
89792
89793 * Makerules: Revert last change.
89794 * elf/Makefile: Likewise.
89795
89796 2011-06-09 Roland McGrath <roland@hack.frob.com>
89797
89798 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
89799 * elf/Makefile ($(objpfx)librtld.os): Likewise.
89800 (reloc-link): Likewise.
89801
89802 2011-06-09 Ulrich Drepper <drepper@gmail.com>
89803
89804 * elf/Makefile: Add rules to build pldd.
89805 * elf/pldd.c: New file.
89806 * elf/pldd-xx.c: New file.
89807
89808 2011-06-07 Ulrich Drepper <drepper@gmail.com>
89809
89810 * version.h: Update for 2.15 development version.
89811
89812 2011-06-07 David S. Miller <davem@davemloft.net>
89813
89814 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
89815 ifuncs.
89816 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
89817 elf_machine_lazy_rel): Likewise.
89818 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
89819 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
89820 elf_machine_lazy_rel): Likewise.
89821 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
89822 dl_hwcap via passed in argument.
89823 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
89824 Likewise.
89825
89826 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
89827
89828 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
89829
89830 2011-06-06 Roland McGrath <roland@hack.frob.com>
89831
89832 [BZ #12849]
89833 * manual/fdl-1.1.texi: New file, verbatim from:
89834 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
89835 * manual/lgpl-2.1.texi: New file, verbatim from:
89836 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
89837 * manual/Makefile (licenses): New variable, list those new file names.
89838 (texis): Use it.
89839 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
89840
89841 * manual/fdl.texi: File removed.
89842 * manual/lesser.texi: File removed.
89843 * manual/libc.texinfo (Copying, Documentation License):
89844 Use new @include file names, put @appendix directive before @include.
89845
89846 2011-06-04 Jakub Jelinek <jakub@redhat.com>
89847
89848 [BZ #12841]
89849 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
89850 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
89851 (mq_open): Add __NTH.
89852
89853 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
89854
89855 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89856 Assume Intel Core i3/i5/i7 processor if AVX is available.
89857
89858 2011-05-31 Ulrich Drepper <drepper@gmail.com>
89859
89860 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
89861 typo.
89862
89863 2011-05-31 Andreas Schwab <schwab@redhat.com>
89864
89865 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
89866 memory. Use alloca_account. Fix memory leak when retrying.
89867
89868 2011-05-31 Ulrich Drepper <drepper@gmail.com>
89869
89870 * version.h (RELEASE): Bump for 2.14 release.
89871 * include/features.h (__GLIBC_MINOR__): Bump to 14.
89872
89873 * config.make.in (RANLIB): Remove entry.
89874
89875 2011-05-30 Ulrich Drepper <drepper@gmail.com>
89876
89877 * po/Makefile (po-sed-cmd): Add ksh to extensions.
89878 (libc.pot): Work around missing support for .ksh extension in xgettext.
89879
89880 [BZ #12684]
89881 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
89882 if both request failed.
89883 (send_dg): In case of server errors clear resplen or *resplen2.
89884
89885 [BZ #12454]
89886 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
89887 when there are multiple maps.
89888 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
89889 (_dl_fini): Remove test here.
89890
89891 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
89892
89893 2011-05-29 Ulrich Drepper <drepper@gmail.com>
89894
89895 [BZ #12350]
89896 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
89897 bit from old_res_options.
89898 (gaih_inet): Likewise.
89899
89900 [BZ #11099]
89901 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
89902 as signed.
89903
89904 * resolv/res_init.c (res_setoptions): Make the code more compact.
89905
89906 [BZ #11558]
89907 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
89908 set RES_USEVC.
89909
89910 [BZ #11634]
89911 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
89912
89913 * malloc/malloc.h: Mark malloc hook variables as deprecated.
89914
89915 [BZ #11781]
89916 * malloc/malloc.h: Declare malloc hook variables as volatile.
89917
89918 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
89919 in last patch.
89920
89921 [BZ #11799]
89922 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
89923 raise in the comment.
89924 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
89925 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
89926 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
89927
89928 2011-05-28 Ulrich Drepper <drepper@gmail.com>
89929
89930 [BZ #12811]
89931 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
89932 grow the buffers more if it already has to be sufficient.
89933 (build_wcs_upper_buffer): Likewise.
89934 * posix/regexec.c (check_matching): Likewise.
89935 (clean_state_log_if_needed): Likewise.
89936 (extend_buffers): Don't enlarge buffers beyond size of the input
89937 buffer.
89938 Patches mostly by Emil Wojak <emil@wojak.eu>.
89939 * posix/bug-regex32.c: New file.
89940 * posix/Makefile (tests): Add bug-regex32.
89941
89942 * locale/findlocale.c (_nl_find_locale): Return right away if
89943 _nl_explode_name failed.
89944 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
89945
89946 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
89947
89948 * debug/xtrace.sh: Unify messages.
89949 * malloc/memusage.sh: Likewise.
89950
89951 [BZ #12813]
89952 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
89953 time symbol from vDSO. Substitute with vsyscall if not available.
89954 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
89955 __vdso_time.
89956
89957 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
89958 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
89959 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
89960 Add sendmmsg and internal_sendmmsg.
89961 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
89962 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
89963 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
89964
89965 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
89966 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
89967 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
89968
89969 2011-05-27 Ulrich Drepper <drepper@gmail.com>
89970
89971 [BZ #12813]
89972 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
89973 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
89974 available.
89975 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
89976 __vdso_getcpu.
89977
89978 [BZ #12814]
89979 * iconvdata/Makefile (tests): Add bug-iconv9.
89980 * iconvdata/bug-iconv9.c: New file.
89981
89982 2011-05-27 Andreas Schwab <schwab@redhat.com>
89983
89984 [BZ #12814]
89985 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
89986
89987 2011-05-25 Jakub Jelinek <jakub@redhat.com>
89988
89989 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
89990 (struct user_regs_struct): Change intcs field back to cs.
89991
89992 2011-05-25 Ulrich Drepper <drepper@gmail.com>
89993
89994 * po/ja.po: Update from translation team.
89995
89996 2011-05-23 Ulrich Drepper <drepper@gmail.com>
89997
89998 [BZ #12795]
89999 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
90000 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
90001
90002 2011-05-20 Andreas Schwab <schwab@redhat.com>
90003
90004 * stdlib/longlong.h: Update from GCC.
90005
90006 2011-05-23 Andreas Schwab <schwab@redhat.com>
90007
90008 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
90009 parameter name.
90010 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
90011 Add parameter name.
90012 (__sysconf): Pass it down.
90013
90014 2011-05-22 Ulrich Drepper <drepper@gmail.com>
90015
90016 [BZ #12671]
90017 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
90018 some situations.
90019 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
90020 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
90021 add in in __libc_use_alloca calls. Adjust callers.
90022 (glob): Use malloc in some situations.
90023
90024 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
90025 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
90026 pltexit.
90027
90028 2011-05-21 Ulrich Drepper <drepper@gmail.com>
90029
90030 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
90031 and CLOCK_BOOTTIME_ALARM.
90032
90033 [BZ #12782]
90034 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
90035 is returned.
90036
90037 * string/_strerror.c (__strerror_r): Print negative errors as signed
90038 numbers.
90039
90040 [BZ #12777]
90041 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
90042 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
90043 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
90044
90045 * configure.in: Fix typo in redirection and correct removal of test
90046 files in two cases.
90047
90048 [BZ #12788]
90049 * locale/setlocale.c (new_composite_name): Fix test to check for
90050 identical name of all categories.
90051
90052 [BZ #12792]
90053 * libio/filedoalloc.c (local_isatty): New function.
90054 (_IO_file_doallocate): Use local_isatty.
90055 * stdio-common/perror.c (perror): In case a new stream is used
90056 forward the stream error.
90057 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
90058 error flag.
90059
90060 2011-05-20 Ulrich Drepper <drepper@gmail.com>
90061
90062 [BZ #11884]
90063 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
90064 alloca.
90065 * include/alloca.h (extend_alloca_account): Define.
90066
90067 [BZ #11857]
90068 * posix/regex.h: Fix comments with documentation of user-accessible
90069 fields after compilation and describe correct free'ing of pattern
90070 after re_compile_pattern.
90071 Patch by Reuben Thomas <rrt@sc3d.org>.
90072
90073 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
90074
90075 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
90076 and -mno-altivec to prevent the compiler from using Altivec and/or
90077 VSX instructions when the corresponding registers are not available.
90078
90079 2011-05-19 Andreas Schwab <schwab@redhat.com>
90080
90081 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
90082
90083 2011-05-19 Ulrich Drepper <drepper@gmail.com>
90084
90085 * libio/freopen.c (freopen): Use __dup2, not dup2.
90086 * libio/freopen64.c (freopen64): Likewise.
90087
90088 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
90089
90090 [BZ #12775]
90091 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
90092 * math/Makefile (tests): Add test-powl.
90093 (CFLAGS-test-powl.c): Define.
90094 * math/test-powl.c: New file.
90095
90096 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
90097
90098 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
90099
90100 2011-05-17 Ulrich Drepper <drepper@gmail.com>
90101
90102 [BZ #11837]
90103 * iconvdata/gb18030.c: Update to GB18020-2005.
90104
90105 2011-05-16 Ulrich Drepper <drepper@gmail.com>
90106
90107 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
90108 RE_SYNTAX_POSIX_AWK): Update to match recent development.
90109 Patch by Aharon Robbins <arnold@skeeve.com>.
90110
90111 [BZ #11892]
90112 * stdlib/putenv.c (putenv): Don't always create copy of the variable
90113 on the stack.
90114
90115 [BZ #11895]
90116 * misc/pselect.c (__pselect): Handle timeout value errors hidden
90117 through underflows.
90118
90119 [BZ #12766]
90120 * misc/error.c (error_at_line): Ensure file_name and old_file_name
90121 point to strings before performing equality test for error_one_per_line
90122 mode.
90123
90124 [BZ #11697]
90125 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
90126
90127 [BZ #11820]
90128 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
90129 (struct user_fpregs_struct): Avoid __uint*_t types.
90130
90131 [BZ #6420]
90132 * malloc/mtrace.c (tr_where): Add additional parameter to point to
90133 symbol info. Use it instead of calling _dl_addr locally.
90134 (lock_and_info): New function.
90135 (tr_freehook): Call lock_and_info and pass symbol info as additional
90136 parameter to tr_where.
90137 (tr_mallochook): Likewise.
90138 (tr_reallochook): Likewise.
90139 (tr_memalignhook): Likewise.
90140
90141 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
90142 used and couldn't be at all thread-safe.
90143
90144 2011-05-15 Ulrich Drepper <drepper@gmail.com>
90145
90146 * libio/freopen.c (freopen): Don't close old file descriptor
90147 before the new one is opened. Instead dup the new file descriptor
90148 to the old one after the new stream is created.
90149 * libio/freopen64.c (freopen64): Likewise.
90150 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
90151 * libio/fileops.c (_IO_new_file_close_it): Handle new
90152 _IO_FLAGS2_NOCLOSE flag.
90153 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
90154 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
90155 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
90156 _IO_FLAGS2_NOCLOSE flag.
90157 * include/unistd.h: Add hidden_proto for dup3.
90158 Define __have_dup3.
90159 * io/dup3.c: Define hidden symbol.
90160 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
90161
90162 [BZ #7101]
90163 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
90164 when an incomplete long option is used.
90165 * posix/tst-getopt_long1.c: New file.
90166 * posix/Makefile (tests): Add tst-getopt_long1.
90167
90168 [BZ #10138]
90169 * scripts/config.guess: Update from autoconf-2.68.
90170 * scripts/config.sub: Likewise.
90171
90172 [BZ #10157]
90173 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
90174 tests into ...
90175 (has_cpuclock): ...this. New function.
90176 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
90177 macro here based on has_cpuclock code.
90178
90179 [BZ #10149]
90180 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
90181 First byte (not low byte) is now always NUL.
90182 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
90183
90184 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
90185 Use non-cancelable interfaces.
90186
90187 [BZ #9809]
90188 * locale/iso-639.def: Add entry for Sorani.
90189
90190 [BZ #11901]
90191 * include/stdlib.h: Move include protection to the right place.
90192 Define abort_msg_s. Declare __abort_msg with it.
90193 * stdlib/abort.c (__abort_msg): Adjust type.
90194 * assert/assert.c (__assert_fail_base): New function. Majority
90195 of code from __assert_fail. Allocate memory for __abort_msg with
90196 mmap.
90197 (__assert_fail): Now call __assert_fail_base.
90198 * assert/assert-perr.c: Remove bulk of implementation. Use
90199 __assert_fail_base.
90200 * include/assert.hL Declare __assert_fail_base.
90201 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
90202 mmap.
90203 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
90204
90205 2011-05-14 Ulrich Drepper <drepper@gmail.com>
90206
90207 [BZ #11952]
90208 [BZ #12453]
90209 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
90210 until all modules are registered in the DTV.
90211 * elf/Makefile: Add rules to build and run tst-tls19.
90212 * elf/tst-tls19.c: New file.
90213 * elf/tst-tls19mod1.c: New file.
90214 * elf/tst-tls19mod2.c: New file.
90215 * elf/tst-tls19mod3.c: New file.
90216 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
90217
90218 [BZ #12083]
90219 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
90220 correctly.
90221
90222 [BZ #12601]
90223 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
90224 two-byte sequence errors.
90225 * iconvdata/Makefile (tests): Add bug-iconv8.
90226 * iconvdata/bug-iconv8.c: New file.
90227
90228 [BZ #12626]
90229 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
90230 buf2 definition.
90231
90232 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
90233
90234 [BZ #12432]
90235 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
90236 (dummy_getcfa): New function.
90237 (init): Get _Unwind_GetCFA address, use dummy if not found.
90238 (backtrace_helper): In recursion check, also check whether CFA changes.
90239 (__backtrace): Completely initialize arg.
90240
90241 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
90242 storing incomplete byte sequence in state object. Avoid testing for
90243 guaranteed too small input if we know there is enough data available.
90244
90245 2011-05-11 Andreas Schwab <schwab@redhat.com>
90246
90247 * Makeconfig (+link-pie): Indent.
90248 * Rules (binaries-pie): Define if $(have-fpie) and
90249 $(build-shared).
90250 (binaries-shared): Also filter out $(binaries-pie).
90251 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
90252 * nscd/Makefile (others-pie): Add nscd.
90253 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
90254 ($(objpfx)nscd): Remove command override.
90255 * login/Makefile (others-pie): Add pt_chown.
90256 ($(objpfx)pt_chown): Remove command override.
90257 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
90258 remove command overrides.
90259
90260 2011-05-13 Ulrich Drepper <drepper@gmail.com>
90261
90262 * libio/tst_putwc.c: Fix error messages.
90263
90264 [BZ #12724]
90265 * libio/fileops.c (_IO_new_file_close_it): Always flush when
90266 currently writing and seek to current position when not.
90267 * libio/Makefile (tests): Add bug-fclose1.
90268 * libio/bug-fclose1.c: New file.
90269
90270 2011-05-12 Ulrich Drepper <drepper@gmail.com>
90271
90272 [BZ #12511]
90273 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
90274 don't set DF_1_NODELETE here.
90275 (do_lookup_x): When entering new entry test for copy relocation
90276 and if necessary set DF_1_NODELETE flag.
90277 * elf/tst-unique4.cc: New file.
90278 * elf/tst-unique4.h: New file.
90279 * elf/tst-unique4lib.cc: New file.
90280 * elf/Makefile: Add rules to build and run tst-unique4.
90281 Patch by Piotr Bury <pbury@goahead.com>.
90282
90283 2011-05-11 Ulrich Drepper <drepper@gmail.com>
90284
90285 [BZ #12052]
90286 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
90287
90288 [BZ #12625]
90289 * misc/mntent_r.c (addmntent): Flush the stream after the output
90290
90291 [BZ #12393]
90292 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
90293 (is_trusted_path_normalize): Skip initial colon. Append slash
90294 to empty buffer. Duplicate is_trusted_path code but allow
90295 constructed patch to be prefix.
90296 (is_dst): Allow $ORIGIN followed by /.
90297 (_dl_dst_substitute): Correct clearing of check_for_trusted.
90298 Correct testing of result of is_trusted_path_normalize
90299 (decompose_rpath): Fix warning.
90300
90301 2011-05-10 Ulrich Drepper <drepper@gmail.com>
90302
90303 [BZ #11257]
90304 * grp/initgroups.c (internal_getgrouplist): When we found the service
90305 list through the initgroups entry in nsswitch.conf do not always
90306 continue on a successful lookup. Don't always use the
90307 __nss_group_database value if it is set.
90308 * nss/nsswitch.conf (initgroups): Change action for successful db
90309 lookup to continue for compatibility.
90310
90311 2011-05-09 Ulrich Drepper <drepper@gmail.com>
90312
90313 [BZ #11532]
90314 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
90315 and CP774 modules.
90316 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
90317 and CP774 modules.
90318 * iconvdata/tst-tables.sh: Likewise.
90319 * iconvdata/cp770.c: New file.
90320 * iconvdata/cp771.c: New file.
90321 * iconvdata/cp772.c: New file.
90322 * iconvdata/cp773.c: New file.
90323 * iconvdata/cp774.c: New file.
90324 * iconvdata/testdata/CP770: New file.
90325 * iconvdata/testdata/CP770..UTF8: New file.
90326 * iconvdata/testdata/CP771: New file.
90327 * iconvdata/testdata/CP771..UTF8: New file.
90328 * iconvdata/testdata/CP772: New file.
90329 * iconvdata/testdata/CP772..UTF8: New file.
90330 * iconvdata/testdata/CP773: New file.
90331 * iconvdata/testdata/CP773..UTF8: New file.
90332 * iconvdata/testdata/CP774: New file.
90333 * iconvdata/testdata/CP774..UTF8: New file.
90334
90335 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
90336 END CHARMAP line.
90337 * iconvdata/gen-8bit-gap.sh: Likewise.
90338 * iconvdata/gen-8bit.sh: Likewise.
90339
90340 * locale/iso-639.def: Add ary entry.
90341
90342 [BZ #11258]
90343 * locale/C-translit.h.in: Add U20A1 transliteration.
90344
90345 [BZ #12178]
90346 * locale/iso-639.def: Add wae entry.
90347 Patch by Kevin Bortis <bortis@translate-wae.ch>.
90348
90349 [BZ #12545]
90350 * locale/programs/localedef.c (construct_output_path): Use ssize_t
90351 for n.
90352
90353 [BZ #12711]
90354 * locale/C-translit.h.in: Add entry for U20B9.
90355 Patch by pravin.d.s@gmail.com.
90356
90357 2011-05-08 Ulrich Drepper <drepper@gmail.com>
90358
90359 [BZ #12713]
90360 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
90361 ENAMETOOLONG use generic getcwd.
90362 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
90363 in rtld. Use *stat64.
90364 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
90365 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
90366 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
90367 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
90368 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
90369 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
90370 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
90371 __fstatat64 macros.
90372 * include/dirent.h: Add libc_hidden_proto for rewinddir.
90373 * dirent/rewinddir.c: Add libc_hidden_def.
90374 * sysdeps/mach/hurd/rewinddir.c: Likewise.
90375 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
90376
90377 * include/dirent.h (__alloc_dir): Add flags parameter.
90378 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
90379 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
90380 __alloc_dir.
90381 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
90382 from fdopendir if O_CLOEXEC is already set.
90383
90384 2011-03-15 Alan Modra <amodra@gmail.com>
90385
90386 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
90387 l_tls_firstbyte_offset non-zero. Save padding offset in
90388 l_tls_firstbyte_offset for later use.
90389 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
90390 freeing static tls block.
90391
90392 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
90393
90394 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
90395 where #ifdef was intended. The intent is to prevent ARG_MAX from
90396 being defined by the kernel headers.
90397
90398 2011-05-07 Ulrich Drepper <drepper@gmail.com>
90399
90400 [BZ #12734]
90401 * resolv/resolv.h: Define RES_NOTLDQUERY.
90402 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
90403 no-tld-query and set RES_NOTLDQUERY.
90404 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
90405 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
90406 modern BIND to search name as TLD unless forbidden.
90407
90408 2011-05-07 Petr Baudis <pasky@suse.cz>
90409 Ulrich Drepper <drepper@gmail.com>
90410
90411 [BZ #12393]
90412 * elf/dl-load.c (fillin_rpath): Move trusted path check...
90413 (is_trusted_path): ...to here.
90414 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
90415 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
90416 using is_trusted_path_normalize() in setuid scripts.
90417
90418 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
90419
90420 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
90421 __BEGIN/__END_DECLS.
90422
90423 2011-05-06 Ulrich Drepper <drepper@gmail.com>
90424
90425 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
90426 NSS_STATUS_NOTFOUND if no record was found.
90427
90428 2011-05-05 Andreas Schwab <schwab@redhat.com>
90429
90430 * sunrpc/Makefile (headers): Add rpc/netdb.h.
90431 (headers-not-in-tirpc): Remove rpc/netdb.h
90432 * resolv/netdb.h: Revert last change.
90433
90434 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
90435
90436 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
90437 circular dependency between libgcc.a and libc.a.
90438
90439 2011-05-05 Andreas Schwab <schwab@redhat.com>
90440
90441 * resolv/netdb.h: Don't include <rpc/netdb.h>.
90442 * nis/Makefile: Don't install rpcsvc/*.
90443 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
90444 instead of <rpc/types.h>.
90445 (MAXHOSTNAMELEN): Define.
90446
90447 2011-05-03 Andreas Schwab <schwab@redhat.com>
90448
90449 * elf/ldconfig.c (add_dir): Don't crash on empty path.
90450
90451 2011-04-28 Maciej Babinski <mbabinski@google.com>
90452
90453 [BZ #12714]
90454 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
90455 gethostbyname4_r when IPv6 results are possible.
90456
90457 2011-05-02 Ulrich Drepper <drepper@gmail.com>
90458
90459 [BZ #12723]
90460 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
90461 _PC_PIPE_BUF handling.
90462
90463 2011-04-30 Bruno Haible <bruno@clisp.org>
90464
90465 [BZ #12717]
90466 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
90467 * resolv/netdb.h (getnameinfo): Change type of flags parameter
90468 to 'int'.
90469 * inet/getnameinfo.c (getnameinfo): Likewise.
90470
90471 2011-04-29 Ulrich Drepper <drepper@gmail.com>
90472
90473 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
90474 to groups setting in database lookup.
90475 * nss/nsswitch.conf: Add initgroups entry.
90476
90477 2011-04-22 Ulrich Drepper <drepper@gmail.com>
90478
90479 [BZ #12685]
90480 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
90481 mode string.
90482 Patch by Eric Blake <eblake@redhat.com>.
90483
90484 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
90485
90486 * sunrpc/Makefile (need-export-routines): Add svc_run.
90487 (routines): Remove svc_run.
90488 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
90489 * sunrpc/clnt_perr.c (clnt_perrno): Export.
90490 * sunrpc/svc_run.c (svc_run): Likewise.
90491 * sunrpc/svc_udp.c (svcudp_create): Likewise.
90492
90493 2011-04-21 Ulrich Drepper <drepper@gmail.com>
90494
90495 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
90496 problem in reallocation in last patch.
90497
90498 2011-04-20 Ulrich Drepper <drepper@gmail.com>
90499
90500 * sunrpc/Makefile: Move inclusion of Rules.
90501
90502 2011-04-19 Ulrich Drepper <drepper@gmail.com>
90503
90504 * nss/nss_files/files-initgroups.c: New file.
90505 * nss/Makefile (libnss_files-routines): Add files-initgroups.
90506 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
90507 _nss_files_initgroups_dyn.
90508
90509 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
90510
90511 * elf/elf.h (R_ARM_IRELATIVE): Define.
90512
90513 2011-04-19 Ulrich Drepper <drepper@gmail.com>
90514
90515 * po/ru.po: Update from translation team.
90516
90517 2011-04-17 Ulrich Drepper <drepper@gmail.com>
90518
90519 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
90520 dependencies.
90521
90522 2011-02-06 Mike Frysinger <vapier@gentoo.org>
90523
90524 [BZ #12653]
90525 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
90526 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
90527 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
90528 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
90529 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
90530
90531 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
90532
90533 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
90534 differing bytes.
90535 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
90536 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
90537 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
90538
90539 2011-04-17 Ulrich Drepper <drepper@gmail.com>
90540
90541 [BZ #12420]
90542 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
90543 storing it.
90544 * stdlib/bug-getcontext.c: New file.
90545 * stdlib/Makefile: Add rules to build and run bug-getcontext.
90546
90547 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
90548
90549 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
90550 instructions into .machine "z9-109".
90551 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
90552 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
90553
90554 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
90555
90556 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
90557 between environment variables and auxiliary vector.
90558
90559 2011-04-16 Ulrich Drepper <drepper@gmail.com>
90560
90561 * Makefile: Add rules to build linkobj/libc.so.
90562 * include/libc-symbols.h: Define libc_hidden_nolink.
90563 * include/rpc/auth.h: Mark functions which are to be hidden.
90564 * include/rpc/auth_des.h: Likewise.
90565 * include/rpc/auth_unix.h: Likewise.
90566 * include/rpc/clnt.h: Likewise.
90567 * include/rpc/des_crypt.h: Likewise.
90568 * include/rpc/key_prot.h: Likewise.
90569 * include/rpc/pmap_clnt.h: Likewise.
90570 * include/rpc/pmap_prot.h: Likewise.
90571 * include/rpc/pmap_rmt.h: Likewise.
90572 * include/rpc/rpc_msg.h: Likewise.
90573 * include/rpc/svc.h: Likewise.
90574 * include/rpc/svc_auth.h: Likewise.
90575 * include/rpc/xdr.h: Likewise.
90576 * nis/Makefile: Link all DSOs against linkobj/libc.so.
90577 * nss/Makefile: Likewise.
90578 * sunrpc/Makefile: Don't install headers. Build library with normal
90579 entry points. Don't build rpcinfo. Link RPC tests appropriately.
90580 * sunrpc/auth_des.c: Hide exported symbols by default, export some
90581 for the compat linking library. Remove use of INTDEF/INTUSE.
90582 * sunrpc/auth_none.c: Likewise.
90583 * sunrpc/auth_unix.c: Likewise.
90584 * sunrpc/authdes_prot.c: Likewise.
90585 * sunrpc/authuxprot.c: Likewise.
90586 * sunrpc/clnt_gen.c: Likewise.
90587 * sunrpc/clnt_perr.c: Likewise.
90588 * sunrpc/clnt_raw.c: Likewise.
90589 * sunrpc/clnt_simp.c: Likewise.
90590 * sunrpc/clnt_tcp.c: Likewise.
90591 * sunrpc/clnt_udp.c: Likewise.
90592 * sunrpc/clnt_unix.c: Likewise.
90593 * sunrpc/des_crypt.c: Likewise.
90594 * sunrpc/des_soft.c: Likewise.
90595 * sunrpc/get_myaddr.c: Likewise.
90596 * sunrpc/key_call.c: Likewise.
90597 * sunrpc/key_prot.c: Likewise.
90598 * sunrpc/netname.c: Likewise.
90599 * sunrpc/pm_getmaps.c: Likewise.
90600 * sunrpc/pm_getport.c: Likewise.
90601 * sunrpc/pmap_clnt.c: Likewise.
90602 * sunrpc/pmap_prot.c: Likewise.
90603 * sunrpc/pmap_prot2.c: Likewise.
90604 * sunrpc/pmap_rmt.c: Likewise.
90605 * sunrpc/publickey.c: Likewise.
90606 * sunrpc/rpc_cmsg.c: Likewise.
90607 * sunrpc/rpc_common.c: Likewise.
90608 * sunrpc/rpc_dtable.c: Likewise.
90609 * sunrpc/rpc_prot.c: Likewise.
90610 * sunrpc/rpc_thread.c: Likewise.
90611 * sunrpc/rtime.c: Likewise.
90612 * sunrpc/svc.c: Likewise.
90613 * sunrpc/svc_auth.c: Likewise.
90614 * sunrpc/svc_authux.c: Likewise.
90615 * sunrpc/svc_raw.c: Likewise.
90616 * sunrpc/svc_run.c: Likewise.
90617 * sunrpc/svc_simple.c: Likewise.
90618 * sunrpc/svc_tcp.c: Likewise.
90619 * sunrpc/svc_udp.c: Likewise.
90620 * sunrpc/svc_unix.c: Likewise.
90621 * sunrpc/svcauth_des.c: Likewise.
90622 * sunrpc/xcrypt.c: Likewise.
90623 * sunrpc/xdr.c: Likewise.
90624 * sunrpc/xdr_array.c: Likewise.
90625 * sunrpc/xdr_float.c: Likewise.
90626 * sunrpc/xdr_intXX_t.c: Likewise.
90627 * sunrpc/xdr_mem.c: Likewise.
90628 * sunrpc/xdr_rec.c: Likewise.
90629 * sunrpc/xdr_ref.c: Likewise.
90630 * sunrpc/xdr_sizeof.c: Likewise.
90631 * sunrpc/xdr_stdio.c: Likewise.
90632
90633 2011-04-10 Ulrich Drepper <drepper@gmail.com>
90634
90635 [BZ #12650]
90636 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
90637 * sysdeps/ia64/dl-tls.h: Likewise.
90638 * sysdeps/powerpc/dl-tls.h: Likewise.
90639 * sysdeps/s390/dl-tls.h: Likewise.
90640 * sysdeps/sh/dl-tls.h: Likewise.
90641 * sysdeps/sparc/dl-tls.h: Likewise.
90642 * sysdeps/x86_64/dl-tls.h: Likewise.
90643 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
90644
90645 2011-03-14 Andreas Schwab <schwab@redhat.com>
90646
90647 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
90648 rpath element also skip the following colon.
90649 (expand_dynamic_string_token): Add is_path parameter and pass
90650 down to DL_DST_REQUIRED and _dl_dst_substitute.
90651 (decompose_rpath): Call expand_dynamic_string_token with
90652 non-zero is_path. Ignore empty rpaths.
90653 (_dl_map_object_from_fd): Call expand_dynamic_string_token
90654 with zero is_path.
90655
90656 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
90657
90658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
90659 Make cancelable.
90660
90661 2011-04-09 Ulrich Drepper <drepper@gmail.com>
90662
90663 [BZ #12655]
90664 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
90665 Patch by Filipe David Manana <fdmanana@apache.org>.
90666
90667 2011-04-07 Andreas Schwab <schwab@redhat.com>
90668
90669 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
90670 Maintain aligned stack.
90671 (CHECK_RSP): Remove unused macro.
90672
90673 2011-04-03 Ulrich Drepper <drepper@gmail.com>
90674
90675 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
90676 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
90677
90678 2011-04-02 Ulrich Drepper <drepper@gmail.com>
90679
90680 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
90681
90682 * include/features.h: Mention __USE_XOPEN2K8 in comment.
90683
90684 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
90685
90686 [BZ #12518]
90687 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
90688 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
90689 * sysdeps/x86_64/memmove.c: New file.
90690 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
90691 (memcpy): Renamed to ...
90692 (__new_memcpy): This.
90693 (memcpy): Provide GLIBC_2_14 memcpy.
90694 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
90695 (memcpy): Provide GLIBC_2_2_5 memcpy.
90696
90697 2011-04-01 Ulrich Drepper <drepper@gmail.com>
90698
90699 [BZ #12631]
90700 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
90701
90702 2011-03-30 Andreas Schwab <schwab@redhat.com>
90703
90704 * misc/syncfs.c: New file.
90705 * misc/Makefile (routines): Add syncfs.
90706 * posix/unistd.h: Declare syncfs.
90707 * sysdeps/unix/syscalls.list: Add syncfs.
90708
90709 2011-04-01 Andreas Schwab <schwab@redhat.com>
90710
90711 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
90712 open_by_handle_at.
90713 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
90714 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90715 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90716 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90717 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90718 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
90719 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90720
90721 2011-04-01 Ulrich Drepper <drepper@gmail.com>
90722
90723 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
90724 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90725 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
90726 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90727 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90728 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90729 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90730
90731 * io/Makefile: Compile fallocate.c, fallocate64.c, and
90732 sync_file_range.c with -fexceptions.
90733 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
90734 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
90735 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
90736 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
90737 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
90738 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
90739 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
90740 sync_file_range as cancellation point
90741 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
90742 now a wrapper around __call_sync_file_range with cancellation handling.
90743 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
90744 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
90745 function name to __call_sync_file_range.
90746 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
90747 Add call_sync_file_range.
90748
90749 2011-04-01 Andreas Schwab <schwab@redhat.com>
90750
90751 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
90752 bits/timex.h.
90753
90754 2011-04-01 Ulrich Drepper <drepper@gmail.com>
90755
90756 * iconv/iconv.h: Fix typo in comment.
90757 * io/fcntl.h: Likewise.
90758 * libio/stdio.h: Likewise.
90759 * posix/spawn.h: Likewise.
90760 * posix/unistd.h: Likewise.
90761 * stdlib/stdlib.h: Likewise.
90762 * time/time.h: Likewise.
90763 * wcsmbs/wchar.h: Likewise.
90764
90765 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
90766 open_by_handle): Add.
90767 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
90768 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
90769 Augment a few comments.
90770 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90771 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90772 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90773 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90774 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90775 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
90776 open_by_handle.
90777
90778 * io/fcntl.h (AT_EMPTY_PATH): Define.
90779
90780 2011-03-30 Ulrich Drepper <drepper@gmail.com>
90781
90782 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
90783 * sysdeps/unix/sysv/linux/bits/time.h: New file.
90784 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
90785 to...
90786 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
90787 * Versions.def: Add GLIBC_2.14.
90788 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
90789 Export.
90790
90791 2011-03-22 Ulrich Drepper <drepper@gmail.com>
90792
90793 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
90794 round counter.
90795 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
90796
90797 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
90798
90799 [BZ #12597]
90800 * string/test-strncmp.c (do_page_test): New function.
90801 (check2): Likewise.
90802 (test_main): Call check2.
90803 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
90804
90805 2011-03-20 Ulrich Drepper <drepper@gmail.com>
90806
90807 [BZ #12587]
90808 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
90809 Handle cache information in CPU leaf 4.
90810 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
90811
90812 2011-03-18 Ulrich Drepper <drepper@gmail.com>
90813
90814 [BZ #12583]
90815 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
90816 character representation.
90817 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
90818
90819 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
90820
90821 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
90822 END(__isnan) to END(__isnanf) to match function entry point/label
90823 EALIGN(__isnanf,...).
90824
90825 2011-03-10 Jakub Jelinek <jakub@redhat.com>
90826
90827 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
90828
90829 2011-03-10 Ulrich Drepper <drepper@gmail.com>
90830
90831 [BZ #12510]
90832 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
90833 copy from the symbol referenced in the relocation to initialize the
90834 used variable.
90835 Patch by Piotr Bury <pbury@goahead.com>.
90836 * elf/Makefile: Add rules to build and tst-unique3.
90837 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
90838 * elf/tst-unique3.cc: New file.
90839 * elf/tst-unique3.h: New file.
90840 * elf/tst-unique3lib.cc: New file.
90841 * elf/tst-unique3lib2.cc: New file.
90842
90843 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
90844
90845 2011-03-10 Mike Frysinger <vapier@gentoo.org>
90846
90847 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
90848 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
90849 to _start.
90850
90851 2011-03-06 Ulrich Drepper <drepper@gmail.com>
90852
90853 * elf/dl-load.c (_dl_map_object): If we are looking for the first
90854 to-be-loaded object along a path to loader is ld.so.
90855
90856 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
90857 Ulrich Drepper <drepper@gmail.com>
90858
90859 * sysdeps/x86_64/memset.S: After aligning destination, code
90860 branches to different locations depending on the value of
90861 misalignment, when multiarch is enabled. Fix this.
90862
90863 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
90864
90865 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
90866 Set _x86_64_preferred_memory_instruction for AMD processsors.
90867 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90868 Set bit_Prefer_SSE_for_memop for AMD processors.
90869
90870 2011-03-04 Ulrich Drepper <drepper@gmail.com>
90871
90872 * libio/fmemopen.c (fmemopen): Optimize a bit.
90873
90874 2011-03-03 Andreas Schwab <schwab@redhat.com>
90875
90876 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
90877
90878 2011-03-03 Roland McGrath <roland@redhat.com>
90879
90880 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
90881
90882 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
90883
90884 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
90885 __bzero_ultra1 instead of __memset_ultra1.
90886
90887 2011-02-23 Andreas Schwab <schwab@redhat.com>
90888 Ulrich Drepper <drepper@gmail.com>
90889
90890 [BZ #12509]
90891 * include/link.h (struct link_map): Add l_orig_initfini.
90892 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
90893 returning unsuccessfully.
90894 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
90895 close of a file loaded at startup, restore the original l_initfini
90896 list.
90897 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
90898 list, store the pointer.
90899 * elf/Makefile ($(objpfx)noload-mem): New rule.
90900 (noload-ENV): Define.
90901 (tests): Add $(objpfx)noload-mem.
90902 * elf/noload.c: Include <memcheck.h>.
90903 (main): Call mtrace. Close all opened handles.
90904
90905 2011-02-17 Andreas Schwab <schwab@redhat.com>
90906
90907 [BZ #12454]
90908 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
90909 dependencies are missing.
90910
90911 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
90912
90913 Fix __if_freereq crash: Unlike the generic version which uses free,
90914 Hurd needs munmap.
90915 * sysdeps/mach/hurd/ifreq.h: New file.
90916
90917 2011-01-27 Petr Baudis <pasky@suse.cz>
90918 Ulrich Drepper <drepper@gmail.com>
90919
90920 [BZ 12445]#
90921 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
90922 to extend_alloca().
90923 * stdio-common/bug23.c: New file.
90924 * stdio-common/Makefile (tests): Add bug23.
90925
90926 2010-09-28 Andreas Schwab <schwab@redhat.com>
90927 Ulrich Drepper <drepper@gmail.com>
90928
90929 [BZ #12489]
90930 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
90931 before performing relro protection. At old place add assertion
90932 to make sure nothing changed.
90933
90934 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
90935 Glauber de Oliveira Costa <glommer@gmail.com>
90936
90937 * elf/elf.h: Add new ARM TLS relocs.
90938
90939 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
90940
90941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
90942 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
90943 cast from r3.
90944 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
90945 'tests' variable.
90946 * sysdeps/wordsize-64/tst-writev.c: New file.
90947
90948 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
90949
90950 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
90951 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
90952 insns in _dl_start to prevent a TOC reference before relocs are
90953 resolved.
90954
90955 2011-02-15 Ulrich Drepper <drepper@gmail.com>
90956
90957 [BZ #12469]
90958 * Makeconfig: Remove RANLIB definition.
90959 * Makerules: Don't use RANLIB.
90960 * aclocal.m4: Remove ranlib test.
90961 * configure.in: No need to check for ranlib.
90962 * elf/rtld-Rules: Don't use RANLIB.
90963
90964 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
90965
90966 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
90967 protection macro.
90968 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
90969 inclusion protection macro.
90970
90971 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
90972 SIGRTMIN and SIGRTMAX and print information in that case only when
90973 SIGRTMIN is defined.
90974
90975 2011-02-11 Jakub Jelinek <jakub@redhat.com>
90976
90977 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
90978 arginfo fn returning -1.
90979
90980 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
90981 and thousands string is zero terminated.
90982
90983 2011-02-03 Andreas Schwab <schwab@redhat.com>
90984
90985 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
90986 sysdeps/unix/sysv/linux/bits/socket.h.
90987
90988 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
90989
90990 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
90991 (__CPU_COUNT): Remove old macros.
90992 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
90993 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
90994 (__CPU_ALLOC, __CPU_FREE): Add macros.
90995 (__sched_cpualloc, __sched_cpufree): Add declarations.
90996
90997 2011-02-05 Ulrich Drepper <drepper@gmail.com>
90998
90999 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
91000 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
91001 * nscd/aicache.c (addhstaiX): Return timeout of added value.
91002 (readdhstai): Return value of addhstaiX call.
91003 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
91004 (addgrbyX): Return value returned by cache_addgr.
91005 (readdgrbyname): Return value returned by addgrbyX.
91006 (readdgrbygid): Likewise.
91007 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
91008 (addpwbyX): Return value returned by cache_addpw.
91009 (readdpwbyname): Return value returned by addhstbyX.
91010 (readdpwbyuid): Likewise.
91011 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
91012 (addservbyX): Return value returned by cache_addserv.
91013 (readdservbyname): Return value returned by addservbyX:
91014 (readdservbyport): Likewise.
91015 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
91016 (addhstbyX): Return value returned by cache_addhst.
91017 (readdhstbyname): Return value returned by addhstbyX.
91018 (readdhstbyaddr): Likewise.
91019 (readdhstbynamev6): Likewise.
91020 (readdhstbyaddrv6): Likewise.
91021 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
91022 (readdinitgroups): Return value returned by addinitgroupsX.
91023 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
91024 (prune_cache): Keep track of timeout value of re-added entries.
91025 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
91026 * nscd/nscd.h: Adjust prototypes of readd* functions.
91027
91028 2011-02-04 Roland McGrath <roland@redhat.com>
91029
91030 * nis/nis_server.c (nis_servstate): Use the right name for 0.
91031 (nis_stats): Likewise.
91032 * nis/nis_modify.c (nis_modify): Likewise.
91033 * nis/nis_remove.c (nis_remove): Likewise.
91034 * nis/nis_add.c (nis_add): Likewise.
91035
91036 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
91037
91038 * posix/fnmatch_loop.c: Add some consts.
91039
91040 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
91041
91042 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
91043
91044 [BZ #12460]
91045 * config.make.in (config-cflags-novzeroupper): Define.
91046 * configure.in: Substitute libc_cv_cc_novzeroupper.
91047 * elf/Makefile (AVX-CFLAGS): Define.
91048 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
91049 (CFLAGS-tst-auditmod4a.c): Likewise.
91050 (CFLAGS-tst-auditmod4b.c): Likewise.
91051 (CFLAGS-tst-auditmod6b.c): Likewise.
91052 (CFLAGS-tst-auditmod6c.c): Likewise.
91053 (CFLAGS-tst-auditmod7b.c): Likewise.
91054 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
91055
91056 2011-02-02 Ulrich Drepper <drepper@gmail.com>
91057
91058 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
91059 function to the callback.
91060 Patch partly by Jiri Olsa <jolsa@redhat.com>.
91061
91062 2011-02-02 Andreas Schwab <schwab@redhat.com>
91063
91064 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
91065 of errno.
91066
91067 2011-01-19 Ulrich Drepper <drepper@gmail.com>
91068
91069 [BZ #11724]
91070 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
91071 of constructors.
91072 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
91073 of destructors.
91074 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
91075
91076 [BZ #11724]
91077 * elf/Makefile: Add rules to build and run new test.
91078 * elf/tst-initorder.c: New file.
91079 * elf/tst-initorder.exp: New file.
91080 * elf/tst-initordera1.c: New file.
91081 * elf/tst-initordera2.c: New file.
91082 * elf/tst-initordera3.c: New file.
91083 * elf/tst-initordera4.c: New file.
91084 * elf/tst-initorderb1.c: New file.
91085 * elf/tst-initorderb2.c: New file.
91086 * elf/tst-order-a1.c: New file.
91087 * elf/tst-order-a2.c: New file.
91088 * elf/tst-order-a3.c: New file.
91089 * elf/tst-order-a4.c: New file.
91090 * elf/tst-order-b1.c: New file.
91091 * elf/tst-order-b2.c: New file.
91092 * elf/tst-order-main.c: New file.
91093 New test case by George Gensure <werkt0@gmail.com>.
91094
91095 2010-10-01 Andreas Schwab <schwab@redhat.com>
91096
91097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
91098 decoding ACE if AI_CANONIDN.
91099
91100 2011-01-18 Ulrich Drepper <drepper@gmail.com>
91101
91102 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
91103
91104 2011-01-17 Ulrich Drepper <drepper@gmail.com>
91105
91106 * version.h (RELEASE): Bump for 2.13 release.
91107 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
91108
91109 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
91110
91111 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
91112 MADV_NOHUGEPAGE.
91113 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
91114 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
91115 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
91116 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
91117 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
91118 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
91119
91120 * posix/getconf.c: Update copyright year.
91121 * catgets/gencat.c: Likewise.
91122 * csu/version.c: Likewise.
91123 * debug/catchsegv.sh: Likewise.
91124 * debug/xtrace.sh: Likewise.
91125 * elf/ldconfig.c: Likewise.
91126 * elf/ldd.bash.in: Likewise.
91127 * elf/sprof.c (print_version): Likewise.
91128 * iconv/iconv_prog.c: Likewise.
91129 * iconv/iconvconfig.c: Likewise.
91130 * locale/programs/locale.c: Likewise.
91131 * locale/programs/localedef.c: Likewise.
91132 * malloc/memusage.sh: Likewise.
91133 * malloc/mtrace.pl: Likewise.
91134 * nscd/nscd.c (print_version): Likewise.
91135 * nss/getent.c: Likewise.
91136
91137 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
91138 PF_CAIF, and PF_ALG.
91139 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
91140
91141 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
91142
91143 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
91144 (modules-names): Use them.
91145 (ifunc-test-modules, ifunc-pie-tests): Define.
91146 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
91147 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
91148 (test-extras): Likewise.
91149 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
91150 $(compile-command.c).
91151 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
91152 (all-built-dso): Define.
91153 (check-textrel.out, check-execstack.out): Depend on it.
91154
91155 * configure.in: Don't override --enable-multi-arch.
91156
91157 2011-01-15 Ulrich Drepper <drepper@gmail.com>
91158
91159 [BZ #6812]
91160 * nscd/hstcache.c (tryagain): Define.
91161 (cache_addhst): Return tryagain not notfound for temporary errors.
91162 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
91163 failed.
91164
91165 2011-01-14 Ulrich Drepper <drepper@gmail.com>
91166
91167 [BZ #10563]
91168 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
91169 to make the syscall.
91170 * sysdeps/unix/sysv/linux/setgroups.c: New file.
91171
91172 [BZ #12378]
91173 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
91174 and fall back to matching as normal character if the string ends before
91175 the matching ']' is found. This is what POSIX requires.
91176 * posix/testfnm.c: Adjust test result.
91177 * posix/globtest.sh: Adjust test result. Add new test.
91178 * posix/tst-fnmatch.input: Likewise.
91179 * posix/tst-fnmatch2.c: Add new test.
91180
91181 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
91182
91183 * elf/Makefile (check-execstack): Revert last change. Depend on
91184 check-execstack.h.
91185 (check-execstack.h): New target.
91186 (generated): Add check-execstack.h.
91187 * elf/check-execstack.c: Include "check-execstack.h".
91188 (main): Revert last change.
91189 (handle_file): Return zero if GNU_STACK is absent and
91190 DEFAULT_STACK_PERMS doesn't include PF_X.
91191
91192 2011-01-13 Ulrich Drepper <drepper@gmail.com>
91193
91194 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
91195 in child fails because the descriptor is already closed.
91196 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
91197 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
91198 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
91199
91200 [BZ #12397]
91201 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
91202 syscall.
91203
91204 [BZ #10484]
91205 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
91206 temporary buffer used to handle multi lookups locally.
91207 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
91208
91209 2011-01-12 Ulrich Drepper <drepper@gmail.com>
91210
91211 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
91212 loader is ld.so.
91213
91214 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
91215
91216 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
91217 alignment for SSE2.
91218
91219 2011-01-12 Ulrich Drepper <drepper@gmail.com>
91220
91221 [BZ #12394]
91222 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
91223 characters. When rounding increased number of integer digits recompute
91224 number of groups.
91225 * stdio-common/tst-grouping.c: New file.
91226 * stdio-common/Makefile: Add rules to build and run tst-grouping.
91227
91228 2011-01-09 Ulrich Drepper <drepper@gmail.com>
91229
91230 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
91231 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
91232
91233 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
91234 void.
91235 * bits/select.h: Likewise.
91236
91237 2011-01-08 Ulrich Drepper <drepper@gmail.com>
91238
91239 * po/ja.po: Update from translation team.
91240
91241 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
91242
91243 [BZ #11155]
91244 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
91245 implementation just like for lxstat, fxstatat, et al.
91246
91247 2010-12-27 Jim Meyering <meyering@redhat.com>
91248
91249 [BZ #12348]
91250 * posix/regexec.c (build_trtable): Return failure indication upon
91251 calloc failure. Otherwise, re_search_internal could infloop on OOM.
91252
91253 2010-12-25 Ulrich Drepper <drepper@gmail.com>
91254
91255 [BZ #12201]
91256 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
91257 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
91258 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
91259 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
91260
91261 [BZ #12207]
91262 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
91263
91264 [BZ #12204]
91265 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
91266 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
91267
91268 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
91269
91270 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
91271 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
91272 script has SORT_BY_INIT_PRIORITY.
91273 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
91274 NO_CTORS_DTORS_SECTIONS is defined.
91275 * elf/soinit.c: Likewise.
91276 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
91277 NO_CTORS_DTORS_SECTIONS is defined.
91278 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
91279 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
91280 * sysdeps/sh/init-first.c: Likewise.
91281 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
91282
91283 2010-12-24 Ulrich Drepper <drepper@gmail.com>
91284
91285 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
91286 always use the slow path.
91287
91288 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
91289
91290 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
91291 similar rule which adds the sysdep directories to the header search in
91292 order to pick up the correct platform stackinfo.h.
91293 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
91294 perform test if it is, otherwise return successfully without testing.
91295 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
91296 DEFAULT_STACK_PERMS define in stackinfo.h.
91297 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
91298 defined in stackinfo.h.
91299 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
91300 DEFAULT_STACK_PERMS defined in stackinfo.h.
91301 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
91302 * sysdeps/ia64/stackinfo.h: Likewise.
91303 * sysdeps/s390/stackinfo.h: Likewise.
91304 * sysdeps/sh/stackinfo.h: Likewise.
91305 * sysdeps/sparc/stackinfo.h: Likewise.
91306 * sysdeps/x86_64/stackinfo.h: Likewise.
91307 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
91308 PF_X for powerpc64. Retain PF_X for powerpc32.
91309
91310 2010-12-19 Ulrich Drepper <drepper@gmail.com>
91311
91312 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
91313 accurately.
91314 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
91315 GETDENTS_64BIT_ALIGNED.
91316
91317 2010-12-14 Ulrich Drepper <dreper@gmail.com>
91318
91319 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
91320
91321 2010-12-10 Andreas Schwab <schwab@redhat.com>
91322
91323 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
91324 _GNU_SOURCE.
91325
91326 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
91327 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
91328 Remove __restrict.
91329 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
91330 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
91331
91332 2010-12-09 Ulrich Drepper <drepper@gmail.com>
91333
91334 [BZ #11655]
91335 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
91336 are initialized.
91337
91338 2010-12-09 Jakub Jelinek <jakub@redhat.com>
91339
91340 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
91341
91342 2010-12-03 Ulrich Drepper <drepper@gmail.com>
91343
91344 * po/it.po: Update from translation team.
91345
91346 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
91347
91348 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
91349 unused codes.
91350
91351 2010-11-30 Ulrich Drepper <drepper@gmail.com>
91352
91353 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
91354
91355 2010-11-24 Andreas Schwab <schwab@redhat.com>
91356
91357 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
91358 specially.
91359 (gaih_getanswer_slice): Likewise.
91360
91361 2010-10-20 Jakub Jelinek <jakub@redhat.com>
91362
91363 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
91364
91365 2010-05-31 Petr Baudis <pasky@suse.cz>
91366
91367 [BZ #11149]
91368 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
91369 silently even in the chroot mode.
91370
91371 2010-11-22 Ulrich Drepper <drepper@gmail.com>
91372
91373 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
91374 last patch a bit. Pretty printing
91375
91376 2010-05-31 Petr Baudis <pasky@suse.cz>
91377
91378 [BZ #10085]
91379 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
91380 initialization of skip_initgroups_dyn.
91381
91382 2010-11-19 Ulrich Drepper <drepper@gmail.com>
91383
91384 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
91385 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
91386
91387 2010-11-16 Ulrich Drepper <drepper@gmail.com>
91388
91389 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
91390
91391 2010-11-11 Andreas Schwab <schwab@redhat.com>
91392
91393 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
91394 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
91395 (tst-fnmatch-ENV): Set MALLOC_TRACE.
91396 ($(objpfx)tst-fnmatch-mem): New rule.
91397 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
91398 * posix/tst-fnmatch.c (main): Call mtrace.
91399
91400 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
91401
91402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91403 Support Intel processor model 6 and model 0x2c.
91404
91405 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
91406
91407 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
91408 signed comparison.
91409
91410 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
91411
91412 [BZ #12205]
91413 * string/test-strncasecmp.c (check_result): New function.
91414 (do_one_test): Use it.
91415 (check1): New function.
91416 (test_main): Use it.
91417 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
91418 Support strcasecmp and strncasecmp.
91419
91420 2010-11-08 Ulrich Drepper <drepper@gmail.com>
91421
91422 [BZ #12194]
91423 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
91424 * sysdeps/x86_64/bits/byteswap.h: Likewise.
91425
91426 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
91427
91428 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
91429 IFUNC support.
91430 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91431 memset-x86-64.
91432 * sysdeps/x86_64/multiarch/bzero.S: New file.
91433 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
91434 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
91435 * sysdeps/x86_64/multiarch/memset.S: New file.
91436 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
91437 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91438 Set bit_Prefer_SSE_for_memop for Intel processors.
91439 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
91440 Define.
91441 (index_Prefer_SSE_for_memop): Define.
91442 (HAS_PREFER_SSE_FOR_MEMOP): Define.
91443
91444 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
91445
91446 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
91447 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
91448
91449 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
91450
91451 [BZ #12191]
91452 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
91453 (__x86_64_raw_data_cache_size_half): Likewise.
91454 (__x86_64_raw_shared_cache_size): Likewise.
91455 (__x86_64_raw_shared_cache_size_half): Likewise.
91456
91457 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
91458 (__x86_64_raw_data_cache_size_half): Likewise.
91459 (__x86_64_raw_shared_cache_size): Likewise.
91460 (__x86_64_raw_shared_cache_size_half): Likewise.
91461 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
91462 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
91463 and __x86_64_raw_shared_cache_size_half. Round
91464 __x86_64_data_cache_size_half, __x86_64_data_cache_size
91465 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
91466 to multiple of 256 bytes.
91467
91468 2010-11-03 Ulrich Drepper <drepper@gmail.com>
91469
91470 [BZ #12167]
91471 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
91472 of inacessible symlinks. Verify result of symlink before returning it.
91473 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
91474 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
91475
91476 2010-10-28 Erich Ritz <erichritz@gmail.com>
91477
91478 * math/math.h (isinf): Fix typo in comment.
91479
91480 2010-11-01 Ulrich Drepper <drepper@gmail.com>
91481
91482 * po/da.po: Update from translation team.
91483
91484 2010-10-26 Ulrich Drepper <drepper@gmail.com>
91485
91486 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
91487 is added to the list.
91488
91489 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
91490 Ulrich Drepper <drepper@gmail.com>
91491
91492 * elf/dl-object.c (_dl_new_object): Don't append the new object to
91493 the global list here. Move code to...
91494 (_dl_add_to_namespace_list): ...here. New function.
91495 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
91496 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
91497 * elf/dl-load.c (lose): Don't remove the element from the list.
91498 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
91499 (_dl_map_object): Likewise.
91500
91501 2010-10-25 Ulrich Drepper <drepper@gmail.com>
91502
91503 [BZ #12159]
91504 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
91505 into all bytes of SSE register.
91506 Patch by Richard Li <richardpku@gmail.com>.
91507
91508 2010-10-24 Ulrich Drepper <drepper@gmail.com>
91509
91510 [BZ #12140]
91511 * malloc/malloc.c (_int_free): Fill correct number of bytes when
91512 perturbing.
91513
91514 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
91515
91516 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
91517 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
91518 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
91519 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
91520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
91521 submachine.
91522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
91523
91524 2010-10-22 Andreas Schwab <schwab@redhat.com>
91525
91526 * include/dlfcn.h (__RTLD_SECURE): Define.
91527 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
91528 mode & __RTLD_SECURE instead.
91529 (open_path): Rename preloaded parameter to secure.
91530 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
91531 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
91532 * elf/dl-deps.c (openaux): Likewise.
91533 * elf/rtld.c (struct map_args): Remove is_preloaded.
91534 (map_doit): Don't use it.
91535 (dl_main): Likewise.
91536 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
91537 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
91538
91539 2010-09-09 Andreas Schwab <schwab@redhat.com>
91540
91541 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
91542 (sysd-rules-targets): Remove duplicates.
91543 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
91544 rtld-%.$o dependency.
91545
91546 2010-10-18 Andreas Schwab <schwab@redhat.com>
91547
91548 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
91549 _dl_map_object do it.
91550
91551 2010-10-19 Ulrich Drepper <drepper@gmail.com>
91552
91553 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
91554 fast fma builtins, define the macros in the C99 standard.
91555 (FP_FAST_FMAF): Likewise.
91556 (FP_FAST_FMAL): Likewise.
91557 * sysdeps/x86_64/bits/mathdef.h: Likewise.
91558
91559 * bits/mathdef.h: Update copyright year.
91560 * sysdeps/powerpc/bits/mathdef.h: Likewise.
91561
91562 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
91563
91564 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
91565 builtins, define the macros in the C99 standard.
91566 (FP_FAST_FMAF): Likewise.
91567 (FP_FAST_FMAL): Likewise.
91568 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
91569 multiply/add.
91570 (FP_FAST_FMAF): Likewise.
91571
91572 2010-10-15 Jakub Jelinek <jakub@redhat.com>
91573
91574 [BZ #3268]
91575 * math/libm-test.inc (fma_test): Some new testcases.
91576 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
91577 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
91578 y and infinite z. Do multiplication by C already in long double.
91579 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
91580 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
91581 y and infinite z. Do bitwise or of inexact bit into u.d.
91582 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
91583 * sysdeps/i386/fpu/s_fmaf.S: Removed.
91584 * sysdeps/i386/fpu/s_fma.S: Removed.
91585 * sysdeps/i386/fpu/s_fmal.S: Removed.
91586
91587 2010-10-16 Jakub Jelinek <jakub@redhat.com>
91588
91589 [BZ #3268]
91590 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
91591 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
91592 computation is not scheduled after fetestexcept. Fix value
91593 of minimum denormal long double.
91594
91595 2010-10-14 Jakub Jelinek <jakub@redhat.com>
91596
91597 [BZ #3268]
91598 * math/libm-test.inc (fma_test): Add some more tests.
91599 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
91600 correctly.
91601
91602 2010-10-15 Andreas Schwab <schwab@redhat.com>
91603
91604 * scripts/data/localplt-s390-linux-gnu.data: New file.
91605 * scripts/data/localplt-s390x-linux-gnu.data: New file.
91606
91607 2010-10-13 Jakub Jelinek <jakub@redhat.com>
91608
91609 [BZ #3268]
91610 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
91611 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
91612 instead of dbl-64.
91613 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
91614 inlines.
91615 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
91616 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
91617 if one of x and y is very large and the other is subnormal.
91618 * sysdeps/s390/fpu/s_fmaf.c: New file.
91619 * sysdeps/s390/fpu/s_fma.c: New file.
91620 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
91621 * sysdeps/powerpc/fpu/s_fma.S: New file.
91622 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
91623 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
91624 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
91625
91626 2010-10-12 Jakub Jelinek <jakub@redhat.com>
91627
91628 [BZ #3268]
91629 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
91630 fma tests.
91631 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
91632 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
91633 * sysdeps/i386/i686/multiarch/s_fma.c: Include
91634 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
91635 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
91636 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
91637 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
91638
91639 2010-10-12 Ulrich Drepper <drepper@redhat.com>
91640
91641 [BZ #12078]
91642 * posix/regcomp.c (parse_branch): One more memory leak plugged.
91643 * posix/bug-regex31.input: Add test case.
91644
91645 2010-10-11 Ulrich Drepper <drepper@gmail.com>
91646
91647 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
91648 * posix/bug-regex31.input: New file.
91649
91650 [BZ #12078]
91651 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
91652 (parse_sub_exp): Fix last change, use postorder.
91653
91654 * posix/bug-regex31.c: New file.
91655 * posix/Makefile: Add rules to build and run bug-regex31.
91656
91657 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
91658
91659 [BZ #12078]
91660 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
91661
91662 [BZ #12108]
91663 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
91664 to have entries in sys_siglist.
91665
91666 [BZ #12093]
91667 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
91668 be NULL.
91669
91670 2010-10-07 Jakub Jelinek <jakub@redhat.com>
91671
91672 [BZ #3268]
91673 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
91674 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
91675 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
91676 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
91677 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
91678 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
91679 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
91680 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
91681 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
91682 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
91683 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
91684 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
91685 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
91686 * math/ftestexcept.c (fetestexcept): Likewise.
91687 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
91688 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
91689 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
91690 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
91691 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
91692 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
91693 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
91694
91695 2010-10-11 Ulrich Drepper <drepper@gmail.com>
91696
91697 [BZ #12107]
91698 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
91699 newline.
91700
91701 2010-10-06 Ulrich Drepper <drepper@gmail.com>
91702
91703 * string/bug-strstr1.c: New file.
91704 * string/Makefile: Add rules to build and run bug-strstr1.
91705
91706 2010-10-05 Eric Blake <eblake@redhat.com>
91707
91708 [BZ #12092]
91709 * string/str-two-way.h (two_way_long_needle): Always clear memory
91710 when skipping input due to the shift table.
91711
91712 2010-10-03 Ulrich Drepper <drepper@gmail.com>
91713
91714 [BZ #12005]
91715 * malloc/mcheck.c: Handle large requests.
91716
91717 [BZ #12077]
91718 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
91719 for strncmp and strncasecmp.
91720 * string/stratcliff.c: Add tests for strcmp and strncmp.
91721 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
91722
91723 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
91724
91725 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
91726 __set_fpscr.
91727
91728 2010-09-30 Andreas Jaeger <aj@suse.de>
91729
91730 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
91731 (CGROUP_SUPER_MAGIC): Define.
91732 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
91733 Handle btrfs and cgroup file systems.
91734 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
91735 Likewise.
91736
91737 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
91738
91739 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
91740 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
91741
91742 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
91743
91744 [BZ #12067]
91745 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
91746 trying to locate the ELF header.
91747
91748 2010-09-27 Andreas Schwab <schwab@redhat.com>
91749
91750 [BZ #11611]
91751 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
91752 Mask out sign-bit copies when constructing f_fsid.
91753
91754 2010-09-24 Petr Baudis <pasky@suse.cz>
91755
91756 * debug/stack_chk_fail_local.c: Add missing licence exception.
91757 * debug/warning-nop.c: Likewise.
91758
91759 2010-09-15 Joseph Myers <joseph@codesourcery.com>
91760
91761 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
91762 implementing getdents64 using getdents syscall, set d_type if
91763 __ASSUME_GETDENTS32_D_TYPE.
91764
91765 2010-09-16 Andreas Schwab <schwab@redhat.com>
91766
91767 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
91768 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
91769
91770 2010-09-21 Ulrich Drepper <drepper@redhat.com>
91771
91772 [BZ #12037]
91773 * posix/unistd.h: Undo change of feature selection for ftruncate from
91774 2010-01-11.
91775
91776 2010-09-20 Ulrich Drepper <drepper@redhat.com>
91777
91778 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
91779 detection.
91780
91781 2010-09-20 Andreas Schwab <schwab@redhat.com>
91782
91783 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
91784 fanotify_mark.
91785 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
91786
91787 2010-09-14 Andreas Schwab <schwab@redhat.com>
91788
91789 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
91790 variables after CHECK_SP call.
91791 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
91792
91793 2010-09-13 Andreas Schwab <schwab@redhat.com>
91794 Ulrich Drepper <drepper@redhat.com>
91795
91796 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
91797 re-relocationg ld.so.
91798 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
91799 _dl_init_paths call.
91800 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
91801 here anymore.
91802
91803 2010-09-14 Ulrich Drepper <drepper@redhat.com>
91804
91805 * resolv/res_init.c (__res_vinit): Count the default server we added.
91806
91807 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
91808 Ulrich Drepper <drepper@redhat.com>
91809
91810 [BZ #11968]
91811 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91812 (____longjmp_chk): Use %ebx for saving value across system call.
91813 Add unwind info.
91814
91815 2010-09-06 Andreas Schwab <schwab@redhat.com>
91816
91817 * manual/Makefile: Don't mix pattern rules with normal rules.
91818
91819 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
91820
91821 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
91822 operation.
91823 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
91824 * libio/iofopncook.c (_IO_cookie_init): Likewise.
91825 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
91826 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
91827 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91828 Likewise.
91829
91830 2010-09-04 Ulrich Drepper <drepper@redhat.com>
91831
91832 [BZ #11979]
91833 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
91834 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
91835
91836 2010-09-02 Ulrich Drepper <drepper@redhat.com>
91837
91838 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
91839 * sysdeps/x86_64/addmul_1.S: Likewise.
91840 * sysdeps/x86_64/lshift.S: Likewise.
91841 * sysdeps/x86_64/mul_1.S: Likewise.
91842 * sysdeps/x86_64/rshift.S: Likewise.
91843 * sysdeps/x86_64/sub_n.S: Likewise.
91844 * sysdeps/x86_64/submul_1.S: Likewise.
91845
91846 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
91847
91848 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
91849 Define __sched_param instead of SCHED_* and sched_param when
91850 <bits/sched.h> is included with __need_schedparam defined.
91851 * bits/sched.h [__need_schedparam]
91852 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
91853 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
91854 (__defined_schedparam): Define to 1.
91855 (__sched_param): New structure, identical to sched_param.
91856 (__need_schedparam): Undefine.
91857
91858 2010-08-31 Mike Frysinger <vapier@gentoo.org>
91859
91860 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
91861 (epoll_create1): Declare.
91862
91863 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
91864
91865 2010-08-31 Andreas Schwab <schwab@redhat.com>
91866
91867 [BZ #7066]
91868 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
91869 shifting retval into place.
91870
91871 2010-09-01 Ulrich Drepper <drepper@redhat.com>
91872
91873 * nis/rpcsvc/nis.h: Update copyright notice.
91874 * nis/rpcsvc/nis.x: Likewise.
91875 * nis/rpcsvc/nis_callback.h: Likewise.
91876 * nis/rpcsvc/nis_callback.x: Likewise.
91877 * nis/rpcsvc/nis_object.x: Likewise.
91878 * nis/rpcsvc/nis_tags.h: Likewise.
91879 * nis/rpcsvc/yp.h: Likewise.
91880 * nis/rpcsvc/yp.x: Likewise.
91881 * nis/rpcsvc/ypupd.h: Likewise.
91882 * nis/yp_xdr.c: Likewise.
91883 * nis/ypupdate_xdr.c: Likewise.
91884
91885 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
91886 mainly the body of pmap_getport. Add parameters to specify timeouts.
91887 (pmap_getport): Use __libc_rpc_getport.
91888 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
91889 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
91890 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
91891
91892 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
91893
91894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
91895 fanotify_mark.
91896
91897 2010-08-27 Roland McGrath <roland@redhat.com>
91898
91899 * sysdeps/i386/i686/multiarch/Makefile
91900 (CFLAGS-varshift.c): New variable.
91901
91902 2010-08-27 Ulrich Drepper <drepper@redhat.com>
91903
91904 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
91905 * sysdeps/i386/i686/multiarch/varshift.c: New file.
91906
91907 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
91908
91909 * sysdeps/x86_64/strlen.S: Minimal code improvement.
91910
91911 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
91912
91913 * sysdeps/x86_64/strlen.S: Unroll the loop.
91914 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91915 strlen-sse2 strlen-sse2-bsf.
91916 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
91917 __strlen_no_bsf if bit_Slow_BSF is set.
91918 (__strlen_sse42): Removed.
91919 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
91920 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
91921
91922 2010-08-25 Roland McGrath <roland@redhat.com>
91923
91924 * sysdeps/x86_64/multiarch/varshift.S: File removed.
91925 * sysdeps/x86_64/multiarch/varshift.c: New file.
91926 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
91927 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
91928 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
91929 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
91930
91931 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
91932
91933 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91934 strlen-sse2 strlen-sse2-bsf.
91935 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
91936 __strlen_sse2_bsf if bit_Slow_BSF is unset.
91937 (__strlen_sse2): Removed.
91938 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
91939 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
91940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
91941 bit_Slow_BSF for Atom.
91942 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
91943 (index_Slow_BSF): Define.
91944 (HAS_SLOW_BSF): Define.
91945
91946 2010-08-25 Ulrich Drepper <drepper@redhat.com>
91947
91948 [BZ #10851]
91949 * resolv/res_init.c (__res_vinit): When no server address at all
91950 is given default to loopback.
91951
91952 2010-08-24 Roland McGrath <roland@redhat.com>
91953
91954 * configure.in: Remove config-name.h generation.
91955 * configure: Regenerated.
91956 * config-name.in: File removed.
91957 * scripts/config-uname.sh: New file.
91958 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
91959 ($(objdir)config-name.h): New target.
91960
91961 * sunrpc/rpc_parse.h: Avoid nested comment.
91962
91963 2010-08-24 Richard Henderson <rth@redhat.com>
91964 Ulrich Drepper <drepper@redhat.com>
91965 H.J. Lu <hongjiu.lu@intel.com>
91966
91967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
91968 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
91969 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
91970 Replace _mm_srli_si128 with __m128i_shift_right. Replace
91971 _mm_alignr_epi8 with _mm_loadu_si128.
91972 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
91973 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
91974 (__m128i_shift_right): Removed.
91975 * sysdeps/i386/i686/multiarch/varshift.h: New file.
91976 * sysdeps/i386/i686/multiarch/varshift.S: New file.
91977 * sysdeps/x86_64/multiarch/varshift.h: New file.
91978 * sysdeps/x86_64/multiarch/varshift.S: New file.
91979
91980 2010-08-21 Mike Frysinger <vapier@gentoo.org>
91981
91982 * configure.in: Move assembler checks to before sysdep dir checking.
91983
91984 2010-08-20 Petr Baudis <pasky@suse.cz>
91985
91986 * LICENSES: Sync the sunrpc license.
91987
91988 2010-08-19 Ulrich Drepper <drepper@redhat.com>
91989
91990 * sunrpc/auth_des.c: Update copyright notice once again.
91991 * sunrpc/auth_none.c: Likewise.
91992 * sunrpc/auth_unix.c: Likewise.
91993 * sunrpc/authdes_prot.c: Likewise.
91994 * sunrpc/authuxprot.c: Likewise.
91995 * sunrpc/bindrsvprt.c: Likewise.
91996 * sunrpc/clnt_gen.c: Likewise.
91997 * sunrpc/clnt_perr.c: Likewise.
91998 * sunrpc/clnt_raw.c: Likewise.
91999 * sunrpc/clnt_simp.c: Likewise.
92000 * sunrpc/clnt_tcp.c: Likewise.
92001 * sunrpc/clnt_udp.c: Likewise.
92002 * sunrpc/clnt_unix.c: Likewise.
92003 * sunrpc/des_crypt.c: Likewise.
92004 * sunrpc/des_soft.c: Likewise.
92005 * sunrpc/get_myaddr.c: Likewise.
92006 * sunrpc/getrpcport.c: Likewise.
92007 * sunrpc/key_call.c: Likewise.
92008 * sunrpc/key_prot.c: Likewise.
92009 * sunrpc/openchild.c: Likewise.
92010 * sunrpc/pm_getmaps.c: Likewise.
92011 * sunrpc/pm_getport.c: Likewise.
92012 * sunrpc/pmap_clnt.c: Likewise.
92013 * sunrpc/pmap_prot.c: Likewise.
92014 * sunrpc/pmap_prot2.c: Likewise.
92015 * sunrpc/pmap_rmt.c: Likewise.
92016 * sunrpc/rpc/auth.h: Likewise.
92017 * sunrpc/rpc/auth_unix.h: Likewise.
92018 * sunrpc/rpc/clnt.h: Likewise.
92019 * sunrpc/rpc/des_crypt.h: Likewise.
92020 * sunrpc/rpc/key_prot.h: Likewise.
92021 * sunrpc/rpc/netdb.h: Likewise.
92022 * sunrpc/rpc/pmap_clnt.h: Likewise.
92023 * sunrpc/rpc/pmap_prot.h: Likewise.
92024 * sunrpc/rpc/pmap_rmt.h: Likewise.
92025 * sunrpc/rpc/rpc.h: Likewise.
92026 * sunrpc/rpc/rpc_des.h: Likewise.
92027 * sunrpc/rpc/rpc_msg.h: Likewise.
92028 * sunrpc/rpc/svc.h: Likewise.
92029 * sunrpc/rpc/svc_auth.h: Likewise.
92030 * sunrpc/rpc/types.h: Likewise.
92031 * sunrpc/rpc/xdr.h: Likewise.
92032 * sunrpc/rpc_clntout.c: Likewise.
92033 * sunrpc/rpc_cmsg.c: Likewise.
92034 * sunrpc/rpc_common.c: Likewise.
92035 * sunrpc/rpc_cout.c: Likewise.
92036 * sunrpc/rpc_dtable.c: Likewise.
92037 * sunrpc/rpc_hout.c: Likewise.
92038 * sunrpc/rpc_main.c: Likewise.
92039 * sunrpc/rpc_parse.c: Likewise.
92040 * sunrpc/rpc_parse.h: Likewise.
92041 * sunrpc/rpc_prot.c: Likewise.
92042 * sunrpc/rpc_sample.c: Likewise.
92043 * sunrpc/rpc_scan.c: Likewise.
92044 * sunrpc/rpc_scan.h: Likewise.
92045 * sunrpc/rpc_svcout.c: Likewise.
92046 * sunrpc/rpc_tblout.c: Likewise.
92047 * sunrpc/rpc_util.c: Likewise.
92048 * sunrpc/rpc_util.h: Likewise.
92049 * sunrpc/rpcinfo.c: Likewise.
92050 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
92051 * sunrpc/rpcsvc/key_prot.x: Likewise.
92052 * sunrpc/rpcsvc/klm_prot.x: Likewise.
92053 * sunrpc/rpcsvc/mount.x: Likewise.
92054 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
92055 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
92056 * sunrpc/rpcsvc/rex.x: Likewise.
92057 * sunrpc/rpcsvc/rstat.x: Likewise.
92058 * sunrpc/rpcsvc/rusers.x: Likewise.
92059 * sunrpc/rpcsvc/sm_inter.x: Likewise.
92060 * sunrpc/rpcsvc/spray.x: Likewise.
92061 * sunrpc/rpcsvc/yppasswd.x: Likewise.
92062 * sunrpc/rtime.c: Likewise.
92063 * sunrpc/svc.c: Likewise.
92064 * sunrpc/svc_auth.c: Likewise.
92065 * sunrpc/svc_authux.c: Likewise.
92066 * sunrpc/svc_raw.c: Likewise.
92067 * sunrpc/svc_run.c: Likewise.
92068 * sunrpc/svc_simple.c: Likewise.
92069 * sunrpc/svc_tcp.c: Likewise.
92070 * sunrpc/svc_udp.c: Likewise.
92071 * sunrpc/svc_unix.c: Likewise.
92072 * sunrpc/svcauth_des.c: Likewise.
92073 * sunrpc/xcrypt.c: Likewise.
92074 * sunrpc/xdr.c: Likewise.
92075 * sunrpc/xdr_array.c: Likewise.
92076 * sunrpc/xdr_float.c: Likewise.
92077 * sunrpc/xdr_mem.c: Likewise.
92078 * sunrpc/xdr_rec.c: Likewise.
92079 * sunrpc/xdr_ref.c: Likewise.
92080 * sunrpc/xdr_sizeof.c: Likewise.
92081 * sunrpc/xdr_stdio.c: Likewise.
92082
92083 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
92084 handling.
92085
92086 2010-08-19 Andreas Schwab <schwab@redhat.com>
92087
92088 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
92089
92090 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
92091
92092 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
92093 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
92094 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
92095 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
92096 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
92097 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
92098 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
92099 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
92100 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
92101 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
92102 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
92103 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
92104 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
92105 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
92106
92107 2010-07-26 Anton Blanchard <anton@samba.org>
92108
92109 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
92110 * malloc/arena.c (heap_trim): Likewise.
92111
92112 2010-08-16 Ulrich Drepper <drepper@redhat.com>
92113
92114 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
92115 here. Not...
92116 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
92117 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
92118
92119 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
92120
92121 * sysdeps/i386/elf/Makefile: New file.
92122
92123 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
92124
92125 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
92126 from fanotify_init.
92127 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
92128 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
92129
92130 2010-08-15 Ulrich Drepper <drepper@redhat.com>
92131
92132 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
92133 of strncasecmp_l.
92134 * sysdeps/multiarch/strcmp.S: Likewise.
92135
92136 2010-08-14 Ulrich Drepper <drepper@redhat.com>
92137
92138 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
92139 strncase_l-nonascii.
92140 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
92141 Add strncase_l-ssse3.
92142 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
92143 * sysdeps/x86_64/strcmp.S: Likewise.
92144 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
92145 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
92146 * sysdeps/x86_64/strncase.S: New file.
92147 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
92148 * sysdeps/x86_64/strncase_l.S: New file.
92149 * string/Makefile (strop-tests): Add strncasecmp.
92150 * string/test-strncasecmp.c: New file.
92151
92152 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
92153 warning.
92154
92155 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
92156 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
92157
92158 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
92159
92160 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
92161
92162 2010-08-12 Ulrich Drepper <drepper@redhat.com>
92163
92164 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
92165 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
92166 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
92167
92168 2010-05-01 Alan Modra <amodra@gmail.com>
92169
92170 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
92171 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
92172 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
92173 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
92174 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
92175 tidying. Don't tail-call __sigjmp_save for static lib.
92176 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
92177 save location.
92178 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
92179 (CALL_MCOUNT): Add eh info, and nop after bl.
92180 (TAIL_CALL_SYSCALL_ERROR): New macro.
92181 (PSEUDO_RET): Use it.
92182 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
92183 Correct save location of integer regs and cr.
92184 (_dl_profile_resolve): Correct cr save location. Delete nops
92185 after bl when SHARED. Reduce cfi size a little by better
92186 placement of cfi directives.
92187 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
92188 make a stack frame. Instead use parm save area as a temp.
92189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
92190 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
92191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
92192 Don't make a stack frame for parent, use parm save area.
92193 Increase child stack frame to 112 bytes. Don't save unused reg,
92194 and adjust reg usage. Set up cfi on error recovery and
92195 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
92196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
92197 (__makecontext): Add dummy nop after jump to exit.
92198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
92199 Use correct parm save area and cr save, reduce stack frame.
92200 Correct cfi for possible PSEUDO_RET frame setup.
92201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
92202 Branch to local label emitted by PSEUDO_RET rather than
92203 __syscall_error.
92204
92205 2010-08-12 Andreas Schwab <schwab@redhat.com>
92206
92207 [BZ #11904]
92208 * locale/programs/locale.c (print_assignment): New function.
92209 (show_locale_vars): Use it.
92210
92211 2010-08-11 Ulrich Drepper <drepper@redhat.com>
92212
92213 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
92214 field.
92215 (struct statfs64): Likewise.
92216 (_STATFS_F_FLAGS): Define.
92217 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
92218 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92219 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
92220 (ST_VALID): Define locally.
92221 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
92222 __statvfs_getflags, use the provided value.
92223 * sysdeps/unix/sysv/linux/kernel-features.h: Define
92224 __ASSUME_STATFS_F_FLAGS.
92225
92226 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
92227
92228 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
92229 Add sys/fanotify.h.
92230 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
92231 fanotify_mask for GLIBC_2.13.
92232 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
92233 fanotify_init and fanotify_mark.
92234 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
92235 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
92236
92237 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
92238 Add prlimit.
92239 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
92240 prlimit64 for GLIBC_2.13.
92241 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
92242 prlimit64.
92243 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
92244 syscall.
92245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
92246 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
92247 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
92248 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
92249 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
92250 add prlimit alias.
92251 * sysdeps/unix/sysv/linux/prlimit.c: New file.
92252
92253 [BZ #11903]
92254 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
92255 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
92256
92257 * nss/Makefile: Add rules to build and run tst-nss-test1.
92258 * shlib-versions: Add entry for libnss_test1.
92259 * nss/nss_test1.c: New file.
92260 * nss/tst-nss-test1.c: New file.
92261
92262 * nss/nsswitch.c (__nss_database_custom): Define new variable.
92263 (__nss_configure_lookup): Set appropriate entry in
92264 __nss_configure_lookup to true.
92265 * nss/nsswitch.h: Define enum with indeces of databases in
92266 databases and __nss_database_custom arrays. Declare
92267 __nss_database_custom.
92268 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
92269 to avoid using nscd when custom rules are installed.
92270 * nss/getXXbyYY_r.c: Likewise.
92271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
92272
92273 * nss/nss_files/files-parse.c: Whitespace fixes.
92274
92275 2010-08-09 Ulrich Drepper <drepper@redhat.com>
92276
92277 [BZ #11883]
92278 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
92279 * posix/fnmatch_loop.c: Likewise.
92280
92281 2010-07-17 Andi Kleen <ak@linux.intel.com>
92282
92283 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
92284 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
92285 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
92286 * Versions.def [GLIBC_2.13]: Add.
92287
92288 2010-08-06 Ulrich Drepper <drepper@redhat.com>
92289
92290 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
92291 Also fail if tpwd after pwuid call is NULL.
92292
92293 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
92294
92295 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
92296 when converting to ms.
92297
92298 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
92299
92300 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
92301 EOPNOTSUPP errors with ENOTTY.
92302 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
92303 EOPNOTSUPP errors with ENOTTY.
92304
92305 2010-07-31 Ulrich Drepper <drepper@redhat.com>
92306
92307 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
92308 Add strcasecmp_l-ssse3.
92309 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
92310 strcasecmp.
92311 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
92312 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
92313 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
92314
92315 2010-07-30 Ulrich Drepper <drepper@redhat.com>
92316
92317 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
92318
92319 * string/Makefile (strop-tests): Add strcasecmp.
92320 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
92321 strcasecmp_l-nonascii.
92322 (gen-as-const-headers): Add locale-defines.sym.
92323 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
92324 * sysdeps/x86_64/strcasecmp.S: New file.
92325 * sysdeps/x86_64/strcasecmp_l.S: New file.
92326 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
92327 * sysdeps/x86_64/locale-defines.sym: New file.
92328 * string/test-strcasecmp.c: New file.
92329
92330 * string/test-strcasestr.c: Test both ends of the range of characters.
92331 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
92332
92333 2010-07-29 Roland McGrath <roland@redhat.com>
92334
92335 [BZ #11856]
92336 * manual/locale.texi (Yes-or-No Questions): Fix example code.
92337
92338 2010-07-27 Ulrich Drepper <drepper@redhat.com>
92339
92340 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
92341 for ld.so.
92342
92343 2010-07-27 Andreas Schwab <schwab@redhat.com>
92344
92345 * manual/memory.texi (Malloc Tunable Parameters): Document
92346 M_PERTURB.
92347
92348 2010-07-26 Roland McGrath <roland@redhat.com>
92349
92350 [BZ #11840]
92351 * configure.in (-fgnu89-inline check): Set and substitute
92352 gnu89_inline, not libc_cv_gnu89_inline.
92353 * configure: Regenerated.
92354 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
92355
92356 2010-07-26 Ulrich Drepper <drepper@redhat.com>
92357
92358 * string/test-strnlen.c: New file.
92359 * string/Makefile (strop-tests): Add strnlen.
92360 * string/tester.c (test_strnlen): Add a few more test cases.
92361 * string/tst-strlen.c: Better error reporting.
92362
92363 * sysdeps/x86_64/strnlen.S: New file.
92364
92365 2010-07-24 Ulrich Drepper <drepper@redhat.com>
92366
92367 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
92368 lower-latency instructions.
92369
92370 2010-07-23 Ulrich Drepper <drepper@redhat.com>
92371
92372 * string/test-strcasestr.c: New file.
92373 * string/test-strstr.c: New file.
92374 * string/Makefile (strop-tests): Add strstr and strcasestr.
92375 * string/str-two-way.h: Don't undefine MAX.
92376 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
92377
92378 2010-07-21 Andreas Schwab <schwab@redhat.com>
92379
92380 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92381 strcasestr-nonascii.
92382 (CFLAGS-strcasestr-nonascii.c): Define.
92383 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
92384 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
92385 Remove unused attribute.
92386
92387 2010-07-20 Roland McGrath <roland@redhat.com>
92388
92389 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
92390 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
92391 ld.so.cache was broken. With it, there is no way to disable dsocaps
92392 like LD_HWCAP_MASK can disable hwcaps.
92393
92394 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
92395
92396 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
92397
92398 2010-07-16 Ulrich Drepper <drepper@redhat.com>
92399
92400 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
92401 call in strcasestr.
92402 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
92403 __strcasestr_sse42_nonascii.
92404 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
92405 strcasestr-nonascii.c.
92406 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
92407
92408 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
92409
92410 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
92411 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
92412 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
92413 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
92414
92415 2010-07-09 Ulrich Drepper <drepper@redhat.com>
92416
92417 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
92418 fcntl.
92419
92420 2010-07-06 Andreas Schwab <schwab@redhat.com>
92421
92422 [BZ #11577]
92423 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
92424 dl_signal_cerror.
92425
92426 2010-07-06 Ulrich Drepper <drepper@redhat.com>
92427
92428 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
92429 _PC_PIPE_BUF using F_GETPIPE_SZ.
92430
92431 2010-07-05 Roland McGrath <roland@redhat.com>
92432
92433 * manual/arith.texi (Rounding Functions): Fix rint description
92434 implicit in round description.
92435
92436 2010-07-02 Ulrich Drepper <drepper@redhat.com>
92437
92438 * elf/Makefile: Fix linking for a few tests to make recent linker
92439 happy.
92440
92441 2010-06-30 Andreas Schwab <schwab@redhat.com>
92442
92443 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92444 $(common-objpfx)libc_nonshared.a.
92445
92446 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
92447
92448 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
92449 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
92450 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
92451 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
92452 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
92453 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
92454 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
92455 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
92456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
92457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
92458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
92459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
92460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
92461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
92462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
92463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
92464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
92465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
92466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
92467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
92468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
92469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
92470 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
92471 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
92472 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
92473 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
92474 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
92475 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
92476 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
92477 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
92478 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
92479 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
92480 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
92481 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
92482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
92483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
92484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
92485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
92486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
92487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
92488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
92489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
92490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
92491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
92492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
92493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
92494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
92495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
92496
92497 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
92498
92499 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
92500 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
92501 * string/memmove.c (memmove): Renamed to ...
92502 (MEMMOVE): ...this. Default to memmove.
92503 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
92504 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
92505 (END_CHK): Define.
92506 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92507 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
92508 mempcpy-ssse3-back memmove-ssse3-back.
92509 * sysdeps/x86_64/multiarch/bcopy.S: New file .
92510 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
92511 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
92512 * sysdeps/x86_64/multiarch/memcpy.S: New file.
92513 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
92514 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
92515 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
92516 * sysdeps/x86_64/multiarch/memmove.c: New file.
92517 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
92518 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
92519 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
92520 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
92521 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
92522 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
92523 Define.
92524 (index_Fast_Copy_Backward): Define.
92525 (HAS_ARCH_FEATURE): Define.
92526 (HAS_FAST_REP_STRING): Define.
92527 (HAS_FAST_COPY_BACKWARD): Define.
92528
92529 2010-06-21 Andreas Schwab <schwab@redhat.com>
92530
92531 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
92532 Restore proper fallback handling.
92533
92534 2010-06-19 Ulrich Drepper <drepper@redhat.com>
92535
92536 [BZ #11701]
92537 * posix/group_member.c (__group_member): Correct checking loop.
92538
92539 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
92540 OOM in getpwuid_r correctly. Return error number when the caller
92541 should return, otherwise -1.
92542 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
92543 call returning > 0 value.
92544 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
92545
92546 2010-06-07 Andreas Schwab <schwab@redhat.com>
92547
92548 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
92549 libc_nonshared.a from targets in modules-names.
92550
92551 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
92552
92553 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
92554 requires it.
92555
92556 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
92557
92558 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
92559 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
92560 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
92561 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
92562
92563 2010-06-02 Andreas Schwab <schwab@redhat.com>
92564
92565 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
92566
92567 2010-06-14 Ulrich Drepper <drepper@redhat.com>
92568
92569 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
92570 and F_GETPIPE_SZ.
92571 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
92572 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92573 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92574 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92575 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92576 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92577
92578 2010-06-14 Roland McGrath <roland@redhat.com>
92579
92580 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
92581
92582 2010-06-07 Jakub Jelinek <jakub@redhat.com>
92583
92584 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
92585 __REDIRECT followed by __THROW.
92586 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
92587 * posix/getopt.h (getopt): Likewise.
92588
92589 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
92590
92591 * hurd/lookup-at.c (__file_name_lookup_at): Accept
92592 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
92593 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
92594 in AT_FLAGS.
92595 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
92596 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
92597
92598 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
92599
92600 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
92601
92602 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
92603
92604 [BZ #11640]
92605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92606 Properly check family and model.
92607
92608 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
92609
92610 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
92611
92612 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
92613
92614 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
92615
92616 2010-05-21 Ulrich Drepper <drepper@redhat.com>
92617
92618 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
92619 symbol reference.
92620
92621 2010-05-19 Andreas Schwab <schwab@redhat.com>
92622
92623 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
92624 symbol reference.
92625
92626 2010-05-21 Andreas Schwab <schwab@redhat.com>
92627
92628 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
92629 and internal_recvmmsg.
92630 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
92631 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
92632 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
92633 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
92634
92635 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
92636 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
92637 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
92638
92639 2010-05-20 Andreas Schwab <schwab@redhat.com>
92640
92641 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
92642
92643 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
92644
92645 POWER7 optimizations.
92646 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
92647 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
92648
92649 2010-05-19 Ulrich Drepper <drepper@redhat.com>
92650
92651 * version.h: Update for 2.13 development version.
92652
92653 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
92654
92655 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
92656 exceptions. Return 0.
92657
92658 2010-05-07 Roland McGrath <roland@redhat.com>
92659
92660 * elf/ldconfig.c (main): Add a const.
92661
92662 2010-05-06 Ulrich Drepper <drepper@redhat.com>
92663
92664 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
92665 (args_options): Add no-idn option.
92666 (ahosts_keys_int): Add idn_flags to ai_flags.
92667 (parse_option): Handle 'i' option to clear idn_flags.
92668
92669 * malloc/malloc.c (_int_free): Possible race in the most recently
92670 added check. Only act on the data if no current modification
92671 happened.
92672
92673 See ChangeLog.17 for earlier changes.